/* ==========================================================================
   INSTITUTO MAIA — Design System
   Paleta e tipografia herdadas da marca (tokens originais do Elementor).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Cores da marca (extraídas do site atual) */
  --nude:        #EAD5CD;
  --nude-soft:   #F5E9E4;
  --peach:       #EACCBF;
  --taupe:       #B49083;
  --terracotta:  #A8715D;
  --espresso:    #4A2F26;
  --espresso-dp: #33201A;
  --cream:       #F0EEE4;
  --green:       #1A5F5A;
  --green-soft:  #E3EDEB;

  /* Neutros */
  --ink:    #2E2320;
  --body:   #554944;
  --muted:  #857873;
  --line:   #E6DDD8;
  --white:  #FFFFFF;

  /* Tipografia */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Escala fluida */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-lg:   clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-xl:   clamp(1.3rem, 1.15rem + 0.7vw, 1.75rem);
  --fs-2xl:  clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-3xl:  clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
  --fs-4xl:  clamp(2.35rem, 1.7rem + 2.6vw, 3.85rem);

  /* Layout */
  --wrap: 1240px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(74, 47, 38, .06);
  --shadow-md: 0 12px 32px rgba(74, 47, 38, .10);
  --shadow-lg: 0 24px 60px rgba(74, 47, 38, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Utilitários ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sec-y); }
.section--cream { background: var(--cream); }
.section--nude { background: var(--nude-soft); }
.section--sage { background: var(--green-soft); }
.section--dark { background: var(--espresso); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .9rem;
}
.section--dark .eyebrow { color: var(--nude); }

.h-sec { font-size: var(--fs-2xl); }
.h-hero { font-size: var(--fs-4xl); }
.lede { font-size: var(--fs-lg); color: var(--body); max-width: 62ch; }
.section--dark .lede { color: rgba(255,255,255,.78); }

.sec-head { max-width: 68ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .lede { margin-top: 1rem; }
.sec-head--center .lede { margin-inline: auto; }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.9rem;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--espresso); box-shadow: var(--shadow-md); }

.btn--light { background: var(--nude); color: var(--espresso); }
.btn--light:hover { background: var(--white); }

.btn--ghost { border: 1.5px solid currentColor; color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--white); border-color: var(--espresso); }
.section--dark .btn--ghost, .hero .btn--ghost, .cta .btn--ghost { color: var(--nude); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta .btn--ghost:hover { background: var(--nude); color: var(--espresso); border-color: var(--nude); }

.btn--wa { background: linear-gradient(145deg, #2ce06e, #12b257); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.28); }
.btn--wa:hover { background: linear-gradient(145deg, #25d366, #0fa04f); box-shadow: 0 12px 26px rgba(37,211,102,.36); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--fs-sm); color: var(--terracotta);
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: .85rem; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
/* Véu para garantir leitura do menu sobre fotos claras */
.header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(51, 32, 26, .55), rgba(51, 32, 26, 0));
  transition: opacity .35s var(--ease);
}
.header.is-stuck::before { opacity: 0; }
.header.is-stuck,
.header--solid {
  background: rgba(74, 47, 38, .93);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
/* Páginas internas que não começam com hero escuro: cabeçalho sólido
   desde o carregamento, sem o véu em degradê. */
.header--solid::before { display: none; }
.header__inner {
  display: flex; align-items: center; gap: 2rem;
  height: var(--header-h);
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}
.header__logo { flex-shrink: 0; }
.header__logo img { height: 46px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: var(--fs-sm); font-weight: 500; color: rgba(255,255,255,.9);
  padding: .5rem 0; position: relative; white-space: nowrap;
  transition: color .2s var(--ease);
}
/* O CTA dentro do menu existe só para o mobile */
.nav__cta { display: none; }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--white); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: .1rem; height: 1.5px; width: 0;
  background: var(--nude); transition: width .3s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__caret { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.nav__item--has-sub[data-open="true"] .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + .6rem); left: 50%; transform: translate(-50%, -8px);
  min-width: 288px; padding: .5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
/* pontinha (seta) ligando o item ao dropdown */
.nav__sub::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--white);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.nav__item { position: relative; }
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub[data-open="true"] .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__sub a {
  display: flex; align-items: center; gap: .7rem; position: relative;
  padding: .7rem .85rem; border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 500; color: var(--body); white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
/* marcador circular à esquerda */
.nav__sub a::before {
  content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--nude); transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.nav__sub a:hover { background: var(--nude-soft); color: var(--espresso); padding-left: 1.05rem; }
.nav__sub a:hover::before { background: var(--terracotta); transform: scale(1.25); }

.header__cta { flex-shrink: 0; padding: .75rem 1.5rem; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); position: relative; transition: background-color .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--white); transition: transform .3s var(--ease); }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--espresso); color: var(--white); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: min(88vh, 780px); }
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) clamp(1.5rem, 5vw, 5rem) clamp(3.5rem, 7vw, 6rem);
  margin-left: auto; width: 100%; max-width: calc(var(--wrap) / 2);
}
.hero__title { color: var(--white); font-size: var(--fs-4xl); text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--nude); }
.hero__text { margin-top: 1.4rem; font-size: var(--fs-lg); color: rgba(255,255,255,.8); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.hero__media { position: relative; overflow: hidden; background: var(--taupe); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  display: flex; align-items: center; gap: .85rem;
  padding: .75rem 1.35rem .75rem .85rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  color: var(--espresso); box-shadow: var(--shadow-md);
}
/* Marca provisória até chegar o logo oficial da Rede D’Or */
.hero__badge__mark {
  display: grid; place-items: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--nude-soft); color: var(--terracotta);
}
.hero__badge__mark svg { width: 20px; height: 20px; }
.hero__badge__txt {
  display: flex; flex-direction: column; line-height: 1.25;
  font-size: var(--fs-xs); color: var(--muted);
}
.hero__badge__txt strong {
  font-family: var(--font-display); font-size: var(--fs-sm);
  font-weight: 600; color: var(--espresso); letter-spacing: -.01em;
}
/* Logo oficial (Rede Star) — especificidade extra p/ vencer .hero__media img */
.hero__badge .hero__badge__logo { height: 30px; width: auto; max-width: none; flex-shrink: 0; }
.hero__badge__logo + .hero__badge__txt { padding-left: .85rem; border-left: 1px solid var(--line); }

