/* =====================================================
   C.E.O — Centro de Estética Odontológica
   Public site stylesheet
   Aesthetic: editorial luxury · navy + gold · refined dental
   ===================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "FraunesFallback"; src: local("Georgia"); size-adjust: 95%; ascent-override: 100%; descent-override: 30%; line-gap-override: 0%; }

/* ---------- Design Tokens ---------- */
:root {
    /* Primitive colors — brand spec */
    --c-navy-900:  #00081a;
    --c-navy-800:  #001225;  /* brand base */
    --c-navy-700:  #051a32;
    --c-navy-600:  #0a2540;
    --c-navy-500:  #0e2c4c;
    --c-navy-400:  #163a5e;
    --c-gold-700:  #6f5326;
    --c-gold-600:  #9c7a3f;
    --c-gold-500:  #CC9E58;  /* brand base */
    --c-gold-400:  #d9b377;
    --c-gold-300:  #e3c393;
    --c-gold-200:  #efd9b5;
    --c-cream-50:  #faf7ee;
    --c-cream-100: #f3eee0;
    --c-cream-200: #e7dec3;
    --c-ivory:     #fffdf6;
    --c-graphite-900: #001225;  /* matches brand navy */
    --c-graphite-700: #1c2742;
    --c-graphite-500: #4a5274;
    --c-graphite-400: #6b7596;
    --c-graphite-300: #97a1c4;
    --c-graphite-200: #c4cbe0;
    --c-graphite-100: #f3f1ea;

    /* Semantic — dark theme (default) */
    --bg:           var(--c-navy-800);
    --bg-elev-1:    var(--c-navy-700);
    --bg-elev-2:    var(--c-navy-600);
    --surface:      var(--c-navy-600);
    --surface-strong: var(--c-navy-500);
    --border:       rgba(36, 54, 112, 0.55);
    --border-soft:  rgba(36, 54, 112, 0.25);
    --text:         var(--c-graphite-100);
    --text-strong:  #fbfcff;
    --text-soft:    var(--c-graphite-300);
    --text-mute:    var(--c-graphite-400);
    --accent:       var(--c-gold-500);
    --accent-soft:  var(--c-gold-300);
    --accent-deep:  var(--c-gold-600);
    --on-accent:    #1a1408;

    /* Type */
    --font-display: 'Fraunces', 'FraunesFallback', 'Cormorant Garamond', Georgia, ui-serif, serif;
    --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Fluid type scale (1.25 minor third) */
    --step--2: clamp(0.69rem, 0.66rem + 0.13vw, 0.78rem);
    --step--1: clamp(0.83rem, 0.79rem + 0.22vw, 0.94rem);
    --step-0:  clamp(1.00rem, 0.94rem + 0.31vw, 1.13rem);
    --step-1:  clamp(1.20rem, 1.11rem + 0.42vw, 1.35rem);
    --step-2:  clamp(1.44rem, 1.32rem + 0.59vw, 1.62rem);
    --step-3:  clamp(1.73rem, 1.56rem + 0.83vw, 1.94rem);
    --step-4:  clamp(2.07rem, 1.84rem + 1.14vw, 2.33rem);
    --step-5:  clamp(2.49rem, 2.17rem + 1.56vw, 2.80rem);
    --step-6:  clamp(2.99rem, 2.55rem + 2.13vw, 3.36rem);
    --step-7:  clamp(3.58rem, 2.99rem + 2.90vw, 4.03rem);
    --step-8:  clamp(4.30rem, 3.50rem + 3.93vw, 4.84rem);

    /* Space scale */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs:  0.75rem;
    --space-s:   1rem;
    --space-m:   1.5rem;
    --space-l:   2rem;
    --space-xl:  3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 7rem;

    /* Radii */
    --r-s:  6px;
    --r-m:  12px;
    --r-l:  22px;
    --r-xl: 36px;

    /* Shadow */
    --shadow-soft: 0 4px 18px -8px rgba(8, 12, 30, 0.45);
    --shadow-lift: 0 18px 50px -20px rgba(8, 12, 30, 0.55);
    --shadow-deep: 0 40px 90px -30px rgba(0, 0, 0, 0.70);
    --shadow-gold: 0 14px 40px -12px rgba(204, 158, 88, 0.35);

    /* Layout */
    --container: 1240px;
    --gutter:    clamp(1.25rem, 4vw, 2.5rem);
}

/* Light theme overrides */
[data-theme="light"] {
    --bg:             var(--c-cream-50);
    --bg-elev-1:      var(--c-ivory);
    --bg-elev-2:      #ffffff;
    --surface:        #ffffff;
    --surface-strong: var(--c-cream-100);
    --border:         rgba(0, 18, 37, 0.18);
    --border-soft:    rgba(0, 18, 37, 0.10);
    --text:           var(--c-graphite-900);
    --text-strong:    #000510;
    --text-soft:      #3a4263;
    --text-mute:      var(--c-graphite-400);
    --accent:         #8a6028;       /* darker gold for AA contrast on cream */
    --accent-soft:    var(--c-gold-700);
    --accent-deep:    #5a3f1c;
    --on-accent:      var(--c-ivory);
    --shadow-soft: 0 4px 18px -8px rgba(0, 18, 37, 0.10);
    --shadow-lift: 0 18px 50px -20px rgba(0, 18, 37, 0.14);
    --shadow-deep: 0 30px 80px -25px rgba(0, 18, 37, 0.22);
    --shadow-gold: 0 14px 40px -12px rgba(138, 96, 40, 0.24);
}

/* ---------- Light theme — focused refinements ---------- */
/* Top bar: ganha presença */
[data-theme="light"] .top-bar {
    background: var(--c-cream-100);
    border-bottom: 1px solid var(--border);
}
[data-theme="light"] .top-bar-item { color: var(--text); }
[data-theme="light"] .top-bar-social { border-color: var(--border); color: var(--text-soft); }

