:root{
    --navy:#06162f;
    --navy-2:#0b2447;
    --teal:#31b8c0;
    --teal-dark:#16858e;
    --gold:#c8a86b;
    --cream:#f6f2ea;
    --soft:#eef8f9;
    --white:#ffffff;
    --text:#172033;
    --muted:#627083;
    --line:#dbe6ea;
    --shadow:0 24px 70px rgba(6,22,47,.14);
    --radius:28px;
    --radius-sm:18px;
    --container:1180px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    max-width:100%;
    overflow-x:hidden;
}

body{
    margin:0;
    font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color:var(--text);
    background:#fbfcfd;
    line-height:1.6;
    text-rendering:optimizeLegibility;
    max-width:100%;
    overflow-x:hidden;
}

img,
picture,
video,
iframe,
svg{
    max-width:100%;
}

img,
video,
iframe{
    display:block;
}

img,
video{
    height:auto;
}

img{
    object-position:center;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
textarea,
select{
    font:inherit;
}

button{
    cursor:pointer;
}

::selection{
    background:var(--teal);
    color:var(--navy);
}

.container{
    width:min(var(--container), calc(100% - 40px));
    margin:0 auto;
    max-width:100%;
}

.skip-link{
    position:absolute;
    left:-999px;
    top:12px;
    background:var(--navy);
    color:#fff;
    padding:10px 14px;
    border-radius:10px;
    z-index:9999;
}

.skip-link:focus{
    left:12px;
}

:focus-visible{
    outline:3px solid rgba(49,184,192,.6);
    outline-offset:3px;
}

/* ==========================================================
   CABEÇALHO
   ========================================================== */

.site-header{
    position:sticky;
    top:0;
    z-index:80;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(18px);
    box-shadow:0 8px 30px rgba(6,22,47,.06);
}

.topbar{
    background:linear-gradient(90deg,var(--navy),var(--navy-2));
    color:#dbefff;
    font-size:.86rem;
}

.topbar-grid{
    min-height:38px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.topbar a{
    font-weight:800;
    color:#fff;
}

.navbar{
    border-bottom:1px solid rgba(6,22,47,.08);
}

.nav-grid{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:28px;
    min-height:86px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:max-content;
}

.brand img{
    width:58px;
    height:58px;
    object-fit:contain;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 30px rgba(6,22,47,.08);
}

.brand strong{
    display:block;
    color:var(--navy);
    font-size:1.28rem;
    line-height:1;
    font-weight:900;
    letter-spacing:.02em;
}

.brand small{
    display:block;
    color:var(--teal-dark);
    text-transform:uppercase;
    font-size:.72rem;
    letter-spacing:.18em;
    font-weight:800;
    margin-top:4px;
}

.nav-links{
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin:0;
    padding:0;
}

.nav-links a{
    display:block;
    padding:12px 14px;
    border-radius:999px;
    color:var(--navy);
    font-weight:800;
    font-size:.96rem;
}

.nav-links a:hover,
.nav-links a.active{
    background:var(--soft);
    color:var(--teal-dark);
}

.nav-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--navy);
    color:#fff;
    padding:13px 18px;
    border-radius:999px;
    font-weight:900;
    box-shadow:0 14px 40px rgba(6,22,47,.2);
}

.nav-cta:hover{
    background:var(--teal-dark);
}

.menu-toggle{
    display:none;
    width:46px;
    height:46px;
    border:0;
    background:var(--soft);
    border-radius:14px;
    align-items:center;
    justify-content:center;
    gap:4px;
    flex-direction:column;
}

.menu-toggle span{
    width:22px;
    height:2px;
    background:var(--navy);
    border-radius:99px;
}

/* ==========================================================
   TIPOGRAFIA
   ========================================================== */

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--teal-dark);
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.16em;
    font-size:.76rem;
    margin-bottom:12px;
}

.eyebrow::before{
    content:"";
    width:28px;
    height:2px;
    background:var(--gold);
    border-radius:99px;
    flex:0 0 auto;
}