/* ---------- 7. Faixa de credibilidade ---------- */
.trust { background: var(--cream); padding-block: clamp(2rem, 4vw, 3rem); }
.trust__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 3vw, 2.8rem); text-align: center; }
.trust__grid > li { flex: 1 1 150px; max-width: 220px; }
/* Números pedem uma fonte com mais peso: Playfair fica frágil aqui.
   Inter 700, mais compacto e apertado, dá presença sem competir com os títulos. */
.trust__n {
  font-family: var(--font-body); font-weight: 700;
  font-size: var(--fs-2xl); line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: var(--terracotta);
}
.trust__l { margin-top: .5rem; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 8. Cards genéricos ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.2rem;
  border-radius: 16px; background: var(--nude-soft); color: var(--terracotta);
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: var(--fs-xl); margin-bottom: .7rem; }
.card__text { font-size: var(--fs-sm); color: var(--muted); }
.card__list { margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.card__list li {
  font-size: var(--fs-xs); padding: .35rem .8rem; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--body);
}
.card__foot { margin-top: 1.5rem; }

/* ---------- 9. Fundador ---------- */
.founder__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.founder__media { position: relative; }
.founder__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.founder__crm { font-size: var(--fs-sm); color: var(--terracotta); font-weight: 600; margin-top: .5rem; }
.founder__quote {
  margin: 1.8rem 0 0; padding-left: 1.4rem; border-left: 3px solid var(--nude);
  font-family: var(--font-display); font-size: var(--fs-lg); font-style: italic; color: var(--ink);
}

/* ---------- 9b. Cabeçalho de página interna ---------- */
.pagehero {
  padding: calc(var(--header-h) + clamp(3rem, 6vw, 5rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--espresso); color: var(--white); text-align: center;
}
.pagehero__title { color: var(--white); font-size: var(--fs-3xl); }
.pagehero__text { margin: 1.1rem auto 0; max-width: 56ch; font-size: var(--fs-lg); color: rgba(255,255,255,.8); }

/* ---------- 9c. Página individual da médica ---------- */
.docpage { padding: calc(var(--header-h) + clamp(2rem, 4vw, 3.5rem)) 0 var(--sec-y); }
.link-arrow-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--fs-sm); color: var(--terracotta);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem); transition: gap .25s var(--ease);
}
.link-arrow-back::before { content: "←"; transition: transform .25s var(--ease); }
.link-arrow-back:hover { gap: .85rem; }
.docpage__grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.docpage__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.docpage__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.docpage__name { font-size: var(--fs-3xl); margin-top: .3rem; }
.docpage__crm { font-size: var(--fs-sm); color: var(--terracotta); font-weight: 600; margin-top: .6rem; }
.docpage__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.docpage__tag {
  font-size: var(--fs-xs); font-weight: 600; padding: .4rem .9rem;
  border-radius: var(--radius-pill); background: var(--nude-soft); color: var(--terracotta);
}
.docpage__bio { margin-top: 1.8rem; font-size: var(--fs-lg); color: var(--body); }
.docpage__bio p { margin-bottom: 1.1em; }
.docpage__box {
  margin-top: 2rem; padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--cream); border-radius: var(--radius-lg);
}
.docpage__box-title { font-size: var(--fs-xl); margin-bottom: 1rem; }
.docpage__list { display: flex; flex-direction: column; gap: .7rem; }
.docpage__list li {
  position: relative; padding-left: 1.6rem; font-size: var(--fs-sm); color: var(--body);
}
.docpage__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--terracotta);
}
.docpage__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
/* Botão de Instagram com o gradiente da marca */
.btn--ig {
  color: var(--white);
  background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
}
.btn--ig:hover { filter: brightness(1.06); box-shadow: var(--shadow-md); }

@media (max-width: 860px) {
  .docpage__grid { grid-template-columns: 1fr; }
  .docpage__media { position: static; max-width: 380px; }
  .docpage__cta { flex-direction: column; }
  .docpage__cta .btn { width: 100%; }
}

/* ---------- 10. Equipe ---------- */
.doc { text-align: left; }
.doc__photo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 1/1; background: var(--nude-soft); margin-bottom: 1.1rem;
}
.doc__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.doc:hover .doc__photo img { transform: scale(1.05); }
.doc__name { font-size: var(--fs-lg); margin-bottom: .25rem; }
.doc__crm { font-size: var(--fs-xs); color: var(--terracotta); font-weight: 600; letter-spacing: .02em; }
.doc__spec { font-size: var(--fs-sm); color: var(--muted); margin-top: .45rem; }

