/* ============================================================
   Dr. Daniel Francês — Cirurgião-Dentista
   Identidade premium · Belém-PA
   ============================================================ */

:root {
  --cream:  #FFFFFF;
  --mist:   #F3F3F4;
  --sand:   #CBB9A2;
  --taupe:  #8E847A;
  --black:  #131316;
  --ink:    #16171B;
  --navy:   #0D1E3D;
  --slate:  #6F7785;

  --sand-dark:  #B6A185;
  --cocoa:      #6B4A33;
  --navy-soft:  #14264a;
  --cream-2:    #ECECEE;

  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --radius-lg: 30px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-soft: 0 24px 60px -28px rgba(13,30,61,.35);
  --shadow-card: 0 30px 70px -40px rgba(13,30,61,.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Typographic helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: .32em;
  text-transform: uppercase;
}
.num {
  font-family: var(--font-display);
  font-weight: 700;
  font-feature-settings: "lnum";
}
.script-em { font-family: var(--font-display); font-weight: 600; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.section-pad { padding: clamp(80px, 11vw, 160px) 0; }

/* Section color themes */
.theme-cream { background: var(--cream); color: var(--ink); }
.theme-cream-2 { background: var(--mist); color: var(--ink); }
.theme-navy { background: var(--black); color: var(--cream); }
.theme-black { background: var(--black); color: var(--cream); }
.theme-sand { background: var(--mist); color: var(--ink); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled {
  background: rgba(251,246,241,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(13,30,61,.08), 0 18px 40px -34px rgba(13,30,61,.5);
  padding-top: 10px; padding-bottom: 10px;
}
.nav__brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.nav__brand img { width: 40px; height: 40px; object-fit: contain; transition: opacity .3s; }
.nav__brand .brand-cream { display: block; }
.nav__brand .brand-navy { display: none; position: absolute; }
.nav.scrolled .nav__brand .brand-cream { display: none; }
.nav.scrolled .nav__brand .brand-navy { display: block; position: static; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.nav__brand-text strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; letter-spacing: .16em; color: var(--cream);
  transition: color .4s var(--ease);
}
.nav__brand-text span {
  font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(251,246,241,.62); margin-top: 4px;
  transition: color .4s var(--ease);
}
.nav.scrolled .nav__brand-text strong { color: var(--ink); }
.nav.scrolled .nav__brand-text span { color: var(--taupe); }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  color: rgba(251,246,241,.86); position: relative; padding: 4px 0;
  transition: color .3s;
}
.nav.scrolled .nav__links a { color: var(--slate); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--sand); transition: width .35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a:hover { color: var(--ink); }
.nav__links a:hover { color: #fff; }

/* --- Tratamentos submenu --- */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { width: 9px; height: 9px; opacity: .65; transition: transform .3s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: 50%; margin-top: 14px;
  min-width: 248px; background: rgba(255,255,255,.94);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(0,0,0,.07); border-radius: 16px; padding: 10px;
  box-shadow: 0 26px 64px -26px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
  display: grid; gap: 2px;
}
.nav__item:hover .submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.submenu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.submenu a { font-size: 13.5px; font-weight: 500; color: var(--ink); padding: 10px 14px; border-radius: 10px; white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 22px; transition: background .2s, color .2s; }
.submenu a::after { display: none; }
.submenu a:hover { background: var(--cocoa); color: #fff; }
.submenu a .s-tag { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand-dark); font-weight: 700; transition: color .2s; }
.submenu a:hover .s-tag { color: var(--sand); }

.nav__cta { flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; cursor: pointer; border: none;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px,-2px); }
.btn--primary { background: var(--black); color: var(--cream); box-shadow: 0 14px 30px -16px rgba(0,0,0,.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(13,30,61,.8); }
.btn--sand { background: var(--sand); color: var(--navy); box-shadow: 0 14px 30px -16px rgba(203,185,162,.9); }
.btn--sand:hover { transform: translateY(-2px); background: #d6c6b1; }
.btn--ghost-light { background: rgba(251,246,241,.1); color: var(--cream); border: 1.5px solid rgba(251,246,241,.32); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: rgba(251,246,241,.18); transform: translateY(-2px); }
.btn--lg { padding: 19px 38px; font-size: 17px; }
.nav__cta .btn { padding: 12px 22px; font-size: 14px; }
.nav .btn--primary { background: var(--sand); color: var(--navy); }
.nav.scrolled .btn--primary { background: var(--black); color: var(--cream); }

.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 101; }
.nav__burger span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 5px 0; transition: transform .35s var(--ease), opacity .25s var(--ease), background .3s var(--ease); transform-origin: center; }
.nav.scrolled .nav__burger span { background: var(--ink); }
.nav__burger.is-open span { background: var(--cream); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--black);
  padding-bottom: clamp(60px, 9vh, 110px); padding-top: 140px;
}
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 40%; z-index: 0; background: var(--black); }
.hero__bg image-slot { width: 100%; height: 100%; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
/* Empty hero slot reads as solid black until a photo is dropped */
.hero__bg image-slot::part(frame) { background: var(--black); }
.hero__bg image-slot::part(empty) { color: rgba(251,246,241,.55); }
.hero__bg image-slot::part(ring) { border-color: rgba(251,246,241,.16); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg, var(--black) 0%, var(--black) 36%, rgba(19,19,22,.72) 52%, rgba(19,19,22,.18) 70%, rgba(19,19,22,0) 84%),
    linear-gradient(180deg, rgba(16,16,16,.30) 0%, rgba(16,16,16,0) 26%, rgba(16,16,16,0) 60%, rgba(8,8,8,.92) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--sand); margin-bottom: 28px;
}
.hero__eyebrow::before { content: ''; width: 34px; height: 1.5px; background: var(--sand); display: inline-block; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.015em;
  color: var(--cream); max-width: 16ch; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--sand); }
