/* ============================================================
   Dra. Melina de Paula Ribeiro — Gastropediatra
   Design system · Vogel Digital
   Base: identidade oficial (fev/2022) — paleta suave + Frank Ruhl Libre + Meticula
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Meticula";
  src: url("../fonts/Meticula-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta oficial */
  --off-white: #f6f6f1;   /* Elegância */
  --rose:      #d8a9a1;   /* Carinho   */
  --amber:     #e2985a;   /* Segurança */
  --sage:      #9bb2a3;   /* Jovialidade */
  --blue:      #92a7b2;   /* Confiança */
  --coral:     #f6b1a6;   /* Infância  */

  /* Derivadas (mesma família, ajustadas para contraste/superfície) */
  --sand:      #efe7df;   /* superfície morna alternada */
  --sand-2:    #e9ded4;
  --rose-wash: #f3e6e2;
  --sage-wash: #e6ede8;
  --sage-deep: #6a8574;   /* sálvia escurecida — texto/CTA acessível */
  --clay:      #c47a45;   /* âmbar escurecido para hover/traços */
  --ink:       #2f2a28;   /* quase-preto morno */
  --ink-soft:  #6b615b;
  --ink-mute:  #928781;
  --line:      rgba(47, 42, 40, .12);
  --line-soft: rgba(47, 42, 40, .07);
  --on-dark:   #f3ede7;
  --on-dark-soft: #c9bcb2;

  /* Tipografia */
  --serif: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --sans:  "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --label: "Meticula", "Figtree", sans-serif;

  /* Escala fluida */
  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.075rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.36rem + .7vw, 1.9rem);
  --step-3:  clamp(1.95rem, 1.7rem + 1.25vw, 2.7rem);
  --step-4:  clamp(2.5rem, 2.05rem + 2.25vw, 3.9rem);
  --step-5:  clamp(3rem, 2.2rem + 4vw, 5.2rem);

  /* Espaço / forma */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 22px;
  --radius-lg: 34px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -32px rgba(47, 42, 40, .35);
  --shadow-soft: 0 14px 40px -28px rgba(47, 42, 40, .3);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { text-wrap: pretty; }
.serif-light { font-weight: 300; }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow.center { justify-content: center; }

.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; font-weight: 400; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 0px, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--sand { background: var(--sand); }
.section--rose { background: var(--rose-wash); }
.section--sage { background: var(--sage-wash); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.stack > * + * { margin-top: 1.1rem; }
.measure { max-width: 58ch; }
.center { text-align: center; }
.center .eyebrow, .center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--amber);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  padding: 1.05em 1.6em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  box-shadow: 0 10px 26px -14px rgba(196, 122, 69, .8);
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(196, 122, 69, .85); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); box-shadow: none; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--on-dark); box-shadow: 0 12px 30px -16px rgba(47,42,40,.7); }
.btn--dark:hover { background: #403935; }
.btn--block { width: 100%; justify-content: center; }

.textlink {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  color: var(--clay);
  display: inline-flex; align-items: center; gap: .5em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s;
}
.textlink svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.textlink:hover { border-color: var(--clay); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 246, 241, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -26px rgba(47,42,40,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { height: 52px; width: auto; }
.brand .brand-fallback { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .02em; color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); }
.nav-links > .btn { display: none; } /* só aparece no menu mobile */
.nav-links a {
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  color: var(--ink-soft);
  position: relative;
  padding: .4em 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--amber);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: inline-flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-cta .btn { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--line); border-radius: 999px;
  }
  .nav-toggle span { display: block; width: 20px; height: 1.8px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--off-white);
    padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); font-size: .82rem; }
  .nav-links a::after { display: none; }
  .nav-links > .btn { display: inline-flex; margin-top: 1.2rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero h1 { font-size: var(--step-5); font-weight: 400; margin-top: 1.4rem; }
.hero h1 em { color: var(--rose); font-weight: 500; }
.hero .lead { margin-top: 1.6rem; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; align-items: center; }
.hero__credentials {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.cred { display: flex; flex-direction: column; gap: .15rem; }
.cred b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); line-height: 1; }
.cred span { font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--ink-mute); }