/* ---------- 11. Unidades ---------- */
.unit { display: flex; flex-direction: column; height: 100%; }
.unit__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11; margin-bottom: 1.2rem; background: var(--nude-soft); }
.unit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.unit:hover .unit__img img { transform: scale(1.04); }
.unit__name { font-size: var(--fs-xl); margin-bottom: .6rem; }
.unit__addr { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1rem; }
.unit__tels { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.unit__tel { font-size: var(--fs-xs); font-weight: 600; color: var(--espresso); background: var(--cream); padding: .4rem .85rem; border-radius: var(--radius-pill); transition: background-color .2s; }
.unit__tel:hover { background: var(--nude); }

/* ---------- 12. Blog ---------- */
.post { display: flex; flex-direction: column; height: 100%; }
.post__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 1.1rem; background: var(--nude-soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__cat { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); }
.post__title { font-size: var(--fs-lg); margin: .55rem 0 .6rem; }
.post__excerpt { font-size: var(--fs-sm); color: var(--muted); }
.post__date { margin-top: auto; padding-top: 1rem; font-size: var(--fs-xs); color: var(--muted); }

/* ---------- 13. Imprensa ---------- */
/* Cada veículo ganha um card branco de mesma altura: como os logos têm
   proporções e cores muito diferentes, o card é o que os iguala. */
/* auto-fit: acomoda qualquer quantidade de veículos sem sobrar coluna vazia */
.press {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(.9rem, 1.8vw, 1.5rem);
}
.press__item {
  display: grid; place-items: center;
  min-height: clamp(96px, 11vw, 128px);
  padding: clamp(1.1rem, 2.2vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.press__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.section--dark .press__item { border-color: transparent; box-shadow: 0 6px 20px rgba(0,0,0,.16); }
.press__item img {
  max-height: clamp(34px, 4vw, 48px);
  max-width: 100%; width: auto; object-fit: contain;
}
/* O logo da Rádio Brasil é vertical — precisa de mais altura para
   ficar com o mesmo peso visual dos horizontais. */
.press__item--tall img { max-height: clamp(52px, 6vw, 72px); }

/* Itens clicáveis da imprensa (abrem a matéria em popup) */
.press__item--btn { position: relative; cursor: pointer; font: inherit; text-align: center; }
/* Card escuro para logos em versão branca (ex.: Jovem Pan) */
.press__item--dark { background: var(--espresso-dp); border-color: rgba(255,255,255,.14); }
.press__item--dark:hover { background: #2a1a15; }
.press__item--dark img { max-height: clamp(30px, 3.6vw, 44px); }
.press__item--dark .press__play { background: rgba(255,255,255,.16); color: #fff; }
.press__play {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--nude-soft); color: var(--terracotta);
  font-size: 1.1rem; line-height: 1; font-weight: 600;
  opacity: 0; transform: scale(.8); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.press__play--video { background: var(--terracotta); color: #fff; }
.press__play svg { width: 13px; height: 13px; }
.press__item--btn:hover .press__play,
.press__item--btn:focus-visible .press__play { opacity: 1; transform: scale(1); }

@media (max-width: 560px) { .press { grid-template-columns: repeat(2, 1fr); } }

/* Popup das matérias de imprensa */
.press-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.press-lb[hidden] { display: none; }
.press-lb__backdrop { position: absolute; inset: 0; background: rgba(20,12,9,.9); backdrop-filter: blur(4px); animation: igFade .25s var(--ease); }
.press-lb__box {
  position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center;
  animation: igPop .3s var(--ease);
}
.press-lb__holder { display: flex; }
.press-lb__holder img {
  display: block; max-width: min(560px, 90vw); max-height: 78vh; width: auto; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.press-lb--video .press-lb__holder { width: min(960px, 92vw); aspect-ratio: 16/9; background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.press-lb--video .press-lb__holder iframe { width: 100%; height: 100%; border: 0; display: block; }
.press-lb__cap { margin-top: .9rem; color: rgba(255,255,255,.9); font-size: var(--fs-sm); text-align: center; max-width: 40ch; }
.press-lb__read { margin-top: 1rem; }
.press-lb__read[hidden] { display: none; }
.press-lb__close {
  position: absolute; top: -16px; right: -16px; z-index: 2; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--espresso); box-shadow: var(--shadow-md);
}
.press-lb__close svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .press-lb__close { top: 6px; right: 6px; } }

/* Comunicado importante (aviso de segurança) */
.aviso { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(1rem, 4vw, 2.5rem); }
.aviso[hidden] { display: none; }
.aviso__backdrop { position: absolute; inset: 0; background: rgba(20,12,9,.72); backdrop-filter: blur(4px); animation: igFade .25s var(--ease); }
.aviso__card {
  position: relative; z-index: 1; width: min(500px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem); animation: igPop .3s var(--ease);
}
.aviso__close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--espresso);
}
.aviso__close svg { width: 18px; height: 18px; }
.aviso__tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--terracotta); background: var(--nude-soft); padding: .35rem .8rem; border-radius: var(--radius-pill);
}
.aviso__tit { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--espresso); line-height: 1.2; margin: .9rem 0 .6rem; }
.aviso__txt p { font-size: var(--fs-sm); color: var(--body); margin-bottom: .6rem; }
.aviso__canais { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.aviso__canais-tit { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.aviso__wa {
  display: flex; align-items: center; gap: .5rem; justify-content: center;
  background: #25D366; color: #fff; font-weight: 600; font-size: var(--fs-sm);
  padding: .7rem 1rem; border-radius: var(--radius-pill); margin-bottom: .8rem;
}
.aviso__wa svg { width: 18px; height: 18px; }
.aviso__tels { list-style: none; display: grid; gap: .4rem; }
.aviso__tels li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: var(--fs-sm); }
.aviso__tels span { color: var(--muted); }
.aviso__tels a { color: var(--espresso); font-weight: 600; }
.aviso__ok { width: 100%; margin-top: 1.2rem; }

/* ---------- Avaliações (depoimentos) ---------- */
.reviews {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.8rem); margin-top: clamp(2rem, 4vw, 3rem);
}
.review {
  margin: 0; display: flex; flex-direction: column; gap: 1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 20px; height: 20px; fill: #F5A623; }
.review__text {
  margin: 0; font-size: var(--fs-base); line-height: 1.6; color: var(--body);
  quotes: "“" "”"; flex: 1;
}
.review__text::before { content: open-quote; color: var(--terracotta); font-family: var(--font-display); font-size: 1.4em; line-height: 0; vertical-align: -.2em; margin-right: .1em; }
.review__by { display: flex; align-items: center; gap: .8rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.review__avatar {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; background: var(--nude-soft); color: var(--terracotta);
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}
.review__by strong { display: block; color: var(--espresso); font-size: var(--fs-sm); }
.review__role { display: block; font-size: var(--fs-xs); color: var(--muted); }
.reviews__cta { text-align: center; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }
/* Selo de nota do Google */
.reviews__badge {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.2rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: .55rem 1.1rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.reviews__badge:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.reviews__badge-g { display: inline-flex; }
.reviews__badge-g svg { width: 18px; height: 18px; }
.reviews__badge-num { font-weight: 700; color: var(--ink); font-size: var(--fs-base); }
.reviews__badge-stars { color: #F5A623; letter-spacing: 1px; font-size: var(--fs-sm); }
.reviews__badge-count { color: var(--muted); font-size: var(--fs-sm); }
/* Cartão com origem no Google */
.review--google { position: relative; }
.review__g { position: absolute; top: clamp(1.4rem, 3vw, 2rem); right: clamp(1.4rem, 3vw, 2rem); }
.review__g svg { width: 20px; height: 20px; display: block; }
@media (max-width: 520px) { .reviews__badge { flex-wrap: wrap; justify-content: center; row-gap: .2rem; } }

/* ---------- Newsletter CTA (estilo banda) ---------- */
.news-cta { background: var(--green); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); }
.news-cta__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.news-cta__title { font-family: var(--font-display); font-size: var(--fs-3xl); line-height: 1.12; color: #fff; }
.news-cta__lede { margin-top: 1rem; font-size: var(--fs-base); color: rgba(255,255,255,.78); max-width: 46ch; }
.news-cta .news-cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.4rem; align-items: end; min-width: 0; }
.news-cta .news-cta__btn,
.news-cta .newsletter__msg,
.news-cta__consent { grid-column: 1 / -1; }
.news-cta__field { display: block; margin: 0; }
.news-cta__field > span { display: block; font-size: var(--fs-sm); color: rgba(255,255,255,.72); margin-bottom: .5rem; }
.news-cta__field input {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.3);
  color: #fff; font: inherit; font-size: var(--fs-lg); padding: .5rem 0; transition: border-color .25s var(--ease);
}
.news-cta__field input::placeholder { color: rgba(255,255,255,.4); }
.news-cta__field input:focus { outline: none; border-bottom-color: var(--nude); }
.news-cta__btn { margin-top: .2rem; justify-self: start; }
.news-cta__consent { margin-top: 1rem; font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.news-cta__consent a { color: rgba(255,255,255,.85); text-decoration: underline; }
.news-cta .newsletter__msg { margin-top: .8rem; }
.news-cta .newsletter__msg.is-ok { color: #8FD3A6; }
.news-cta .newsletter__msg.is-error { color: #F0A88C; }
@media (max-width: 820px) {
  .news-cta__grid { grid-template-columns: 1fr; gap: clamp(1.6rem, 5vw, 2.4rem); }
  .news-cta .news-cta__form { grid-template-columns: 1fr; }
  .news-cta__btn { width: 100%; justify-self: stretch; }
}

/* ---------- 13b. Blog: destaque, filtros e artigo ---------- */
.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--cream); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.blog-featured:hover { box-shadow: var(--shadow-md); }
.blog-featured__img { aspect-ratio: 4/3; overflow: hidden; height: 100%; }
.blog-featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.blog-featured:hover .blog-featured__img img { transform: scale(1.04); }
.blog-featured__body { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem); }
.blog-featured__title { font-size: var(--fs-xl); margin: .5rem 0 .8rem; }
.blog-featured__excerpt { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.3rem; }

/* Chips: rolagem horizontal no mobile em vez de quebrar em várias linhas */
.chips {
  display: flex; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.1rem; border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 500; color: var(--body);
  background: var(--cream); border: 1px solid transparent;
  white-space: nowrap; flex-shrink: 0;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip span { font-size: var(--fs-xs); opacity: .6; }
.chip:hover { border-color: var(--nude); }
.chip.is-active { background: var(--espresso); color: var(--white); }
.chip.is-active span { opacity: .7; }

.blog-empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* Banner de newsletter em destaque no topo do blog (fundo claro) */
.nl-banner {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--nude-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.nl-banner__text strong { display: block; font-family: var(--font-display); font-size: var(--fs-xl); color: var(--ink); }
.nl-banner__text span { font-size: var(--fs-sm); color: var(--muted); }
.nl-banner .newsletter__form { min-width: min(430px, 100%); }
.nl-banner .newsletter__input { background: #fff; border-color: var(--line); color: var(--ink); }
.nl-banner .newsletter__input::placeholder { color: var(--muted); }
.nl-banner .newsletter__msg.is-ok { color: var(--green); }
.nl-banner .newsletter__msg.is-error { color: #b5502e; }
@media (max-width: 760px) {
  .nl-banner { grid-template-columns: 1fr; }
  .nl-banner .newsletter__form { min-width: 100%; }
  .nl-banner .newsletter__input { flex-basis: 100%; }
  .nl-banner .newsletter__btn { width: 100%; }
}

/* Artigo */
.artigo { padding-top: calc(var(--header-h) + clamp(1.5rem, 3vw, 2.5rem)); }
.artigo__head { margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.artigo__title { font-size: var(--fs-3xl); margin: .8rem 0 .7rem; }
.artigo__meta { font-size: var(--fs-sm); color: var(--muted); }
.artigo__cover {
  max-width: 1000px; margin: clamp(1rem, 3vw, 2rem) auto clamp(1.5rem, 4vw, 2.5rem);
  padding-inline: var(--gutter);
}
.artigo__cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 16/9; object-fit: cover; }

.prose__tags, .prose__tag { display: inline-flex; }
.prose__tags { flex-wrap: wrap; gap: .5rem; }
.prose__tag {
  font-size: var(--fs-xs); font-weight: 600; padding: .35rem .8rem;
  border-radius: var(--radius-pill); background: var(--nude-soft); color: var(--terracotta);
}

/* Tipografia de leitura */
.prose { font-size: var(--fs-lg); color: var(--body); line-height: 1.8; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2.2em; margin-bottom: .2em; }
.prose h3 { font-size: var(--fs-lg); color: var(--ink); margin-top: 1.8em; margin-bottom: .2em; font-family: var(--font-display); }
.prose p { margin: 0; }
.prose a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--espresso); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: .5em; }
.prose li::marker { color: var(--terracotta); }
.prose blockquote {
  margin: 1.6em 0; padding: .3em 0 .3em 1.4rem; border-left: 3px solid var(--nude);
  font-family: var(--font-display); font-style: italic; font-size: var(--fs-xl); color: var(--ink);
}
.prose__fig { margin: 1.8em 0; }
.prose__fig img { width: 100%; border-radius: var(--radius); }
.prose__fig figcaption { margin-top: .6rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }

.artigo__inlinecta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 1.8rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.6rem, 3vw, 2.1rem);
  background: var(--nude-soft); border-radius: var(--radius-lg);
}
.artigo__inlinecta > div { flex: 1 1 300px; }
.artigo__inlinecta .btn { flex: 0 0 auto; }
.artigo__inlinecta strong { display: block; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--ink); }
.artigo__inlinecta span { font-size: var(--fs-sm); color: var(--body); }

@media (max-width: 760px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img { aspect-ratio: 16/10; }
  .blog-featured__body { padding: 1.4rem 1.3rem 1.6rem; }
  .artigo__inlinecta { flex-direction: column; align-items: flex-start; }
  .artigo__inlinecta .btn { width: 100%; }
}
@media (max-width: 560px) {
  /* Chips viram uma faixa que rola de lado, sem empilhar em 3 linhas */
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }
  .blog-featured__title { font-size: var(--fs-lg); }
}

/* ---------- 13c. Especialidades ---------- */
.espec-hero {
  padding: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--nude-soft), #FBF4F1);
}
.espec-hero__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.espec-hero__title { font-size: var(--fs-3xl); margin: .6rem 0 1rem; }
.espec-hero__intro { font-size: var(--fs-lg); color: var(--body); max-width: 48ch; }
.espec-hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.espec-hero .link-arrow-back { margin-bottom: 1rem; }

.espec-lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); max-width: 900px; margin-inline: auto; }
.espec-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.2rem); }
.espec-list__title { font-size: var(--fs-lg); margin-bottom: 1.1rem; }
.espec-list__items { display: flex; flex-direction: column; gap: .7rem; }
.espec-list__items li { position: relative; padding-left: 1.7rem; font-size: var(--fs-sm); color: var(--body); }
.espec-list__items li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--terracotta);
}

