@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0045F6; /* Azul Loovi/Pier vibrante */
    --primary-light: #E8EEFF;
    --green-cta: #00D279; /* Verde limão brilhante */
    --green-cta-hover: #00B86A;
    --dark: #0A0F29;
    --text: #475467;
    --text-light: #667085;
    --white: #FFFFFF;
    --bg-page: #FFFFFF;
    --bg-card: #FFFFFF;
    --border: #E4E7EC;
    --radius-full: 999px;
    --radius-card: 40px;
    --radius-sm: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    background: var(--primary); /* Evitar fundo branco piscando ao scrollar muito rápido no topo */
}

body {
    background-color: var(--bg-page);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: absolute; /* Não fixed para manter o feeling de página de alta conversão sem distrações */
    top: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.header-logo {
    height: 36px;
    filter: brightness(0) invert(1); /* Deixa a logo branca no fundo azul */
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav a:hover {
    color: #FFF;
}

/* Hero Premium */
.hero-premium {
    background: var(--primary);
    padding: 160px 0 60px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-card {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 60px 80px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 0 0 10px rgba(255,255,255,0.1);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.badge-online {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 69, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 69, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 69, 246, 0); }
}

.hero-title {
    font-size: 3.5rem;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Formulário de Busca */
.plate-search-box {
    display: flex;
    align-items: center;
    background: #F9FAFB;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    padding: 8px 8px 8px 24px;
    max-width: 500px;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.plate-search-box:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.plate-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    outline: none;
    text-transform: uppercase;
}

.plate-input::placeholder {
    color: #98A2B3;
    font-weight: 400;
    text-transform: none;
}

.btn-green-pill {
    background: var(--green-cta);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-green-pill:hover {
    background: var(--green-cta-hover);
    transform: scale(1.02);
}

.link-forgot {
    display: inline-block;
    color: var(--text-light);
    font-size: 0.875rem;
    text-decoration: underline;
    margin-bottom: 40px;
}

.hero-bottom-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

.price-start {
    font-size: 1.125rem;
}

.price-start strong {
    font-size: 1.5rem;
    color: var(--dark);
}

.google-reviews-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: var(--radius-full);
}

.g-icon {
    width: 24px;
    height: 24px;
    background: #4285F4;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.reviews-texts {
    text-align: left;
}

.review-count {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.stars {
    font-size: 0.75rem;
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 4px;
}

/* Trust Bar */
.trust-bar {
    background: #F9FAFB;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.trust-bar p {
    font-weight: 500;
    color: var(--text-light);
    font-size: 1rem;
}

/* Coberturas (Benefits Clean) */
.benefits-clean {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-desc {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

.accordion-clean {
    max-width: 700px;
    margin: 0 auto;
}

.acc-item {
    border-bottom: 1px solid var(--border);
}

.acc-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.acc-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-check {
    width: 24px;
    height: 24px;
    background: var(--green-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-arrow {
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.acc-item.active .acc-arrow {
    transform: rotate(180deg);
}

.acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.acc-item.active .acc-panel {
    max-height: 300px;
}

.acc-content {
    padding-bottom: 24px;
    padding-left: 40px;
}

.acc-content p {
    margin-bottom: 16px;
}

.acc-content ul {
    list-style: none;
}

.acc-content ul li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 8px;
}

.acc-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* Testimonials Reels */
.testimonials-clean {
    padding: 100px 0;
    background: #F9FAFB;
}

.text-blue {
    color: var(--primary);
}

.ra-badge-clean {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ra-badge-clean img {
    height: 50px;
}

.testimonial-reel-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonial-reel-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-reel-card {
    min-width: 280px;
    height: 480px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    scroll-snap-align: center;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer-clean {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-brand img {
    height: 32px;
    margin: 0 auto 16px;
    display: block;
}

.footer-brand p {
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
}

/* Modal App Style */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 41, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: flex-end; /* Bottom sheet on mobile */
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding: 40px 32px;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
    }
    .modal-content {
        border-radius: var(--radius-sm);
        transform: translateY(20px) scale(0.95);
    }
    .modal-overlay.open .modal-content {
        transform: translateY(0) scale(1);
    }
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-drag-handle {
    width: 40px;
    height: 4px;
    background: #E4E7EC;
    border-radius: 4px;
    margin: -20px auto 32px;
    display: none;
}

@media (max-width: 767px) {
    .modal-drag-handle {
        display: block;
    }
}

.close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #F2F4F7;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
}

.modal-header h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    text-align: left;
}

.progress-bar-container {
    height: 4px;
    background: #F2F4F7;
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 16%;
    transition: 0.3s ease;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeSlide 0.3s ease;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-step h3 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.radio-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.radio-card input {
    display: none;
}

.radio-content {
    display: block;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--dark);
    transition: 0.2s;
    cursor: pointer;
}

.radio-card input:checked + .radio-content {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.input-group select, .input-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--dark);
    background: var(--bg-page);
    outline: none;
}

.input-group select:focus, .input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.input-group select:disabled {
    background: #F9FAFB;
    color: #98A2B3;
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
}

.step-actions.split {
    justify-content: space-between;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: none;
    flex: 1;
}

.btn-secondary {
    background: #F2F4F7;
    color: var(--text);
    padding: 16px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: none;
    flex: 1;
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-circle {
    width: 64px;
    height: 64px;
    background: var(--green-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* Responsividade Agressiva */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-card {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        justify-content: center;
    }
    .nav {
        display: none;
    }
    .header-logo {
        height: 28px;
    }
    .hero-premium {
        padding: 120px 0 40px;
    }
    .hero-card {
        padding: 32px 20px;
        border-radius: var(--radius-sm);
        box-shadow: none; /* Mais limpo no mobile */
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-bottom-info {
        flex-direction: column;
        gap: 16px;
    }
    .plate-search-box {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }
    .plate-input {
        background: #F9FAFB;
        border: 1px solid var(--border);
        border-radius: var(--radius-full);
        padding: 16px 24px;
        margin-bottom: 12px;
        text-align: center;
        width: 100%;
    }
    .btn-green-pill {
        width: 100%;
        justify-content: center;
    }
    .section-title {
        font-size: 2rem;
    }
}
