/* ============================================================
   LINK 360 — Clínica Gustavo Martins · Harmonização Facial Premium
   Variáveis de marca + estilos específicos deste cliente
   Base compartilhada: ../../shared/core.js
   ============================================================ */

/* ─── TOKENS DE MARCA ─── */
:root {
    --nude: #D4AF79;
    --terra: #0F1525;
    --off: #F1EEE8;
    --dark: #0A0E1A;
    --muted: #A8A39A;
    --card: #FFFFFF;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── DARK MODE ─── */
body.dark {
    --off: #0A0E1A;
    --dark: #F1EEE8;
    --muted: #A8A39A;
    --card: #0F1525;
}

/* ─── PRELOADER PREMIUM MINIMALISTA ─── */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    transition: opacity .8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0s linear .8s;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(212, 175, 121, .12) 0%, transparent 60%),
        linear-gradient(180deg, #0A1B24 0%, #0A0E1A 50%, #081821 100%);
}

.preloader-shimmer { display: none; }

.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    animation: preloader-content-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes preloader-content-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.preloader-logo-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1.8rem;
}

.preloader-ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.preloader-ring-track {
    fill: none;
    stroke: rgba(212, 175, 121, .12);
    stroke-width: 1.2;
}

.preloader-ring-progress {
    fill: none;
    stroke: #D4AF79;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-dasharray: 352;
    stroke-dashoffset: 352;
    animation: preloader-ring-fill 2.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloader-ring-fill {
    to { stroke-dashoffset: 0; }
}

.preloader-logo {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo img {
    width: 105%;
    height: 105%;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 8px rgba(212, 175, 121, .25));
}

.preloader-divider {
    display: none;
}

.preloader-welcome {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: .92rem;
    color: rgba(250, 248, 245, .55);
    letter-spacing: .03em;
    margin: 0 0 .35rem;
    opacity: 0;
    animation: preloader-fade-up .7s .55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 6vw, 2.05rem);
    line-height: 1;
    color: #F1EEE8;
    letter-spacing: .08em;
    margin: 0 0 .75rem;
    opacity: 0;
    animation: preloader-fade-up .8s .75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-tagline {
    font-size: .48rem;
    font-weight: 600;
    color: rgba(212, 175, 121, .65);
    letter-spacing: .28em;
    text-transform: uppercase;
    margin: 0 0 1.8rem;
    opacity: 0;
    animation: preloader-fade-up .7s .95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloader-fade-up {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.preloader-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .65rem;
    opacity: 0;
    animation: preloader-fade-up .7s 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-bar {
    width: 110px;
    height: 1.5px;
    border-radius: 999px;
    background: rgba(212, 175, 121, .12);
    overflow: hidden;
    position: relative;
}

.preloader-bar span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, #D4AF79 50%, transparent 100%);
    transform: translateX(-100%);
    animation: preloader-bar-slide 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes preloader-bar-slide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.preloader-loading-text {
    font-size: .45rem;
    font-weight: 700;
    color: rgba(212, 175, 121, .5);
    letter-spacing: .38em;
    text-transform: uppercase;
    margin: 0;
    padding-left: .38em;
}

.preloader-dot {
    display: inline-block;
    opacity: .3;
    animation: preloader-dot-blink 1.4s infinite;
}

.preloader-dot:nth-child(1) { animation-delay: 0s; }
.preloader-dot:nth-child(2) { animation-delay: .2s; }
.preloader-dot:nth-child(3) { animation-delay: .4s; }

@keyframes preloader-dot-blink {
    0%, 60%, 100% { opacity: .3; }
    30%           { opacity: 1; color: #D4AF79; }
}

body.preloading {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .preloader-content,
    .preloader-welcome,
    .preloader-brand,
    .preloader-tagline,
    .preloader-progress,
    .preloader-bar span,
    .preloader-dot,
    .preloader-ring-progress {
        animation: none !important;
    }
    .preloader-content,
    .preloader-welcome,
    .preloader-brand,
    .preloader-tagline,
    .preloader-progress { opacity: 1; transform: none; }
    .preloader-ring-progress { stroke-dashoffset: 0; }
    .preloader-dot { opacity: 1; }
}

/* ─── RESET MÍNIMO ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--off);
    color: var(--dark);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    user-select: none;
    transition: background .5s var(--ease), color .5s var(--ease);
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--off);
}

::-webkit-scrollbar-thumb {
    background: var(--nude);
    border-radius: 10px;
}

/* ─── THEME TOGGLE ─── */
#theme-btn {
    position: fixed;
    top: .9rem;
    right: .9rem;
    z-index: 1100;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid rgba(212, 175, 121, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 35, 46, .1);
    transition: all .4s var(--ease);
    color: var(--nude);
    font-size: .9rem;
}

#theme-btn:hover {
    border-color: var(--nude);
    transform: rotate(15deg) scale(1.08);
}

body.dark #theme-btn {
    background: #0F1525;
    border-color: rgba(212, 175, 121, .3);
}

.hidden-btn {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

/* ─── VIDEO SOUND TOGGLE (replaces music btn) ─── */
#video-sound-btn {
    position: fixed;
    top: 3.4rem;
    right: .9rem;
    z-index: 1100;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid rgba(212, 175, 121, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 35, 46, .1);
    transition: all .4s var(--ease);
    color: var(--nude);
    font-size: .85rem;
}

#video-sound-btn:hover {
    border-color: var(--nude);
    transform: scale(1.08);
}

body.dark #video-sound-btn {
    background: #0F1525;
    border-color: rgba(212, 175, 121, .3);
}