.hero__sub {
  margin-top: 30px; max-width: 46ch;
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55;
  color: rgba(251,246,241,.82); font-weight: 400;
}
.hero__cta { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__trust { margin-top: 54px; display: flex; gap: 38px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; gap: 2px; }
.hero__trust .num { font-size: 30px; color: var(--cream); line-height: 1; }
.hero__trust small { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,246,241,.6); }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(251,246,241,.5);
}
.hero__scroll .line { width: 1px; height: 40px; background: linear-gradient(rgba(203,185,162,.9), rgba(203,185,162,0)); animation: scrollpulse 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollpulse { 0%,100% { transform: scaleY(.4); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.shead { max-width: 760px; }
.shead .eyebrow { color: var(--sand-dark); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.shead .eyebrow::before { content:''; width: 30px; height: 1.5px; background: currentColor; }
.theme-navy .shead .eyebrow, .theme-black .shead .eyebrow { color: var(--sand); }
.shead h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.012em;
  text-wrap: balance;
}
.shead h2 em { font-style: normal; color: var(--sand-dark); }
.theme-navy .shead h2 em, .theme-black .shead h2 em { color: var(--sand); }
.shead p { margin-top: 22px; font-size: 18px; color: var(--slate); max-width: 58ch; }
.theme-navy .shead p, .theme-black .shead p { color: rgba(251,246,241,.72); }

/* ============================================================
   SOBRE
   ============================================================ */
.sobre__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-top: 64px; }
.sobre__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 560px; overflow: hidden; }
.sobre__media image-slot { width: 100%; height: 100%; min-height: 0; }
.sobre__media img { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: cover; border-radius: 20px; }
.sobre__media .m1 { grid-row: 1 / span 2; object-position: 50% 22%; }
.sobre__media img:not(.m1) { object-position: 50% 35%; }
.sobre__media .m3 { object-position: 50% 45%; }
.sobre__badge {
  position: absolute; right: -18px; bottom: 28px; z-index: 4;
  background: rgba(251,246,241,.72); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 14px;
}
.sobre__badge .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--sand); display: grid; place-items: center; flex-shrink: 0; }
.sobre__badge .ico svg { width: 22px; height: 22px; }
.sobre__badge b { font-family: var(--font-display); font-size: 16px; letter-spacing: .04em; display: block; color: var(--ink); }
.sobre__badge small { font-size: 12px; color: var(--taupe); letter-spacing: .04em; }
.sobre__media-wrap { position: relative; }

