/* ================= DESIGN SYSTEM / TOKENS ================= */
:root {
    --azul-marinho: #172437;
    --azul-chumbo: #252B33;
    --bege-nude: #A4825E;
    --bege-marfim: #BDB397;
    --cinza-nuvem: #E7EAEB;
    --branco: #FFFFFF;
    
    --font-title: 'Melodrama', serif;
    --font-body: 'Satoshi', sans-serif;
}

/* ================= RESET E BASE (FORÇANDO 100% DE VERDADE) ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-body);
    background-color: var(--cinza-nuvem);
    color: var(--azul-chumbo);
    line-height: 1.6;
    overflow-x: hidden !important; 
}

section, header, footer {
    width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 500;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= COMPONENTES ================= */
.btn-primary {
    display: inline-block;
    background-color: var(--bege-nude);
    color: var(--branco);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--bege-marfim);
    color: var(--azul-marinho);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(164, 130, 94, 0.2);
}

/* ================= HEADER / MENU FIXO COM OPACIDADE ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important; 
    background-color: var(--azul-marinho); 
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(23, 36, 55, 0.85); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 16px 0; 
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    max-height: 36px;
    width: auto;
    transition: all 0.4s ease;
}

.navbar.scrolled .nav-logo img {
    max-height: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--cinza-nuvem);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--bege-nude);
}

.nav-cta {
    background-color: var(--bege-nude);
    color: var(--branco) !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--bege-marfim);
    color: var(--azul-marinho) !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--branco);
    transition: 0.3s;
}

/* ================= SEÇÃO 1: HERO ================= */
.hero {
    padding-top: 195px; 
    padding-bottom: 80px;
    min-height: 100vh; 
    display: flex;
    align-items: center; 
    
    background-image: 
        linear-gradient(to right, rgba(23, 36, 55, 0.95) 0%, rgba(23, 36, 55, 0.7) 50%, rgba(23, 36, 55, 0.1) 100%),
        url('https://drflavioaguiarfilho.com.br/includes/bg01.jpg');
    background-color: var(--azul-marinho); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--branco);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.hero-crm {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bege-marfim);
    margin-bottom: 12px;
    display: inline-block; 
    padding: 6px 20px;
    border: 1px solid rgba(189, 179, 151, 0.35); 
    border-radius: 100px; 
    background-color: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-crm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(189, 179, 151, 0.2), transparent);
    transform: skewX(-20deg);
    animation: shine 5s infinite; 
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 16px;
    color: var(--branco);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: var(--cinza-nuvem);
    opacity: 0.9;
    max-width: 90%;
}

.hero-image {
    display: none; 
}

/* ================= SEÇÃO 2: DEPOIMENTOS ================= */
.testimonials {
    padding: 100px 0;
    background-color: var(--cinza-nuvem);
    text-align: center;
}

.section-title {
    font-size: 3rem;
    color: var(--azul-marinho);
    margin-bottom: 60px;
}

.swiper-wrapper {
    align-items: stretch; 
}

.swiper-slide {
    background: var(--branco);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(23, 36, 55, 0.05);
    text-align: left;
    border-top: 4px solid var(--bege-nude);
    height: auto; 
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--bege-nude);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--azul-chumbo);
    flex-grow: 1; 
}

.patient-name {
    font-weight: 700;
    color: var(--azul-marinho);
}

/* ================= SEÇÃO 3: COMO FUNCIONA ================= */
.experience {
    padding: 120px 0;
    background-image: 
        linear-gradient(to bottom, rgba(23, 36, 55, 0.92), rgba(23, 36, 55, 0.97)),
        url('https://drflavioaguiarfilho.com.br/includes/bg03.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--branco);
}

.experience .section-title {
    text-align: center;
    color: var(--bege-marfim); 
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    row-gap: 60px; 
    margin-top: 80px;
}

.step-box {
    background-color: var(--branco);
    padding: 60px 30px 40px; 
    border-radius: 8px;
    border-top: 4px solid var(--bege-nude);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.step-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-top-color: var(--bege-marfim);
}

.step-number {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--branco);
    background-color: var(--bege-nude);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid var(--branco);
    position: absolute;
    top: -35px; 
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(164, 130, 94, 0.3);
    transition: all 0.4s ease;
    z-index: 2;
}

.step-box:hover .step-number {
    background-color: var(--azul-marinho);
    color: var(--bege-marfim);
    transform: translateX(-50%) scale(1.1);
}

.step-box h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--azul-marinho);
    position: relative;
    z-index: 2;
}

.step-box p {
    font-size: 1rem;
    color: var(--azul-chumbo);
    position: relative;
    z-index: 2;
}

.experience-cta {
    text-align: center;
    margin-top: 70px;
}