.hero__figure { position: relative; }
.hero__photo {
  position: relative; border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; background: var(--sand-2);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero__badge {
  position: absolute; left: -18px; bottom: 34px; z-index: 3;
  background: var(--off-white); border-radius: 18px; padding: .9rem 1.15rem;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: .75rem;
  max-width: 230px;
}
.hero__badge .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--sage-wash); display: grid; place-items: center; flex: none; }
.hero__badge .dot svg { width: 20px; height: 20px; color: var(--sage-deep); }
.hero__badge p { font-size: .82rem; line-height: 1.35; color: var(--ink-soft); }
.hero__badge b { color: var(--ink); font-weight: 600; display: block; font-family: var(--sans); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__figure { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__photo { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
  .hero__credentials { justify-content: space-between; }
}

/* decorative arch behind hero */
.hero__deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__deco svg { position: absolute; }
.deco-arch-1 { top: -8%; right: -6%; width: 46%; opacity: .9; }
.deco-blob-1 { bottom: -12%; left: -10%; width: 34%; opacity: .8; }

/* ---------- Marquee band (hero) ---------- */
.marquee-band { background: var(--rose); overflow: hidden; position: relative; }
.marquee { display: flex; overflow: hidden; }
.marquee__track {
  display: flex; width: max-content; flex: 0 0 auto;
  animation: marquee-scroll 38s linear infinite;
}
.marquee-band:hover .marquee__track,
.marquee-band:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: 0 0 auto; padding-block: .95rem; }
.marquee__group > span {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .2em;
  font-size: .74rem; color: var(--ink); white-space: nowrap; padding-inline: 1.5rem;
  display: inline-flex; align-items: center;
}
.marquee__group .sep { padding-inline: 0; color: var(--clay); }
.marquee__group .sep svg { width: 11px; height: 11px; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--off-white); }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem clamp(1.5rem, 5vw, 3.5rem); padding-block: 1.4rem; }
.trust__item { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; color: var(--ink-soft); }
.trust__item svg { width: 18px; height: 18px; color: var(--sage-deep); }
.trust__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--rose); }
@media (max-width: 640px){ .trust__sep { display: none; } }

/* ---------- Section head ---------- */
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }

/* ---------- Conditions grid ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin-top: 3rem; }
.cond-card {
  background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.cond-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.cond-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.15rem; }
.cond-card__icon svg { width: 28px; height: 28px; }
.cond-card h3 { font-size: 1.24rem; }
.cond-card p { margin-top: .5rem; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
/* icon color themes */
.t-rose  { background: var(--rose-wash); color: var(--rose); }
.t-amber { background: #f8ecdd; color: var(--clay); }
.t-sage  { background: var(--sage-wash); color: var(--sage-deep); }
.t-blue  { background: #e6ecef; color: var(--blue); }
.t-coral { background: #fbe7e2; color: #d98a7c; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); aspect-ratio: 5/6; object-fit: cover; }
.split__media.arch img { border-radius: 220px 220px var(--radius-lg) var(--radius-lg); }
.split__frame { position: relative; }
.split__frame::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--rose);
  border-radius: var(--radius-lg); z-index: -1; opacity: .6;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 460px; margin-inline: auto; }
}