/* Theme toggle: borda visível */
[data-theme="light"] .theme-toggle {
    border-color: rgba(0, 18, 37, 0.22);
    color: var(--text);
}
[data-theme="light"] .theme-toggle:hover {
    background: rgba(138, 96, 40, 0.10);
    border-color: var(--accent);
}

/* Navegação: links mais escuros, underline gold ainda visível */
[data-theme="light"] .nav-links a { color: var(--text); }

/* Hero: gradientes pretos viram cream/gold suaves */
[data-theme="light"] .hero::before {
    background:
        radial-gradient(circle at 70% 30%, rgba(204, 158, 88, 0.18), transparent 65%),
        radial-gradient(circle at 80% 80%, rgba(243, 238, 224, 0.7), transparent 60%);
}
[data-theme="light"] .hero::after {
    background: radial-gradient(ellipse at 30% 0%, rgba(0, 18, 37, 0.05), transparent 60%);
}

/* Hero placeholder: muda pra cream com ornamentos gold (não fica buraco preto) */
[data-theme="light"] .hero-media-placeholder {
    background:
        radial-gradient(ellipse 60% 50% at 72% 28%, rgba(204, 158, 88, 0.22), transparent 60%),
        radial-gradient(ellipse 70% 60% at 25% 80%, rgba(243, 238, 224, 0.85), transparent 60%),
        linear-gradient(135deg, var(--c-cream-100) 0%, var(--c-ivory) 100%);
    color: var(--accent);
    box-shadow: var(--shadow-deep);
}
[data-theme="light"] .hero-media-placeholder::before,
[data-theme="light"] .hero-media-placeholder::after {
    border-color: rgba(138, 96, 40, 0.55);
}
[data-theme="light"] .hero-media-placeholder svg.placeholder-mark {
    filter: drop-shadow(0 12px 36px rgba(138, 96, 40, 0.18));
    opacity: 0.7;
}
[data-theme="light"] .hero-media-placeholder .placeholder-monogram {
    color: rgba(138, 96, 40, 0.65);
}
[data-theme="light"] .hero-media::after {
    box-shadow: inset 0 0 0 1px rgba(138, 96, 40, 0.22);
}

/* Areas strip: cream-100 dá definição vs body cream-50 */
[data-theme="light"] .areas-strip {
    background: var(--c-cream-100);
}

/* "Está com dor?" no light: inverte — navy profundo com gold (fica O ponto focal da página) */
[data-theme="light"] .cta-card.is-warm {
    background: linear-gradient(135deg, var(--c-navy-700) 0%, var(--c-navy-800) 100%);
    color: var(--c-graphite-100);
}
[data-theme="light"] .cta-card.is-warm .cta-title { color: var(--c-gold-400); }
[data-theme="light"] .cta-card.is-warm .cta-desc  { color: rgba(243, 241, 234, 0.78); }
[data-theme="light"] .cta-card.is-warm .cta-icon  { border-color: var(--c-gold-500); color: var(--c-gold-500); }
[data-theme="light"] .cta-card.is-warm .btn-on-light {
    background: var(--c-gold-500);
    color: var(--c-navy-800);
    border-color: var(--c-gold-500);
}
[data-theme="light"] .cta-card.is-warm .btn-on-light:hover {
    background: var(--c-gold-400);
    border-color: var(--c-gold-400);
}

/* Footer: ligeiramente mais quente que body, com borda visível */
[data-theme="light"] .site-footer {
    background: var(--c-cream-100);
    border-top: 1px solid var(--border);
}

/* Nav backdrop: branco suficiente pra contrastar com a foto/hero */
[data-theme="light"] .nav {
    background: rgba(250, 247, 238, 0.88);
    border-bottom: 1px solid var(--border-soft);
}

/* Buttons no light: aumentar peso visual do ghost */
[data-theme="light"] .btn-ghost { border-color: var(--accent); color: var(--accent); }
[data-theme="light"] .btn-ghost:hover { background: rgba(138, 96, 40, 0.08); }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background 0.45s ease, color 0.45s ease;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

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

button {
    font: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 350;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--text-strong);
}

p { margin: 0; }

::selection {
    background: var(--accent);
    color: var(--on-accent);
}

