/* =========================================================
   Zamora Prime Odontologia · v2
   Identidade: marinho #1D2E3B · dourado #C5A059 · creme
   Tipos: Cormorant Garamond (títulos) + Manrope (texto)
   ========================================================= */

:root {
  --bg: #FAF6EE;
  --surface: #FFFFFF;
  --sand: #F1E9DA;
  --ink: #1D2E3B;
  --ink-2: #3A4855;
  --muted: #5E6873;
  --gold: #C5A059;
  --gold-soft: #E9D9B6;
  --gold-ink: #7E6026;
  --navy-2: #14222D;
  --line: rgba(29, 46, 59, .12);
  --line-2: rgba(29, 46, 59, .22);
  --wa: #25D366;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --nav: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --pad: clamp(56px, 8.5vh, 104px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(29, 46, 59, .06), 0 8px 24px rgba(29, 46, 59, .07);
  --shadow-lift: 0 2px 4px rgba(29, 46, 59, .06), 0 16px 36px rgba(29, 46, 59, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --screen: calc(100svh - var(--nav));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 4.4vw, 4.35rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 3.3vw, 3.2rem); line-height: 1.05; }
h3 { font-size: 1.55rem; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }

.lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }

.eyebrow {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Sections: uma por tela ---------- */
main > section {
  padding-block: var(--pad);
  min-height: var(--screen);
}
main > section[style*="--h:1"] { display: grid; align-content: start; }
main > section.hero,
main > section.reviews,
main > section.book { align-content: center; }

.clinic, .treat, .book { background: var(--bg); }
.about, .reviews, .where { background: var(--surface); }

.band { background: var(--ink); color: rgba(250, 246, 238, .82); }
.band h2, .band h3, .band strong { color: #FAF6EE; }

.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vh, 44px); max-width: 720px; }
.head p { color: var(--muted); }
.head--row {
  max-width: none;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 40px;
}