h1,
h2,
h3{
    color:var(--navy);
    line-height:1.08;
    margin:0 0 16px;
    font-weight:950;
    letter-spacing:-.035em;
}

h1{
    font-size:clamp(2.35rem, 5vw, 5.35rem);
}

h2{
    font-size:clamp(2rem, 3.3vw, 3.4rem);
}

h3{
    font-size:1.25rem;
}

p{
    margin:0 0 18px;
    color:var(--muted);
}

/* ==========================================================
   BOTÕES
   ========================================================== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:15px 22px;
    border-radius:999px;
    font-weight:950;
    border:1px solid transparent;
    transition:.22s ease;
    min-height:52px;
}

.btn-primary{
    background:linear-gradient(135deg,var(--teal),var(--teal-dark));
    color:#fff;
    box-shadow:0 16px 42px rgba(49,184,192,.25);
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 50px rgba(49,184,192,.35);
}

.btn-outline{
    border-color:rgba(6,22,47,.18);
    color:var(--navy);
    background:#fff;
}

.btn-outline:hover{
    border-color:var(--teal);
    background:var(--soft);
}

.btn-outline-light{
    border-color:rgba(255,255,255,.34);
    color:#fff;
    background:rgba(255,255,255,.08);
}

.btn-outline-light:hover{
    background:#fff;
    color:var(--navy);
}

.text-link{
    color:var(--teal-dark);
    font-weight:950;
    border:0;
    background:transparent;
    padding:0;
    text-decoration:underline;
    text-underline-offset:4px;
}

/* ==========================================================
   HOME - HERO
   ========================================================== */

.hero{
    position:relative;
    overflow:hidden;
    padding:86px 0 72px;
    background:
        radial-gradient(circle at 15% 20%, rgba(49,184,192,.22), transparent 32%),
        linear-gradient(135deg,#ffffff 0%,#f3fbfc 55%,#fbf7ef 100%);
}

.hero::after{
    content:"";
    position:absolute;
    right:-160px;
    top:60px;
    width:520px;
    height:520px;
    border-radius:50%;
    background:rgba(200,168,107,.18);
    filter:blur(30px);
    pointer-events:none;
}

.hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(440px,1.06fr);
    gap:52px;
    align-items:center;
    position:relative;
    z-index:1;
    min-width:0;
}

.hero-copy{
    min-width:0;
}

.hero-copy p{
    font-size:1.15rem;
    max-width:640px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:30px 0 22px;
}

.trust-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:0;
    padding:0;
    list-style:none;
}

.trust-list li{
    background:#fff;
    border:1px solid var(--line);
    border-radius:999px;
    padding:9px 14px;
    color:var(--navy);
    font-weight:850;
    box-shadow:0 10px 30px rgba(6,22,47,.04);
}

.hero-media{
    position:relative;
    min-width:0;
}

.hero-media img{
    width:100%;
    aspect-ratio:4 / 5;
    object-fit:cover;
    object-position:center;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    max-height:720px;
}

.hero-card{
    position:absolute;
    left:-24px;
    bottom:28px;
    background:#fff;
    border:1px solid rgba(6,22,47,.08);
    border-radius:22px;
    padding:18px 20px;
    box-shadow:var(--shadow);
    max-width:220px;
    z-index:2;
}

.hero-card strong{
    display:block;
    color:var(--navy);
    font-size:2.1rem;
    line-height:1;
    font-weight:950;
}

.hero-card span{
    display:block;
    color:var(--muted);
    font-weight:800;
    font-size:.9rem;
    margin-top:6px;
}

/* ==========================================================
   INDICADORES
   ========================================================== */

.stats-section{
    padding:26px 0;
    background:var(--navy);
}

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

.stats-grid article{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:22px;
    padding:24px;
    color:#fff;
    text-align:center;
}

.stats-grid strong{
    display:block;
    font-size:2rem;
    line-height:1;
    color:#fff;
}

.stats-grid span{
    display:block;
    color:#cfe7ea;
    font-weight:800;
    margin-top:6px;
}