/* ---------- Layout primitives ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.eyebrow {
    font-family: var(--font-body);
    font-size: var(--step--2);
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
}
.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.display {
    font-family: var(--font-display);
    font-feature-settings: 'ss01' 1, 'ss02' 1;
    font-weight: 350;
    letter-spacing: -0.022em;
    line-height: 1.02;
}
.display em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
    display: block;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.95em 1.7em;
    background: var(--accent);
    color: var(--on-accent);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--step--1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.35s cubic-bezier(.2,.7,.2,1),
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.35s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    background: var(--accent-soft);
    border-color: var(--accent-soft);
}
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: transparent;
    box-shadow: none;
}

.btn-on-light {
    background: var(--on-accent);
    color: var(--accent-deep);
    border-color: var(--on-accent);
}
.btn-on-light:hover {
    background: rgba(255, 253, 248, 0.92);
    border-color: rgba(255, 253, 248, 0.92);
    color: var(--accent-deep);
}

/* ---------- Site header (top-bar + nav) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-bar {
    background: rgba(0, 0, 0, 0.28);
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.72rem;
    color: var(--text-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
[data-theme="light"] .top-bar {
    background: rgba(0, 18, 37, 0.04);
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-l);
    padding-block: 0.55rem;
    min-height: 38px;
}
.top-bar-cluster {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}
.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-soft);
    transition: color 0.2s;
    letter-spacing: 0.04em;
}
.top-bar-item:hover { color: var(--accent); }
.top-bar-item svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    flex-shrink: 0;
}
.top-bar-end {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}
.top-bar-socials {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.top-bar-social {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--text-soft);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.top-bar-social:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(204, 158, 88, 0.08);
}
.top-bar-social svg { width: 13px; height: 13px; }

.nav {
    background: rgba(0, 18, 37, 0.72);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.4s, border-color 0.4s;
}
[data-theme="light"] .nav {
    background: rgba(250, 247, 238, 0.85);
}

@media (max-width: 720px) {
    .top-bar-inner { padding-block: 0.4rem; }
    .top-bar-item.is-collapsible { display: none; }
    .top-bar-cluster { gap: 1rem; }
}

.nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    padding-block: 1.15rem;
}

.nav-brand { display: flex; align-items: center; gap: 0.95rem; min-width: 0; }
.nav-brand img { height: 40px; width: auto; max-width: 100%; display: block; }
.nav-brand .logo-light { display: none; }
[data-theme="light"] .nav-brand .logo-dark { display: none; }
[data-theme="light"] .nav-brand .logo-light { display: block; }
.nav-brand-text {
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nav-brand-text .mark {
    display: block;
    font-family: var(--font-display);
    font-size: 2.05rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    font-weight: 400;
    font-feature-settings: 'ss01' 1;
    line-height: 0.9;
}
.nav-brand-text .sub {
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--text-soft);
}
.nav-brand-icon {
    width: 44px;
    height: 44px;
    color: var(--accent);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    justify-content: center;
}
.nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s;
    font-weight: 500;
    white-space: nowrap;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 1px;
    background: var(--accent);
    transition: left 0.35s cubic-bezier(.2,.7,.2,1), right 0.35s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover,
.nav-links a.is-active {
    color: var(--accent);
}
.nav-links a:hover::after,
.nav-links a.is-active::after {
    left: 0;
    right: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.nav-cta {
    padding: 0.65em 1.25em;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--c-gold-400) 0%, var(--c-gold-500) 55%, var(--c-gold-600) 100%);
    border-color: var(--c-gold-500);
    color: var(--c-ivory);
    box-shadow:
        0 8px 24px -8px rgba(204, 158, 88, 0.50),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.nav-cta:hover {
    color: var(--c-ivory);
    background: linear-gradient(135deg, var(--c-gold-300) 0%, var(--c-gold-400) 55%, var(--c-gold-500) 100%);
    border-color: var(--c-gold-400);
    box-shadow:
        0 10px 28px -8px rgba(204, 158, 88, 0.60),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.nav-cta .icon { width: 18px; height: 18px; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(204, 158, 88, 0.08);
    color: var(--text);
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.25s;
    flex-shrink: 0;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
    color: var(--accent);
    background: rgba(204, 158, 88, 0.18);
}
[data-theme="light"] .nav-toggle { background: rgba(138, 96, 40, 0.10); }
[data-theme="light"] .nav-toggle:hover { background: rgba(138, 96, 40, 0.18); }

/* ---------- Mobile drawer (app-like) ---------- */
.nav-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 400px);
    background: var(--bg-elev-1);
    border-right: 1px solid var(--border);
    transform: translateX(-100%);
    transition: transform 0.42s cubic-bezier(.4, 0, .2, 1);
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 60px -10px rgba(0, 0, 0, 0.45);
}
.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 8, 26, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease, backdrop-filter 0.32s ease;
    z-index: 99;
}
.nav-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

body.has-drawer-open { overflow: hidden; }

.nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-soft);
}
.nav-drawer-head .nav-brand {
    pointer-events: none;
}
.nav-drawer-head .nav-brand img { height: 34px; width: auto; }
.nav-drawer-head .nav-brand-text .mark { font-size: 1.55rem; }
.nav-drawer-head .nav-brand-text .sub  { font-size: 0.6rem; }

.nav-drawer-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text);
    display: grid;
    place-items: center;
    background: transparent;
    transition: color 0.2s, border-color 0.2s, transform 0.3s;
    flex-shrink: 0;
}
.nav-drawer-close:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.drawer-section {
    position: relative;
    padding: 1.2rem 0 1.1rem;
    border-top: 1px solid var(--border-soft);
}
.drawer-section:first-of-type { border-top: 0; }

.drawer-eyebrow {
    display: block;
    padding: 0 1.5rem 0.75rem;
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-weight: 600;
    font-family: var(--font-body);
}

/* Theme switcher absolute no topo-direito da seção do menu */
.drawer-section .theme-switcher {
    position: absolute;
    top: 0.95rem;
    right: 1.5rem;
}

.nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}
.nav-drawer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 350;
    color: var(--text);
    letter-spacing: -0.005em;
    border-left: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s, padding-left 0.25s, font-style 0.2s;
}
.nav-drawer-links a::after {
    content: '→';
    font-family: var(--font-body);
    color: var(--accent);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s, transform 0.25s;
    font-size: 0.9rem;
}
.nav-drawer-links a:hover {
    color: var(--accent);
    background: rgba(204, 158, 88, 0.04);
    padding-left: 1.85rem;
}
.nav-drawer-links a.is-active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: rgba(204, 158, 88, 0.06);
    padding-left: 1.85rem;
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
    font-weight: 400;
}
.nav-drawer-links a:hover::after,
.nav-drawer-links a.is-active::after {
    opacity: 1;
    transform: translateX(0);
}

.nav-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-bottom: 0.25rem;
}
.nav-drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--text-soft);
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 0 1.5rem;
}
.nav-drawer-contact-item .pin {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--accent);
    flex-shrink: 0;
}
.nav-drawer-contact-item .pin svg { width: 16px; height: 16px; }
.nav-drawer-contact-item strong {
    display: block;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.005em;
}
.nav-drawer-contact-item small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-top: 2px;
}

.nav-drawer-actions {
    padding: 1.1rem 1.5rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border-soft);
}
.nav-drawer-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0.95em 1.4em;
}
.nav-drawer-socials {
    display: flex;
    gap: 0.5rem;
}

/* Hide drawer entirely no desktop e tablet (inline-nav a partir de 768px) */
@media (min-width: 768px) {
    .nav-drawer,
    .nav-drawer-backdrop { display: none; }
}