.about-text p { color: var(--slate); font-size: 18px; margin-top: 20px; max-width: 50ch; }
.about-text .lead { color: var(--ink); font-size: 21px; line-height: 1.5; font-weight: 500; }
.about-cred { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.cred-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid rgba(142,132,122,.18);
  padding: 11px 18px; border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--ink);
  box-shadow: 0 10px 24px -20px rgba(0,0,0,.45);
}
.cred-chip svg { width: 16px; height: 16px; color: var(--sand-dark); }
.cred-chip .num { color: var(--navy); letter-spacing: .04em; }
/* navy kept here as a small detail accent */

/* ============================================================
   FOCO DTM & BRUXISMO
   ============================================================ */
.foco__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,80px); align-items: end; }
.symptoms {
  margin-top: 60px;
  background: var(--black); color: var(--cream);
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 64px);
  box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}
.symptoms::before {
  content: ''; position: absolute; top: -40%; right: -10%; width: 50%; height: 180%;
  background: radial-gradient(closest-side, rgba(203,185,162,.16), transparent 70%);
}
.symptoms__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; position: relative; }
.symptoms__head h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); color: var(--cream); }
.symptoms__head span { color: var(--sand); font-size: 15px; letter-spacing: .06em; }
.symptoms__grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.symptom {
  background: rgba(251,246,241,.04); border: 1px solid rgba(251,246,241,.1);
  border-radius: 16px; padding: 24px 22px; transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.symptom:hover { background: rgba(203,185,162,.1); border-color: rgba(203,185,162,.4); transform: translateY(-4px); }
.symptom .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(203,185,162,.14); color: var(--sand); display: grid; place-items: center; margin-bottom: 16px; }
.symptom .ico svg { width: 22px; height: 22px; }
.symptom b { font-family: var(--font-body); font-weight: 600; font-size: 16.5px; color: var(--cream); display: block; }
.symptom p { font-size: 14px; color: rgba(251,246,241,.62); margin-top: 6px; line-height: 1.5; }

.solution { margin-top: 26px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: stretch; }
.solution__card {
  background: #fff; border: 1px solid rgba(142,132,122,.16); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px); box-shadow: var(--shadow-soft);
}
.solution__card .eyebrow { color: var(--sand-dark); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.solution__card .eyebrow::before { content:''; width:24px; height:1.5px; background: currentColor; }
.solution__card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px,2.6vw,32px); color: var(--ink); line-height: 1.12; }
.solution__steps { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; }
.solution__steps li { list-style: none; display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(142,132,122,.16); }
.solution__steps li:first-child { border-top: none; }
.solution__steps .num { color: var(--sand-dark); font-size: 15px; min-width: 30px; }
.solution__steps b { display: block; font-weight: 600; font-size: 16.5px; color: var(--ink); }
.solution__steps p { font-size: 14.5px; color: var(--slate); margin-top: 3px; }
.solution__note {
  background: var(--sand); border-radius: var(--radius-lg); padding: clamp(28px,3.6vw,40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; color: var(--navy);
}
.solution__note .q { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--sand); display: grid; place-items: center; }
.solution__note .q svg { width: 24px; height: 24px; }
.solution__note p { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px,2.2vw,26px); line-height: 1.25; }
.solution__note small { font-size: 13.5px; color: rgba(13,30,61,.7); line-height: 1.5; }