#video-sound-btn.active {
    animation: pulse-sound-btn 2.5s infinite var(--ease);
    border-color: var(--nude);
}

/* ─── TOUR VIRTUAL BTN ─── */
#tour-btn {
    position: fixed;
    top: 5.9rem;
    right: .9rem;
    z-index: 1100;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid rgba(212, 175, 121, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 35, 46, .1);
    transition: all .4s var(--ease);
    color: var(--nude);
    font-size: .85rem;
}

#tour-btn:hover {
    border-color: var(--nude);
    transform: scale(1.08);
}

.float-hidden {
    transform: translateX(80px) !important;
    opacity: 0 !important;
    pointer-events: none;
}

body.dark #tour-btn {
    background: #0F1525;
    border-color: rgba(212, 175, 121, .3);
}

.tour-iframe-wrap {
    width: 100%;
    height: 60vh;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 121, .3);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    margin-bottom: 1.5rem;
}

.tour-modal-box {
    width: 90vw;
    max-width: 600px;
    background: var(--card);
    border-radius: 2rem;
    padding: 2.2rem 1.5rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(212, 175, 121, .2);
    box-shadow: 0 25px 60px rgba(15, 35, 46, .5);
}

.tour-modal-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--nude);
    margin-bottom: 1.2rem;
    letter-spacing: .05em;
    text-align: center;
}

.tour-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: 1rem;
    background: var(--nude);
    color: #fff;
    border-radius: 1rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    transition: all .3s var(--ease);
}

.tour-modal-cta:hover {
    background: #a88b42;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 121, .4);
}

@media(max-width: 480px) {
    .tour-iframe-wrap {
        height: 50vh;
    }
    .tour-modal-title {
        font-size: 1.5rem;
    }
}

@keyframes pulse-sound-btn {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(15, 35, 46, .1);
    }

    50% {
        box-shadow: 0 4px 20px rgba(212, 175, 121, .45);
    }
}

/* ─── PLAY/PAUSE VÍDEO ─── */
.btn-video-control {
    position: absolute;
    bottom: .75rem;
    right: .75rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.1rem;
    background: rgba(15, 35, 46, .65);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(212, 175, 121, .35);
    border-radius: 2rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(15, 35, 46, .4);
    transition: all .25s var(--ease);
    white-space: nowrap;
}

.btn-video-control:hover {
    background: var(--nude);
    border-color: var(--nude);
    transform: scale(1.04);
}

.btn-video-control i {
    font-size: .85rem;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 35, 46, .08) 0%, transparent 30%, rgba(15, 35, 46, .5) 65%, rgba(15, 35, 46, .92) 100%);
    z-index: 1;
    transition: background .5s var(--ease);
}

body:not(.dark) .hero::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(250, 248, 245, 0) 20%, rgba(250, 248, 245, 0.9) 65%, var(--off) 90%, var(--off) 100%);
}

body.dark .hero::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 35, 46, 0) 20%, rgba(15, 35, 46, 0.9) 65%, var(--off) 90%, var(--off) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    transition: color .5s var(--ease);
}

body:not(.dark) .hero-content h1 {
    color: var(--terra) !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
}

body:not(.dark) .hero-content p {
    color: #0F1525 !important;
    text-shadow: 0 1px 12px rgba(255, 255, 255, .8) !important;
}

body.dark .hero-content h1 {
    color: #fff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4) !important;
}

body:not(.dark) .hero-content .pill {
    background: rgba(212, 175, 121, .1);
    border-color: rgba(212, 175, 121, .2);
    color: #0F1525 !important;
}

.font-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ─── PILL ─── */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(212, 175, 121, .15);
    border: 1px solid rgba(212, 175, 121, .35);
    border-radius: 999px;
    padding: .28rem .8rem;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--nude);
    backdrop-filter: blur(6px);
}

/* ─── PILL HERO — variante boutique premium (paleta petróleo + ouro) ─── */
.pill-hero {
    gap: .55rem;
    padding: .5rem 1.1rem;
    font-size: .58rem;
    letter-spacing: .28em;
    font-weight: 600;
    color: #EFE2BB;
    background:
        linear-gradient(rgba(15, 35, 46, .55), rgba(15, 35, 46, .55)) padding-box,
        linear-gradient(135deg, rgba(232, 207, 138, .9) 0%, rgba(212, 175, 121, .4) 45%, rgba(232, 207, 138, .9) 100%) border-box;
    border: 1px solid transparent;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .08) inset,
        0 0 0 1px rgba(0, 0, 0, .15),
        0 8px 24px -8px rgba(0, 0, 0, .5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

.pill-hero .fa-gem {
    font-size: .55rem;
    color: #E8CF8A;
    filter: drop-shadow(0 0 4px rgba(232, 207, 138, .6));
}

.pill-hero .pill-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: .55;
    flex-shrink: 0;
}

body:not(.dark) .hero-content .pill-hero {
    color: #4A3A1C !important;
    background:
        linear-gradient(rgba(255, 252, 246, .75), rgba(255, 252, 246, .75)) padding-box,
        linear-gradient(135deg, rgba(212, 175, 121, .9) 0%, rgba(232, 207, 138, .4) 50%, rgba(212, 175, 121, .9) 100%) border-box;
    text-shadow: none;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .6) inset,
        0 8px 20px -10px rgba(74, 58, 28, .3);
}

body:not(.dark) .hero-content .pill-hero .fa-gem {
    color: #B89240;
    filter: drop-shadow(0 0 3px rgba(232, 207, 138, .5));
}