/* Tablet (768-979): top-bar visível mas compacto; nav compactado; contato em ícones */
@media (max-width: 979px) and (min-width: 768px) {
    .top-bar { font-size: 0.7rem; }
    .top-bar-cluster { gap: 1.1rem; }
    .top-bar-item span:not(.pin) { display: none; }
    .top-bar-item svg { width: 16px; height: 16px; }
    .nav-links { gap: 1.1rem; }
    .nav-links a { font-size: 0.7rem; letter-spacing: 0.14em; }
    .nav-brand-text .sub { font-size: 0.58rem; }
    .nav-brand-text .mark { font-size: 1.8rem; }
    .nav-cta { padding: 0.6rem 1rem; font-size: 0.7rem; }
}

/* Mobile (<=767): top-bar oculto, hamburger, drawer */
@media (max-width: 767px) {
    .top-bar { display: none; }
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-inner { grid-template-columns: 1fr auto; padding-block: 0.85rem; gap: 0.9rem; }
    .nav-brand { gap: 0.65rem; }
    .nav-brand img { height: 34px; width: auto; }
    .nav-brand-text .mark { font-size: 1.85rem; letter-spacing: 0.06em; }
    .nav-brand-icon { width: 42px; height: 42px; }
    .nav-actions { gap: 0.5rem; }
    .nav-actions .nav-toggle,
    .nav-actions .nav-cta {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        aspect-ratio: 1;
        display: grid;
        place-items: center;
        flex-shrink: 0;
    }
    .nav-cta-label { display: none; }
    .nav-cta .icon { width: 18px; height: 18px; }
    /* tema switcher e WhatsApp escondem do main nav no mobile (vivem no drawer) */
    .nav-actions .theme-switcher,
    .nav-actions .nav-cta { display: none; }
}

@media (max-width: 480px) {
    .nav-brand-text .sub { display: none; }
    .nav-brand-text .mark { font-size: 1.6rem; }
    .nav-brand-icon { width: 38px; height: 38px; }
    .nav-actions { gap: 0.4rem; }
    .nav-actions .nav-toggle,
    .nav-actions .nav-cta { width: 42px; height: 42px; }
}

/* ---------- Hero (texto à esquerda, foto à direita emergindo via mask + atmosfera) ---------- */
.hero {
    position: relative;
    background: var(--bg);
    padding-block: 0;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -15% 5% auto auto;
    width: 55%;
    height: 90%;
    background:
        radial-gradient(circle at 70% 30%, rgba(204, 158, 88, 0.15), transparent 60%),
        radial-gradient(circle at 25% 75%, rgba(15, 27, 62, 0.55), transparent 60%);
    z-index: 0;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse at 30% 100%, rgba(15, 27, 62, 0.45), transparent 60%);
    z-index: 0;
    pointer-events: none;
}
[data-theme="light"] .hero::before {
    background:
        radial-gradient(circle at 70% 30%, rgba(204, 158, 88, 0.20), transparent 60%),
        radial-gradient(circle at 25% 75%, rgba(243, 238, 224, 0.6), transparent 60%);
}
[data-theme="light"] .hero::after {
    background: radial-gradient(ellipse at 30% 100%, rgba(0, 18, 37, 0.06), transparent 60%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
}

.hero-content {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding-block: clamp(3rem, 6vw, 5rem);
    max-width: 540px;
}

/* Foto: pega altura total do row + bleeds pra borda direita do viewport (rompe a moldura do container) */
.hero-photo {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    margin-right: calc(50% - 50vw);
}
.hero-photo img,
.hero-photo-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-photo-placeholder {
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(204, 158, 88, 0.22), transparent 65%),
        linear-gradient(135deg, var(--c-navy-700) 0%, var(--c-navy-900) 100%);
}
.hero-photo-placeholder::after {
    content: 'C · E · O';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: rgba(204, 158, 88, 0.55);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    padding-left: 0.45em;
}
[data-theme="light"] .hero-photo-placeholder {
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(204, 158, 88, 0.25), transparent 65%),
        linear-gradient(135deg, var(--c-cream-100) 0%, var(--c-cream-50) 100%);
}
[data-theme="light"] .hero-photo-placeholder::after {
    color: rgba(138, 96, 40, 0.55);
}
[data-theme="light"] .hero-whats {
    color: #fff;
}
[data-theme="light"] .hero-whats:hover {
    color: #fff;
}
[data-theme="light"] .hero-maps:hover {
    color: #fff;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--step-5);
    font-weight: 350;
    line-height: 1.06;
    letter-spacing: -0.022em;
    color: var(--text-strong);
    max-width: 20ch;
    font-feature-settings: 'ss01' 1, 'ss02' 1;
}
.hero-title em {
    font-style: italic;
    color: var(--accent);
    font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
    display: block;
    font-weight: 400;
    margin-top: 0.05em;
}

.hero-desc {
    color: var(--text-soft);
    font-size: var(--step-1);
    max-width: 38ch;
    line-height: 1.55;
}