.espec-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.5rem); max-width: 720px; margin-inline: auto; }
.espec-nav__card {
  display: flex; align-items: center; gap: 1rem;
  padding: clamp(1.2rem, 2.5vw, 1.6rem); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.espec-nav__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.espec-nav__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--nude-soft); color: var(--terracotta); flex-shrink: 0; }
.espec-nav__icon svg { width: 24px; height: 24px; }
.espec-nav__name { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--ink); }

@media (max-width: 860px) {
  .espec-hero__grid { grid-template-columns: 1fr; }
  .espec-hero__media { order: -1; }
  .espec-hero__media img { aspect-ratio: 16/10; }
}
@media (max-width: 620px) {
  .espec-lists, .espec-nav { grid-template-columns: 1fr; }
}

/* ---------- 13d. Instagram ---------- */
.insta__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}
.insta__profile { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.4rem); }
.insta__ring {
  flex-shrink: 0; display: grid; place-items: center; padding: 3px; border-radius: 50%;
  background: linear-gradient(45deg, #F09433, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888);
}
.insta__avatar { width: clamp(60px, 8vw, 76px); height: clamp(60px, 8vw, 76px); border-radius: 50%; border: 3px solid var(--white); object-fit: cover; display: block; }
.insta__handle { font-size: var(--fs-xl); margin: .1rem 0 .3rem; }
.insta__stats { font-size: var(--fs-sm); color: var(--muted); }
.insta__stats strong { color: var(--ink); font-weight: 600; }
.insta__follow { flex-shrink: 0; }
.insta__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.6rem, 1.2vw, .9rem); }
.insta__tile {
  position: relative; display: block; aspect-ratio: 4/5; overflow: hidden;
  border-radius: var(--radius); background: var(--nude-soft);
}
.insta__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insta__tile:hover img { transform: scale(1.07); }
.insta__ov {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; opacity: 0; background: rgba(74, 47, 38, .45);
  transition: opacity .3s var(--ease);
}
.insta__tile:hover .insta__ov { opacity: 1; }
.insta__ov svg { width: 30px; height: 30px; }

