/* =========================================================================
   SMILLE ODONTOLOGIA V2 - CSS NATIVO (MOBILE-FIRST)
   ========================================================================= */

:root {
    --primary: #cba87c;
    --primary-dark: #b08e61;
    --primary-light: #e5d1b7;
    --dark-bg: #111111;
    --dark-alt: #1a1a1a;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #777777;

    --header-height: 120px;
    --container-max: 1400px;

    --font-main: 'Inter', Arial, sans-serif;

    /* Sombras Elevadas Premium */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-wa: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* 1. RESET 100% BLINDADO CONTRA OVERFLOW HORIZONTAL (O ERRO DA DUDA) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 2. GRID SYSTEM (CONTAINERS) */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* 3. BOTÕES GLOBAIS (ESTÉTICA PREMIUM) */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--white);
}

/* ================================================================= */
/* HEADER & NAVIGATION (MOBILE FIRST)
/* ================================================================= */
.main-header {
    background-color: rgba(17, 17, 17, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background 0.3s ease;
    border-bottom: 2px solid var(--primary-dark);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-logo {
    max-width: 480px;
    max-height: 140px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-nav.active {
    display: block;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-links li a {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-botao-destaque {
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    padding: 10px 18px !important;
    text-align: center;
    border-radius: 4px;
    display: inline-block;
    box-sizing: border-box;
    line-height: normal;
    margin: 4px 0;
}

.dropdown {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
}

.has-dropdown:hover .dropdown {
    display: block;
}

/* ================================================================= */
/* FOOTER PREMIUM
/* ================================================================= */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 80px 0 20px;
    border-top: 5px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
    /* FILTER REMOVIDO PARA PRESERVAR A COR DOURADA DO LOGO NOVO */
}

.footer-brand p {
    margin-bottom: 20px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    filter: invert(1);
    opacity: 0.8;
}

.social-icons img:hover {
    opacity: 1;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 400;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* ================================================================= */
/* VITAL: WHATSAPP FLUTUANTE INQUÉBRAVEL
/* ================================================================= */
.super-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-wa);
    transition: transform 0.3s ease;
}

.super-wa-btn:hover {
    transform: scale(1.1);
}

.super-wa-btn img {
    width: 38px;
    height: 38px;
    filter: invert(1) brightness(1000%);
}

/* ================================================================= */
/* MEDIA QUERIES (DESKTOP)
/* ================================================================= */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block !important;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        gap: 25px;
    }

    .nav-links li a {
        border-bottom: none;
        padding: 0;
    }

    .dropdown {
        position: absolute;
        top: 100%;
        background: var(--dark-bg);
        min-width: 250px;
        box-shadow: var(--shadow-md);
        padding: 15px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 1001;
    }

    .has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown li a {
        padding: 12px 25px;
        color: var(--text-light);
    }

    .dropdown li a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--primary);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ================================================================= */
/* SECTION: HERO MAIN
/* ================================================================= */
.hero-main {
    position: relative;
    background-image: url("https://irp.cdn-website.com/bec39fd7/dms3rep/multi/banner_1.jpg");
    background-size: cover;
    background-position: center top;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: var(--header-height);
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(28px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

.hero-content p {
    font-size: clamp(16px, 1.8vw, 21px);
    margin-bottom: 40px;
    color: #f1f1f1;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 58px;
    }

    .hero-content p {
        font-size: 20px;
    }
}

/* ================================================================= */
/* SECTION: PAINS
/* ================================================================= */
.pain-section {
    background-color: var(--light-bg);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.pain-text h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.pain-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.benefits-list strong {
    display: block;
    color: var(--dark-alt);
    font-size: 20px;
    margin-bottom: 5px;
}

.benefits-list span {
    color: var(--text-light);
    font-size: 16px;
}

.radius-img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
    .pain-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================================================= */
/* SECTION: SOCIAL PROOF / VIDEOS
/* ================================================================= */
.social-proof-section {
    background-color: var(--white);
}

.title-gold {
    color: var(--primary-dark);
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

.mt-3 {
    margin-top: 25px;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: var(--dark-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--primary);
}

.btn-large {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

/* ================================================================= */
/* SECTION: DIFFERENTIALS & CTA
/* ================================================================= */
.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.diff-card {
    background: var(--dark-alt);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.diff-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.diff-card h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 15px;
}

.diff-card p {
    color: var(--text-light);
    font-size: 15px;
}

.final-cta {
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    border-top: 2px solid var(--primary);
}

.final-cta h2 {
    color: var(--dark-bg);
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}

.final-cta p {
    color: var(--text-color);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .diff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================================================= */
/* SEÇÃO: PAGAMENTO / FAMÍLIA
/* ================================================================= */
.bg-light-alt {
    background-color: #faf8f5;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.p-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1e6d6;
    transition: transform 0.3s ease;
}

.p-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.p-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.p-card h3 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 15px;
}

.p-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ================================================================= */
/* INSTAGRAM E YOUTUBE MIX (PACIENTES SATISFEITOS)
/* ================================================================= */
.insta-placeholder {
    transition: transform 0.3s;
}

.insta-card:hover .insta-placeholder {
    transform: scale(1.05);
}

/* UTILITÁRIOS FLEXBOX */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.p-4 {
    padding: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .payment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop Typography Fix */
@media (min-width: 992px) {
    p {
        line-height: 1.8;
        letter-spacing: 0.3px;
        font-size: 17px;
    }

    h1 {
        letter-spacing: -0.5px;
    }

    h2,
    h3 {
        letter-spacing: -0.2px;
    }
}

/* ================================================================= */
/* DESKTOP NAV — Menu superior horizontal clicável                    */
/* ================================================================= */
@media (min-width: 1024px) {

    .menu-toggle {
        display: none;
        /* esconde hamburguer no desktop */
    }

    .main-nav {
        display: flex !important;
        align-items: center;
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
        width: auto;
    }

    .nav-links {
        flex-direction: row;
        gap: 0;
        align-items: center;
    }

    .nav-links li a {
        padding: 8px 16px;
        border-bottom: none;
        font-size: 13px;
        letter-spacing: 1.2px;
        white-space: nowrap;
    }

    .nav-links li a:hover {
        color: var(--primary);
    }

    /* Dropdown desktop */
    .has-dropdown {
        position: relative;
    }

    .has-dropdown .dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(17, 17, 17, 0.98);
        border: 1px solid rgba(203, 168, 124, 0.2);
        border-top: 2px solid var(--primary);
        border-radius: 0 0 8px 8px;
        padding: 10px 0;
        min-width: 260px;
        z-index: 2000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        margin-top: 0;
    }

    .has-dropdown:hover .dropdown {
        display: flex;
    }

    .has-dropdown .dropdown li a {
        display: block;
        padding: 10px 20px;
        font-size: 12px;
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        white-space: nowrap;
    }

    .has-dropdown .dropdown li a:hover {
        color: var(--primary);
        background: rgba(255, 255, 255, 0.03);
        padding-left: 26px;
    }

    .has-dropdown .dropdown li:last-child a {
        border-bottom: none;
    }
}