/* ─── LINK CARD ─── */
.link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card);
    border-radius: 1.5rem;
    padding: 1.8rem 1.25rem;
    border: 1px solid rgba(212, 175, 121, .12);
    box-shadow: 0 2px 12px rgba(15, 35, 46, .06);
    transition: all .35s var(--ease);
    text-decoration: none;
    color: var(--dark);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212, 175, 121, .22);
    border-color: var(--nude);
}

.link-card:active {
    transform: scale(.98);
}

body.dark .link-card {
    background: #0F1525;
    border-color: rgba(212, 175, 121, .15);
}

.lc-icon {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.85rem;
    color: var(--nude);
}

.lc-label {
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--muted);
    margin-bottom: 2px;
}

.lc-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--dark);
}

body.dark .lc-title {
    color: var(--dark);
}

.lc-arrow {
    margin-left: auto;
    color: var(--nude);
    font-size: .72rem;
    opacity: .55;
    transition: all .3s var(--ease);
}

.link-card:hover .lc-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ─── CARD PREMIUM ─── */
.card-premium {
    background: linear-gradient(135deg, #D4AF79 0%, #0F1525 60%, #0A0E1A 100%) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(26, 58, 74, .3) !important;
}

.card-premium:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 40px rgba(26, 58, 74, .5) !important;
    border-color: transparent !important;
}

body.dark .card-premium {
    filter: brightness(1.05);
}

.card-premium .lc-icon {
    background: transparent !important;
    backdrop-filter: none !important;
}

.card-premium .lc-icon i {
    color: #fff !important;
}

.card-premium .lc-title {
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.card-premium .lc-label {
    color: rgba(255, 255, 255, .65) !important;
}

.card-premium .lc-arrow {
    color: rgba(255, 255, 255, .7) !important;
    opacity: 1 !important;
}

.card-premium:hover .lc-arrow {
    color: #fff !important;
    transform: translateX(3px);
}

.card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .12) 0%, transparent 55%);
    pointer-events: none;
}

/* ─── CARD EMERGENCY ─── */
.card-emergency {
    background: linear-gradient(135deg, #7c1c1c 0%, #0F1525 60%, #0A0E1A 100%) !important;
    border: 1px solid rgba(124, 28, 28, 0.4) !important;
    box-shadow: 0 10px 30px rgba(124, 28, 28, 0.25) !important;
}

.card-emergency:hover {
    box-shadow: 0 14px 40px rgba(124, 28, 28, 0.4) !important;
}

body.dark .card-emergency {
    filter: brightness(1.1);
}

/* ─── SEÇÃO ─── */
.eyebrow {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--nude);
    margin-bottom: .35rem;
}

.sec-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 8vw, 3rem);
    line-height: .92;
    color: var(--dark);
    margin-bottom: .65rem;
}

.sec-line {
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--nude), var(--terra));
    border-radius: 2px;
    margin-bottom: .7rem;
}

.sec-sub {
    font-size: .77rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 300px;
}

/* ─── SEÇÃO SOBRE A CLÍNICA ─── */
.sobre-clinica-box {
    background: var(--card);
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(212, 175, 121, .15);
    box-shadow: 0 4px 20px rgba(15, 35, 46, .06);
    transition: all .5s var(--ease);
    overflow: hidden;
}

body.dark .sobre-clinica-box {
    background: transparent;
    border-color: rgba(212, 175, 121, .25);
    box-shadow: none;
}

.sobre-clinica-box .sec-title {
    color: var(--dark);
}

body.dark .sobre-clinica-box .sec-title {
    color: #F1EEE8;
}

.sobre-clinica-box p {
    color: var(--muted);
    line-height: 1.75;
    font-size: .78rem;
}

body.dark .sobre-clinica-box p {
    color: rgba(250, 248, 245, .72);
}

.sobre-clinica-box strong {
    color: var(--terra);
    font-weight: 600;
}

body.dark .sobre-clinica-box strong {
    color: var(--nude);
}

/* ─── REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all .75s var(--ease);
}

.reveal.on {
    opacity: 1;
    transform: translateY(0);
}

/* ─── CARROSSEL 3D ─── */
.c3d-wrap {
    perspective: 1200px;
    width: 100%;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.c3d-item {
    position: absolute;
    width: 280px;
    aspect-ratio: 9/16;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all .6s cubic-bezier(.23, 1, .32, 1);
    cursor: pointer;
    background: #000;
    will-change: transform, opacity;
}

.c3d-item:not(.active) .video-play-overlay,
.c3d-item:not(.active) .c3d-overlay,
.c3d-item:not(.active) .vc-action-btns,
.c3d-item:not(.active) .vc-inline-cta {
    pointer-events: none;
}

.c3d-item.active {
    z-index: 30;
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    filter: none;
    box-shadow: 0 20px 50px rgba(15, 35, 46, 0.4);
    border: 2px solid var(--nude);
}

.c3d-item.right {
    z-index: 20;
    transform: translate3d(120px, 0, -150px) rotateY(-15deg) scale(0.85);
    opacity: 0.4;
    filter: blur(1px) brightness(0.6);
}

.c3d-item.left {
    z-index: 20;
    transform: translate3d(-120px, 0, -150px) rotateY(15deg) scale(0.85);
    opacity: 0.4;
    filter: blur(1px) brightness(0.6);
}

.c3d-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c3d-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 35, 46, 0.8) 0%, transparent 60%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
}

@media(max-width:480px) {
    .c3d-wrap {
        height: 520px;
    }

    .c3d-item {
        width: 240px;
    }

    .c3d-item.right {
        transform: translate3d(100px, 0, -120px) rotateY(-12deg) scale(0.8);
    }

    .c3d-item.left {
        transform: translate3d(-100px, 0, -120px) rotateY(12deg) scale(0.8);
    }
}

