/* ============================================================
   LINK 360 — Philos Assessoria Contábil · Editorial Prestige
   Variáveis de marca + estilos específicos deste cliente
   Base compartilhada: ../../shared/core.js
   ============================================================ */

/* ─── TOKENS DE MARCA ─── */
:root {
    --nude: #C9A961;          /* champagne quente — acento principal */
    --nude-hover: #A68040;    /* champagne sombra (hover) */
    --terra: #003827;         /* verde profundo Philos — superfície escura */
    --off: #F7F5F1;           /* off-white quente — fundo light */
    --dark: #0A1C16;          /* verde quase-preto — texto */
    --muted: #8C9A93;         /* cinza-verde sutil */
    --vinho: #800000;         /* vinho do monograma "Ph" da logo — acento protagonista no white */
    --vinho-hover: #5e0000;   /* vinho mais fundo (hover de botoes solidos vinho) */
    --card: #FFFFFF;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    /* Acento que troca por modo: no white o destaque (icones, KPIs, eyebrows, CTAs)
       e o vinho da logo; o champagne recua pra detalhe (bordas, halos, linhas). */
    --accent: var(--vinho);
    --accent-hover: var(--vinho-hover);
}

/* ─── DARK MODE ─── */
body.dark {
    --off: #0A1C16;
    --dark: #F7F5F1;
    --muted: #8C9A93;
    --card: #003827;
    /* No dark o champagne volta a ser o acento (funciona sobre o verde escuro). */
    --accent: var(--nude);
    --accent-hover: var(--nude-hover);
}

/* ─── 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(201, 169, 97, .12) 0%, transparent 60%),
        linear-gradient(180deg, #062117 0%, #0A1C16 50%, #04140E 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(201, 169, 97, .12);
    stroke-width: 1.2;
}

.preloader-ring-progress {
    fill: none;
    stroke: #C9A961;
    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(201, 169, 97, .25));
}

.preloader-divider {
    display: none;
}

.preloader-welcome {
    font-family: 'Fraunces', Georgia, 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 {
    /* Fraunces 600 + opsz 144 — aproximação da Contralto Big Light da logo Philos */
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
    letter-spacing: .04em;
    font-size: clamp(1.6rem, 6vw, 2.05rem);
    line-height: 1;
    color: #F7F5F1;
    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(201, 169, 97, .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(201, 169, 97, .12);
    overflow: hidden;
    position: relative;
}

.preloader-bar span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, #C9A961 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(201, 169, 97, .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: #C9A961; }
}

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(201, 169, 97, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 56, 39, .1);
    transition: all .4s var(--ease);
    color: var(--accent);
    font-size: .9rem;
}

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

body.dark #theme-btn {
    background: #003827;
    border-color: rgba(201, 169, 97, .3);
}

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

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

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

body.dark #music-toggle {
    background: #003827;
    border-color: rgba(201, 169, 97, .3);
}

#music-toggle.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(201, 169, 97, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 56, 39, .1);
    transition: all .4s var(--ease);
    color: var(--accent);
    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: #003827;
    border-color: rgba(201, 169, 97, .3);
}

.tour-iframe-wrap {
    width: 100%;
    height: 60vh;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, .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(201, 169, 97, .2);
    box-shadow: 0 25px 60px rgba(0, 56, 39, .5);
}

.tour-modal-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    letter-spacing: -0.005em;
    text-align: center;
}