/* ==========================================================
   SEÇÕES GERAIS
   ========================================================== */

.section{
    padding:92px 0;
}

.section-soft{
    background:linear-gradient(180deg,#f4fbfc,#fff);
}

.section-heading{
    max-width:820px;
    margin-bottom:38px;
}

.section-heading.centered{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

.section-heading.align-left{
    text-align:left;
}

.section-heading p{
    font-size:1.08rem;
}

/* ==========================================================
   TABELAS
   ========================================================== */

.table-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow-x:auto;
    width:100%;
    max-width:100%;
}

table{
    width:100%;
    border-collapse:collapse;
    min-width:760px;
}

caption{
    position:absolute;
    clip:rect(1px,1px,1px,1px);
    clip-path:inset(50%);
    height:1px;
    width:1px;
    overflow:hidden;
    white-space:nowrap;
}

th,
td{
    text-align:left;
    padding:18px 20px;
    border-bottom:1px solid var(--line);
}

th{
    background:var(--navy);
    color:#fff;
    font-size:.86rem;
    text-transform:uppercase;
    letter-spacing:.12em;
}

td{
    color:#334055;
    font-weight:650;
}

tbody tr:hover{
    background:#f7fcfd;
}

.status{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:7px 10px;
    font-weight:950;
    font-size:.78rem;
}

.status.booked{
    background:#e7f9fa;
    color:#08707a;
}

.status.alert{
    background:#fff4d8;
    color:#86611a;
}

.notice{
    font-size:.93rem;
    color:#6b5c3d;
    text-align:center;
    margin-top:18px;
}

/* ==========================================================
   GRIDS GERAIS
   ========================================================== */

.feature-grid,
.split-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:54px;
    align-items:center;
    min-width:0;
}

.feature-grid.reverse{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}

.feature-grid > *,
.split-grid > *{
    min-width:0;
}

.mini-services{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.mini-services article,
.values-grid article,
.service-card,
.testimonials-grid article,
.video-card,
.contact-form,
.contact-info,
.business-card,
.result-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:0 18px 55px rgba(6,22,47,.08);
}

.mini-services article{
    padding:26px;
}

.mini-services span{
    display:inline-flex;
    width:42px;
    height:42px;
    border-radius:14px;
    align-items:center;
    justify-content:center;
    background:var(--soft);
    color:var(--teal-dark);
    font-weight:950;
    margin-bottom:16px;
}

.image-frame{
    position:relative;
    min-width:0;
    width:100%;
}

.image-frame img{
    width:100%;
    aspect-ratio:4 / 5;
    object-fit:cover;
    object-position:center;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.image-frame::after{
    content:"";
    position:absolute;
    inset:auto 24px -18px 24px;
    height:42px;
    background:linear-gradient(90deg,var(--teal),var(--gold));
    border-radius:999px;
    z-index:-1;
    opacity:.24;
    filter:blur(6px);
}

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

.audit-grid.small{
    grid-template-columns:repeat(3,1fr);
    margin-top:20px;
}

.audit-grid span{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:54px;
    padding:12px;
    border-radius:16px;
    background:#fff;
    border:1px solid var(--line);
    font-weight:900;
    color:var(--navy);
}

/* ==========================================================
   DEPOIMENTOS
   ========================================================== */

.testimonials-section{
    background:linear-gradient(135deg,var(--navy),#0b2c54);
    position:relative;
    overflow:hidden;
}

.testimonials-section h2,
.testimonials-section .eyebrow{
    color:#fff;
}

.testimonials-section .eyebrow::before{
    background:var(--teal);
}

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

.testimonials-grid article{
    padding:28px;
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.12);
    box-shadow:none;
    color:#fff;
}

.testimonials-grid p{
    color:#dcecf2;
}

.testimonials-grid strong{
    color:#fff;
}

.stars{
    color:#ffd36e;
    font-size:1.05rem;
    letter-spacing:.08em;
    margin-bottom:14px;
}

/* ==========================================================
   HERO DAS PÁGINAS INTERNAS
   ========================================================== */

.page-hero{
    padding:78px 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(49,184,192,.22), transparent 28%),
        linear-gradient(135deg,#fff,#f3fbfc);
}

.page-hero.compact{
    padding:60px 0;
}

.page-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);
    gap:48px;
    align-items:center;
    min-width:0;
}

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