@media(max-width:360px) {
    .c3d-wrap {
        height: 480px;
    }

    .c3d-item {
        width: 210px;
    }

    .c3d-item.right {
        transform: translate3d(85px, 0, -100px) rotateY(-10deg) scale(0.75);
    }

    .c3d-item.left {
        transform: translate3d(-85px, 0, -100px) rotateY(10deg) scale(0.75);
    }
}

.v-dot {
    width: 22px;
    height: 4px;
    border-radius: 99px;
    background: rgba(201, 168, 138, .25);
    transition: all .3s var(--ease);
    cursor: pointer;
    border: none;
    padding: 0;
}

.v-dot.on {
    background: var(--nude);
    width: 32px;
}

/* ─── GALERIA SCROLL ─── */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

@keyframes scrollReverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.animate-scroll-reverse {
    display: flex;
    width: max-content;
    animation: scrollReverse 55s linear infinite;
}

.animate-scroll-reverse:hover {
    animation-play-state: paused;
}

.gal-card {
    width: 240px;
    flex-shrink: 0;
    aspect-ratio: 4/5;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 121, .12);
    box-shadow: 0 8px 24px rgba(15, 35, 46, .12);
    position: relative;
    cursor: zoom-in;
}

body.dark .gal-card {
    border-color: rgba(212, 175, 121, .18);
}

.gal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.gal-card:hover img {
    transform: scale(1.05);
}

.gal-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 35, 46, .8) 0%, rgba(15, 35, 46, .18) 40%, transparent 70%);
    opacity: 0;
    transition: opacity .45s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gal-card:hover .gal-card-overlay {
    opacity: 1;
}

.gal-expand-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212, 175, 121, .85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transform: translateY(12px);
    transition: transform .45s var(--ease);
    box-shadow: 0 0 20px rgba(0, 0, 0, .4);
}

.gal-card:hover .gal-expand-btn {
    transform: translateY(0);
}

/* ─── MOSAICO ─── */
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: .65rem;
    height: 430px;
    width: 100%;
}

.mosaic-cell {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
}

.mosaic-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .7s var(--ease);
}

.mosaic-cell:hover img {
    transform: scale(1.1);
}

.mosaic-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(212, 175, 121, .4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.mosaic-cell:hover .mosaic-hover {
    opacity: 1;
}

/* ─── MODAL GALERIA ─── */
.mgal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 46, .92);
    z-index: 5000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.mgal-backdrop.open {
    display: flex;
}

.mgal-box {
    background: var(--card);
    border-radius: 2rem;
    width: 95%;
    max-width: 480px;
    margin: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 40px 80px rgba(15, 35, 46, .5);
}

body.dark .mgal-box {
    background: #0F1525;
}

.mgal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 121, .15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mgal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212, 175, 121, .12);
    border: none;
    color: var(--dark);
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s;
}

.mgal-close:hover {
    background: var(--nude);
    color: #fff;
    transform: rotate(90deg);
}

.mgal-body {
    overflow-y: auto;
    padding: 1.25rem;
    max-height: 72vh;
}

.mgal-body::-webkit-scrollbar {
    width: 3px;
}

.mgal-body::-webkit-scrollbar-thumb {
    background: var(--nude);
    border-radius: 10px;
}

/* ─── STAT CARD ─── */
.stat-card {
    background: rgba(212, 175, 121, .07);
    border: 1px solid rgba(212, 175, 121, .18);
    border-radius: 1.2rem;
    padding: 1.15rem;
    text-align: center;
    transition: all .3s var(--ease);
    animation: float 4s ease-in-out infinite;
}

.stat-card:nth-child(even) {
    animation-delay: 1s;
}

.stat-card i {
    animation: pulse-nude 4s ease-in-out infinite;
}

.stat-card:hover {
    border-color: var(--nude);
    background: rgba(212, 175, 121, .15);
    transform: scale(1.05) translateY(-5px) !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-nude {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(212, 175, 121, 0)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(212, 175, 121, 0.4)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(212, 175, 121, 0)); }
}

body.dark .stat-card {
    background: rgba(212, 175, 121, .05);
}

/* ─── CARDS DE SERVIÇOS (Modelo Nohana) ─── */
.srv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
}

.srv-card {
    display: flex;
    flex-direction: column;
    background: #0A0E1A;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 121, .08);
    transition: all .35s var(--ease);
    position: relative;
}

.srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.05) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 5;
    pointer-events: none;
}

.srv-card:hover::before {
    left: 150%;
    transition: all 0.6s var(--ease);
}

body:not(.dark) .srv-card {
    background: var(--card);
    border-color: rgba(212, 175, 121, .18);
    box-shadow: 0 2px 12px rgba(15, 35, 46, .06);
}

.srv-card:hover {
    border-color: rgba(212, 175, 121, .35);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.srv-img-wrap {
    position: relative;
    width: 100%;
    height: 9rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 121, .08);
}

.srv-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.srv-card:hover .srv-img-wrap img {
    transform: scale(1.1);
}

.srv-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,35,46,.95) 0%, rgba(15,35,46,.3) 60%, transparent 100%);
}

.srv-img-title {
    position: absolute;
    bottom: .65rem;
    left: .75rem;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.srv-body {
    padding: .9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .6rem;
}

.srv-desc {
    font-size: .62rem;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
    flex: 1;
}

body:not(.dark) .srv-desc {
    color: var(--muted);
}

.srv-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--nude);
    text-decoration: none;
    transition: transform .3s var(--ease);
}

.srv-cta:hover {
    transform: translateX(4px);
}