/* Ações: pill com borda gold (WhatsApp) + link italic serif (como chegar) — identidades opostas */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Primário: WhatsApp — pill com borda, uppercase, sans micro-caps */
.hero-whats {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9em 1.5em;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--c-navy-800);
    font-family: var(--font-body);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s cubic-bezier(.2,.7,.2,1),
        box-shadow 0.35s ease;
}
.hero-whats:hover {
    background: var(--c-gold-400, #d9b06e);
    border-color: var(--c-gold-400, #d9b06e);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -10px rgba(204, 158, 88, 0.55);
}
.hero-whats svg { width: 14px; height: 14px; }

/* Secundário: Como chegar — ghost gold (era o estilo primário) */
.hero-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9em 1.5em;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: rgba(204, 158, 88, 0.05);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        transform 0.35s cubic-bezier(.2,.7,.2,1),
        box-shadow 0.35s ease;
}
.hero-maps:hover {
    background: var(--accent);
    color: var(--c-navy-800);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -10px rgba(204, 158, 88, 0.45);
}
.hero-maps svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Mobile: empilha — texto topo, foto abaixo com mask vertical (penumbra cima/baixo) */
@media (max-width: 880px) {
    .hero { padding-block: clamp(2.5rem, 6vw, 4rem) 0; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 5vw, 3rem);
    }
    .hero-content {
        order: 1;
        max-width: none;
    }
    .hero-photo {
        order: 2;
        min-height: 0;
        height: clamp(360px, 55vh, 480px);
        /* Bleed pra ambos os lados no mobile (overrride do desktop que só extende à direita) */
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
    .hero-photo-placeholder::after {
        font-size: clamp(1.7rem, 5vw, 2.5rem);
    }
}

@media (max-width: 520px) {
    .hero-actions { gap: 0.75rem; flex-wrap: wrap; }
    .hero-whats, .hero-maps { padding: 0.85em 1.3em; font-size: 0.7rem; letter-spacing: 0.14em; }
}

@media (max-width: 480px) {
    .hero-title { font-size: var(--step-4); }
    .hero-desc { font-size: var(--step-0); }
}

/* ---------- Home: Áreas de atuação — 3 cards limpos ---------- */
.home-areas {
    background: var(--bg-elev-1);
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    position: relative;
    border-block: 1px solid var(--border-soft);
}
.home-areas::before,
.home-areas::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.22;
}
.home-areas::before { top: 0; }
.home-areas::after  { bottom: 0; }

.home-areas-head {
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
    max-width: 54ch;
}
.home-areas-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.15;
    margin: 0.4rem 0 0.75rem;
    font-variation-settings: 'opsz' 144, 'SOFT' 60;
}
.home-areas-title em {
    font-style: italic;
    color: var(--accent);
    font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.home-areas-intro {
    color: var(--text-soft);
    font-size: var(--step-0);
    max-width: 50ch;
    line-height: 1.65;
}

.home-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
}

@media (max-width: 980px) {
    .home-areas-grid { grid-template-columns: repeat(2, 1fr); }
    .home-areas-grid .area-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - var(--space-l) / 2);
        justify-self: center;
    }
}

@media (max-width: 640px) {
    .home-areas-grid {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }
    .home-areas-grid .area-card:last-child:nth-child(odd) {
        max-width: none;
    }
}

.home-areas-foot {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: var(--space-m);
}
.home-areas-foot::before {
    content: '';
    display: block;
    width: 56px;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}
.home-areas-all {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.15rem, 1.9vw, 1.4rem);
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
    font-weight: 400;
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.45em;
    transition:
        color 0.35s ease,
        text-decoration-color 0.35s ease,
        text-underline-offset 0.4s cubic-bezier(.2,.7,.2,1),
        text-decoration-thickness 0.4s ease;
}
.home-areas-all:hover {
    color: var(--accent);
    text-underline-offset: 0.55em;
    text-decoration-thickness: 1.5px;
}

/* ---------- CTAs section ---------- */
.ctas {
    padding-block: var(--space-2xl);
}
.ctas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-l);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--border);
    gap: 1px;
}
.cta-card {
    padding: clamp(1.75rem, 4vw, 3rem);
    background: var(--bg-elev-1);
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    position: relative;
    transition: background 0.3s;
}
.cta-card .cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 0.3rem;
}
.cta-title { font-size: var(--step-3); }
.cta-desc { color: var(--text-soft); font-size: var(--step-0); max-width: 36ch; }
.cta-card .btn { align-self: flex-start; margin-top: var(--space-s); }

.cta-card.is-warm {
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    color: var(--on-accent);
}
.cta-card.is-warm .cta-title { color: var(--on-accent); }
.cta-card.is-warm .cta-desc { color: rgba(26, 20, 8, 0.78); }
.cta-card.is-warm .cta-icon { border-color: rgba(26, 20, 8, 0.6); color: var(--on-accent); }

@media (max-width: 720px) {
    .ctas { padding-block: var(--space-xl); }
    .ctas-grid {
        grid-template-columns: 1fr;
        border-radius: var(--r-m);
    }
    .cta-card { padding: 1.75rem 1.5rem; gap: 0.75rem; }
    .cta-title { font-size: var(--step-3); }
    .cta-card .btn {
        align-self: stretch;
        justify-content: center;
        padding: 1em 1.4em;
        margin-top: 0.5rem;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-elev-1);
    border-top: 1px solid var(--border-soft);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-l);
    margin-top: var(--space-3xl);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}
.footer-brand p {
    color: var(--text-soft);
    font-size: var(--step--1);
    max-width: 30ch;
}
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-soft);
    margin-bottom: var(--space-m);
    font-weight: 600;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}
.footer-col a {
    color: var(--text-soft);
    transition: color 0.2s;
    font-size: var(--step--1);
}
.footer-col a:hover { color: var(--accent); }
.footer-col p {
    color: var(--text-soft);
    font-size: var(--step--1);
    margin-bottom: 0.5rem;
}
.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-m);
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-mute);
    font-size: var(--step--2);
    flex-wrap: wrap;
    gap: var(--space-s);
}
.footer-bottom-links {
    display: flex;
    gap: var(--space-m);
    align-items: center;
}
.footer-bottom-links a {
    color: var(--text-mute);
    font-size: var(--step--2);
    transition: color 0.2s;
    text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--accent); }
.footer-registros {
    display: inline-block;
    margin-left: 0.75em;
    opacity: 0.7;
}
.footer-horario {
    line-height: 1.7;
}
.footer-logo {
    max-width: 180px;
    height: auto;
}
.footer-maps-btn,
.footer-whats-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.65rem;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}
.footer-maps-btn:hover,
.footer-whats-btn:hover { opacity: 0.75; }
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: var(--step--1);
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-social-btn:hover { color: var(--accent); }