.page-hero-grid img{
    width:100%;
    aspect-ratio:4 / 5;
    object-fit:cover;
    object-position:center;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    max-height:680px;
}

.page-hero-grid p{
    font-size:1.1rem;
}

/* ==========================================================
   PÁGINA SERVIÇOS
   ========================================================== */

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

.service-card{
    padding:28px;
    transition:.22s ease;
    min-height:238px;
}

.service-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow);
    border-color:rgba(49,184,192,.4);
}

.service-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:45px;
    height:45px;
    border-radius:15px;
    background:var(--navy);
    color:#fff;
    font-weight:950;
    margin-bottom:18px;
}

.price-card td:nth-child(2){
    color:var(--teal-dark);
    white-space:nowrap;
}

/* Correção da imagem dos ícones da página Serviços */
.page-hero-grid img[src*="icones-servicos-odontologicos"],
.services-icons-image{
    display:block !important;
    width:100% !important;
    max-width:520px !important;
    height:auto !important;
    max-height:none !important;
    margin:0 auto !important;
    padding:14px !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center !important;
    background:#fff !important;
    border-radius:var(--radius) !important;
    box-shadow:var(--shadow) !important;
}

/* Caso você tenha trocado o HTML para services-hero-clean */
.services-hero-clean{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,500px);
    gap:48px;
    align-items:center;
}

.services-hero-copy,
.services-icons-box{
    min-width:0;
}

.services-icons-box{
    width:100%;
    max-width:500px;
    margin:0 auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:18px;
    overflow:hidden;
}

.services-icons-box .services-icons-image{
    max-width:100% !important;
    padding:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
}

/* ==========================================================
   PROCESSO
   ========================================================== */

.process-grid{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:44px;
    align-items:start;
    min-width:0;
}

.process-list{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:16px;
    counter-reset:step;
}

.process-list li{
    counter-increment:step;
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:22px 24px 22px 74px;
    position:relative;
    box-shadow:0 14px 40px rgba(6,22,47,.06);
}

.process-list li::before{
    content:counter(step);
    position:absolute;
    left:22px;
    top:22px;
    width:34px;
    height:34px;
    border-radius:12px;
    background:var(--soft);
    color:var(--teal-dark);
    font-weight:950;
    display:flex;
    align-items:center;
    justify-content:center;
}

.process-list strong{
    display:block;
    color:var(--navy);
    font-size:1.08rem;
}

.process-list span{
    color:var(--muted);
}

/* ==========================================================
   PÁGINA SOBRE
   ========================================================== */

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

.values-grid article{
    padding:28px;
}

.check-list{
    margin:22px 0 0;
    padding:0;
    list-style:none;
    display:grid;
    gap:12px;
}

.check-list li{
    position:relative;
    padding-left:34px;
    color:var(--text);
    font-weight:800;
}

.check-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:-1px;
    color:#fff;
    background:var(--teal-dark);
    width:23px;
    height:23px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.8rem;
}

.audit-section{
    background:#fbf7ef;
}

/* Caso você tenha trocado o HTML para about-structure-clean */
.about-structure-clean{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:54px;
    align-items:center;
}

.about-structure-copy,
.about-structure-media{
    min-width:0;
}

.about-structure-media{
    order:2;
}

.about-structure-copy{
    order:1;
}

.about-structure-image{
    display:block !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:4 / 5 !important;
    object-fit:cover !important;
    object-position:center !important;
    border-radius:var(--radius) !important;
    box-shadow:var(--shadow) !important;
}

/* ==========================================================
   GALERIA
   ========================================================== */

.gallery-section{
    overflow:hidden;
}

.carousel-3d{
    height:620px;
    display:flex;
    align-items:center;
    justify-content:center;
    perspective:1200px;
    margin-top:24px;
}