.srv-cta i {
    font-size: .5rem;
}

/* ─── BRAND CARD (FINAL DA GRADE) ─── */
.srv-card-brand {
    background: #0A0E1A;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 121, .12);
    padding: 0;
    cursor: default;
    position: relative;
    overflow: hidden;
}

body:not(.dark) .srv-card-brand {
    background: var(--card);
    border-color: rgba(212, 175, 121, .18);
}

.srv-brand-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    transition: all .4s var(--ease);
}

.srv-brand-logo {
    width: 90px;
    height: auto;
    opacity: 0.25;
    transition: all .5s var(--ease);
    filter: grayscale(1) brightness(1.5);
}

body:not(.dark) .srv-brand-logo {
    filter: grayscale(1) brightness(0.6);
}

.srv-card-brand:hover .srv-brand-logo {
    opacity: 1;
    filter: grayscale(0) brightness(1);
    transform: translateY(-15px) scale(0.9);
}

.srv-brand-hover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all .4s var(--ease);
}

.srv-card-brand:hover .srv-brand-hover-content {
    opacity: 1;
    transform: translateY(-5px);
    pointer-events: auto;
}

.srv-brand-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--nude);
    color: var(--nude);
    font-size: .55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: .75rem;
    border-radius: .65rem;
    cursor: pointer;
    transition: all .3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}

.srv-brand-btn:hover {
    background: var(--nude);
    color: #fff;
}

.srv-brand-link {
    font-size: .6rem;
    color: rgba(255,255,255,.4);
    text-decoration: none;
    font-weight: 600;
    transition: color .3s var(--ease);
    display: flex;
    align-items: center;
    gap: .3rem;
}

body:not(.dark) .srv-brand-link {
    color: var(--muted);
}

.srv-brand-link:hover {
    color: var(--nude);
}

/* ─── REPUTAÇÃO 360 (GOOGLE REVIEWS) ─── */
.reputation-360 {
    padding: 6rem 0;
    overflow: hidden;
    background: var(--off);
    position: relative;
    transition: background .5s var(--ease);
}

.reputation-header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
}

.google-stars-top {
    color: #FBBC04;
    display: flex;
    justify-content: center;
    gap: .15rem;
    font-size: .7rem;
    opacity: 0.5;
}

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

.google-logo-sub img {
    width: 60px;
    opacity: 0.4;
    filter: grayscale(1);
}

.reputation-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: .2em;
    margin: 0;
}

.reputation-carousel {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: infiniteScroll 80s linear infinite;
    padding: 1rem 2rem;
}

.reputation-carousel:hover {
    animation-play-state: paused;
}

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

.review-card {
    width: 280px;
    background: transparent;
    border-radius: 0;
    padding: 0 1.5rem;
    border-left: 1px solid rgba(212, 175, 121, .15);
    display: flex;
    flex-direction: column;
    gap: .8rem;
    transition: all .4s var(--ease);
}

.review-card:hover {
    border-left-color: var(--nude);
}

.review-user {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--off);
    font-size: .7rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.review-user-info h4 {
    font-size: .75rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: .02em;
}

.review-user-info span {
    font-size: .55rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.review-stars {
    color: #FBBC04;
    font-size: .65rem;
    display: flex;
    gap: .1rem;
    opacity: 0.9;
}

.review-text {
    font-size: .75rem;
    line-height: 1.7;
    color: var(--dark);
    opacity: 0.6;
    font-weight: 400;
}

.reputation-footer {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

.btn-google {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: transparent;
    border-bottom: 1px solid var(--nude);
    padding: .5rem 0;
    border-radius: 0;
    font-size: .65rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    transition: all .3s var(--ease);
    letter-spacing: .2em;
    opacity: 0.8;
}

.btn-google:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.btn-google img {
    width: 14px;
    filter: grayscale(1);
}

/* Ajuste: botão srv-cta como button */
button.srv-cta {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

/* ─── MODAIS DE SERVIÇOS ─── */
.srv-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.srv-modal-box {
    background: var(--card);
    border: 1px solid rgba(212, 175, 121, .15);
    border-radius: 2rem;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding-bottom: 2rem;
    animation: srvModalFadeIn .35s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes srvModalFadeIn {
    from { transform: scale(0.96); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.srv-modal-img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: 2rem 2rem 0 0;
    display: block;
}

.srv-modal-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .85rem;
    transition: transform .3s var(--ease), background .3s var(--ease);
    z-index: 10;
}

.srv-modal-close:hover {
    transform: rotate(90deg);
    background: rgba(212, 175, 121, .4);
}

.srv-modal-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    padding: 1rem 1.25rem .35rem;
}

body:not(.dark) .srv-modal-title {
    color: var(--dark);
}

.srv-modal-desc {
    font-size: .75rem;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
    padding: 0 1.25rem .85rem;
}

body:not(.dark) .srv-modal-desc {
    color: var(--muted);
}

.srv-modal-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 0 1.25rem 1.25rem;
}

.srv-modal-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .72rem;
    color: #fff;
    font-weight: 500;
    background: rgba(212, 175, 121, .06);
    border: 1px solid rgba(212, 175, 121, .1);
    border-radius: .85rem;
    padding: .65rem .9rem;
}

body:not(.dark) .srv-modal-item {
    color: var(--dark);
    background: rgba(212, 175, 121, .07);
    border-color: rgba(212, 175, 121, .18);
}

.srv-modal-item i {
    color: var(--nude);
    font-size: .65rem;
    flex-shrink: 0;
}

.srv-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: 0 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    background: var(--nude);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18em;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(201,169,98,.3);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.srv-modal-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(201,169,98,.4);
}