.tour-modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    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: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, .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(0, 56, 39, .1);
    }

    50% {
        box-shadow: 0 4px 20px rgba(201, 169, 97, .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(0, 56, 39, .65);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(201, 169, 97, .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(0, 56, 39, .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(0, 56, 39, .08) 0%, transparent 30%, rgba(0, 56, 39, .5) 65%, rgba(0, 56, 39, .92) 100%);
    z-index: 1;
    transition: background .5s var(--ease);
}

body:not(.dark) .hero::after {
    background: radial-gradient(ellipse 120% 80% at 50% 10%, transparent 10%, rgba(247, 245, 241, 0.45) 50%, var(--off) 85%) !important;
}

body.dark .hero::after {
    background: radial-gradient(ellipse 120% 80% at 50% 10%, transparent 10%, rgba(10, 28, 22, 0.45) 50%, var(--off) 85%) !important;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% 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: #003827 !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(201, 169, 97, .1);
    border-color: rgba(201, 169, 97, .2);
    color: #003827 !important;
}

/* .font-title — fallback aproximado da Contralto Big Light (fonte da logo Philos).
   Fraunces 600 SemiBold reproduz o eixo encorpado, serifas curtas/arredondadas
   e a personalidade humanista que a logo Philos tem (NÃO é uma didone fina). */
.font-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 0;
    letter-spacing: -0.005em;
}

/* ─── PILL ─── */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(201, 169, 97, .15);
    border: 1px solid rgba(201, 169, 97, .35);
    border-radius: 999px;
    padding: .28rem .8rem;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--accent);
    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(0, 56, 39, .55), rgba(0, 56, 39, .55)) padding-box,
        linear-gradient(135deg, rgba(232, 207, 138, .9) 0%, rgba(201, 169, 97, .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(201, 169, 97, .9) 0%, rgba(232, 207, 138, .4) 50%, rgba(201, 169, 97, .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));
}

/* ─── FRENTES DO HERO (linha de serviços abaixo de "Assessoria Contábil") ─── */
.hero-frentes {
    max-width: none;
    font-size: .92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.55;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}

.hero-frentes .hf-sep {
    margin: 0 .85em;
    opacity: .6;
}

body:not(.dark) .hero-frentes {
    color: #003827;
    text-shadow: 0 1px 8px rgba(255, 255, 255, .7);
}