.insta__grid { grid-template-columns: repeat(5, 1fr); }
.insta__tile { border: 0; padding: 0; cursor: pointer; width: 100%; }
@media (max-width: 900px) { .insta__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .insta__grid { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox do Instagram — abre a publicação dentro do site */
.ig-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(1rem, 4vw, 2.5rem); }
.ig-lb[hidden] { display: none; }
.ig-lb__backdrop { position: absolute; inset: 0; background: rgba(33, 20, 16, .82); backdrop-filter: blur(4px); animation: igFade .25s var(--ease); }
.ig-lb__dialog {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); animation: igPop .3s var(--ease);
}
@keyframes igFade { from { opacity: 0; } }
@keyframes igPop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.ig-lb__img { display: block; width: 100%; max-height: 68vh; object-fit: contain; background: var(--nude-soft); }
.ig-lb__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; }
.ig-lb__brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.ig-lb__brand svg { width: 20px; height: 20px; color: var(--terracotta); }
.ig-lb__link { padding: .7rem 1.3rem; }
.ig-lb__close {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(33,20,16,.55); color: #fff; transition: background-color .2s;
}
.ig-lb__close:hover { background: rgba(33,20,16,.8); }
.ig-lb__close svg { width: 20px; height: 20px; }
.ig-lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--espresso); box-shadow: var(--shadow-md);
  transition: background-color .2s, transform .2s;
}
.ig-lb__nav:hover { background: #fff; }
.ig-lb__nav svg { width: 22px; height: 22px; }
.ig-lb__nav--prev { left: -22px; }
.ig-lb__nav--next { right: -22px; }
@media (max-width: 560px) {
  .ig-lb__nav--prev { left: .5rem; }
  .ig-lb__nav--next { right: .5rem; }
  .ig-lb__foot { flex-direction: column; align-items: stretch; }
  .ig-lb__link { text-align: center; }
}

/* ---------- 13e. Serviços ---------- */
.serv-badge {
  display: inline-block; margin-top: 1.2rem; padding: .55rem 1.1rem;
  border-radius: var(--radius-pill); background: var(--nude-soft);
  color: var(--terracotta); font-size: var(--fs-sm); font-weight: 600;
}
.serv-info { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.serv-info li { font-size: var(--fs-sm); color: var(--body); }
.serv-info strong {
  display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .3rem;
}

/* ---------- 13f. Seção humana (botânica, bordas onduladas) ---------- */
.humano {
  position: relative; background: var(--green-soft);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  overflow: hidden;
}
.humano__wave { position: absolute; left: 0; width: 100%; height: clamp(38px, 6vw, 78px); color: var(--green-soft); line-height: 0; pointer-events: none; }
.humano__wave svg { display: block; width: 100%; height: 100%; }
.humano__wave--top { top: 0; transform: translateY(-99%); }
.humano__wave--bottom { bottom: 0; transform: translateY(99%) scaleY(-1); }
.humano__inner { position: relative; z-index: 2; max-width: 620px; }
.humano__title { font-size: var(--fs-3xl); color: var(--green); }
.humano__blocks { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.6rem; }
.humano__blocks h3 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.humano__blocks p { font-size: var(--fs-sm); color: #4a5c52; max-width: 52ch; }
/* flor decorativa em textura, tom sobre tom */
.humano__flower {
  position: absolute; z-index: 1; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(52%, 640px); height: auto; color: #9dc9b6; opacity: .55; pointer-events: none;
}
@media (max-width: 860px) {
  .humano__flower { right: -22%; width: 78%; opacity: .3; }
  .humano__inner { max-width: none; }
}

/* ---------- 13g. Unidades: botão "Como chegar" + popup ---------- */
.unit__how {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; color: var(--terracotta);
  cursor: pointer; transition: gap .2s var(--ease), color .2s var(--ease);
}
.unit__how svg { width: 17px; height: 17px; }
.unit__how:hover { gap: .7rem; color: var(--espresso); }

.mapa-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(1rem, 4vw, 2.5rem); }
.mapa-lb[hidden] { display: none; }
.mapa-lb__backdrop { position: absolute; inset: 0; background: rgba(33,20,16,.82); backdrop-filter: blur(4px); animation: igFade .25s var(--ease); }
.mapa-lb__dialog {
  position: relative; z-index: 1; width: min(460px, 100%);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem); animation: igPop .3s var(--ease);
}
.mapa-lb__name { font-size: var(--fs-2xl); margin: .3rem 0 .8rem; }
.mapa-lb__addr { font-size: var(--fs-sm); color: var(--ink); font-weight: 600; margin-bottom: 1rem; }
.mapa-lb__dir { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.6rem; line-height: 1.7; }
.mapa-lb__maps { width: 100%; }
.mapa-lb__close {
  position: absolute; top: .8rem; right: .8rem; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--cream); color: var(--espresso);
  transition: background-color .2s;
}
.mapa-lb__close:hover { background: var(--nude); }
.mapa-lb__close svg { width: 18px; height: 18px; }