.srv-modal-cta i {
    font-size: .85rem;
}

/* ─── CLÍNICA CARD ─── */
.clinica-card {
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 121, .12);
}

body.dark .clinica-card {
    background: transparent;
}

/* ─── BOTÃO SOM CLÍNICA ─── */
.clinica-som-btn {
    position: absolute;
    bottom: .75rem;
    right: .75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 35, 46, .65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 121, .35);
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s var(--ease);
    z-index: 5;
}

.clinica-som-btn:hover {
    background: var(--nude);
    border-color: var(--nude);
    color: #fff;
    transform: scale(1.08);
}

.clinica-som-btn.active {
    background: var(--nude);
    border-color: var(--nude);
    color: #fff;
    animation: pulse-sound-btn 2s infinite;
}

/* ─── CTA FINAL ─── */
.cta-grad {
    background: linear-gradient(135deg, #D4AF79 0%, #0F1525 100%);
}

/* ─── TICKER ─── */
.ticker-wrap {
    overflow: hidden;
    background: transparent;
    padding: .55rem 0;
    border-top: 1px solid rgba(212, 175, 121, .25);
}

body.dark .ticker-wrap {
    background: transparent;
}

.ticker-inner {
    display: inline-flex;
    white-space: nowrap;
    gap: 1.4rem;
    animation: ticker 55s linear infinite;
    font-family: 'Bebas Neue', sans-serif;
    font-size: .72rem;
    letter-spacing: .12em;
    color: var(--nude);
    align-items: center;
}

.t-sep {
    color: rgba(212, 175, 121, .3);
}

@keyframes ticker {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ─── MODAL IMAGEM ─── */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 46, .94);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.modal.open {
    display: flex;
    animation: fadeInModal 0.4s var(--ease) forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-close-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10001;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212, 175, 121, .25);
    border: none;
    color: #fff;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s;
}

.modal-close-btn:hover {
    background: var(--nude);
    transform: rotate(90deg);
}

.modal-img {
    max-width: 95vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 1.25rem;
    transition: transform 0.5s var(--ease);
    transform: scale(0.96); /* Escala inicial reduzida para um zoom suave */
}

.modal.open .modal-img {
    transform: scale(1);
}

/* ─── BOTÕES ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .68rem;
    transition: all .4s var(--ease);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-nude {
    background: var(--nude);
    color: #fff;
}

.btn-nude:hover {
    background: var(--terra);
    transform: translateY(-2px);
}

.btn-dark-solid {
    background: #0A0E1A;
    color: #fff;
}

.btn-dark-solid:hover {
    background: #0F1525;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--nude);
    color: var(--nude);
}

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

/* ─── AVATAR ─── */
.avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid var(--nude);
    box-shadow: 0 0 0 4px rgba(212, 175, 121, .18);
}

/* ─── SOBRE ─── */
.sobre-box {
    background: transparent;
    border: 1px solid rgba(212, 175, 121, .25);
    border-radius: 2rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all .5s var(--ease);
}

.sobre-box .sec-title {
    color: #F1EEE8;
}

body:not(.dark) .sobre-box .sec-title {
    color: var(--dark);
}

.sobre-box p {
    color: rgba(250, 248, 245, .82);
}

body:not(.dark) .sobre-box p {
    color: var(--muted);
}

.sobre-box strong {
    color: var(--nude);
}

body:not(.dark) .sobre-box strong {
    color: var(--dark);
}

.sobre-box .stat-mini {
    background: rgba(212, 175, 121, .07);
    border: 1px solid rgba(212, 175, 121, .18);
    color: var(--nude);
}

.sobre-box .stat-mini p:last-child {
    color: rgba(250, 248, 245, .65);
}

body:not(.dark) .sobre-box .stat-mini {
    background: rgba(212, 175, 121, .05);
    border-color: rgba(212, 175, 121, .15);
}

body:not(.dark) .sobre-box .stat-mini p:last-child {
    color: var(--muted);
}

/* ─── CLÍNICA CARD THEME ─── */
body:not(.dark) .clinica-card {
    background: transparent;
    border-color: var(--nude);
}

body:not(.dark) .clinica-card .sec-title,
body:not(.dark) .clinica-card p:not(.text-white):not(.c3d-overlay p) {
    color: var(--dark) !important;
}

body:not(.dark) .clinica-card .sec-sub {
    color: var(--muted) !important;
}

/* ─── VIDEO PLAY/PAUSE OVERLAY ─── */
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 35, 46, .4);
    z-index: 10;
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}

.c3d-item:hover .video-play-overlay,
.c3d-item.paused .video-play-overlay {
    opacity: 1;
    pointer-events: auto;
}

.video-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(212, 175, 121, .9);
    border: 2px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s var(--ease);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--nude);
}

/* ─── FOOTER THEME ─── */
footer {
    background: transparent;
    transition: all .5s var(--ease);
}

body:not(.dark) footer {
    background: transparent !important;
    border-top: 1px solid rgba(212, 175, 121, .25) !important;
}

body:not(.dark) footer p,
body:not(.dark) footer span {
    color: var(--dark) !important;
    opacity: 0.8;
}

body:not(.dark) footer .font-title {
    color: var(--terra) !important;
    opacity: 1 !important;
}

body.dark footer p,
body.dark footer a span {
    color: var(--nude) !important;
    opacity: 1 !important;
}

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
    animation: bounce-scroll 2.5s infinite var(--ease);
}

@keyframes bounce-scroll {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
        opacity: 0.5;
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
        opacity: 0.8;
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
        opacity: 0.6;
    }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