/* ─── 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(201, 169, 97, .12);
    box-shadow: 0 2px 12px rgba(0, 56, 39, .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(201, 169, 97, .22);
    border-color: var(--nude);
}

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

body.dark .link-card {
    background: #003827;
    border-color: rgba(201, 169, 97, .15);
}

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

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

.lc-title {
    font-family: 'Fraunces', Georgia, 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(--accent);
    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, var(--vinho) 0%, #003827 60%, #0A1C16 100%) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(10, 28, 22, 0.35) !important;
}

.card-premium:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 40px rgba(10, 28, 22, 0.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%, #003827 60%, #0A1C16 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(--accent);
    margin-bottom: .35rem;
}

.sec-title {
    font-family: 'Fraunces', Georgia, 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(--accent), 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(201, 169, 97, .15);
    box-shadow: 0 4px 20px rgba(0, 56, 39, .06);
    transition: all .5s var(--ease);
    overflow: hidden;
}

/* Foto em destaque no topo do card "Sobre" — sangra as bordas e funde na cor do card (L360-SOBRE-01) */
.sobre-hero-img {
    position: relative;
    margin: -2rem -1.5rem 1.8rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.sobre-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre-hero-grad {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* No white o card é #fff: funde a base da foto em branco. */
.sobre-hero-grad-light {
    background: linear-gradient(to bottom, transparent 0%, transparent 55%, rgba(255, 255, 255, .55) 80%, #fff 100%);
}

.sobre-hero-grad-dark { display: none; }

/* No dark o card é transparent: funde na cor da página (#0A1C16). */
body.dark .sobre-hero-grad-light { display: none; }

body.dark .sobre-hero-grad-dark {
    display: block;
    background: linear-gradient(to bottom, transparent 0%, transparent 55%, rgba(10, 28, 22, .6) 80%, #0A1C16 100%);
}

body.dark .sobre-clinica-box {
    background: transparent;
    border-color: rgba(201, 169, 97, .25);
    box-shadow: none;
}

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

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

.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(0, 56, 39, 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;
    /* Regra 7: clique em qualquer área do vídeo dá play/pause (listener no script.js). */
    cursor: pointer;
    pointer-events: auto;
}

.c3d-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 56, 39, 0.8) 0%, transparent 60%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    opacity: 1;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}

/* Regra 6: ao tocar (card ativo, sem .paused), overlay com título some.
   Sobram só os controles laterais (.vc-action-btns) e o pause central no hover. */
.c3d-item.active:not(.paused) .c3d-overlay {
    opacity: 0;
}
.c3d-item.active:not(.paused):hover .c3d-overlay {
    opacity: 1;
}

@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(--accent);
    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(201, 169, 97, .12);
    box-shadow: 0 8px 24px rgba(0, 56, 39, .12);
    position: relative;
    cursor: zoom-in;
}

body.dark .gal-card {
    border-color: rgba(201, 169, 97, .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(0, 56, 39, .8) 0%, rgba(0, 56, 39, .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(201, 169, 97, .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(201, 169, 97, .4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

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

/* ─── GALERIA CARROSSEL AUTO-SCROLL (marquee pra direita) ─── */
.gal-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.gal-track {
    display: flex;
    width: max-content;
    gap: .75rem;
    /* começa deslocado pra esquerda e anda até 0 = movimento contínuo pra DIREITA.
       !important porque o Tailwind CDN injeta reset que zera animation (caso L360-LAY-05). */
    animation: gal-scroll-right 28s linear infinite !important;
}

.gal-marquee:hover .gal-track {
    animation-play-state: paused;
}

.gal-slide {
    flex: 0 0 auto;
    width: 220px;
    aspect-ratio: 3 / 4;
    border-radius: 1.25rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 56, 39, .12);
    border: 1px solid rgba(201, 169, 97, .15);
}

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

.gal-slide:hover img {
    transform: scale(1.06);
}

@keyframes gal-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .gal-track { animation: none; }
}

/* ─── MODAL GALERIA ─── */
.mgal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 56, 39, .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(0, 56, 39, .5);
}

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

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

.mgal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(201, 169, 97, .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(201, 169, 97, .07);
    border: 1px solid rgba(201, 169, 97, .18);
    border-radius: 1.2rem;
    padding: 1.15rem;
    text-align: center;
    transition: all .3s var(--ease);
}

/* Critério 9: o card não flutua sozinho o tempo todo. O movimento aparece só
   na interação (hover). O ícone ganha presença no hover, não num pulse perpétuo. */
.stat-card i {
    transition: transform .35s var(--ease), filter .35s var(--ease);
}

.stat-card:hover {
    border-color: var(--accent);
    background: rgba(201, 169, 97, .15);
    transform: translateY(-5px) !important;
}

.stat-card:hover i {
    transform: scale(1.12);
}

body.dark .stat-card {
    background: rgba(201, 169, 97, .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: #0A1C16;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, .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(201, 169, 97, .18);
    box-shadow: 0 2px 12px rgba(0, 56, 39, .06);
}

.srv-card:hover {
    border-color: rgba(201, 169, 97, .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(201, 169, 97, .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(0,56,39,.95) 0%, rgba(0,56,39,.3) 60%, transparent 100%);
}

.srv-img-title {
    position: absolute;
    bottom: .65rem;
    left: .75rem;
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.15;
    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(--accent);
    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: #0A1C16;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201, 169, 97, .12);
    padding: 0;
    cursor: default;
    position: relative;
    overflow: hidden;
}

body:not(.dark) .srv-card-brand {
    background: var(--card);
    border-color: rgba(201, 169, 97, .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(--accent);
    color: var(--accent);
    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(--accent);
    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(--accent);
}

/* ─── REPUTAÇÃO 360 (GOOGLE REVIEWS) ─── */
.reputation-360 {
    padding: 3rem 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(201, 169, 97, .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(201, 169, 97, .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(201, 169, 97, .4);
}

.srv-modal-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    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(201, 169, 97, .06);
    border: 1px solid rgba(201, 169, 97, .1);
    border-radius: .85rem;
    padding: .65rem .9rem;
}

body:not(.dark) .srv-modal-item {
    color: var(--dark);
    background: rgba(201, 169, 97, .07);
    border-color: rgba(201, 169, 97, .18);
}

.srv-modal-item i {
    color: var(--accent);
    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(--accent);
    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(201, 169, 97, .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(0, 56, 39, .65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, .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, #C9A961 0%, #003827 100%);
}

/* No white o bloco final segue a logo: vinho do "Ph" abrindo pro verde profundo. */
body:not(.dark) .cta-grad {
    background: linear-gradient(135deg, var(--vinho) 0%, #003827 100%);
}

/* ─── TICKER ─── */
.ticker-wrap {
    overflow: hidden;
    background: transparent;
    padding: .55rem 0;
    border-top: 1px solid rgba(201, 169, 97, .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: 'Fraunces', Georgia, serif;
    font-size: .72rem;
    letter-spacing: .12em;
    color: var(--accent);
    align-items: center;
}

.t-sep {
    color: rgba(201, 169, 97, .3);
}

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

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

/* ─── MODAL IMAGEM ─── */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 56, 39, .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(201, 169, 97, .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(--accent);
    color: #fff;
}

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

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

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

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

.btn-outline:hover {
    background: var(--accent);
    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(201, 169, 97, .18);
}

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

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

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(201, 169, 97, .07);
    border: 1px solid rgba(201, 169, 97, .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(201, 169, 97, .05);
    border-color: rgba(201, 169, 97, .15);
    color: var(--vinho);
}

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(0, 56, 39, .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(201, 169, 97, .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(201, 169, 97, .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: #0A1C16;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s var(--ease);
    border: 1px solid rgba(201, 169, 97, 0.15);
}

body:not(.dark) .trans-item {
    background: var(--card);
    border-color: rgba(201, 169, 97, .2);
}

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

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

.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(0, 56, 39, 0.4) 100%);
}

.trans-text {
    color: #F7F5F1;
    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(0, 56, 39, 0.2);
    border-bottom: 1px solid rgba(201, 169, 97, .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(201, 169, 97, .15);
    box-shadow: 0 25px 50px -12px rgba(0, 56, 39, 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: #F7F5F1;
}

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: #F7F5F1;
}

/* ─── 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;
}

/* No white os titulos e labels das Especialidades saem do dourado e vao pro verde
   profundo (titulo sobrio, sem competir com os icones vinho). No dark seguem champagne. */
body:not(.dark) .profile-premium-card h2.text-nude-dark,
body:not(.dark) .profile-premium-card h3.text-nude-dark {
    color: var(--terra) !important;
}

body:not(.dark) .profile-premium-card [class*="text-nude-dark"] {
    color: var(--dark) !important;
}

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

body.dark .hours-box {
    background: rgba(26, 58, 74, 0.4);
    border-color: rgba(201, 169, 97, .1);
}

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

.font-premium {
    font-family: 'Fraunces', Georgia, 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(201, 169, 97, .15);
    box-shadow: 0 30px 60px -12px rgba(0, 56, 39, 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(0, 56, 39, 0.15);
    background: var(--off);
}

.stat-premium {
    background: rgba(201, 169, 97, 0.04);
    border: 1px solid rgba(201, 169, 97, 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(201, 169, 97, 0.08);
    transform: translateY(-3px);
}

body.dark .profile-premium-card {
    background: transparent;
    border-color: rgba(201, 169, 97, .1);
}

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

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: #A68040;
    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(0, 56, 39, .65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 169, 97, .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(0, 56, 39, .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(201, 169, 97, .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(201, 169, 97, 0.2);
    outline: none;
}
/* --- WHATSAPP PREMIUM --- */
/* ─── WHATSAPP PREMIUM (modelo Lumina, paleta Philos) ─── */
.wa-premium-container { position: fixed; bottom: 25px; right: 20px; z-index: 2000; }

.wa-bubble {
    width: 280px;
    position: absolute;
    bottom: 68px;
    right: 0;
    background: rgba(255, 255, 250, .94);
    backdrop-filter: blur(15px) saturate(140%);
    -webkit-backdrop-filter: blur(15px) saturate(140%);
    border: 1px solid rgba(201, 169, 97, .35);
    border-radius: 1.2rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .6) inset,
        0 18px 40px -10px rgba(0, 56, 39, .25),
        0 0 0 1px rgba(255, 255, 255, .4);
    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);
}

/* Cauda triangular conectando ao botão */
.wa-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 16px;
    width: 20px;
    height: 20px;
    background: inherit;
    border-right: 1px solid rgba(201, 169, 97, .35);
    border-bottom: 1px solid rgba(201, 169, 97, .35);
    transform: rotate(45deg);
    border-bottom-right-radius: 4px;
    z-index: -1;
}

body.dark .wa-bubble {
    background: linear-gradient(160deg, rgba(6, 33, 23, .96) 0%, rgba(0, 56, 39, .94) 60%, rgba(4, 20, 14, .96) 100%);
    border-color: rgba(232, 207, 138, .35);
    box-shadow:
        0 1px 0 rgba(232, 207, 138, .12) inset,
        0 20px 45px -10px rgba(0, 0, 0, .55),
        0 0 0 1px rgba(232, 207, 138, .08),
        0 0 30px -8px rgba(232, 207, 138, .15);
}

body.dark .wa-bubble::before {
    background: rgba(4, 20, 14, .98);
    border-right-color: rgba(232, 207, 138, .35);
    border-bottom-color: rgba(232, 207, 138, .35);
}

.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;
    box-shadow: 0 4px 12px -4px rgba(37, 211, 102, .35);
}
body.dark .wa-avatar {
    border-color: rgba(232, 207, 138, .55);
    box-shadow: 0 4px 12px -4px rgba(232, 207, 138, .3);
}

.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; }
body.dark .wa-status-dot { border-color: #04140E; }

.wa-name { display: block; font-weight: 700; color: #003827; font-size: 14px; letter-spacing: .01em; }
body.dark .wa-name { color: #E8CF8A; }

.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: #2c2c2c; line-height: 1.5; }
body.dark .wa-message-text p { color: rgba(247, 245, 241, .88); }
.wa-message-text p strong { color: var(--vinho); }
body.dark .wa-message-text p strong { color: #E8CF8A; }

.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); position: relative; }
.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; z-index: 2; }
.wa-close:hover { color: #444; }
body.dark .wa-close { color: rgba(232, 207, 138, .45); }
body.dark .wa-close:hover { color: #E8CF8A; }

/* ─── ÍCONES SOCIAIS DO RODAPÉ: mesma caixa + mesmo tamanho ÓPTICO ───
   Glifos sólidos do FA (facebook, whatsapp) preenchem mais a caixa que os
   vazados (instagram, google, phone). Compensamos o font-size por glifo
   pra que a área visível pareça igual nos 5. */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
}
.footer-social a i {
    font-size: 1.2rem;     /* base dos vazados: instagram, google, phone */
    line-height: 1;
    text-align: center;
}
.footer-social a i.fa-whatsapp {
    font-size: 1.3rem;
}

/* ─── UNIT TABS (Localização + Tour 360) ─── */
.unit-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 6px;
    background: rgba(201,169,97,.08);
    border: 1px solid rgba(201,169,97,.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(201,169,97,.16);
    border-color: rgba(201,169,97,.35);
}
.unit-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 6px 16px rgba(201,169,97,.28);
}
.unit-tab.active span { color: #fff !important; }
body.dark .unit-tab {
    background: rgba(201,169,97,.05);
    color: var(--dark);
}
body.dark .unit-tab.active {
    background: var(--nude);
    color: #0A1C16;
}
body.dark .unit-tab.active span { color: #0A1C16 !important; }

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