.footer-godaa-row {
    border-top: 1px solid var(--border-soft);
    padding: 1.1rem 0;
    margin-top: 1rem;
}
.footer-godaa {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-mute);
}
.footer-godaa-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 500;
}
.footer-credit {
    display: inline-flex;
    align-items: center;
    opacity: 0.78;
    transition: opacity 0.25s ease;
}
.footer-credit:hover { opacity: 1; }
.footer-credit img {
    height: 18px;
    width: auto;
    display: block;
}
[data-theme="dark"]  .footer-credit-dark  { display: none; }
[data-theme="light"] .footer-credit-light { display: none; }
@media (max-width: 800px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on load (staggered) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: revealUp 0.9s cubic-bezier(.2,.7,.2,1) both;
}
.reveal-1 { animation-delay: 0.10s; }
.reveal-2 { animation-delay: 0.22s; }
.reveal-3 { animation-delay: 0.34s; }
.reveal-4 { animation-delay: 0.46s; }
.reveal-5 { animation-delay: 0.58s; }
.reveal-6 { animation-delay: 0.70s; }

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

.float-in {
    opacity: 0;
    transform: scale(0.96);
    animation: floatIn 1.2s cubic-bezier(.2,.7,.2,1) 0.4s both;
}
@keyframes floatIn {
    to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .float-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
    html { scroll-behavior: auto; }
}

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
    padding-top: clamp(3rem, 7vw, 5.5rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: -30% -10% auto auto;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(204, 158, 88, 0.10), transparent 65%);
    z-index: 0;
    pointer-events: none;
}
.page-hero > .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.page-hero-title {
    font-size: var(--step-6);
    color: var(--text-strong);
    max-width: 18ch;
}
.page-hero-title em {
    font-style: italic;
    color: var(--accent);
    font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
    display: block;
    font-weight: 400;
}
.page-hero-desc {
    color: var(--text-soft);
    font-size: var(--step-1);
    max-width: 52ch;
}

/* ---------- Filter strip (Profissionais) ---------- */
/* ---------- Profissionais: layout sidebar + grid ---------- */
.prof-section { padding-block: var(--space-m) var(--space-2xl); }

.prof-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

/* --- Sidebar (desktop) --- */
.prof-sidebar {
    position: sticky;
    top: calc(68px + 2rem);
}

.filter-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted, var(--text-soft));
    padding-bottom: 0.6rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--border);
}

.prof-filter-nav {
    display: flex;
    flex-direction: column;
}

.filter-pill {
    display: block;
    padding: 0.5em 0 0.5em 0.85rem;
    border-left: 2px solid transparent;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    color: var(--text-soft);
    text-decoration: none;
    background: transparent;
    transition: color 0.18s, border-color 0.18s;
    white-space: normal;
    line-height: 1.35;
}
.filter-pill:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.filter-pill.is-active {
    color: var(--accent);
    border-color: var(--accent);
    font-weight: 600;
}

/* --- Mobile: colapsa sidebar em scroll horizontal --- */
@media (max-width: 767px) {
    .prof-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prof-sidebar {
        position: static;
        overflow: hidden;
        position: relative;
    }
    .prof-sidebar::before,
    .prof-sidebar::after {
        content: '';
        position: absolute;
        top: 0; bottom: 0;
        width: 2.5rem;
        pointer-events: none;
        z-index: 1;
    }
    .prof-sidebar::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
    .prof-sidebar::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

    .filter-label { display: none; }

    .prof-filter-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-block: 0.25rem 0.5rem;
    }
    .prof-filter-nav::-webkit-scrollbar { display: none; }

    .filter-pill {
        display: inline-flex;
        flex-shrink: 0;
        padding: 0.5em 1.05em;
        border-left: none;
        border: 1px solid var(--border);
        border-radius: 999px;
        font-size: 0.76rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: nowrap;
        scroll-snap-align: start;
    }
    .filter-pill:hover {
        border-color: var(--accent);
    }
    .filter-pill.is-active {
        background: var(--accent);
        color: var(--on-accent);
        border-color: var(--accent);
        font-weight: 500;
    }
}
.prof-section-head {
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}
.prof-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 300;
    line-height: 1.15;
    font-variation-settings: 'opsz' 144, 'SOFT' 60;
}
.prof-section-title em {
    font-style: italic;
    color: var(--accent);
    font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.prof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-l);
}
.prof-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-l);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.35s ease, box-shadow 0.5s ease, opacity 0.25s;
}
.prof-card.is-filtered-out {
    display: none;
}
.prof-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lift);
}
.prof-card-media {
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    display: block;
    background: var(--bg-elev-2);
}
.prof-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.prof-card:hover .prof-card-media img { transform: scale(1.04); }
.prof-card-fallback {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--accent);
    background: linear-gradient(135deg, var(--c-navy-700), var(--c-navy-800));
}
.prof-card-body {
    padding: 1.25rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}
.prof-card-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 350;
    color: var(--text-strong);
    line-height: 1.15;
    letter-spacing: -0.005em;
}
.prof-card-esp {
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.35;
}
.prof-card-cro {
    color: var(--text-mute);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.15rem;
}
.prof-card-cta {
    margin-top: auto;
    padding-top: 0.9rem;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.25s;
}
.prof-card-cta:hover { gap: 0.65rem; }
.prof-card-mini-bio {
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 0.2rem;
}

/* CTA inline (WhatsApp específico por página) */
.cta-inline {
    padding-block: clamp(2rem, 4vw, 3rem);
}
.cta-inline-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-l);
    background: var(--bg-elev-1);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent);
    border-radius: var(--r-l);
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
    flex-wrap: wrap;
}
.cta-inline-text { flex: 1; min-width: 0; }
.cta-inline-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 350;
    font-variation-settings: 'opsz' 144, 'SOFT' 60;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}
.cta-inline-text p {
    color: var(--text-soft);
    font-size: var(--step--1);
}
.cta-inline-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .cta-inline-card { flex-direction: column; align-items: flex-start; }
    .cta-inline-btn { width: 100%; justify-content: center; }
}