@keyframes bounce-slow {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-2px);
    }
}

/* ─── TRANSFORM GALLERY PREMIUM ─── */
.trans-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
}

.trans-item {
    position: relative;
    background: #0A0E1A;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s var(--ease);
    border: 1px solid rgba(212, 175, 121, 0.15);
}

body:not(.dark) .trans-item {
    background: var(--card);
    border-color: rgba(212, 175, 121, .2);
}

body:not(.dark) .trans-text {
    color: var(--dark);
    text-shadow: none;
}

body:not(.dark) .trans-item:hover .trans-text {
    color: var(--nude);
}

.trans-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12; /* Imagem oculta como solicitado */
    transition: all 0.9s var(--ease);
    filter: grayscale(1) brightness(0.6) contrast(1.1);
}

.trans-item:hover {
    border-color: var(--nude);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.trans-item:hover img {
    opacity: 0.35;
    transform: scale(1.08);
    filter: contrast(1);
}

.trans-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    z-index: 2;
    background: radial-gradient(circle at center, transparent 30%, rgba(15, 35, 46, 0.4) 100%);
}

.trans-text {
    color: #F1EEE8;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    line-height: 1.6;
    opacity: 0.8;
    transition: all 0.4s var(--ease);
    max-width: 160px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.trans-item:hover .trans-text {
    opacity: 1;
    color: var(--nude);
    transform: scale(1.02);
}

.trans-item.tall { aspect-ratio: 3/4.5; }
.trans-item.square { aspect-ratio: 1/1; }
.trans-item.wide { grid-column: span 2; aspect-ratio: 16/15; }
.trans-item.medium { aspect-ratio: 4/5; }
.trans-item.active img {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
}

.trans-item.active .trans-overlay {
    opacity: 0;
    pointer-events: none;
}

.trans-item.active {
    border-color: var(--nude);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    z-index: 10;
}

/* ─── MAP WRAPPER ─── */
.map-wrapper {
    width: 100%;
    height: 220px;
    background: rgba(15, 35, 46, 0.2);
    border-bottom: 1px solid rgba(212, 175, 121, .12);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

body.dark .map-wrapper iframe {
    filter: none;
}

/* ─── LOCALIZAÇÃO PREMIUM ─── */
.location-card-premium {
    background: var(--card);
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 121, .15);
    box-shadow: 0 25px 50px -12px rgba(15, 35, 46, 0.08);
}

body.dark .location-card-premium {
    background: transparent;
}

/* ─── LOCALIZAÇÃO · MODO DARK ─── */
body.dark .location-card-premium h2,
body.dark .location-card-premium h3 {
    color: #F1EEE8;
}

body.dark .location-card-premium p,
body.dark .location-card-premium address,
body.dark .location-card-premium li span {
    color: rgba(250, 248, 245, .82);
    opacity: 1 !important;
}

body.dark .location-card-premium .font-bold {
    color: #F1EEE8;
}

/* ─── LOCALIZAÇÃO · MODO WHITE ─── */
body:not(.dark) .location-card-premium h2,
body:not(.dark) .location-card-premium h3 {
    color: var(--dark) !important;
}

body:not(.dark) .location-card-premium p,
body:not(.dark) .location-card-premium address,
body:not(.dark) .location-card-premium li span {
    color: var(--muted) !important;
    opacity: 1 !important;
}

body:not(.dark) .location-card-premium .font-bold.text-nude-dark {
    color: var(--dark) !important;
}

.hours-box {
    background: rgba(250, 248, 245, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 121, .15);
    border-radius: 2rem;
    padding: 1.5rem;
}

body.dark .hours-box {
    background: rgba(26, 58, 74, 0.4);
    border-color: rgba(212, 175, 121, .1);
}

.location-footer-btn {
    background: rgba(212, 175, 121, 0.08);
    border-top: 1px solid rgba(212, 175, 121, .12);
    padding: 1.5rem;
}

.font-premium {
    font-family: 'Cormorant Garamond', serif;
}

.font-mono-tech {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ─── PERFIL PREMIUM DR. VITOR ─── */
.profile-premium-card {
    background: var(--card);
    border-radius: 3rem;
    border: 1px solid rgba(212, 175, 121, .15);
    box-shadow: 0 30px 60px -12px rgba(15, 35, 46, 0.1);
}

.profile-cover {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.profile-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--card) 100%);
}

.avatar-premium {
    width: 140px;
    height: 140px;
    border-radius: 2.8rem;
    overflow: hidden;
    border: 6px solid var(--card);
    box-shadow: 0 15px 35px rgba(15, 35, 46, 0.15);
    background: var(--off);
}

.stat-premium {
    background: rgba(212, 175, 121, 0.04);
    border: 1px solid rgba(212, 175, 121, 0.12);
    border-radius: 1.8rem;
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all .3s var(--ease);
}

.stat-premium:hover {
    background: rgba(212, 175, 121, 0.08);
    transform: translateY(-3px);
}

body.dark .profile-premium-card {
    background: transparent;
    border-color: rgba(212, 175, 121, .1);
}

/* ─── PERFIL PREMIUM · MODO DARK ─── */
body.dark .profile-premium-card h2 {
    color: #F1EEE8;
}

body.dark .profile-premium-card p {
    color: rgba(250, 248, 245, .82);
    opacity: 1 !important;
}

body.dark .profile-premium-card strong {
    color: var(--nude);
}

body.dark .stat-premium p {
    color: rgba(250, 248, 245, .65);
}

body.dark .profile-cover-overlay {
    background: linear-gradient(to bottom, transparent 30%, var(--off) 100%);
}