/* ---------- Clinic gallery ---------- */
.clinic-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.clinic-gallery img { width: 100%; object-fit: cover; box-shadow: var(--shadow-soft); display: block; }
.clinic-gallery .g-main { grid-column: 1 / -1; }
.clinic-gallery .g-main img { aspect-ratio: 16 / 10; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
.clinic-gallery .g-sub img { aspect-ratio: 1 / 1; border-radius: var(--radius); }
@media (max-width: 820px){ .clinic-gallery { max-width: 460px; margin-inline: auto; } }

/* ---------- List with markers ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: .9rem; margin-top: 1.6rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.checklist li b { color: var(--ink); font-weight: 600; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--sage-deep); margin-top: 2px; }

/* ---------- Locations ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 3rem; }
.loc-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--off-white);
  display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.loc-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.loc-card.is-primary { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber) inset; }
.loc-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--sand-2); }
.loc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.loc-card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.loc-tag { font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; color: var(--clay); }
.loc-card h3 { font-size: 1.3rem; }
.loc-card p { font-size: .92rem; color: var(--ink-soft); }
.loc-card .loc-foot { margin-top: auto; padding-top: .6rem; }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.grev-badge { display: inline-flex; align-items: center; gap: .9rem; background: var(--off-white); border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.2rem .7rem .8rem; box-shadow: var(--shadow-soft); }
.grev-badge .g { width: 38px; height: 38px; flex: none; }
.grev-badge .stars { display: flex; gap: 2px; color: var(--amber); }
.grev-badge .stars svg { width: 15px; height: 15px; }
.grev-badge b { font-family: var(--sans); font-size: .95rem; }
.grev-badge small { display: block; color: var(--ink-mute); font-size: .74rem; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; margin-top: 2.4rem; }
.review-card { background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.review-card .stars { display: flex; gap: 2px; color: var(--amber); }
.review-card .stars svg { width: 16px; height: 16px; }
.review-card p { font-size: .96rem; color: var(--ink); line-height: 1.55; }
.review-card footer { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.review-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rose-wash); color: var(--rose); display: grid; place-items: center; font-family: var(--serif); font-size: 1rem; flex: none; }
.review-card .who b { display: block; font-family: var(--sans); font-size: .88rem; }
.review-card .who span { font-size: .74rem; color: var(--ink-mute); }
.map-embed { margin-top: 2.4rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.15) contrast(.96); }

/* Widget de avaliações do Google (Trustindex) + fallback */
.reviews-widget { margin-top: 2.6rem; min-height: 220px; }
.reviews-widget iframe { max-width: 100%; }
.reviews-widget__fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; min-height: 220px; padding: 2.4rem 1.4rem; background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.reviews-widget__fallback .stars { display: inline-flex; gap: 3px; color: var(--amber); }
.reviews-widget__fallback .stars svg { width: 22px; height: 22px; }
.reviews-widget__fallback p { color: var(--ink-soft); font-size: .95rem; }
.reviews-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2rem; }
.reviews-cta .btn svg { margin-right: -.15rem; }
@media (max-width: 560px) { .reviews-cta .btn { width: 100%; justify-content: center; } }

/* ---------- Teasers (about + blog) ---------- */
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 820px){ .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.post-card { display: flex; flex-direction: column; background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.post-card__art { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.post-card__art svg { width: 100%; height: 100%; }
.post-card__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post-card__meta { font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; color: var(--clay); }
.post-card h3 { font-size: 1.28rem; line-height: 1.18; }
.post-card p { font-size: .9rem; color: var(--ink-soft); }
.post-card .textlink { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.35rem .25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; font-family: var(--serif); font-size: 1.18rem; color: var(--ink); }
.faq-q .pm { position: relative; width: 20px; height: 20px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--clay); transition: transform .35s var(--ease); }
.faq-q .pm::before { width: 100%; height: 1.6px; }
.faq-q .pm::after { width: 1.6px; height: 100%; }
.faq-item.is-open .pm::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq-a__inner { padding: 0 .25rem 1.5rem; color: var(--ink-soft); max-width: 68ch; }
.faq-a__inner p + p { margin-top: .8rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-soft); margin-top: 1rem; max-width: 46ch; }
.cta-band .btn--ghost { color: var(--on-dark); border-color: rgba(243,237,231,.3); }
.cta-band .btn--ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.cta-band__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band__deco { position: absolute; right: -4%; top: -30%; width: 40%; opacity: .18; z-index: 1; }
.cta-band .hero__cta { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { height: 56px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--on-dark-soft); font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--label); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--on-dark); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.footer-col a, .footer-col li { font-size: .92rem; color: var(--on-dark-soft); transition: color .25s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col .row { display: flex; gap: .6rem; align-items: flex-start; }
.footer-col .row svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--rose); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,237,231,.2); display: grid; place-items: center; }
.footer-social a:hover { background: rgba(243,237,231,.1); }
.footer-social svg { width: 18px; height: 18px; color: var(--on-dark); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(243,237,231,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .78rem; color: var(--on-dark-soft); }
.footer-bottom a { color: var(--on-dark); }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 80;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--sage-deep); color: #fff;
  padding: .85rem 1.25rem .85rem 1rem; border-radius: 999px;
  font-family: var(--label); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem;
  box-shadow: 0 16px 40px -14px rgba(47,42,40,.6);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float .wa-label { }