/* ---------- 13h. Podcast (vídeos) ---------- */
.vid { display: flex; flex-direction: column; text-align: left; width: 100%; cursor: pointer; }
.vid__thumb {
  position: relative; display: block; aspect-ratio: 16/9; overflow: hidden;
  border-radius: var(--radius); background: var(--nude-soft); box-shadow: var(--shadow-sm);
}
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vid:hover .vid__thumb img { transform: scale(1.05); }
.vid__play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--terracotta);
  box-shadow: var(--shadow-md); transition: transform .25s var(--ease), background-color .25s;
}
.vid__play svg { width: 24px; height: 24px; margin-left: 2px; }
.vid:hover .vid__play { transform: scale(1.1); background: #fff; }
.vid__title { margin-top: .9rem; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--ink); line-height: 1.25; }
.vid:hover .vid__title { color: var(--terracotta); }

/* player em popup */
.vid-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.vid-lb[hidden] { display: none; }
.vid-lb__backdrop { position: absolute; inset: 0; background: rgba(20,12,9,.9); backdrop-filter: blur(4px); animation: igFade .25s var(--ease); }
.vid-lb__frame {
  position: relative; z-index: 1; width: min(960px, 100%); aspect-ratio: 16/9;
  background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  animation: igPop .3s var(--ease);
}
.vid-lb__holder { width: 100%; height: 100%; }
.vid-lb__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid-lb__close {
  position: absolute; top: -14px; right: -14px; z-index: 2; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--espresso); box-shadow: var(--shadow-md);
}
.vid-lb__close svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .vid-lb__close { top: 8px; right: 8px; } }