.frame { overflow: hidden; border-radius: var(--r); background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botões (um par) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s, color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn i { font-size: 1.15em; }
.btn .fa-whatsapp { color: var(--wa); }

.btn--primary { background: var(--ink); color: #FAF6EE; }
.btn--primary:hover { background: var(--navy-2); box-shadow: 0 8px 20px rgba(29, 46, 59, .22); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold .fa-whatsapp { color: var(--ink); }
.btn--gold:hover { background: #D2B06D; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(29, 46, 59, .04); }

.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--icon { width: 52px; padding: 0; flex: none; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.ig {
  font-size: 1.3em;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Navegação ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav);
  border-bottom: 1px solid var(--line);
}
/* o desfoque fica numa camada própria: no próprio header ele prenderia o menu móvel (position: fixed) dentro da barra */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand__name {
  display: grid; font: 600 1.45rem/1 var(--serif); color: var(--ink);
}
.brand__name small {
  font: 600 10.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-ink); margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) {
  white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .28s var(--ease), color .2s;
}
.nav__links a:not(.btn):hover,
.nav__links a[aria-current="true"] { color: var(--ink); background-size: 100% 1.5px; }
.nav__menu-cta { display: none; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative; border-radius: 10px;
}
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- 1 · Hero ---------- */
.hero {
  padding-block: clamp(40px, 7vh, 80px);
  display: grid; align-content: center;
  color: rgba(250, 246, 238, .86);
  background:
    linear-gradient(100deg, rgba(20, 34, 45, .93) 0%, rgba(29, 46, 59, .86) 50%, rgba(29, 46, 59, .72) 100%),
    url("img/recepcao.webp") center / cover no-repeat;
  background-color: var(--ink);
}
.hero__grid { display: block; }
.hero__text { max-width: 760px; }
.hero__title {
  margin-bottom: 18px; color: #FAF6EE;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: .04em;
}
.hero__tagline {
  margin-bottom: 22px;
  font: 500 clamp(1.4rem, 2.2vw, 2rem)/1.2 var(--serif); color: var(--gold-soft);
}
.hero .eyebrow { color: var(--gold); }
.hero .lead { margin-bottom: 36px; max-width: 620px; color: rgba(250, 246, 238, .86); }

.btn--light { background: transparent; color: #FAF6EE; border-color: rgba(250, 246, 238, .4); }
.btn--light:hover { border-color: #FAF6EE; background: rgba(250, 246, 238, .08); }

.facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin: clamp(40px, 7vh, 64px) 0 0; padding-top: 24px; border-top: 1px solid rgba(250, 246, 238, .2);
  max-width: 620px;
}
.facts div { padding-right: clamp(20px, 3vw, 40px); }
.facts div + div { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid rgba(250, 246, 238, .2); }
.facts dt { font: 600 2rem/1 var(--serif); color: #FAF6EE; }
.facts dd { margin: 6px 0 0; font-size: 14px; color: rgba(250, 246, 238, .7); }

/* ---------- 2 · Sobre ---------- */
.about__grid {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.about__photo {
  height: min(calc(var(--screen) - 2 * var(--pad)), 700px); min-height: 420px;
  width: 100%; max-width: 520px; justify-self: end;
}
.about__photo img { object-position: 50% 20%; }
.about__text { max-width: 600px; }
.about__text { display: grid; gap: 20px; }
.about__text h2 { margin-bottom: 4px; }

.spec { margin: 8px 0 6px; display: grid; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); padding-top: 2px; }
.spec dd { margin: 0; color: var(--ink); font-weight: 500; }
.spec a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- 3 · Clínica ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: clamp(440px, calc(var(--screen) - 2 * var(--pad) - 200px), 680px);
}
/* zigue-zague: recepção larga + equipo de frente; outro equipo + mesa larga */
.bento__a { grid-column: 1 / 3; grid-row: 1; }
.bento__b { grid-column: 3; grid-row: 1; }
.bento__c { grid-column: 1; grid-row: 2; }
.bento__d { grid-column: 2 / 4; grid-row: 2; }
.bento__c img { object-position: 50% 40%; }
.bento__a img { object-position: 50% 45%; }
.bento img { transition: transform .7s var(--ease); }
.bento figure:hover img { transform: scale(1.03); }

/* ---------- 4 · Escaneamento ---------- */
.scan__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  min-height: calc(var(--screen) - 2 * var(--pad));
}
.scan__text { display: grid; gap: 24px; justify-items: start; max-width: 580px; }
.scan .lead { color: rgba(250, 246, 238, .82); }

.ticks { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231D2E3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.scan__media { display: grid; justify-items: center; }
.phone {
  position: relative;
  height: min(calc(var(--screen) - 2 * var(--pad)), 680px);
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  padding: 8px;
  background: #2A3D4C;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.phone video {
  width: 100%; height: 100%; object-fit: cover; border-radius: 23px; background: #0f1a22;
}
.phone__pause {
  position: absolute; right: 20px; bottom: 20px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(250, 246, 238, .92); color: var(--ink);
  transition: transform .18s var(--ease), background-color .18s;
}
.phone__pause:hover { transform: scale(1.06); background: #fff; }
.phone__pause:active { transform: scale(.96); }
.phone__pause svg { width: 18px; height: 18px; fill: currentColor; }
.phone__pause .i-play, .phone__pause[aria-pressed="true"] .i-pause { display: none; }
.phone__pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- 5 · Tratamentos ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: transparent; }
.tcard:active { transform: translateY(0); }
.tcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tcard:hover .tcard__img img { transform: scale(1.03); }
.tcard__body { display: grid; align-content: start; gap: 8px; padding: 20px 22px 22px; }
.tcard__desc { font-size: 15px; line-height: 1.55; color: var(--muted); }
.tcard__who {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: 13px; font-weight: 600; color: var(--gold-ink);
}
.tcard__who::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.tcard h3 {
  display: inline;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.tcard:hover h3 { background-size: 100% 1.5px; }

/* ---------- 6 · Avaliações ---------- */
.reviews__grid {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  align-self: center;
}
.reviews__head { display: grid; gap: 18px; justify-items: start; position: sticky; top: calc(var(--nav) + 32px); }
.reviews__head p { color: var(--muted); }
.g { width: 18px; height: 18px; }

.quotes { display: grid; gap: 20px; }
.quote {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}
.stars { color: var(--gold); letter-spacing: .15em; font-size: 15px; margin-bottom: 14px; }
.quote blockquote {
  margin: 0 0 22px;
  font: 500 clamp(1.4rem, 2vw, 1.85rem)/1.3 var(--serif);
  color: var(--ink);
}
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 15px; }
.quote figcaption span:not(.avatar) { font-weight: 500; color: var(--muted); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); font: 600 1.2rem/1 var(--serif);
}

/* ---------- 7 · Agendar ---------- */
.book__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
  align-self: center;
}
.book__text { display: grid; gap: 22px; }
.channels { list-style: none; margin: 10px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.channels li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.channels i {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 17px;
}
.channels i.wa { color: var(--wa); font-size: 21px; }
.channels div { display: grid; gap: 2px; }
.channels strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.channels a, .channels span { color: var(--ink); font-weight: 500; text-decoration: none; }
.channels a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.form {
  display: grid; gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  font-size: 16px; color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.field select {
  appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%231D2E3B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.field input:hover, .field select:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197, 160, 89, .22); }
.field input[aria-invalid="true"] { border-color: #B3412E; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: grid; place-items: center; height: 48px; border-radius: 12px; border: 1px solid var(--line-2);
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: background-color .18s, border-color .18s, color .18s;
}
.seg label:hover span { border-color: var(--ink-2); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #FAF6EE; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__error { color: #B3412E; font-size: 14px; font-weight: 600; }

/* ---------- 8 · Localização ---------- */
.where__grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.where__map { height: min(calc(var(--screen) - 2 * var(--pad)), 680px); min-height: 420px; }
.where__map { position: relative; }
.where__map iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; }
.where__fallback { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; color: var(--ink); }
.where__text { display: grid; gap: 22px; justify-items: start; }
.addr { font: 500 clamp(1.5rem, 2.1vw, 2rem)/1.25 var(--serif); color: var(--ink); }
.where .spec { width: 100%; }

/* ---------- Rodapé ---------- */
.foot { padding: clamp(56px, 8vh, 88px) 0 28px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; }
.foot__brand img { width: 140px; height: auto; }
.foot__col { display: grid; align-content: start; gap: 10px; }
.foot h3 {
  font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 6px;
}
.foot a { text-decoration: none; color: rgba(250, 246, 238, .82); transition: color .18s; }
.foot a:hover { color: #FAF6EE; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.foot__legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(250, 246, 238, .14);
  font-size: 13px; color: rgba(250, 246, 238, .6);
}

/* ---------- Barra móvel ---------- */
.mbar { display: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { gap: 20px; }
  .nav__links a:not(.btn) { font-size: 14px; }
}

@media (max-width: 1240px) {
  .nav__toggle { display: block; }
  .nav__in { gap: 12px; }
  .nav__links {
    position: fixed; inset: var(--nav) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px;
    background: var(--bg);
    visibility: hidden; opacity: 0;
    transition: opacity .2s, visibility .2s;
  }
  .nav__links.is-open { visibility: visible; opacity: 1; }
  .nav__links a:not(.btn) {
    font: 600 1.9rem/1 var(--serif); color: var(--ink);
    padding: 18px 0; border-bottom: 1px solid var(--line); background: none;
  }
  .nav__menu-cta { display: inline-flex; margin-top: 28px; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 980px) {
  .head--row { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 860px) {
  :root { --nav: 64px; }
  .brand__name { font-size: 1.3rem; }


  .about__grid,
  .scan__grid,
  .reviews__grid,
  .book__grid,
  .where__grid { grid-template-columns: 1fr; }

  .about__photo { order: 2; height: auto; min-height: 0; aspect-ratio: 4 / 5; max-width: 520px; justify-self: start; }
  .reviews__head { position: static; }
  .scan__grid { min-height: 0; }
  .phone { height: min(64svh, 600px); }
  .where__map { height: 52svh; min-height: 320px; }

  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav__cta { display: none; }
  body { padding-bottom: 84px; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; gap: 10px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(250, 246, 238, .96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  .mbar .btn--primary { flex: 1; }
  .mbar .btn--ghost { background: var(--surface); }

  .tgrid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tcard__body { padding: 16px 16px 18px; }
  .tcard h3 { font-size: 1.35rem; }

  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .bento__a, .bento__d { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .bento__b, .bento__c { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .scan__text .btn { width: 100%; }
  .reviews__head .btn { width: 100%; }

  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div { padding-right: 12px; }
  .facts div + div { padding-left: 12px; }
  .facts dt { font-size: 1.5rem; }
  .facts dd { font-size: 12.5px; }

  .tgrid { grid-template-columns: 1fr; gap: 12px; }
  .tcard { grid-template-rows: none; grid-template-columns: 112px 1fr; }
  .tcard__img { position: relative; aspect-ratio: auto; height: 100%; min-height: 128px; }
  .tcard__img img { position: absolute; inset: 0; }
  .tcard__body { padding: 14px 16px; gap: 6px; }
  .tcard h3 { font-size: 1.25rem; }
  .tcard__desc { font-size: 14px; }

  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .foot__legal { flex-direction: column; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover, .tcard:hover { transform: none; }
  .tcard:hover .tcard__img img, .bento figure:hover img { transform: none; }
}

/* =========================================================
   Páginas de especialidade
   ========================================================= */
main > section.sp-cta { min-height: 0; padding-block: clamp(48px, 7vh, 72px); }
main > section.sp-hero,
main > section.sp-steps,
main > section.sp-faq { align-content: center; }

.sp-hero, .sp-steps, .sp-others { background: var(--bg); }
.sp-ind, .sp-faq { background: var(--surface); }

.sp-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.sp-hero__text { display: grid; gap: 22px; justify-items: start; }
.sp-hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.2rem); }
.sp-hero__photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.who {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; color: var(--ink); font-size: 15px;
}
.who span {
  padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--gold);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}

.sp-ind__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.sp-ind__text { display: grid; gap: 22px; }
.sp-ind__photo { height: min(calc(var(--screen) - 2 * var(--pad)), 640px); min-height: 380px; }

.checks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.checks li {
  position: relative; padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 500;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231D2E3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  display: grid; align-content: start; gap: 12px;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.step__n { font: 600 2.6rem/1 var(--serif); color: var(--gold); }
.step h3 { font-size: 1.5rem; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { display: grid; gap: 18px; justify-items: start; }
.faq__head p { color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0;
  font: 600 1.45rem/1.25 var(--serif); color: var(--ink);
  transition: color .18s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .25s var(--ease), background-color .18s, border-color .18s;
}
.faq__item summary:hover { color: var(--gold-ink); }
.faq__item summary:hover::after { border-color: var(--ink); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 48px 24px 0; color: var(--ink-2); }

.sp-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sp-cta h2 { margin-bottom: 10px; }
.sp-cta .btn svg { width: 18px; height: 18px; }

.ogrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ocard { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.ocard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.ocard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ocard__name {
  justify-self: start; font: 600 1.3rem/1.2 var(--serif);
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .3s var(--ease);
}
.ocard { transition: transform .22s var(--ease); }
.ocard:hover { transform: translateY(-2px); }
.ocard:hover .ocard__img img { transform: scale(1.03); }
.ocard:hover .ocard__name { background-size: 100% 1.5px; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .ogrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .sp-hero__grid, .sp-ind__grid, .faq__grid { grid-template-columns: 1fr; }
  .sp-ind__photo { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .ogrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; }
  .step__n { grid-row: 1 / 3; font-size: 2rem; }
  .faq__item summary { font-size: 1.25rem; padding-right: 44px; }
  .faq__item p { padding-right: 0; }
  .sp-cta .actions .btn { width: 100%; }
  .ocard__name { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ocard:hover { transform: none; }
  .ocard:hover .ocard__img img { transform: none; }
}

/* ajustes de ritmo nas páginas de especialidade */
main > section.sp-hero { min-height: min(var(--screen), 760px); }
main > section.sp-steps,
main > section.sp-faq,
main > section.sp-others { min-height: 0; }
@media (max-width: 560px) {
  .sp-hero__text .actions { justify-self: stretch; }
}

/* =========================================================
   Blog
   ========================================================= */
main > section.blog-hero,
main > section.blog-list,
main > section.blog-more,
main > section.home-blog { min-height: 0; }

.tag {
  display: inline-block; justify-self: start; align-self: start;
  padding: 5px 12px; border-radius: 999px;
  background: var(--gold-soft); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.meta { font-size: 13px; font-weight: 500; color: var(--muted); }

/* Página do blog */
.blog-hero { background: var(--bg); padding-block: clamp(40px, 7vh, 72px) clamp(28px, 4vh, 40px) !important; }
.blog-hero .crumbs { margin-bottom: 22px; }
.blog-hero__row { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.blog-hero h1 { margin-bottom: 14px; }
.blog-hero .lead { max-width: 560px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent;
  font: 600 14px/1 var(--sans); color: var(--ink-2);
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FAF6EE; }

.blog-list { background: var(--bg); padding-top: 0 !important; }

.bfeat-wrap { margin-bottom: 24px; }
.bfeat {
  display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  text-decoration: none; color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.bfeat[hidden], .bcard[hidden] { display: none; }
.bfeat__img { display: block; min-height: 380px; overflow: hidden; background: var(--sand); }
.bfeat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bfeat__body { display: grid; align-content: center; gap: 16px; padding: clamp(28px, 4vw, 56px); }
.bfeat h2 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.bfeat__ex { color: var(--muted); font-size: 17px; }

.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.bcard {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.bcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.bcard__body { display: grid; align-content: start; gap: 12px; padding: 22px 24px 24px; }
.bcard h3 { font-size: 1.55rem; }
.bcard__ex { color: var(--muted); font-size: 15px; }

.bfeat:hover, .bcard:hover, .tpost:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.bfeat:hover img, .bcard:hover img { transform: scale(1.03); }
.bempty { padding: 40px 0; color: var(--muted); }

/* Artigo */
.wrap--text { width: min(720px, 100% - 2 * var(--gutter)); }
.post { background: var(--bg); }
.post__head { padding: clamp(40px, 7vh, 72px) 0 clamp(28px, 4vh, 40px); }
.post__head .wrap { display: grid; gap: 18px; }
.post__head h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.05; }
.post__head .lead { color: var(--muted); }
.post__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}

.share { display: inline-flex; align-items: center; gap: 8px; position: relative; }
.share__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share__btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s;
}
.share__btn .fa-whatsapp { color: var(--wa); font-size: 19px; }
.share__btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.share__btn:active { transform: scale(.95); }
.share__ok {
  position: absolute; right: 0; top: calc(100% + 8px); white-space: nowrap;
  padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #FAF6EE; font-size: 13px; font-weight: 600;
}

.post__cover { margin: 0 auto; width: min(1040px, 100% - 2 * var(--gutter)); aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }

.post__body { padding: clamp(36px, 6vh, 56px) 0 clamp(56px, 9vh, 96px); font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.post__body > p + p { margin-top: 1.1em; }
.post__body h2 { margin: 1.8em 0 .55em; font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.post__body ul, .post__body ol { margin: .9em 0 0; padding-left: 1.3em; display: grid; gap: .55em; }
.post__body li::marker { color: var(--gold-ink); font-weight: 700; }
.post__body strong { color: var(--ink); }
.callout {
  margin: 2em 0; padding: 22px 26px; border-radius: var(--r);
  background: var(--sand); border-left: 4px solid var(--gold);
}
.callout p { font: 500 1.3rem/1.4 var(--serif); color: var(--ink); }

.post__end {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 3em; padding-top: 28px; border-top: 1px solid var(--line);
}
.post__end h2 { margin: 0 0 12px; font-size: 1.4rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: border-color .18s, transform .18s var(--ease);
}
.pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.post__note { margin-top: 28px; font-size: 14px; color: var(--muted); }

.blog-more { background: var(--surface); }

/* Prévia na página inicial */
.home-blog { background: var(--bg); }
.tposts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tpost {
  display: grid; align-content: start; gap: 14px;
  padding: clamp(24px, 2.5vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: inherit;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tpost h3 { font-size: 1.6rem; }
.tpost__ex { color: var(--muted); font-size: 15px; }
.tpost__more { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--ink); font-size: 15px; }
.tpost__more [aria-hidden] { transition: transform .22s var(--ease); }
.tpost:hover .tpost__more [aria-hidden] { transform: translateX(4px); }
.tpost__more .meta { margin-left: auto; }

@media (max-width: 980px) {
  .tposts { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bfeat { grid-template-columns: 1fr; }
  .bfeat__img { min-height: 0; aspect-ratio: 16 / 9; }
  .post__cover { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .post__body { font-size: 17px; }
  .post__meta { flex-direction: column; align-items: flex-start; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bfeat:hover, .bcard:hover, .tpost:hover, .pill:hover { transform: none; }
  .bfeat:hover img, .bcard:hover img { transform: none; }
}

/* ajustes do blog */
.blog-list .bgrid { grid-template-columns: repeat(2, 1fr); }
.head--row p:has(> .link) { justify-self: end; }
@media (max-width: 860px) {
  .head--row p:has(> .link) { justify-self: start; }
}
@media (max-width: 700px) {
  .blog-list .bgrid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sp-cta__in > .actions { width: 100%; }
}


/* =========================================================
   Ajustes de acessibilidade e celular
   ========================================================= */
.step__n { color: var(--gold-ink); }
.brand__name small { font-size: 11.5px; }
.tag { font-size: 12.5px; }
.foot h3 { font-size: 13px; }
.foot__col p a, .foot__legal a, .crumbs a, .channels a, .spec a {
  display: inline-block; padding-block: 5px; margin-block: -5px;
}
.foot__col { gap: 14px; }
@media (max-width: 760px) {
  .foot__col p a, .foot__legal a, .crumbs a, .channels a, .spec a { padding-block: 10px; margin-block: -10px; }
  .foot__col { gap: 22px; }
}
@media (max-width: 560px) {
  .hero__title { font-size: 2.35rem; margin-bottom: 14px; }
  .hero__tagline { font-size: 1.3rem; margin-bottom: 16px; }
  .hero .lead { margin-bottom: 24px; }
  .facts { margin-top: 22px; padding-top: 16px; }
  .facts dd { font-size: 13px; }
}

/* Crédito de desenvolvimento: mesma formatação da linha de direitos */
.foot__credit { margin-top: 10px; font-size: 13px; }
.foot .foot__credit a {
  display: inline-block; padding-block: 6px; margin-block: -6px;
  color: rgba(250, 246, 238, .6); text-decoration: none;
}
.foot__credit strong { font-weight: inherit; color: inherit; }
.foot .foot__credit a:hover { color: rgba(250, 246, 238, .6); text-decoration: underline; text-underline-offset: 3px; }