.carousel-3d-stage{
    position:relative;
    width:280px;
    height:350px;
    transform-style:preserve-3d;
    animation:spinGallery 38s linear infinite;
}

.carousel-3d:hover .carousel-3d-stage{
    animation-play-state:paused;
}

.gallery-item{
    position:absolute;
    inset:0;
    border:0;
    background:transparent;
    transform:rotateY(calc((360deg / var(--total)) * var(--i))) translateZ(430px);
    transform-style:preserve-3d;
    padding:0;
}

.gallery-item img{
    width:100%;
    height:auto;
    aspect-ratio:4 / 5;
    object-fit:cover;
    object-position:center;
    border-radius:22px;
    box-shadow:0 18px 50px rgba(6,22,47,.24);
    border:5px solid #fff;
}

.gallery-item span{
    display:block;
    margin:10px auto 0;
    width:max-content;
    max-width:100%;
    background:rgba(6,22,47,.86);
    color:#fff;
    border-radius:999px;
    padding:7px 12px;
    font-size:.82rem;
    font-weight:900;
}

@keyframes spinGallery{
    from{
        transform:rotateY(0deg);
    }
    to{
        transform:rotateY(-360deg);
    }
}

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(2,8,20,.92);
    z-index:200;
    display:none;
    align-items:center;
    justify-content:center;
    padding:30px;
}

.lightbox.open{
    display:flex;
}

.lightbox figure{
    margin:0;
    width:min(920px,92vw);
    max-width:100%;
}

.lightbox img{
    width:auto;
    max-width:100%;
    height:auto;
    max-height:82vh;
    object-fit:contain;
    margin:0 auto;
    border-radius:22px;
    box-shadow:0 30px 100px rgba(0,0,0,.4);
}

.lightbox figcaption{
    color:#fff;
    text-align:center;
    margin-top:14px;
    font-weight:900;
}

.lightbox-close,
.lightbox-arrow{
    position:absolute;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.1);
    color:#fff;
    backdrop-filter:blur(10px);
}

.lightbox-close{
    right:24px;
    top:22px;
    width:48px;
    height:48px;
    border-radius:50%;
    font-size:2rem;
    line-height:1;
}

.lightbox-arrow{
    top:50%;
    transform:translateY(-50%);
    width:58px;
    height:58px;
    border-radius:50%;
    font-size:3rem;
    line-height:1;
}

.lightbox-prev{
    left:26px;
}

.lightbox-next{
    right:26px;
}

/* ==========================================================
   VÍDEOS
   ========================================================== */

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

.video-card{
    overflow:hidden;
}

.video-card video{
    width:100%;
    height:auto;
    aspect-ratio:16 / 9;
    background:#000;
    object-fit:cover;
}

.video-card div{
    padding:22px;
}

/* ==========================================================
   CONTATO
   ========================================================== */

.contact-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:30px;
    align-items:start;
    min-width:0;
}

.contact-info,
.contact-form{
    padding:32px;
}

.info-list{
    display:grid;
    gap:14px;
    margin:24px 0 32px;
}

.info-list article{
    padding:18px;
    border-radius:18px;
    background:var(--soft);
    border:1px solid rgba(49,184,192,.18);
}

.info-list strong{
    display:block;
    color:var(--navy);
    font-size:.88rem;
    text-transform:uppercase;
    letter-spacing:.09em;
    margin-bottom:4px;
}

.info-list a{
    color:var(--teal-dark);
    font-weight:950;
}

.social-buttons,
.social-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.social-buttons a{
    display:inline-flex;
    border-radius:999px;
    padding:10px 13px;
    background:var(--soft);
    border:1px solid var(--line);
    font-weight:900;
    color:var(--navy);
}

.social-links a{
    display:inline-flex;
    border-radius:999px;
    padding:10px 13px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.14);
    font-weight:900;
    color:#dce9ef;
}

.social-buttons a:hover,
.social-links a:hover{
    background:var(--teal-dark);
    color:#fff;
}