/* ---------- 14. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item {
  border-radius: var(--radius);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item:not(:last-child) { border-bottom: 1px solid var(--line); }
/* Estado ativo: a pergunta aberta vira um card branco elevado e destacado */
.faq__item[data-open="true"] {
  background: var(--white);
  border-bottom-color: transparent;
  box-shadow: var(--shadow-md);
}
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%;
  padding: 1.4rem clamp(1rem, 2vw, 1.5rem); text-align: left;
  font-family: var(--font-display); font-size: var(--fs-lg); color: var(--ink);
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--terracotta); }
.faq__item[data-open="true"] .faq__q { color: var(--terracotta); }
.faq__q:focus-visible { outline: 2px solid var(--terracotta); outline-offset: -2px; border-radius: var(--radius); }

/* Botão +/− em círculo, que preenche de cor quando ativo */
.faq__sign {
  flex-shrink: 0; position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); transition: background-color .3s var(--ease);
}
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px;
  background: var(--terracotta); transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[data-open="true"] .faq__sign { background: var(--terracotta); }
.faq__item[data-open="true"] .faq__sign::before,
.faq__item[data-open="true"] .faq__sign::after { background: var(--white); }
.faq__item[data-open="true"] .faq__sign::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 clamp(1rem, 2vw, 1.5rem) 1.5rem; font-size: var(--fs-sm); color: var(--muted); max-width: 68ch; }