@media (max-width: 520px){ .wa-float .wa-label { display: none; } .wa-float { padding: .95rem; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 1.1rem; }
.page-hero h1 { font-size: var(--step-4); font-weight: 400; max-width: 16ch; }
.page-hero .lead { margin-top: 1.4rem; max-width: 54ch; }
.breadcrumb { font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--ink-mute); margin-bottom: 1.5rem; display: flex; gap: .5rem; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Article ---------- */
.article { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); }
.article__wrap { width: min(100% - 0px, var(--wrap-narrow)); margin-inline: auto; padding-inline: var(--gutter); }
.article__art { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--gutter); margin-bottom: clamp(2rem,4vw,3rem); }
.article__art .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21/9; box-shadow: var(--shadow-soft); }
.article__art .frame svg { width: 100%; height: 100%; }
.article__body { font-size: 1.08rem; line-height: 1.75; color: #423b37; }
.article__body > * + * { margin-top: 1.35rem; }
.article__body h2 { font-size: var(--step-2); margin-top: 2.6rem; }
.article__body h3 { font-size: 1.4rem; margin-top: 2rem; }
.article__body p { text-wrap: pretty; }
.article__body ul, .article__body ol { padding-left: 1.3rem; display: grid; gap: .6rem; }
.article__body li { padding-left: .3rem; }
.article__body strong { color: var(--ink); }
.article__body a { color: var(--clay); border-bottom: 1px solid var(--line); }
.article__body a:hover { border-color: var(--clay); }
.callout { background: var(--sage-wash); border-left: 3px solid var(--sage-deep); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.3rem 1.5rem; }
.callout p { margin: 0; color: #3a4741; }
.callout.warn { background: #f8ecdd; border-color: var(--clay); }
.callout.warn p { color: #5a4327; }
.article__meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--ink-mute); margin-top: 1.4rem; }
.article__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rose); }
.author-box { margin-top: 3rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); display: flex; gap: 1.3rem; align-items: center; background: var(--off-white); }
.author-box img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; }
.author-box b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.author-box p { font-size: .9rem; color: var(--ink-soft); margin-top: .2rem; }

/* ---------- Contact / agendamento ---------- */
.book-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem,5vw,3.5rem); align-items: start; }
@media (max-width: 860px){ .book-grid { grid-template-columns: 1fr; } }
.book-panel { background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow-soft); }
.book-panel.dark { background: var(--ink); color: var(--on-dark); border-color: transparent; }
.book-panel.dark h2, .book-panel.dark h3 { color: var(--on-dark); }
.book-panel.dark p { color: var(--on-dark-soft); }
.info-row { display: flex; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sage-wash); color: var(--sage-deep); display: grid; place-items: center; flex: none; }
.info-row .ico svg { width: 21px; height: 21px; }
.info-row b { display: block; font-family: var(--sans); font-size: .96rem; color: var(--ink); }
.info-row span { font-size: .9rem; color: var(--ink-soft); }
.book-panel.dark .info-row { border-color: rgba(243,237,231,.15); }
.book-panel.dark .info-row .ico { background: rgba(243,237,231,.1); color: var(--rose); }
.book-panel.dark .info-row b { color: var(--on-dark); }
.book-panel.dark .info-row span { color: var(--on-dark-soft); }
.steps { display: grid; gap: 1.4rem; margin-top: 1.5rem; counter-reset: step; }
.step { display: flex; gap: 1.1rem; }
.step .n { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--amber); color: var(--clay); display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; flex: none; }
.step b { display: block; color: var(--ink); font-family: var(--sans); }
.step p { font-size: .92rem; color: var(--ink-soft); margin-top: .15rem; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------- Misc ---------- */
.pill-note { display: inline-flex; align-items: center; gap: .5rem; background: var(--sage-wash); color: var(--sage-deep); font-family: var(--label); text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; padding: .5rem .9rem; border-radius: 999px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .8rem 1.2rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