/* ---------- Áreas grid (lista) ---------- */
.areas-page { padding-block: var(--space-l) var(--space-2xl); }
.areas-page-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.areas-page-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 300;
    line-height: 1.2;
    font-variation-settings: 'opsz' 144, 'SOFT' 60;
}
.areas-page-subtitle em {
    font-style: italic;
    color: var(--accent);
    font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}

/* ---------- Estrutura gallery head ---------- */
.gallery-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.gallery-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 300;
    line-height: 1.2;
    font-variation-settings: 'opsz' 144, 'SOFT' 60;
}
.gallery-subtitle em {
    font-style: italic;
    color: var(--accent);
    font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.areas-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-l);
}
.area-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-l);
    overflow: hidden;
    color: var(--text);
    display: flex;
    flex-direction: column;
    transition: border-color 0.35s ease, box-shadow 0.5s ease;
}
.area-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lift);
    color: var(--text);
}
.area-card-media {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-elev-2);
}
.area-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.area-card:hover .area-card-media img { transform: scale(1.05); }
.area-card-media-fallback {
    width: 100%; height: 100%;
    position: relative;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(204, 158, 88, 0.18), transparent 60%),
        linear-gradient(135deg, var(--c-navy-700), var(--c-navy-800));
}
.area-card-media-fallback::before,
.area-card-media-fallback::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(204, 158, 88, 0.45);
}
.area-card-media-fallback::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.area-card-media-fallback::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.area-card-body {
    padding: 1.5rem 1.5rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
    position: relative;
}
.area-card-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 350;
    color: var(--text-strong);
    line-height: 1.1;
}
.area-card-desc {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}
.area-card-arrow {
    margin-top: auto;
    padding-top: 0.4rem;
    display: inline-flex;
    color: var(--accent);
    transition: transform 0.25s;
}
.area-card:hover .area-card-arrow { transform: translateX(6px); }

/* ---------- Detail (perfil profissional / área) ---------- */
.detail-page {
    padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 7vw, 5rem);
}
.detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.detail-media {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    position: sticky;
    top: 100px;
}
.detail-media img,
.detail-media-fallback {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--r-l);
    background: linear-gradient(135deg, var(--c-navy-700), var(--c-navy-800));
    box-shadow: var(--shadow-lift);
}
.detail-media-fallback {
    position: relative;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(204, 158, 88, 0.20), transparent 60%),
        linear-gradient(135deg, var(--c-navy-700), var(--c-navy-800));
}
.detail-media-fallback::before,
.detail-media-fallback::after {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(204, 158, 88, 0.55);
}
.detail-media-fallback::before { top: 20px; left: 20px; border-right: 0; border-bottom: 0; }
.detail-media-fallback::after  { bottom: 20px; right: 20px; border-left: 0; border-top: 0; }
.detail-back {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
    transition: color 0.2s;
}
.detail-back:hover { color: var(--accent); }

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.detail-title {
    font-size: var(--step-5);
    color: var(--text-strong);
    font-weight: 350;
}
.detail-meta {
    color: var(--text-soft);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.detail-lede {
    color: var(--text-soft);
    font-size: var(--step-1);
    line-height: 1.55;
    max-width: 52ch;
}
.detail-rule {
    width: 64px;
    height: 1px;
    background: var(--accent);
    opacity: 0.6;
    margin-block: 0.7rem;
}
.detail-actions { margin-top: 1.2rem; }

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}
.tag-pill {
    display: inline-flex;
    padding: 0.35em 0.85em;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    transition: color 0.2s, border-color 0.2s;
}
.tag-pill:hover {
    color: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 760px) {
    .detail-grid { grid-template-columns: 1fr; gap: var(--space-l); }
    .detail-media { position: static; }
    .detail-media img, .detail-media-fallback { aspect-ratio: 4/3; max-height: 420px; }
}

/* ---------- Perfil: atividades dos profissionais ---------- */
.atividades-wrap {
    margin-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--border-soft);
    padding-top: clamp(2.5rem, 5vw, 4rem);
}
.atividades-head {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.atividades-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 350;
    color: var(--text-strong);
    margin: 0;
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
    letter-spacing: -0.015em;
    line-height: 1.05;
}
.atividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}
.atividade-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.atividade-media {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-elev-2);
    border-radius: var(--r-s);
}
.atividade-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.atividade-item:hover .atividade-media img { transform: scale(1.03); }
.atividade-caption {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.atividade-data {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 600;
}
.atividade-legenda {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

/* ---------- Estrutura: linha do tempo histórica ---------- */
.estrutura-historico {
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background: var(--bg-elev-1);
    border-top: 1px solid var(--border-soft);
}
.historico-head {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.historico-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 350;
    color: var(--text-strong);
    margin: 0;
    font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
    letter-spacing: -0.02em;
    line-height: 1.02;
}
.historico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.historico-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.historico-media {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-elev-2);
    border-radius: var(--r-s);
}
.historico-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.15);
    transition: filter 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.historico-item:hover .historico-media img {
    filter: sepia(0);
    transform: scale(1.03);
}
.historico-caption {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.historico-ano {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 400;
    color: var(--accent);
    font-variation-settings: 'opsz' 144, 'SOFT' 50, 'WONK' 1;
    line-height: 1;
    letter-spacing: -0.02em;
}
.historico-legenda {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ---------- Rich text (HTML do Quill) ---------- */
.richtext {
    color: var(--text);
    font-size: var(--step-0);
    line-height: 1.7;
}
.richtext > * + * { margin-top: 0.9em; }
.richtext h2 { font-family: var(--font-display); font-size: var(--step-2); margin-top: 1.4em; font-weight: 400; color: var(--text-strong); }
.richtext h3 { font-family: var(--font-display); font-size: var(--step-1); margin-top: 1.2em; font-weight: 400; color: var(--text-strong); }
.richtext a { color: var(--accent); border-bottom: 1px solid currentColor; }
.richtext a:hover { color: var(--accent-soft); }
.richtext strong { color: var(--text-strong); font-weight: 600; }
.richtext ul, .richtext ol { padding-left: 1.4em; }
.richtext li + li { margin-top: 0.35em; }
.richtext blockquote {
    margin: 1.4em 0;
    padding: 0.4em 0 0.4em 1.2em;
    border-left: 2px solid var(--accent);
    color: var(--text-soft);
    font-style: italic;
}

/* ---------- Testimonials ---------- */
.testimonials { padding-block: var(--space-l) var(--space-2xl); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-l);
}
.testimonial-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-l);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: border-color 0.4s ease, transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease;
}
.testimonial-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lift);
}
.quote-mark {
    width: 36px;
    height: 36px;
    color: var(--accent);
    opacity: 0.85;
}
.testimonial-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
}
.testimonial-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--accent);
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
    margin-top: 0.3rem;
}