/* ============================================================
   TRATAMENTOS
   ============================================================ */
.treat__grid { margin-top: 60px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tcard {
  position: relative; overflow: hidden;
  background: rgba(251,246,241,.045); border: 1px solid rgba(251,246,241,.11);
  border-radius: var(--radius); padding: 30px;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  min-height: 240px; display: flex; flex-direction: column; justify-content: space-between;
}
.tcard:hover { transform: translateY(-6px); background: rgba(251,246,241,.07); border-color: rgba(203,185,162,.45); }
.tcard.feat { background: linear-gradient(155deg, rgba(203,185,162,.18), rgba(203,185,162,.05)); border-color: rgba(203,185,162,.34); }
.tcard.feat:hover { background: linear-gradient(155deg, rgba(203,185,162,.28), rgba(203,185,162,.08)); }
.tcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.tcard .num { font-size: 15px; color: var(--sand); letter-spacing: .08em; }
.tcard .tag { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); background: var(--sand); padding: 5px 11px; border-radius: 100px; font-weight: 600; }
.tcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; color: var(--cream); margin-top: 26px; line-height: 1.12; }
.tcard p { font-size: 14.5px; color: rgba(251,246,241,.66); margin-top: 12px; line-height: 1.55; }
.tcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-body); font-weight: 600; font-size: 13.5px; letter-spacing: .04em; color: var(--sand); }
.tcard__more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.tcard:hover .tcard__more svg { transform: translate(3px,-3px); }
.tcard .arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(251,246,241,.2); display: grid; place-items: center; color: var(--sand); flex-shrink: 0; transition: background .3s, color .3s, border-color .3s; }
.tcard:hover .arrow { background: var(--sand); color: var(--navy); border-color: var(--sand); }
.tcard .arrow svg { width: 16px; height: 16px; }
/* spans */
.c-6 { grid-column: span 6; } .c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; } .c-12 { grid-column: span 12; }
.treat__foot { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.treat__foot p { color: rgba(251,246,241,.62); font-size: 15px; max-width: 52ch; }

/* Featured treatments (4 destaques) */
.treat__feat { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.treat__feat .tcard { min-height: 210px; }

/* Secondary treatments (menos evidência) */
.treat__more { margin-top: 30px; }
.treat__more-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.treat__more-head span { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); white-space: nowrap; }
.treat__more-head .ln { height: 1px; background: rgba(251,246,241,.14); flex: 1; }
.treat__more-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mcard {
  background: rgba(251,246,241,.025); border: 1px solid rgba(251,246,241,.09);
  border-radius: 16px; padding: 22px 20px; min-height: 134px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.mcard:hover { transform: translateY(-4px); background: rgba(251,246,241,.05); border-color: rgba(203,185,162,.34); }
.mcard__top { display: flex; align-items: center; justify-content: flex-end; }
.mcard .arrow-sm { color: rgba(251,246,241,.4); transition: color .3s var(--ease), transform .3s var(--ease); }
.mcard:hover .arrow-sm { color: var(--sand); transform: translate(2px,-2px); }
.mcard .arrow-sm svg { width: 15px; height: 15px; display: block; }
.mcard h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--cream); line-height: 1.16; }
.mcard p { font-size: 12.5px; color: rgba(251,246,241,.55); line-height: 1.5; margin-top: auto; }

/* ============================================================
   JORNADA / DIFERENCIAIS
   ============================================================ */
.journey { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jcard {
  background: rgba(255,255,255,.55); backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft); position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.jcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.jcard .step { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--sand-dark); letter-spacing: .1em; }
.jcard .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--sand); display: grid; place-items: center; margin: 22px 0 20px; }
.jcard .ico svg { width: 24px; height: 24px; }
.jcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); line-height: 1.15; }
.jcard p { font-size: 14px; color: var(--slate); margin-top: 10px; line-height: 1.55; }