/* ─── PERFIL PREMIUM · MODO WHITE ─── */
body:not(.dark) .profile-premium-card h2 {
    color: var(--dark) !important;
}

body:not(.dark) .profile-premium-card p {
    color: var(--muted) !important;
    opacity: 1 !important;
}

body:not(.dark) .profile-premium-card strong {
    color: var(--dark) !important;
}

body:not(.dark) .stat-premium p {
    color: var(--dark) !important;
    opacity: 1 !important;
}

body.dark .avatar-premium {
    border-color: var(--off);
    background: var(--off);
}

/* ─── FIM TRANSFORM GALLERY ─── */

/* ─── CTA OVERLAY NOS VÍDEOS DO CARROSSEL ─── */
.vc-inline-cta {
    position: absolute;
    bottom: 52px;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 0 .75rem;
    pointer-events: none;
}

.vc-cta-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .6rem 1.1rem;
    background: var(--nude);
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 6px 24px rgba(0,0,0,.5);
    white-space: nowrap;
    transition: transform .2s var(--ease), background .2s var(--ease);
}

.vc-cta-btn:hover {
    background: #a88b42;
    transform: scale(1.04);
}

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

/* ─── BOTÕES AMPLIAR + SOM NO CARROSSEL ─── */
.vc-action-btns {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 25;
    display: flex;
    gap: .4rem;
    opacity: 1; /* Sempre visível */
    transition: opacity .3s var(--ease);
}

.vc-btn-sound,
.vc-btn-expand {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 35, 46, .65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 121, .35);
    color: rgba(255,255,255,.9);
    font-size: .78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s var(--ease);
}

.vc-btn-sound:hover,
.vc-btn-expand:hover {
    background: var(--nude);
    border-color: var(--nude);
    transform: scale(1.1);
}

.vc-btn-sound.active {
    background: var(--nude);
    border-color: var(--nude);
}

/* ─── MODAL VÍDEO CARROSSEL ─── */
.vc-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 46, .95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.vc-modal.open {
    display: flex;
    animation: fadeInModal .35s var(--ease) forwards;
}

.vc-modal-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10001;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 121, .25);
    border: none;
    color: #fff;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s;
}

.vc-modal-close:hover {
    background: var(--nude);
    transform: rotate(90deg);
}

.vc-modal video {
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(212, 175, 121, 0.2);
    outline: none;
}
/* --- WHATSAPP PREMIUM --- */
.wa-premium-container { position: fixed; bottom: 25px; right: 20px; z-index: 2000; }
.wa-bubble { width: 280px; position: absolute; bottom: 75px; right: 0; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(212, 175, 121, 0.2); border-radius: 1.2rem; box-shadow: 0 15px 40px rgba(0,0,0,0.15); padding: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
body.dark .wa-bubble { background: rgba(15, 35, 46, 0.9); border-color: rgba(212, 175, 121, 0.3); }
.wa-bubble.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wa-avatar-wrapper { position: relative; }
.wa-avatar { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; border: 2px solid #25d366; }
.wa-status-dot { position: absolute; bottom: -2px; right: -2px; width: 10px; height: 10px; background: #25d366; border: 2px solid #fff; border-radius: 50%; animation: wa-pulse-green 2s infinite; }
.wa-name { display: block; font-weight: 700; color: #0F1525; font-size: 14px; }
body.dark .wa-name { color: #fff; }
.wa-typing { display: flex; gap: 4px; padding: 8px 0; }
.wa-typing span { width: 5px; height: 5px; background: #25d366; border-radius: 50%; animation: wa-typing-ani 1.4s infinite; opacity: 0.4; }
.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes wa-typing-ani { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes wa-pulse-green { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa-message-text p { margin: 0; font-size: 13px; color: #444; line-height: 1.5; }
body.dark .wa-message-text p { color: #ccc; }
.wa-float-btn { width: 54px; height: 54px; background: #25D366; color: #fff !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); text-decoration: none; transition: all 0.6s ease; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.8); }
.wa-float-btn.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-float-btn:hover { transform: scale(1.1) translateY(-3px); }
.wa-badge { position: absolute; top: -2px; right: -2px; background: #ff3b30; color: #fff; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 2px solid #fff; opacity: 0; transform: scale(0); transition: all 0.4s ease; }
.wa-badge.show { opacity: 1; transform: scale(1); }
.wa-close { position: absolute; top: 10px; right: 10px; background: none; border: none; color: #999; cursor: pointer; font-size: 14px; padding: 5px; transition: color 0.3s; }
.wa-close:hover { color: #666; }

/* ─── UNIT TABS (Localização + Tour 360) ─── */
.unit-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 6px;
    background: rgba(212,175,121,.08);
    border: 1px solid rgba(212,175,121,.18);
    border-radius: 14px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    -webkit-tap-highlight-color: transparent;
    font-family: 'Inter', sans-serif;
}
.unit-tab:hover {
    background: rgba(212,175,121,.16);
    border-color: rgba(212,175,121,.35);
}
.unit-tab.active {
    background: var(--nude);
    border-color: var(--nude);
    color: #fff;
    box-shadow: 0 6px 16px rgba(212,175,121,.28);
}
.unit-tab.active span { color: #fff !important; }
body.dark .unit-tab {
    background: rgba(212,175,121,.05);
    color: var(--dark);
}
body.dark .unit-tab.active {
    background: var(--nude);
    color: #0A0E1A;
}
body.dark .unit-tab.active span { color: #0A0E1A !important; }

.unit-panel,
.tour-panel { transition: opacity 0.3s ease; }
.unit-panel:not(.active),
.tour-panel:not(.active) { display: none; }