.business-card{
    padding:22px;
    margin-top:24px;
    box-shadow:none;
    background:#fbf7ef;
}

.contact-form label{
    display:block;
    margin:16px 0 7px;
    color:var(--navy);
    font-weight:900;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.whatsapp-form input,
.whatsapp-form textarea{
    width:100%;
    border:1px solid var(--line);
    border-radius:16px;
    padding:15px 16px;
    background:#fff;
    color:var(--text);
    transition:.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.whatsapp-form input:focus,
.whatsapp-form textarea:focus{
    border-color:var(--teal);
    box-shadow:0 0 0 4px rgba(49,184,192,.14);
    outline:0;
}

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

.checkbox-line{
    display:flex !important;
    gap:10px;
    align-items:flex-start;
    margin:18px 0 !important;
    color:var(--muted);
    font-weight:700 !important;
}

.checkbox-line input{
    width:auto;
    margin-top:5px;
}

.honeypot{
    position:absolute !important;
    left:-9999px !important;
    opacity:0 !important;
}

.map-section{
    padding:70px 0 0;
    background:#fff;
}

.map-frame{
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    border:1px solid var(--line);
}

.map-frame iframe{
    width:100%;
    height:420px;
}

.faq-list{
    max-width:860px;
    margin:0 auto;
    display:grid;
    gap:12px;
}

details{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:18px 20px;
    box-shadow:0 10px 30px rgba(6,22,47,.05);
}

summary{
    font-weight:950;
    color:var(--navy);
    cursor:pointer;
}

details p{
    margin:12px 0 0;
}

/* ==========================================================
   CTA FINAL E FOOTER
   ========================================================== */

.final-cta{
    background:linear-gradient(135deg,var(--navy),#0a2a4f);
    color:#fff;
    padding:72px 0;
}

.final-cta-grid{
    display:grid;
    grid-template-columns:1fr auto;
    gap:28px;
    align-items:center;
}

.final-cta h2{
    color:#fff;
    max-width:800px;
}

.final-cta p{
    color:#d5e9ee;
    max-width:650px;
}

.final-cta-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.site-footer{
    background:#031022;
    color:#dce9ef;
    padding:60px 0 24px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.3fr .7fr .9fr 1fr;
    gap:34px;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:950;
    color:#fff;
    margin-bottom:14px;
}

.footer-brand img{
    width:58px;
    height:58px;
    object-fit:contain;
    border-radius:16px;
    background:#fff;
}

.site-footer h3{
    font-size:1rem;
    color:#fff;
    margin-bottom:14px;
    letter-spacing:0;
}

.site-footer ul{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:9px;
}

.site-footer a{
    color:#dce9ef;
}

.site-footer a:hover{
    color:var(--teal);
}

.site-footer p{
    color:#a9bdc8;
}

.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:22px;
    margin-top:38px;
    font-size:.9rem;
}

.footer-bottom p{
    margin:0;
}

/* ==========================================================
   WHATSAPP E MODAL
   ========================================================== */

.whatsapp-floating{
    position:fixed;
    right:22px;
    bottom:22px;
    width:64px;
    height:64px;
    border:0;
    border-radius:50%;
    background:#25d366;
    box-shadow:0 18px 45px rgba(37,211,102,.35);
    z-index:95;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s ease;
}

.whatsapp-floating:hover{
    transform:translateY(-3px) scale(1.03);
}

.whatsapp-floating svg{
    width:34px;
    height:34px;
    fill:#fff;
}

.modal{
    position:fixed;
    inset:0;
    z-index:150;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.modal.open{
    display:flex;
}

.modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,16,34,.72);
    backdrop-filter:blur(8px);
}

.modal-card{
    position:relative;
    width:min(520px,100%);
    background:#fff;
    border-radius:var(--radius);
    box-shadow:0 30px 120px rgba(0,0,0,.3);
    padding:32px;
    z-index:1;
}

.modal-close{
    position:absolute;
    right:18px;
    top:16px;
    width:38px;
    height:38px;
    border:0;
    border-radius:50%;
    background:var(--soft);
    font-size:1.6rem;
    color:var(--navy);
}

.whatsapp-form label{
    display:block;
    margin:14px 0 7px;
    font-weight:900;
    color:var(--navy);
}

.whatsapp-form .btn{
    width:100%;
    margin-top:18px;
}

.error-list{
    background:#fff2f2;
    border:1px solid #ffd1d1;
    border-radius:16px;
    padding:18px 24px;
    color:#7a1320;
    font-weight:800;
}

.result-card{
    padding:42px;
    max-width:780px;
}

/* ==========================================================
   ANIMAÇÃO
   ========================================================== */

.reveal{
    animation:fadeUp .7s ease both;
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(18px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media (prefers-reduced-motion: reduce){
    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
    }
}

/* ==========================================================
   RESPONSIVO - TABLET
   ========================================================== */

@media (max-width:1080px){
    .hero-grid,
    .page-hero-grid,
    .feature-grid,
    .feature-grid.reverse,
    .split-grid,
    .contact-grid,
    .process-grid,
    .about-structure-clean,
    .services-hero-clean{
        grid-template-columns:minmax(0,1fr) !important;
    }

    .hero-grid{
        gap:34px;
    }

    .hero-media{
        order:-1;
    }

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

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

    .videos-grid,
    .testimonials-grid{
        grid-template-columns:1fr;
    }

    .audit-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .hero-media img,
    .page-hero-grid img,
    .image-frame img{
        max-height:620px;
    }

    .feature-grid.reverse .image-frame{
        order:-1;
    }

    .about-structure-media{
        order:1;
    }

    .about-structure-copy{
        order:2;
    }

    .services-icons-box,
    .page-hero-grid img[src*="icones-servicos-odontologicos"],
    .services-icons-image{
        max-width:520px !important;
    }
}

/* ==========================================================
   RESPONSIVO - MENU
   ========================================================== */

@media (max-width:900px){
    .nav-grid{
        grid-template-columns:auto auto;
        justify-content:space-between;
        min-height:76px;
    }

    .menu-toggle{
        display:flex;
    }

    .nav-links{
        position:absolute;
        left:20px;
        right:20px;
        top:124px;
        background:#fff;
        border:1px solid var(--line);
        border-radius:22px;
        box-shadow:var(--shadow);
        padding:14px;
        display:none;
        flex-direction:column;
        align-items:stretch;
        z-index:99;
    }

    .nav-links.open{
        display:flex;
    }

    .nav-links a{
        text-align:center;
        border-radius:14px;
    }

    .nav-cta{
        display:none;
    }

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

    .carousel-3d{
        height:520px;
        perspective:900px;
    }

    .carousel-3d-stage{
        width:230px;
        height:288px;
    }

    .gallery-item{
        transform:rotateY(calc((360deg / var(--total)) * var(--i))) translateZ(320px);
    }

    .final-cta-grid{
        grid-template-columns:1fr;
    }

    .final-cta-actions{
        justify-content:flex-start;
    }
}

/* ==========================================================
   RESPONSIVO - CELULAR
   ========================================================== */

@media (max-width:680px){
    .container{
        width:min(100% - 28px, var(--container)) !important;
    }

    .topbar-grid{
        flex-direction:column;
        align-items:flex-start;
        gap:2px;
        padding:8px 0;
    }

    .nav-links{
        top:135px;
    }

    .hero,
    .section,
    .page-hero,
    .page-hero.compact{
        padding:56px 0 !important;
    }

    h1{
        font-size:2.35rem;
        line-height:1.08;
    }

    h2{
        font-size:1.9rem;
        line-height:1.12;
    }

    h3{
        line-height:1.16;
    }

    h1,
    h2,
    h3,
    p,
    li{
        word-break:normal;
        overflow-wrap:normal;
    }

    .hero-grid,
    .page-hero-grid,
    .feature-grid,
    .feature-grid.reverse,
    .split-grid,
    .contact-grid,
    .process-grid,
    .about-structure-clean,
    .services-hero-clean{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) !important;
        gap:28px !important;
    }

    .hero-grid > *,
    .page-hero-grid > *,
    .feature-grid > *,
    .split-grid > *,
    .contact-grid > *,
    .process-grid > *,
    .about-structure-clean > *,
    .services-hero-clean > *{
        width:100%;
        max-width:100%;
        min-width:0;
    }

    .hero-actions,
    .final-cta-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .btn{
        width:100%;
    }

    .hero-card{
        position:relative !important;
        left:auto !important;
        right:auto !important;
        bottom:auto !important;
        max-width:none !important;
        margin-top:14px !important;
    }

    .hero-media img,
    .page-hero-grid img,
    .image-frame img{
        width:100%;
        max-width:100%;
        max-height:520px;
        border-radius:22px;
    }

    .page-hero-grid img[src*="icones-servicos-odontologicos"],
    .services-icons-image{
        width:100% !important;
        max-width:100% !important;
        max-height:none !important;
        padding:10px !important;
        object-fit:contain !important;
        aspect-ratio:auto !important;
        border-radius:22px !important;
    }

    .services-icons-box{
        width:100%;
        max-width:100%;
        padding:10px;
        border-radius:22px;
    }

    .services-icons-box .services-icons-image{
        padding:0 !important;
    }

    .feature-grid.reverse .image-frame,
    .about-structure-media{
        order:-1 !important;
    }

    .about-structure-copy{
        order:2 !important;
    }

    .stats-grid,
    .mini-services,
    .services-grid,
    .values-grid,
    .audit-grid,
    .audit-grid.small,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    .table-card{
        border-radius:22px;
    }

    table{
        min-width:720px;
    }

    .carousel-3d{
        height:440px;
        overflow:hidden;
    }

    .carousel-3d-stage{
        width:185px;
        height:232px;
    }

    .gallery-item{
        transform:rotateY(calc((360deg / var(--total)) * var(--i))) translateZ(235px);
    }

    .gallery-item img{
        border-width:3px;
        border-radius:18px;
    }

    .gallery-item span{
        font-size:.74rem;
        padding:6px 9px;
        white-space:normal;
        text-align:center;
    }

    .lightbox{
        padding:14px;
    }

    .lightbox figure{
        width:100%;
        max-width:100%;
    }

    .lightbox img{
        max-height:76vh;
        border-radius:18px;
    }

    .lightbox-arrow{
        width:46px;
        height:46px;
        font-size:2.3rem;
        background:rgba(0,0,0,.35);
    }

    .lightbox-prev{
        left:10px;
    }

    .lightbox-next{
        right:10px;
    }

    .lightbox-close{
        right:12px;
        top:12px;
    }

    .map-frame iframe{
        height:320px;
    }

    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }

    .modal-card{
        padding:26px 20px;
    }

    .whatsapp-floating{
        right:18px;
        bottom:18px;
        width:58px;
        height:58px;
    }

    .whatsapp-floating svg{
        width:31px;
        height:31px;
    }
}

/* ==========================================================
   RESPONSIVO - CELULAR PEQUENO
   ========================================================== */

@media (max-width:430px){
    .container{
        width:min(100% - 24px, var(--container)) !important;
    }

    h1{
        font-size:2.08rem;
    }

    h2{
        font-size:1.72rem;
    }

    .brand img{
        width:52px;
        height:52px;
    }

    .brand strong{
        font-size:1.08rem;
    }

    .brand small{
        font-size:.64rem;
        letter-spacing:.16em;
    }

    .hero-media img,
    .page-hero-grid img,
    .image-frame img{
        max-height:460px;
    }

    .page-hero-grid img[src*="icones-servicos-odontologicos"],
    .services-icons-image{
        max-height:none !important;
    }

    .carousel-3d{
        height:390px;
    }

    .carousel-3d-stage{
        width:160px;
        height:200px;
    }

    .gallery-item{
        transform:rotateY(calc((360deg / var(--total)) * var(--i))) translateZ(195px);
    }

    .gallery-item img{
        border-radius:16px;
    }

    .map-frame iframe{
        height:280px;
    }
}