/* ============================================================
   ESTATÍSTICAS (faixa areia)
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,4vw,60px); align-items: start; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content:''; position: absolute; left: calc(var(--gutter) * -0.5); top: 10%; height: 80%; width: 1px; background: rgba(22,23,27,.14); }
.stat .num { font-size: clamp(48px, 7vw, 84px); color: var(--ink); line-height: 1; display: block; }
.stat .num .ph { color: var(--sand-dark); }
.stat .lbl { margin-top: 14px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.stat .sub { font-size: 13.5px; color: var(--taupe); margin-top: 6px; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testi { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tq {
  background: rgba(251,246,241,.05); backdrop-filter: blur(12px);
  border: 1px solid rgba(251,246,241,.12); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 22px;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.tq:hover { transform: translateY(-5px); border-color: rgba(203,185,162,.4); }
.tq .stars { display: flex; gap: 4px; color: var(--sand); }
.tq .stars svg { width: 18px; height: 18px; }
.tq blockquote { font-size: 17.5px; line-height: 1.6; color: rgba(251,246,241,.88); font-weight: 400; }
.tq blockquote .ph { color: var(--sand); font-style: italic; }
.tq__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tq__who img.av { object-fit: cover; padding: 0; }
.tq blockquote p { margin: 0 0 12px; }
.tq blockquote p:last-child { margin-bottom: 0; }
.tq__who image-slot, .tq__who .av { width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0; }
.tq__who .av { background: rgba(203,185,162,.2); color: var(--sand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; border: 1px solid rgba(203,185,162,.4); }
.tq__who b { display: block; font-weight: 600; font-size: 15.5px; color: var(--cream); }
.tq__who small { font-size: 13px; color: rgba(251,246,241,.55); }

/* ============================================================
   LOCALIZAÇÃO
   ============================================================ */
.units { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.unit {
  background: #fff; border: 1px solid rgba(142,132,122,.16); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.unit:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.unit__media { height: 240px; position: relative; }
.unit__media image-slot { width: 100%; height: 100%; }
.unit__map { width: 100%; height: 100%; border: 0; display: block; }
.unit__media .pin {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: rgba(13,30,61,.82); backdrop-filter: blur(8px); color: var(--sand);
  padding: 8px 16px; border-radius: 100px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .08em;
}
.unit__body { padding: 30px clamp(26px,3vw,36px) 34px; display: flex; flex-direction: column; flex: 1; }
.unit__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--ink); }
.unit__body .addr { margin-top: 14px; display: flex; gap: 12px; color: var(--slate); font-size: 15.5px; line-height: 1.5; }
.unit__body .addr svg { width: 19px; height: 19px; color: var(--sand-dark); flex-shrink: 0; margin-top: 2px; }
.unit__body .ref { margin-top: 10px; font-size: 13.5px; color: var(--taupe); letter-spacing: .02em; }
.unit__body .btn { margin-top: 26px; align-self: flex-start; }

/* ============================================================
   CONTATO
   ============================================================ */
.contact__grid { margin-top: 60px; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px,6vw,90px); align-items: start; }
.contact__aside .eyebrow { color: var(--sand-dark); display: inline-flex; gap: 10px; align-items: center; }
.contact__aside .eyebrow::before { content:''; width: 26px; height: 1.5px; background: currentColor; }
.contact__aside h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px,3.6vw,48px); margin-top: 20px; line-height: 1.08; color: var(--ink); }
.contact__aside > p { margin-top: 20px; color: var(--slate); font-size: 17px; max-width: 42ch; }
.contact__list { margin-top: 34px; display: flex; flex-direction: column; gap: 4px; }
.contact__list a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(142,132,122,.18); transition: gap .3s var(--ease); }
.contact__list a:hover { gap: 22px; }
.contact__list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--cream-2); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
.contact__list a:hover .ci { background: var(--navy); color: var(--sand); }
.contact__list .ci svg { width: 21px; height: 21px; }
.contact__list b { font-size: 16px; color: var(--ink); display: block; font-weight: 600; }
.contact__list small { font-size: 13px; color: var(--taupe); letter-spacing: .04em; }