/* ---------- 15. CTA final ---------- */
.cta { background: var(--espresso); color: var(--white); text-align: center; }
.cta h2 { color: var(--white); font-size: var(--fs-3xl); }
.cta p { margin: 1.2rem auto 2.2rem; max-width: 54ch; color: rgba(255,255,255,.8); font-size: var(--fs-lg); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* ---------- 15b. Newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.newsletter__title { color: var(--white); font-size: var(--fs-xl); }
.newsletter__sub { margin-top: .4rem; font-size: var(--fs-sm); color: rgba(255,255,255,.7); max-width: 46ch; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: .6rem; position: relative; min-width: min(420px, 100%); }
.newsletter__input {
  flex: 1 1 220px; min-width: 0;
  padding: .9rem 1.2rem; font: inherit; font-size: var(--fs-sm);
  color: var(--white); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-pill);
  transition: border-color .2s, background-color .2s;
}
.newsletter__input::placeholder { color: rgba(255,255,255,.5); }
.newsletter__input:focus { outline: none; border-color: var(--nude); background: rgba(255,255,255,.12); }
.newsletter__btn { flex-shrink: 0; padding: .9rem 1.7rem; }
.newsletter__msg {
  flex-basis: 100%; margin: .2rem 0 0; font-size: var(--fs-xs); min-height: 1.1em;
}
.newsletter__msg.is-ok { color: #7BDCB5; }
.newsletter__msg.is-error { color: #FFBC7D; }

/* Bloco de newsletter em destaque (fundo claro, ex.: blog) */
.newsletter-block { background: var(--espresso); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.newsletter-block .newsletter { grid-template-columns: 1fr; justify-items: center; text-align: center; background: none; border: 0; padding: 0; margin: 0; }
.newsletter-block .newsletter__sub { margin-inline: auto; }
.newsletter-block .newsletter__form { margin-top: 1.5rem; justify-content: center; min-width: min(480px, 100%); }
.newsletter-block .newsletter__msg { text-align: center; }

@media (max-width: 760px) {
  .newsletter { grid-template-columns: 1fr; }
  .newsletter__form { min-width: 100%; }
  .newsletter__input { flex-basis: 100%; }
  .newsletter__btn { width: 100%; }
}

/* ---------- 16. Footer ---------- */
.footer { background: var(--espresso-dp); color: rgba(255,255,255,.72); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: var(--fs-sm); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 3.5rem); }
.footer__logo img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--nude); }
.footer__list li + li { margin-top: .6rem; }
.footer__unit + .footer__unit { margin-top: 1.2rem; }
.footer__unit strong { display: block; color: var(--white); font-weight: 600; margin-bottom: .2rem; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background-color .25s, transform .25s; }
.footer__social a:hover { background: var(--terracotta); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(255,255,255,.5);
}

/* ---------- 16b. Barra fixa de agendamento (mobile) ---------- */
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 -4px 22px rgba(74, 47, 38, .12);
}
.book-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%;
  padding: 1rem 1.5rem; border-radius: var(--radius-pill);
  background: var(--terracotta); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base);
  box-shadow: 0 8px 20px rgba(168, 113, 93, .35);
  transition: background-color .25s var(--ease), transform .15s var(--ease);
}
.book-bar__btn:active { transform: scale(.985); }
.book-bar__btn svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 860px) {
  .book-bar { display: block; }
  body.has-book-bar { padding-bottom: 80px; }         /* espaço p/ a barra não cobrir o rodapé */
  .has-book-bar .wa-float { bottom: 92px; }            /* WhatsApp sobe pra não colar na barra */
}

/* ---------- 17. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 90;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- 18. Animação de entrada ----------
   Só esconde o conteúdo se o JS estiver ativo (a classe .js é adicionada
   no <head>). Sem JS, a página continua 100% legível. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- 19. Responsivo ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  /* A imagem sobe para o topo, então o espaço do header fixo não é mais
     necessário aqui — só o respiro normal da seção. */
  .hero__content {
    max-width: var(--wrap); margin-inline: auto;
    padding: clamp(2.5rem, 7vw, 4rem) var(--gutter) clamp(3rem, 8vw, 4.5rem);
  }
  .hero__media { aspect-ratio: 16/10; order: -1; }
  .hero__media img { min-height: 100%; }
  .founder__grid { grid-template-columns: 1fr; }
  .founder__media img { aspect-ratio: 16/11; max-width: 520px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .burger { display: flex; }
  .header__cta { display: none; }
  /* Liquid glass: header translúcido com blur. Como o menu usa height
     (e não bottom), ele preenche a tela mesmo com o header criando
     containing block — então dá pra manter o vidro. */
  .header,
  .header.is-stuck,
  .header--solid {
    background: rgba(38, 23, 17, .74);
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
  }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    margin: 0; z-index: 90;
    background: linear-gradient(180deg, rgba(40, 24, 18, .80), rgba(30, 18, 13, .90));
    backdrop-filter: blur(42px) saturate(185%);
    -webkit-backdrop-filter: blur(42px) saturate(185%);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    padding: 1.4rem var(--gutter) 3rem;
    overflow-y: auto;
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav[data-open="true"] { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__link {
    padding: 1.05rem .9rem; font-size: var(--fs-lg); justify-content: space-between; width: 100%;
    border-radius: 14px; transition: background-color .2s var(--ease);
  }
  /* Pill de vidro ao tocar/segurar no item */
  .nav__link:active,
  .nav__item--has-sub[data-open="true"] > .nav__link {
    background: rgba(255,255,255,.08);
  }
  .nav__link::after { display: none; }
  .nav__sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; background: none; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 .8rem; display: none;
  }
  .nav__sub::before { display: none; }             /* remove a setinha do dropdown desktop */
  .nav__item--has-sub[data-open="true"] .nav__sub { display: block; transform: none; }
  .nav__sub a { color: rgba(255,255,255,.7); padding: .6rem 0 .6rem 1rem; }
  .nav__sub a:hover { background: none; color: var(--nude); }
  .nav__cta { display: inline-flex; margin-top: 1.8rem; width: 100%; }
  .nav__item:last-child { border-bottom: 0; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .doc__name { font-size: var(--fs-base); }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}

/* ---------- 20. Impressão ---------- */
@media print {
  .header, .wa-float, .cta, .footer__social { display: none; }
  body { color: #000; }
}