/* ================= SEÇÃO 4: SOBRE O DR. ================= */
.about {
    padding-top: 100px;
    padding-bottom: 0; 
    background-color: var(--azul-chumbo);
    color: var(--branco);
    overflow: hidden; 
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; 
}

.about-image {
    display: flex;
    align-self: flex-end; 
    justify-content: center;
    width: 100%;
}

.about-image img {
    max-width: 100%;
    height: auto;
    max-height: 700px; 
    display: block;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 -10px 25px rgba(0, 0, 0, 0.2)); 
}

.about-content {
    padding-bottom: 100px; 
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--bege-marfim);
}

.about-content p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--cinza-nuvem);
    opacity: 0.9;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    color: var(--bege-marfim);
    font-family: var(--font-body);
    font-weight: 700;
    margin-top: 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 36px;
    border: 1px solid rgba(189, 179, 151, 0.4);
    border-radius: 100px; 
    background-color: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
}

.instagram-link:hover {
    background-color: var(--bege-marfim);
    color: var(--azul-marinho);
    border-color: var(--bege-marfim);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(189, 179, 151, 0.15);
}

/* ================= SEÇÃO 5: CTA MATADOR ================= */
.cta-section {
    padding: 140px 0;
    background-image: 
        linear-gradient(to bottom, rgba(23, 36, 55, 0.85), rgba(23, 36, 55, 0.95)),
        url('https://drflavioaguiarfilho.com.br/includes/bg04.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    border-top: 1px solid rgba(189, 179, 151, 0.2);
}

.cta-section h2 {
    font-size: 3.5rem;
    color: var(--branco);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--bege-marfim);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary {
    position: relative;
    z-index: 2;
}

/* ================= BOTÕES LADO A LADO (CTA duplo: Online x Presencial) ================= */
.cta-buttons-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-outline-light {
    display: inline-block;
    background-color: transparent;
    color: var(--branco);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 40px;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--branco);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cta-buttons-row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ================= SEÇÃO 6: FAQ COM FOTO LATERAL GIGANTE ================= */
.faq {
    position: relative;
    padding: 100px 0;
    background-color: var(--cinza-nuvem);
    overflow: hidden; 
}

.faq-layout {
    position: relative;
    z-index: 2;
    max-width: 650px; 
}

.faq .section-title {
    text-align: left !important;
}

.faq-container {
    margin: 0;
}

details {
    background-color: var(--branco);
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

details[open] {
    border-left-color: var(--bege-nude);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

summary {
    padding: 24px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--azul-marinho);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--bege-nude);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 24px 24px;
    color: var(--azul-chumbo);
    font-size: 1rem;
}

.faq-cta {
    margin-top: 40px;
}

.faq-doctor-img {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    height: 100%; 
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none; 
}

.faq-doctor-img img {
    height: 100%; 
    width: auto;
    max-width: none; 
    object-fit: contain;
    object-position: bottom right;
    display: block;
}

/* ================= SEÇÃO 7: FOOTER ================= */
footer {
    background-color: var(--azul-marinho);
    color: var(--cinza-nuvem);
    padding: 60px 0 20px;
    border-top: 4px solid var(--bege-nude);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 140px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--bege-marfim);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--cinza-nuvem);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--bege-nude);
}

.footer-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 20px;
    background-color: rgba(164, 130, 94, 0.15); 
    border: 1px solid var(--bege-nude);
    color: var(--bege-marfim) !important;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background-color: var(--bege-nude);
    color: var(--branco) !important;
}

.footer-contact p {
    color: var(--cinza-nuvem);
    margin-bottom: 20px;
}

.footer-contact strong {
    color: var(--bege-marfim);
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 500;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cinza-nuvem);
    margin-bottom: 16px;
    transition: color 0.3s;
    text-decoration: none;
    font-size: 0.95rem;
}

.social-icon:hover {
    color: var(--bege-marfim);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--bege-nude);
    transition: fill 0.3s;
}

.social-icon:hover svg {
    fill: var(--bege-marfim);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(231, 234, 235, 0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ================= BANNER DE COOKIES MINIMALISTA E ELEGANTE ================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(23, 36, 55, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(189, 179, 151, 0.2);
    color: var(--cinza-nuvem);
    padding: 16px 24px;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.cookie-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 1000px;
}

.cookie-content p {
    margin: 0;
    opacity: 0.9;
}

.cookie-btn {
    background-color: var(--bege-nude);
    color: var(--branco);
    border: none;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: var(--bege-marfim);
    color: var(--azul-marinho);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 12px;
    }
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* ================= BOTÃO WHATSAPP FLUTUANTE DE LUXO ================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--bege-nude); 
    color: var(--branco);
    border-radius: 50%;
    box-shadow: 0px 4px 15px rgba(164, 130, 94, 0.4);
    z-index: 9999; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--bege-marfim);
    box-shadow: 0px 6px 20px rgba(164, 130, 94, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--branco); 
    transition: fill 0.3s ease;
}