.form {
  background: #fff; border: 1px solid rgba(142,132,122,.16); border-radius: var(--radius-lg);
  padding: clamp(30px,4vw,48px); box-shadow: var(--shadow-card);
}
.form .field { margin-bottom: 20px; }
.form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--taupe); margin-bottom: 9px; }
.form input, .form select {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 15px 18px; border-radius: 14px; border: 1.5px solid rgba(142,132,122,.24);
  background: var(--mist); transition: border-color .3s, box-shadow .3s, background .3s;
}
.form input::placeholder { color: rgba(142,132,122,.7); }
.form input:focus, .form select:focus { outline: none; border-color: var(--sand-dark); background: #fff; box-shadow: 0 0 0 4px rgba(203,185,162,.18); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form__note { margin-top: 18px; font-size: 12.5px; color: var(--taupe); text-align: center; line-height: 1.5; }
.form__note b { color: var(--ink); }
.form__ok { display: none; text-align: center; padding: 20px 0; }
.form__ok.show { display: block; }
.form__ok .ic { width: 60px; height: 60px; border-radius: 50%; background: var(--sand); color: var(--navy); display: grid; place-items: center; margin: 0 auto 18px; }
.form__ok .ic svg { width: 30px; height: 30px; }
.form__ok h3 { font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.form__ok p { color: var(--slate); margin-top: 8px; font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--cream); padding: clamp(70px,8vw,110px) 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 56px; height: 56px; object-fit: contain; }
.footer__brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .14em; margin-top: 18px; }
.footer__brand-name span { display: block; font-size: 10px; letter-spacing: .34em; color: var(--sand); margin-top: 6px; }
.footer__brand p { margin-top: 22px; color: rgba(251,246,241,.62); font-size: 15px; max-width: 30ch; line-height: 1.6; }
.footer__brand p em { font-family: var(--font-display); font-style: normal; color: var(--sand); }
.fcol h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: 20px; }
.fcol a, .fcol p { display: block; color: rgba(251,246,241,.72); font-size: 15px; padding: 7px 0; transition: color .3s, padding-left .3s; }
.fcol a:hover { color: var(--cream); padding-left: 6px; }
.footer__bottom { margin-top: clamp(50px,6vw,80px); padding-top: 30px; border-top: 1px solid rgba(251,246,241,.12); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__bottom small { color: rgba(251,246,241,.5); font-size: 13px; letter-spacing: .02em; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(251,246,241,.2); display: grid; place-items: center; color: rgba(251,246,241,.8); transition: background .3s, color .3s, transform .3s; }
.footer__social a:hover { background: var(--sand); color: var(--navy); transform: translateY(-3px); border-color: var(--sand); }
.footer__social svg { width: 19px; height: 19px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .hero__scroll .line { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(17,17,20,.98);
  backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: flex-start; gap: 8px;
  padding: clamp(92px, 14vh, 130px) var(--gutter) 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 30px; color: var(--cream); padding: 14px 0; border-bottom: 1px solid rgba(251,246,241,.1); }
.mobile-menu a:last-of-type { border: none; }
.mobile-menu .btn { margin-top: 28px; justify-content: center; }
.mobile-menu .m-item { border-bottom: 1px solid rgba(251,246,241,.1); }
.mobile-menu .m-trigger { width: 100%; background: none; border: none; cursor: pointer; font-family: var(--font-display); font-size: 30px; color: var(--cream); padding: 14px 0; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu .m-trigger svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.mobile-menu .m-item.open .m-trigger svg { transform: rotate(180deg); }
.mobile-menu .m-sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.mobile-menu .m-item.open .m-sub { max-height: 360px; padding-bottom: 14px; }
.mobile-menu .m-sub a { font-family: var(--font-body); font-size: 15px; color: rgba(251,246,241,.66); padding: 9px 0; border: none; }
.mobile-menu .m-sub a:hover { color: var(--sand); }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .sobre__grid { grid-template-columns: 1fr; }
  .sobre__media { height: 460px; }
  .sobre__media-wrap { z-index: 1; }
  .about-text { position: relative; z-index: 2; }
  .foco__top { grid-template-columns: 1fr; gap: 24px; }
  .symptoms__grid { grid-template-columns: 1fr 1fr; }
  .solution { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .treat__grid { grid-template-columns: repeat(6, 1fr); }
  .c-6, .c-4, .c-3 { grid-column: span 3; }
  .c-12 { grid-column: span 6; }
  .treat__more-grid { grid-template-columns: repeat(3, 1fr); }
  .testi { grid-template-columns: 1fr; }
  .units { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .hero__bg { left: 28%; }
  .hero__photo { object-position: 50% 12%; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero__bg { left: 0; }
  .hero__photo { object-position: 50% 8%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(12,12,12,.34) 0%, rgba(12,12,12,.12) 22%, rgba(10,10,10,.62) 56%, rgba(6,6,6,.97) 86%);
  }
  .hero__trust { gap: 26px; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .stat + .stat::before { display: none; }
  .stat + .stat { padding-top: 36px; border-top: 1px solid rgba(13,30,61,.18); }
  .symptoms__grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .treat__feat { grid-template-columns: 1fr 1fr; }
  .treat__more-grid { grid-template-columns: 1fr 1fr; }
  .treat__grid { grid-template-columns: 1fr; }
  .c-6, .c-4, .c-3, .c-12 { grid-column: span 1; }
  .form .row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .sobre__media { grid-template-columns: 1fr 1fr; height: 380px; }
  .sobre__badge { right: 10px; }
}
@media (max-width: 600px) {
  /* header enxuto: marca + hamburger (o menu tem o botão Agendar) */
  .nav__cta { display: none; }
  /* botões em coluna e largura total no mobile */
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  /* cards de destaque (1 a 4): 1 por vez no celular para não espremer */
  .treat__feat { grid-template-columns: 1fr; }
  /* jornada: 1 por vez no celular (evita corte à direita) */
  .journey { grid-template-columns: 1fr; }
  .jcard h3 { overflow-wrap: anywhere; }
}
@media (max-width: 420px) {
  .nav__brand-text strong { font-size: 15px; letter-spacing: .12em; }
  .nav__brand-text span { font-size: 8px; letter-spacing: .24em; }
  .mobile-menu a, .mobile-menu .m-trigger { font-size: 26px; }
  .mobile-menu .m-sub a { font-size: 14px; }
}

/* ===== HERO empilhado (foto em cima, texto embaixo) — tablet e mobile ===== */
@media (max-width: 820px) {
  .hero {
    flex-direction: column; align-items: stretch;
    min-height: 0; padding: 70px 0 0;
  }
  .hero__bg {
    position: relative; inset: auto; left: auto; right: auto;
    width: 100%; height: 60vh; min-height: 400px; background: var(--black);
  }
  .hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
  .hero__scrim {
    display: block; inset: auto 0 0 0; height: 55%;
    background: linear-gradient(180deg,
      rgba(16,16,16,0) 0%,
      rgba(16,16,16,.06) 42%,
      rgba(16,16,16,.34) 68%,
      rgba(16,16,16,.78) 88%,
      var(--black) 100%);
  }
  .hero__inner { background: var(--black); padding: 8px var(--gutter) 46px; }
  .hero__scroll { display: none; }
  .hero h1 { font-size: clamp(32px, 7.4vw, 50px); max-width: 22ch; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__sub { max-width: 60ch; margin-top: 18px; }
  .hero__cta { margin-top: 26px; }
  .hero__trust { margin-top: 30px; gap: 26px; }
}