/* ---------- Estrutura — intro + gallery ---------- */
.estrutura-intro {
    padding-block: var(--space-l) var(--space-l);
}
.intro-narrow {
    max-width: 720px;
    margin-inline: auto;
}
.gallery {
    padding-block: var(--space-m) var(--space-2xl);
}
.gallery-grid-site {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-m);
}
.gallery-tile {
    margin: 0;
    overflow: hidden;
    border-radius: var(--r-l);
    border: 1px solid var(--border-soft);
    background: var(--bg-elev-2);
    transition: border-color 0.35s ease, box-shadow 0.5s ease;
}
.gallery-tile:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lift);
}
.gallery-tile img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile figcaption {
    padding: 0.8rem 1rem;
    color: var(--text-soft);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--bg-elev-1);
    border-top: 1px solid var(--border-soft);
}

.empty-msg {
    text-align: center;
    color: var(--text-soft);
    padding: var(--space-2xl) var(--gutter);
    font-style: italic;
}

/* Mobile detail adjustments */
@media (max-width: 720px) {
    .page-hero-title { font-size: var(--step-5); }
    .filter-row { gap: 0.4rem; }
    .filter-pill { font-size: 0.7rem; padding: 0.5em 0.95em; }
    .prof-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-m); }
    .prof-card-body { padding: 1rem; }
    .prof-card-name { font-size: 1.05rem; }
    .detail-title { font-size: var(--step-4); }
    .testimonial-card { padding: 1.4rem 1.25rem 1.25rem; }
    .gallery-grid-site { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-s); }
}

/* ---------- 404 / em construção ---------- */
.simple-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: var(--space-3xl) var(--gutter);
}
.simple-page h1 {
    font-size: var(--step-5);
    margin-bottom: var(--space-s);
}
.simple-page p {
    color: var(--text-soft);
    max-width: 42ch;
    margin-inline: auto;
}
.simple-page .btn { margin-top: var(--space-m); }

/* ---------- Theme switcher (pill com thumb deslizante) ---------- */
.theme-switcher {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.theme-switcher-track {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    padding: 5px;
    border-radius: 999px;
    overflow: hidden;
    transition: background 0.4s ease, box-shadow 0.3s ease;
}
[data-theme="light"] .theme-switcher-track { background: var(--c-navy-800); }
[data-theme="dark"]  .theme-switcher-track { background: var(--c-cream-50); }
.theme-switcher:hover .theme-switcher-track {
    box-shadow: 0 0 0 2px rgba(204, 158, 88, 0.20);
}

.theme-switcher-icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    z-index: 1;
    transition: color 0.3s ease;
}
.theme-switcher-icon svg { width: 14px; height: 14px; }

/* Ícone visível (lado oposto ao tema atual) */
[data-theme="light"] .theme-switcher .icon-moon { color: var(--c-cream-100); }
[data-theme="dark"]  .theme-switcher .icon-sun  { color: var(--c-navy-800); }

/* Ícone coberto pelo círculo (color combina com o fundo do track pra não aparecer) */
[data-theme="light"] .theme-switcher .icon-sun  { color: var(--c-navy-800); }
[data-theme="dark"]  .theme-switcher .icon-moon { color: var(--c-cream-50); }

.theme-switcher-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.30);
    transition:
        left 0.4s cubic-bezier(.4, 0, .2, 1),
        background 0.4s ease,
        box-shadow 0.4s ease;
    z-index: 2;
}
[data-theme="light"] .theme-switcher-thumb {
    left: 6px;
    background: var(--c-cream-50);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
[data-theme="dark"] .theme-switcher-thumb {
    left: calc(100% - 26px);
    background: var(--c-navy-800);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* Drawer: switcher maior pro toque (mesma proporção) */
.nav-drawer-actions .theme-switcher-track {
    width: 68px;
    padding: 5px;
}
.nav-drawer-actions .theme-switcher-track .theme-switcher-icon { width: 24px; height: 24px; }
.nav-drawer-actions .theme-switcher-track .theme-switcher-icon svg { width: 16px; height: 16px; }
.nav-drawer-actions .theme-switcher-thumb { width: 24px; height: 24px; }
[data-theme="light"] .nav-drawer-actions .theme-switcher-thumb { left: 6px; }
[data-theme="dark"]  .nav-drawer-actions .theme-switcher-thumb { left: calc(100% - 30px); }

/* ---------- Theme transition (suave em mudanças de tema) ---------- */
body,
.nav, .top-bar, .areas-strip, .site-footer, .filter-strip, .ctas, .prof-section,
.cta-card, .prof-card, .area-card, .testimonial-card, .gallery-tile,
.filter-pill, .tag-pill, .btn-ghost, .nav-toggle, .theme-switcher-track,
.hero-media-placeholder, .detail-media, .detail-media-fallback,
.area-card-media, .area-card-media-fallback, .prof-card-fallback {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
/* View Transitions API — crossfade quando suportado */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.45s;
    animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}