.whatsapp-float:hover svg {
    fill: var(--azul-marinho); 
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(164, 130, 94, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(164, 130, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(164, 130, 94, 0); }
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        background-image: 
            linear-gradient(to bottom, rgba(23, 36, 55, 0.8) 0%, rgba(23, 36, 55, 0.95) 100%),
            url('https://drflavioaguiarfilho.com.br/includes/bg01.jpg');
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    
    /* Ajustes seção Sobre no Mobile */
    .about {
        padding-top: 80px;
        padding-bottom: 80px; 
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column; 
    }
    .about-content {
        padding-bottom: 0px; 
    }
    .about-image {
        display: none; 
    }
    
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        row-gap: 50px;
    }
    .experience {
        background-attachment: scroll; 
    }

    /* Ajustes FAQ no Mobile */
    .faq {
        padding-top: 80px;
        padding-bottom: 80px; 
    }
    .faq-layout {
        max-width: 100%;
    }
    .faq .section-title {
        text-align: center !important;
    }
    .faq-cta {
        text-align: center;
    }
    .faq-doctor-img {
        display: none; 
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 20px auto;
    }

    .social-icon {
        justify-content: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: var(--azul-marinho);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        font-size: 1.5rem;
    }

    /* Ajuste Botão WhatsApp no Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2.5rem;
    }
}
/* ================= MODAL DE CAPTAÇÃO DE LEAD (PRÉ-WHATSAPP) ================= */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding: 4vh 20px;
    overflow-y: auto;
}

.lead-modal.is-open {
    display: flex;
}

.lead-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(23, 36, 55, 0.78);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lead-modal-dialog {
    position: relative;
    background-color: var(--branco);
    border-radius: 12px;
    max-width: 460px;
    width: 100%;
    margin: auto;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    animation: leadModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes leadModalIn {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.lead-modal-header {
    background: linear-gradient(135deg, var(--azul-marinho) 0%, #223350 100%);
    padding: 22px 26px 18px;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lead-modal-header::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(164,130,94,0.35) 0%, transparent 70%);
    pointer-events: none;
}

.lead-modal-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(164, 130, 94, 0.18);
    border: 1px solid rgba(189, 179, 151, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.lead-modal-icon svg { width: 18px; height: 18px; stroke: var(--bege-marfim); }

.lead-modal-header-text { position: relative; z-index: 1; padding-right: 28px; }

.lead-modal-header h3 {
    font-size: 1.2rem;
    color: var(--branco);
    margin-bottom: 2px;
    line-height: 1.2;
}

.lead-modal-header p {
    font-size: 0.8rem;
    color: var(--cinza-nuvem);
    opacity: 0.75;
}

.lead-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--branco);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 2;
}

.lead-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.lead-modal-body {
    padding: 20px 26px 22px;
}

.lead-form-group {
    margin-bottom: 14px;
}

.lead-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.lead-form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--azul-marinho);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.lead-input-wrapper {
    position: relative;
}

.lead-input-wrapper svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--bege-nude);
    pointer-events: none;
}

.lead-input-wrapper input {
    width: 100%;
    padding: 11px 12px 11px 38px;
    border: 1.5px solid var(--cinza-nuvem);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--azul-chumbo);
    background-color: var(--branco);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-input-wrapper input:focus {
    outline: none;
    border-color: var(--bege-nude);
    box-shadow: 0 0 0 3px rgba(164, 130, 94, 0.12);
}

.lead-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lead-chip-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lead-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 100px;
    border: 1.5px solid var(--cinza-nuvem);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--azul-chumbo);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.lead-chip:hover {
    border-color: var(--bege-nude);
}

.lead-chip-group input[type="radio"]:checked + .lead-chip {
    background-color: var(--bege-nude);
    border-color: var(--bege-nude);
    color: var(--branco);
    font-weight: 700;
}

.lead-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-form-error {
    color: #B3392C;
    background-color: rgba(179, 57, 44, 0.08);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.lead-form-submit {
    width: 100%;
    margin-top: 4px;
    padding: 13px 24px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lead-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.lead-form-privacy {
    text-align: center;
    font-size: 0.68rem;
    color: var(--azul-chumbo);
    opacity: 0.5;
    margin-top: 10px;
}

@media (max-width: 420px) {
    .lead-form-row-2 { grid-template-columns: 1fr; gap: 14px; }
    .lead-modal-header { padding: 18px 20px 16px; }
    .lead-modal-body { padding: 18px 20px 20px; }
}