/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #CF2E2E;
    --red-dark: #B02525;
    --red-light: #FDEAEA;
    --purple: #2F2874;
    --purple-dark: #1E1A52;
    --purple-light: #EEEDF5;
    --dark: #1A1A2E;
    --gray-900: #2b2b2b;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #D1D1D1;
    --gray-100: #F5F5F7;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

.highlight {
    color: var(--red);
    position: relative;
}

.highlight-white {
    color: var(--white);
}

.text-red { color: var(--red); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(207,46,46,0.35);
}

.btn-white {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--purple);
    transform: translateY(-2px);
}

.btn-outline-green {
    background: transparent;
    color: #16a34a;
    border-color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-green:hover {
    background: #16a34a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22,163,74,0.3);
}

.btn-full { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--purple);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.top-bar span {
    opacity: 0.9;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.nav-desktop {
    display: flex;
    gap: 28px;
}

.nav-desktop a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
}

.nav-desktop a:hover {
    color: var(--red);
}

.header-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 20px;
    background: var(--white);
    border-top: 1px solid var(--gray-300);
}

.nav-mobile a {
    padding: 12px 0;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.nav-mobile .btn {
    margin-top: 12px;
    text-align: center;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 40%, var(--purple-dark) 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(207,46,46,0.15) 0%, transparent 70%);
    border-radius: 50%;
}


.hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-inner > * {
    min-width: 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content .highlight {
    color: #FFD700;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-subtitle strong {
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding: 20px 24px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    width: fit-content;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* Form Card */
.form-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.form-card > p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lead-form input,
.lead-form select {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--gray-900);
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--red);
}

.lead-form input::placeholder {
    color: var(--gray-500);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 14px;
}

.lead-form input[name="estado"] {
    text-transform: uppercase;
}

.lead-form input.loading {
    background-image: linear-gradient(90deg, transparent, rgba(207,46,46,0.08), transparent);
    background-size: 200% 100%;
    animation: cep-loading 1s linear infinite;
}

@keyframes cep-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.lead-form input.error {
    border-color: var(--red);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: -6px;
    padding-left: 4px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== SOCIAL PROOF BAR ===== */
.social-proof-bar {
    background: var(--gray-100);
    padding: 32px 0;
    overflow: hidden;
}

.proof-title {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 24px;
}

.logos-track {
    overflow: hidden;
    position: relative;
}

.logos-slide {
    display: flex;
    gap: 48px;
    animation: scroll-logos 20s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 160px;
    height: 70px;
    object-fit: contain;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: var(--red-light);
    color: var(--red);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-top: 12px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== PRODUCTS ===== */
.products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--gray-100);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.product-card h3 {
    margin-bottom: 8px;
    color: var(--purple);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-link {
    font-weight: 600;
    color: var(--red);
    font-size: 0.9rem;
}

.product-link:hover {
    color: var(--red-dark);
}

.card-cta {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    border-color: var(--purple);
}

.card-cta h3,
.card-cta p {
    color: var(--white);
}

.card-cta:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(47,40,116,0.3);
}

/* ===== DIFFERENTIALS ===== */
.differentials {
    padding: 80px 0;
    background: var(--gray-100);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diff-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.diff-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--red-light), rgba(207, 46, 46, 0.05));
    color: var(--red);
    margin-bottom: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.diff-icon svg {
    width: 32px;
    height: 32px;
}

.diff-card:hover .diff-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
}

.diff-card h3 {
    margin-bottom: 8px;
    color: var(--purple);
}

.diff-card p {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 80px 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 240px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(207,46,46,0.3);
}

.step h3 {
    margin-bottom: 8px;
    color: var(--purple);
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--gray-300);
    margin-top: 16px;
    font-weight: 700;
}

.steps-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== ABOUT ===== */
.about {
    padding: 80px 0;
    background: var(--gray-100);
}

.about-inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    margin-top: 12px;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray-700);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-highlights {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.about-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--red-light);
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #F59E0B;
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-size: 1rem;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--purple);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 0;
    background: var(--gray-100);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    padding: 22px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--purple);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    color: var(--red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--red);
}

.faq-answer {
    padding: 0 24px 22px;
}

.faq-answer p {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
}

.faq-cta p {
    color: var(--gray-700);
    margin-bottom: 16px;
    font-size: 1rem;
}

/* ===== MOBILE STICKY CTA ===== */
.mobile-sticky-cta {
    display: none;
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-minimal {
    padding: 0;
}

.footer-minimal .footer-bottom {
    margin-top: 0;
    border-top: none;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo small {
    color: var(--gray-500);
}

.footer-col > p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col li {
    margin-bottom: 10px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-col a {
    color: var(--gray-500);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-form-wrapper {
        max-width: 480px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Container — tighter padding on mobile */
    .container {
        padding: 0 16px;
    }

    /* Body needs space at bottom for sticky CTA */
    body {
        padding-bottom: 88px;
    }

    /* Mobile sticky CTA bar */
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-top: 1px solid var(--gray-300);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
        z-index: 998;
    }

    .mobile-sticky-cta .btn {
        padding: 14px;
        font-size: 0.95rem;
    }

    /* Mobile menu button — animate to X when active */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Top bar - compact */
    .top-bar {
        padding: 6px 0;
    }

    .top-bar-inner {
        font-size: 0.75rem;
        gap: 12px;
        justify-content: center;
    }

    .top-bar-inner span:nth-child(2) {
        display: none;
    }

    /* Header */
    .nav-desktop,
    .header-cta {
        display: none;
    }

    .header-inner {
        padding: 10px 16px;
    }

    .logo-img {
        height: 38px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-mobile {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-mobile.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Hero — muito mais compacto no mobile */
    .hero {
        padding: 18px 0 24px;
    }

    .hero-inner {
        gap: 20px;
    }

    /* Esconde círculos decorativos no mobile */
    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
    }

    /* Stats escondidos no mobile — informação já aparece na seção Quem Somos */
    .hero-stats {
        display: none;
    }

    /* Form - mobile optimized */
    .hero-form-wrapper {
        max-width: 100%;
    }

    .form-card {
        padding: 18px 14px;
        border-radius: var(--radius-md);
    }

    .form-card h2 {
        font-size: 1.15rem;
        text-align: center;
        margin-bottom: 2px;
    }

    .form-card > p {
        text-align: center;
        font-size: 0.82rem;
        margin-bottom: 14px;
    }

    .lead-form {
        gap: 10px;
    }

    .lead-form input,
    .lead-form select {
        padding: 11px 13px;
        font-size: 16px; /* prevents iOS zoom */
    }

    .form-row {
        gap: 10px;
    }

    /* Products - mobile */
    .products {
        padding: 48px 0;
    }

    .products-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 24px;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        scrollbar-width: none; /* Firefox */
    }

    .products-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .product-card {
        flex: 0 0 260px;
        scroll-snap-align: center;
        padding: 20px;
    }

    .product-img {
        height: 160px;
        margin-bottom: 16px;
    }

    .product-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .product-card p {
        font-size: 0.78rem;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-link {
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .card-cta .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Differentials */
    .differentials {
        padding: 48px 0;
    }

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .diff-card {
        display: grid;
        grid-template-areas: 
            "icon title"
            "icon text";
        grid-template-columns: 48px 1fr;
        column-gap: 14px;
        row-gap: 4px;
        padding: 16px;
    }

    .diff-icon {
        grid-area: icon;
        width: 48px;
        height: 48px;
        border-radius: 10px;
        margin-bottom: 0;
    }

    .diff-icon svg {
        width: 24px;
        height: 24px;
    }

    .diff-card h3 {
        grid-area: title;
        font-size: 0.95rem;
        margin-bottom: 0;
        color: var(--purple);
    }

    .diff-card p {
        grid-area: text;
        font-size: 0.82rem;
        line-height: 1.5;
    }

    /* Steps */
    .how-it-works {
        padding: 48px 0;
    }

    .steps-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .step {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
        max-width: 100%;
        padding: 16px 0;
    }

    .step-number {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .step h3 {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .step p {
        font-size: 0.85rem;
    }

    .step-arrow {
        display: none;
    }

    .steps-cta {
        margin-top: 32px;
    }

    /* Testimonials */
    .testimonials {
        padding: 48px 0;
    }

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 24px;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        padding: 24px 20px;
    }

    /* About */
    .about {
        padding: 48px 0;
    }

    .about-content h2 {
        font-size: 1.4rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    /* Final CTA */
    .final-cta {
        padding: 48px 0;
    }

    .final-cta h2 {
        font-size: 1.4rem;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .btn-lg {
        padding: 16px 24px;
        font-size: 1rem;
    }

    /* Footer — centralizado no mobile */
    .footer {
        padding: 40px 0 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-col h4,
    .footer-col p,
    .footer-col li {
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-logo-img {
        height: 36px;
    }

    /* Section headers */
    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    /* FAQ — mobile */
    .faq {
        padding: 48px 0;
    }

    .faq-item summary {
        padding: 18px 18px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    .faq-cta {
        margin-top: 28px;
    }

    /* Logos slider mobile tweaks */
    .logos-slide {
        gap: 24px;
    }
    
    .client-logo {
        width: 120px;
        height: 50px;
        padding: 8px 12px;
    }
}

/* ===== ICON HELPERS ===== */
.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== FORM VALIDATION ===== */
.field-error {
    font-size: 0.78rem;
    color: var(--red);
    padding-left: 4px;
    display: none;
    margin-top: -4px;
}

.field-error.visible {
    display: block;
}

.lead-form input.invalid,
.lead-form select.invalid {
    border-color: var(--red);
    background-color: #fff8f8;
}

.form-submit-error {
    background: var(--red-light);
    color: var(--red);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    text-align: center;
    display: none;
    line-height: 1.5;
}

.form-row > div {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

/* ===== THANK YOU PAGE ===== */
.thankyou-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.thankyou-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 40%, var(--purple-dark) 100%);
}

.thankyou-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    max-width: 560px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    box-shadow: 0 8px 24px rgba(34,197,94,0.35);
}

.thankyou-card h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.thankyou-card .lead {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 32px;
    line-height: 1.6;
}

.thankyou-steps {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.thankyou-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.thankyou-step-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.thankyou-actions .btn {
    flex: 1;
    min-width: 140px;
}

@media (max-width: 600px) {
    .thankyou-card {
        padding: 36px 24px;
    }

    .thankyou-card h1 {
        font-size: 1.4rem;
    }

    .thankyou-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .top-bar-inner span:nth-child(3) {
        display: none;
    }

    /* Hero ainda mais compacto em telas estreitas */
    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .form-card {
        padding: 16px 12px;
    }

    .form-card h2 {
        font-size: 1.05rem;
    }

    /* Section headers menores */
    .section-header h2 {
        font-size: 1.3rem;
    }
}
