/* =====================================================================
   Dra. Isabella Moura — Quiet Luxury + Editorial Wellness
   Paleta: Linen, Khaki, Camel, Cocoa, Espresso
   Tipografia: Fraunces (títulos) + DM Sans (texto e interface)
   ===================================================================== */

/* ===== Fontes (hospedadas localmente) ===== */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

/* ===== Tokens ===== */
:root {
  /* Paleta da marca (uso obrigatório) */
  --linen: #F5F1EA;     /* 55%: fundos predominantes */
  --khaki: #D7C9B8;     /* 20%: fundos alternativos, superfícies */
  --camel: #B2967D;     /* 10%: detalhes, bordas, indicadores (nunca texto pequeno) */
  --cocoa: #7D5A44;     /*  5%: botões, links, interação */
  --espresso: #4A342A;  /* 10%: títulos, textos, rodapé */

  /* Derivados da própria paleta (misturas, sem cores novas) */
  --khaki-suave: color-mix(in srgb, var(--khaki) 42%, var(--linen));
  --camel-linha: color-mix(in srgb, var(--camel) 55%, transparent);
  --cocoa-hover: color-mix(in srgb, var(--cocoa) 78%, var(--espresso));
  --espresso-70: color-mix(in srgb, var(--espresso) 82%, var(--linen));

  /* Funcional */
  --wa: #25D366; /* ponto de status do WhatsApp */

  --serif: "Times New Roman", Times, "Tinos", serif; /* pedido do cliente: Times em todo o site */
  --sans: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --max: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --sec: clamp(88px, 11vw, 152px);
  --raio: 20px;
  --arco: 999px 999px 20px 20px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --sombra-leve: 0 1px 2px rgba(74, 52, 42, .05), 0 12px 32px -18px rgba(74, 52, 42, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.travado { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--espresso);
  text-wrap: balance;
  font-optical-sizing: auto;
}
h2 { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--cocoa); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--espresso); color: var(--linen); padding: 10px 16px; border-radius: 10px; z-index: 90; }
.skip:focus { top: 12px; }

/* ===== Botões e links ===== */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.7em;
  background: var(--cocoa); color: var(--linen);
  border: 1px solid var(--cocoa); border-radius: 999px;
  font: 500 .98rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
}
.botao:hover { background: var(--cocoa-hover); border-color: var(--cocoa-hover); box-shadow: 0 10px 24px -14px rgba(74, 52, 42, .6); }
.botao:active { transform: scale(.97); }
.botao svg { width: 19px; height: 19px; }
.botao--pequeno { min-height: 44px; padding: 0 1.3em; font-size: .93rem; }
.botao--cheio { width: 100%; }
.link {
  background: none; border: 0; padding: .4em 0; cursor: pointer;
  font: 500 1rem var(--sans); color: var(--cocoa);
  text-decoration: underline; text-decoration-color: var(--camel);
  text-underline-offset: 6px; text-decoration-thickness: 1px;
  transition: color .2s, text-decoration-color .2s;
}
.link:hover { color: var(--espresso); text-decoration-color: var(--espresso); }

/* ===== Header ===== */
.topo {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  min-height: 80px; padding: 12px var(--pad);
  padding-top: max(12px, env(safe-area-inset-top));
  background: var(--linen);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), min-height .35s var(--ease);
}
.topo.rolou {
  min-height: 68px;
  background: color-mix(in srgb, var(--linen) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(74, 52, 42, .06), 0 10px 30px -24px rgba(74, 52, 42, .35);
}
.topo__marca { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.topo__marca img { width: 32px; height: auto; }
.topo__nome { display: flex; flex-direction: column; font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; letter-spacing: -.005em; }
.topo__nome small { font-family: var(--sans); font-size: .76rem; letter-spacing: .04em; color: var(--cocoa); margin-top: 3px; }
.topo__nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.topo__nav a:not(.botao) {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0;
}
.topo__nav a:not(.botao)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--camel);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.topo__nav a:not(.botao):hover::after, .topo__nav a.ativo::after { transform: scaleX(1); }
.topo__menu-cta { display: none; }
.topo__abrir {
  display: none; width: 46px; height: 46px; border: 1px solid var(--camel-linha); background: transparent; cursor: pointer;
  position: relative; border-radius: 50%;
}
.topo__abrir span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--espresso);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.topo__abrir span:first-child { top: 18px; }
.topo__abrir span:last-child { top: 26px; }
.topo__abrir[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.topo__abrir[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) var(--pad) clamp(72px, 9vw, 128px);
}
.hero__credencial {
  display: flex; align-items: center; gap: 14px;
  font-size: .95rem; font-weight: 500; letter-spacing: .03em; color: var(--cocoa);
  margin-bottom: 30px;
}
.sep { width: 36px; height: 1px; background: var(--camel); }
.hero h1 {
  font-size: clamp(2.9rem, 1.4rem + 5.2vw, 6rem);
  line-height: 1; letter-spacing: -.022em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 32px;
}
.hero h1 em { display: block; }
.hero__sub { font-size: 1.15rem; line-height: 1.7; max-width: 42ch; color: var(--espresso-70); margin-bottom: 40px; }
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-bottom: 56px; }
.hero__atende {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px;
  margin: 0; max-width: 560px;
}
.hero__atende div { border-top: 1px solid var(--camel); padding-top: 14px; }
.hero__atende dt { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--cocoa); }
.hero__atende dd { margin: 2px 0 0; font-size: .92rem; }

.hero__foto { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero__foto::before { /* moldura deslocada em Camel: o recorte editorial */
  content: ""; position: absolute; inset: 0; border: 1px solid var(--camel);
  border-radius: var(--arco); transform: translate(18px, -18px); pointer-events: none;
}
.hero__moldura {
  position: relative; overflow: hidden; border-radius: var(--arco);
  aspect-ratio: 4 / 5.6; background: var(--khaki);
}
.hero__moldura img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__selo {
  position: absolute; left: -36px; bottom: 44px;
  display: flex; align-items: center; gap: 12px;
  max-width: 260px; padding: 14px 18px;
  background: var(--linen); border-radius: 16px;
  box-shadow: var(--sombra-leve);
  font-size: .88rem; line-height: 1.4;
}
.hero__selo img { width: 28px; }

/* Entrada do hero */
@media (prefers-reduced-motion: no-preference) {
  .hero__texto > * { animation: sobe .9s var(--ease) both; }
  .hero__texto > :nth-child(2) { animation-delay: .08s; }
  .hero__texto > :nth-child(3) { animation-delay: .16s; }
  .hero__texto > :nth-child(4) { animation-delay: .24s; }
  .hero__texto > :nth-child(5) { animation-delay: .32s; }
  .hero__moldura img { animation: revela 1.6s var(--ease) both; }
  .hero__foto::before { animation: moldura 1.4s .3s var(--ease) both; }
  .hero__selo { animation: sobe .8s .6s var(--ease) both; }
}
@keyframes sobe { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes revela { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes moldura { from { opacity: 0; transform: translate(0, 0); } to { opacity: 1; transform: translate(18px, -18px); } }

/* ===== Revelação ao rolar ===== */
.js [data-revela] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-revela].visivel { opacity: 1; transform: none; }

/* ===== Sobre ===== */
.sobre { background: var(--khaki); padding: var(--sec) var(--pad); }
.sobre__grade {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 112px); align-items: center;
}
.sobre__foto { position: relative; }
.sobre__foto::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(245, 241, 234, .7);
  border-radius: 12px; pointer-events: none;
}
.sobre__foto img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: 50% 25%; border-radius: 20px; }
.sobre h2 { margin-bottom: 28px; }
.sobre__abre { margin: 0 0 28px; padding: 0; position: relative; }
.sobre__abre p {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.32; letter-spacing: -.01em; max-width: 30ch; margin: 0;
}
.sobre__abre em { font-style: italic; font-weight: 400; color: var(--cocoa); }
.sobre__texto > p { color: var(--espresso); }
.fatos { margin: 34px 0 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.fatos div { padding: 16px 0; border-top: 1px solid var(--camel); }
.fatos dt { font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 2px; }
.fatos dd { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.35; }

/* ===== O que você quer cuidar ===== */
.cuidar { padding: var(--sec) var(--pad); }
.cuidar__intro, .cuidar__grade { max-width: var(--max); margin-left: auto; margin-right: auto; }
.cuidar__intro { margin-bottom: 52px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; }
.cuidar__intro p { margin: 0; color: var(--espresso-70); }
.cuidar__grade { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.temas { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.temas label { position: relative; cursor: pointer; display: block; }
.temas input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.temas span {
  display: flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 10px 18px;
  border: 1px solid var(--camel-linha); border-radius: 16px;
  background: var(--khaki-suave);
  font-size: 1rem; font-weight: 500; line-height: 1.3; user-select: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.temas span::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--camel);
  background: transparent center / 11px no-repeat;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.temas label:hover span { border-color: var(--camel); transform: translateY(-1px); }
.temas input:checked + span { background: var(--espresso); color: var(--linen); border-color: var(--espresso); }
.temas input:checked + span::before {
  background-color: var(--camel); border-color: var(--camel);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.2 3L11 1.5' fill='none' stroke='%234A342A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.temas input:focus-visible + span { outline: 2px solid var(--cocoa); outline-offset: 3px; }

.mensagem {
  position: sticky; top: 100px;
  background: var(--khaki); border-radius: 26px; overflow: hidden;
  box-shadow: var(--sombra-leve);
}
.mensagem__cab { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--espresso); color: var(--linen); }
.mensagem__cab img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid rgba(245, 241, 234, .35); }
.mensagem__cab strong { display: block; font-weight: 600; font-size: .98rem; }
.mensagem__cab span { font-size: .84rem; opacity: .85; }
.mensagem__conversa {
  padding: 22px 20px 6px; min-height: 172px;
  display: flex; justify-content: flex-end; align-items: flex-start;
}
.mensagem__balao {
  position: relative; margin: 0; max-width: 92%;
  background: var(--linen); color: var(--espresso);
  border-radius: 18px 18px 4px 18px;
  padding: 14px 16px; font-size: .98rem; line-height: 1.5;
  box-shadow: 0 1px 1px rgba(74, 52, 42, .08);
  transition: transform .3s var(--ease);
}
.mensagem__balao.mudou { animation: pulso .4s var(--ease); }
@keyframes pulso { 0% { transform: scale(.985); } 100% { transform: none; } }
.mensagem__acoes { padding: 14px 20px 20px; }
.mensagem__limpar { display: block; margin: 10px auto 0; font-size: .92rem; color: var(--espresso); }
.mensagem__nota { font-size: .84rem; margin: 10px auto 0; text-align: center; }

/* ===== Como funciona ===== */
.etapas { background: var(--khaki); padding: var(--sec) var(--pad); }
.etapas__cab, .etapas__lista { max-width: var(--max); margin-left: auto; margin-right: auto; }
.etapas__cab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: 72px; }
.etapas__lead { margin: 0; }
.etapas__lista {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px;
  counter-reset: etapa;
}
.etapas__lista li { counter-increment: etapa; position: relative; padding-top: 92px; }
.etapas__lista li::before {
  content: "0" counter(etapa);
  position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 3.6rem; line-height: 1; letter-spacing: -.03em; color: var(--cocoa);
  font-variation-settings: "opsz" 144;
}
.etapas__lista li::after {
  content: ""; position: absolute; top: 64px; left: 0; right: -32px; height: 1px; background: var(--camel);
}
.etapas__lista li:last-child::after { right: 0; }
.etapas__lista h3 { margin: 22px 0 8px; }
.etapas__lista p { font-size: .97rem; margin: 0; }

/* ===== Planos ===== */
.planos { padding: var(--sec) var(--pad); }
.planos__cab, .planos__corpo { max-width: var(--max); margin-left: auto; margin-right: auto; }
.planos__cab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.planos__cab p { margin: 0; color: var(--espresso-70); }
.planos__grade { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plano {
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px 28px 30px;
  background: var(--linen); border: 1px solid var(--camel-linha); border-radius: 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plano:hover { transform: translateY(-3px); box-shadow: var(--sombra-leve); }
.plano__tag { margin: 0; align-self: flex-start; font: 600 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cocoa); }
.plano__nome { margin: 4px 0 0; font-size: clamp(1.6rem, 1.3rem + .9vw, 2rem); line-height: 1.1; letter-spacing: -.015em; font-variation-settings: "opsz" 144; }
.plano__quando { margin: 0; font-family: var(--serif); font-style: italic; color: var(--cocoa); }
.plano__para { margin: 4px 0 8px; color: var(--espresso-70); font-size: .98rem; line-height: 1.5; }
.plano__itens { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plano__itens li { padding: 11px 0 11px 30px; border-top: 1px solid var(--camel-linha); position: relative; font-size: .95rem; line-height: 1.4; }
.plano__itens li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 11px; height: 6px; border-left: 1.5px solid var(--cocoa); border-bottom: 1.5px solid var(--cocoa);
  transform: rotate(-45deg);
}
.plano .botao { width: 100%; justify-content: center; }
.plano--destaque { background: var(--espresso); border-color: var(--espresso); color: var(--linen); }
.plano--destaque .plano__nome { color: var(--linen); }
.plano--destaque .plano__tag { padding: 5px 11px; border-radius: 999px; background: var(--linen); color: var(--espresso); }
.plano--destaque .plano__quando { color: var(--khaki); }
.plano--destaque .plano__para { color: color-mix(in srgb, var(--linen) 76%, transparent); }
.plano--destaque .plano__itens li { border-top-color: color-mix(in srgb, var(--linen) 20%, transparent); }
.plano--destaque .plano__itens li::before { border-color: var(--khaki); }
.plano--destaque .botao { background: var(--linen); color: var(--espresso); border-color: var(--linen); }
.plano--destaque .botao:hover { background: #fff; }
@media (max-width: 900px) {
  .planos__grade { grid-template-columns: 1fr; gap: 14px; }
  .plano { padding: 26px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { .plano { transition: none; } .plano:hover { transform: none; } }

/* ===== Dúvidas ===== */
.duvidas {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 112px); align-items: start;
  max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto;
  padding: 0 var(--pad) var(--sec);
}
.duvidas__foto { position: sticky; top: 104px; }
.duvidas__foto img { border-radius: var(--arco); aspect-ratio: 4 / 5.3; object-fit: cover; object-position: 50% 15%; width: 100%; }
.duvidas h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--camel); }
details:last-of-type { border-bottom: 1px solid var(--camel); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 1.08rem; font-weight: 500;
  transition: color .2s;
}
summary:hover { color: var(--cocoa); }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--camel);
  background:
    linear-gradient(var(--espresso), var(--espresso)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--espresso), var(--espresso)) center / 1.5px 11px no-repeat;
  transition: transform .35s var(--ease), background-color .3s var(--ease);
}
details[open] summary::after {
  transform: rotate(45deg); background-color: var(--espresso); border-color: var(--espresso);
  background-image: linear-gradient(var(--linen), var(--linen)), linear-gradient(var(--linen), var(--linen));
}
.resposta p { margin: 0 0 24px; padding-right: 52px; color: var(--espresso-70); }
@media (prefers-reduced-motion: no-preference) {
  details[open] .resposta { animation: abre .4s var(--ease); }
}
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.duvidas__mais { margin-top: 30px; }

/* ===== Local ===== */
.local { background: var(--khaki); padding: var(--sec) var(--pad); }
.local__grade {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
.local__predio { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.local__predio img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.local__cartao {
  position: relative; z-index: 1;
  margin-left: -72px;
  background: var(--linen); border-radius: 24px;
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--sombra-leve);
}
.local h2 { margin-bottom: 8px; }
.local__predio-nome { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--cocoa); margin-bottom: 16px; }
address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin-bottom: 28px; }
.rotas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 32px; }
.rota {
  display: flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 16px;
  border: 1px solid var(--cocoa); border-radius: 999px;
  background: transparent; color: var(--cocoa);
  font: 500 .95rem var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .15s var(--ease);
}
.rota svg { width: 19px; height: 19px; }
.rota:hover { background: var(--cocoa); color: var(--linen); }
.rota:active { transform: scale(.97); }
.modos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; padding-top: 24px; border-top: 1px solid var(--camel-linha); }
.modos h3 { font-size: 1.3rem; margin-bottom: 4px; }
.modos p { font-size: .95rem; margin: 0; }
.contatos { list-style: none; margin: 0; padding: 0; }
.contatos li { border-top: 1px solid var(--camel-linha); }
.contatos a { display: flex; align-items: center; gap: 12px; padding: 13px 0; text-decoration: none; font-weight: 500; transition: color .2s; }
.contatos svg { width: 19px; height: 19px; color: var(--cocoa); }
.contatos a:hover { color: var(--cocoa); }

.local__mapa {
  max-width: var(--max); margin: 40px auto 0; position: relative;
  height: 380px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--camel-linha); background: var(--linen);
}
.local__mapa iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.8) sepia(.18) contrast(.95); }
.mapa__carregar {
  position: absolute; inset: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 0; cursor: pointer; color: var(--espresso);
  background:
    radial-gradient(circle at 50% 50%, var(--linen) 0 22%, transparent 60%),
    repeating-linear-gradient(32deg, transparent 0 38px, color-mix(in srgb, var(--camel) 30%, transparent) 38px 39px),
    repeating-linear-gradient(-58deg, transparent 0 62px, color-mix(in srgb, var(--camel) 22%, transparent) 62px 63px),
    var(--khaki-suave);
}
.mapa__carregar svg {
  width: 30px; height: 30px; padding: 16px; box-sizing: content-box; border-radius: 50%;
  background: var(--cocoa); color: var(--linen);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--cocoa) 14%, transparent);
  transition: transform .35s var(--ease);
}
.mapa__carregar:hover svg { transform: translateY(-4px); }
.mapa__carregar span { font-family: var(--serif); font-size: 1.6rem; margin-top: 12px; }
.mapa__carregar small { font-size: .9rem; }

/* ===== Rodapé ===== */
.rodape { background: var(--espresso); color: var(--linen); padding: 88px var(--pad) 120px; }
.rodape__grade {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px 72px; align-items: center;
  padding-bottom: 40px; border-bottom: 1px solid color-mix(in srgb, var(--camel) 50%, transparent);
}
.rodape__logo { width: 200px; }
.rodape__info p { margin: 0 0 4px; font-size: .95rem; color: color-mix(in srgb, var(--linen) 82%, var(--espresso)); }
.rodape__info .rodape__nome { font-family: var(--serif); font-size: 1.4rem; color: var(--linen); margin-bottom: 6px; }
.rodape__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rodape__links a { text-decoration: none; font-size: .95rem; border-bottom: 1px solid transparent; transition: border-color .2s; }
.rodape__links a:hover { border-color: var(--camel); }
.rodape__aviso { max-width: var(--max); margin: 28px auto 0; font-size: .86rem; color: color-mix(in srgb, var(--linen) 72%, var(--espresso)); }
/* Crédito discreto da plataforma, no fim da página. */
.rodape__feito { max-width: var(--max); margin: 22px auto 0; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--linen) 16%, var(--espresso));
                 font-size: .8rem; letter-spacing: .02em; color: color-mix(in srgb, var(--linen) 62%, var(--espresso)); }
.rodape__feito a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--linen) 30%, var(--espresso)); transition: color .2s, border-color .2s; }
.rodape__feito a:hover, .rodape__feito a:focus-visible { color: var(--linen); border-color: var(--camel); }

/* ===== Modal: minha história ===== */
.historia {
  padding: 0; border: 0; margin: auto;
  width: min(1120px, calc(100% - 48px)); max-height: calc(100dvh - 48px);
  border-radius: 28px; background: var(--linen); color: var(--espresso);
  box-shadow: 0 40px 120px -30px rgba(74, 52, 42, .55);
  overflow: hidden;
}
.historia::backdrop { background: rgba(74, 52, 42, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.historia[open] { animation: modal-entra .5s var(--ease) both; }
.historia[open]::backdrop { animation: fundo-entra .5s ease both; }
.historia.saindo { animation: modal-sai .22s ease both; }
.historia.saindo::backdrop { animation: fundo-sai .22s ease both; }
@keyframes modal-entra { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modal-sai { to { opacity: 0; transform: translateY(12px) scale(.99); } }
@keyframes fundo-entra { from { opacity: 0; } }
@keyframes fundo-sai { to { opacity: 0; } }
.historia__corpo {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: minmax(0, 1fr);
  height: min(860px, calc(100dvh - 48px));
}
.historia__foto { position: relative; height: 100%; overflow: hidden; }
.historia__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.historia__foto figcaption {
  position: absolute; left: 20px; bottom: 20px;
  padding: 8px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--linen) 90%, transparent);
  font-size: .86rem;
}
.historia__texto { min-height: 0; overflow-y: auto; padding: clamp(36px, 5vw, 64px); overscroll-behavior: contain; }
.historia__cred { font-size: .9rem; font-weight: 500; color: var(--cocoa); margin-bottom: 10px; }
.historia h2 { margin-bottom: 22px; }
.historia__abre { font-family: var(--serif); font-weight: 300; font-size: 1.45rem; line-height: 1.38; }
.historia__sub { font-size: 1.7rem; margin: 40px 0 18px; }
.trajetoria { list-style: none; margin: 0 0 36px; padding: 0; position: relative; }
.trajetoria::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--camel); }
.trajetoria li { position: relative; padding: 0 0 20px 36px; }
.trajetoria li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--linen); border: 1.5px solid var(--camel);
}
.trajetoria li:nth-child(3)::before { background: var(--cocoa); border-color: var(--cocoa); }
.trajetoria strong { display: block; font-weight: 600; }
.trajetoria span { font-size: .95rem; color: var(--espresso-70); }
.historia__citacao {
  margin: 0 0 32px; padding: 4px 0 4px 22px; border-left: 2px solid var(--camel);
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.4rem; line-height: 1.4;
}
.historia__fechar {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--linen); color: var(--espresso);
  box-shadow: 0 6px 18px -8px rgba(74, 52, 42, .45);
  transition: transform .3s var(--ease);
}
.historia__fechar:hover { transform: rotate(90deg); }
.historia__fechar svg { width: 22px; height: 22px; }

/* ===== Balão do WhatsApp ===== */
.wa {
  position: fixed; z-index: 60;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.wa__botao {
  position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--espresso); color: var(--linen);
  box-shadow: 0 14px 34px -10px rgba(74, 52, 42, .6), 0 0 0 1.5px color-mix(in srgb, var(--linen) 55%, transparent);
  transition: transform .3s var(--ease), background-color .2s;
}
.wa__botao:hover { transform: scale(1.06); background: var(--cocoa); }
.wa__botao svg { grid-area: 1 / 1; width: 28px; height: 28px; transition: opacity .25s, transform .35s var(--ease); }
.wa__x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.wa__botao[aria-expanded="true"] .wa__icone { opacity: 0; transform: rotate(90deg) scale(.6); }
.wa__botao[aria-expanded="true"] .wa__x { opacity: 1; transform: none; }
.wa__ponto { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--wa); border: 2.5px solid var(--linen); }
.wa__botao[aria-expanded="true"] .wa__ponto { display: none; }
.wa__balao {
  width: min(360px, calc(100vw - 32px));
  background: var(--linen); border-radius: 24px 24px 8px 24px;
  box-shadow: 0 30px 70px -20px rgba(74, 52, 42, .5), 0 0 0 1px rgba(74, 52, 42, .06);
  overflow: hidden; transform-origin: bottom right;
}
.wa__balao:not([hidden]) { animation: balao-entra .4s var(--ease) both; }
@keyframes balao-entra { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
.wa__cab { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; background: var(--espresso); color: var(--linen); }
.wa__avatar { position: relative; flex: none; }
.wa__avatar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid rgba(245, 241, 234, .4); }
.wa__avatar::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--wa); border: 2px solid var(--espresso); }
.wa__cab strong { display: block; font-weight: 600; line-height: 1.3; }
.wa__cab span { font-size: .84rem; opacity: .85; }
.wa__fechar { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--linen); cursor: pointer; display: grid; place-items: center; }
.wa__fechar:hover { background: rgba(245, 241, 234, .12); }
.wa__fechar svg { width: 20px; height: 20px; }
.wa__fechar:focus-visible { outline-color: var(--linen); }
.wa__conversa { padding: 18px 16px 6px; background: var(--khaki); }
.wa__msg {
  width: fit-content; max-width: 88%;
  margin: 0 0 8px; padding: 10px 14px;
  background: var(--linen); border-radius: 4px 16px 16px 16px;
  font-size: .96rem; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(74, 52, 42, .08);
}
@media (prefers-reduced-motion: no-preference) {
  .wa__balao:not([hidden]) .wa__msg { animation: sobe .45s var(--ease) both; }
  .wa__balao:not([hidden]) .wa__msg + .wa__msg { animation-delay: .35s; }
}
.wa__opcoes { display: grid; gap: 8px; padding: 10px 16px 18px; background: var(--khaki); }
.wa__opcoes a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 46px; padding: 0 16px;
  border: 1px solid var(--camel); border-radius: 999px;
  background: var(--linen); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.wa__opcoes a::after { content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.wa__opcoes a:hover { background: var(--espresso); color: var(--linen); border-color: var(--espresso); }
body.travado .wa { display: none; }

/* ===== Toast ===== */
.toast {
  position: fixed; left: 50%; bottom: 100px; z-index: 70;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--espresso); color: var(--linen);
  padding: 12px 20px; border-radius: 999px; font-size: .95rem;
  transition: opacity .25s, transform .25s;
}
.toast.visivel { opacity: 1; transform: translate(-50%, 0); }

/* ===== Responsivo ===== */
@media (max-width: 1100px) {
  .etapas__lista { grid-template-columns: 1fr; gap: 0; max-width: 620px; margin-left: 0; }
  .etapas__lista li { padding: 0 0 36px 96px; min-height: 64px; }
  .etapas__lista li::before { font-size: 2.8rem; }
  .etapas__lista li::after { top: 60px; bottom: 6px; left: 24px; right: auto; width: 1px; height: auto; }
  .etapas__lista li:last-child { padding-bottom: 0; }
  .etapas__lista li:last-child::after { display: none; }
  .etapas__lista h3 { margin-top: 10px; }
  .local__grade { grid-template-columns: 1fr; }
  .local__predio { aspect-ratio: 16 / 10; }
  .local__cartao { margin: -96px 24px 0; }
}

@media (max-width: 960px) {
  .topo__cta { display: none; }
  .topo__abrir { display: block; margin-left: auto; }
  .topo__nav {
    position: fixed; inset: 0; z-index: -1; height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 110px var(--pad) 40px;
    background: var(--linen);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility 0s .3s;
  }
  .topo.menu-aberto { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--linen); box-shadow: none; }
  .topo__nav.aberto { opacity: 1; visibility: visible; transition: opacity .3s ease; }
  .topo__nav a:not(.botao) { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; padding: 6px 0; }
  .topo__nav a:not(.botao)::after { display: none; }
  .topo__menu-cta { display: inline-flex; margin-top: 32px; width: 100%; }

  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .hero__foto { order: -1; justify-self: center; max-width: 420px; width: calc(100% - 24px); margin-right: 18px; }
  .hero__moldura { aspect-ratio: 4 / 4.8; }
  .hero__selo { left: -12px; bottom: 24px; max-width: 230px; }
  .hero__acoes .botao { flex: 1 1 100%; }
  .hero__acoes .link { margin: 0 auto; }
  .hero__atende { grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }

  .sobre__grade, .duvidas, .cuidar__grade, .cuidar__intro, .etapas__cab, .planos__cab { grid-template-columns: 1fr; }
  .sobre__foto { max-width: 380px; }
  .fatos { grid-template-columns: 1fr; }
  .sobre .botao { width: 100%; }
  .mensagem { position: static; }
  .duvidas__foto { position: static; max-width: 320px; }
  .duvidas__foto img { aspect-ratio: 4 / 4.4; }
  .resposta p { padding-right: 0; }
  .rodape__grade { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .temas { grid-template-columns: 1fr; }
  .hero__atende { grid-template-columns: 1fr; gap: 0; }
  .hero__atende div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; }
  .hero__atende dd { margin: 0; text-align: right; }
  .local__cartao { margin: -56px 0 0; padding: 28px 22px; }
  .rotas { grid-template-columns: 1fr 1fr; }
  .rota { padding: 0 12px; font-size: .9rem; gap: 8px; }
  .modos { grid-template-columns: 1fr; gap: 16px; }
  .local__mapa { height: 300px; margin-top: 28px; }
  .wa__botao { width: 58px; height: 58px; }

  .historia { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .historia[open] { animation-name: folha-entra; }
  .historia.saindo { animation-name: folha-sai; }
  .historia__corpo { display: block; height: auto; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; }
  .historia__foto { height: 50vh; }
  .historia__texto { overflow: visible; padding: 32px 22px calc(40px + env(safe-area-inset-bottom)); }
  .historia__texto .botao { width: 100%; }
}
@media (min-width: 561px) and (max-width: 960px) {
  .historia__corpo { grid-template-columns: 1fr; display: block; height: auto; max-height: calc(100dvh - 48px); overflow-y: auto; }
  .historia__foto { height: 56vh; }
  .historia__texto { overflow: visible; }
}
@keyframes folha-entra { from { transform: translateY(100%); } to { transform: none; } }
@keyframes folha-sai { to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js [data-revela] { opacity: 1; transform: none; }
}

/* Telas muito estreitas (360px) */
.local__grade > * { min-width: 0; }
@media (max-width: 400px) {
  .rota { white-space: normal; line-height: 1.2; padding: 6px 12px; font-size: .88rem; }
  .local__cartao { padding: 26px 18px; }
}


/* ===== Ajustes: logo completo no topo, botão "Onde atendo", balão compacto ===== */
.topo__marca .topo__logo { height: 58px; width: auto; transition: height .35s var(--ease); }
.topo.rolou .topo__marca .topo__logo { height: 48px; }
.botao--contorno { background: transparent; color: var(--cocoa); border-color: var(--cocoa); }
.botao--contorno:hover { background: var(--cocoa); color: var(--linen); border-color: var(--cocoa); }

.wa__balao { width: min(312px, calc(100vw - 32px)); border-radius: 20px 20px 6px 20px; }
.wa__cab { padding: 12px 12px 11px 14px; gap: 10px; }
.wa__avatar img { width: 36px; height: 36px; }
.wa__avatar::after { width: 9px; height: 9px; }
.wa__cab strong { font-size: .92rem; }
.wa__cab span { font-size: .78rem; }
.wa__fechar { width: 34px; height: 34px; }
.wa__fechar svg { width: 18px; height: 18px; }
.wa__conversa { padding: 14px 12px 4px; }
.wa__msg { font-size: .88rem; padding: 8px 12px; margin-bottom: 6px; }
.wa__opcoes { gap: 6px; padding: 8px 12px 14px; }
.wa__opcoes a { min-height: 40px; padding: 0 14px; font-size: .88rem; }
.wa__botao { width: 56px; height: 56px; }
.wa__botao svg { width: 25px; height: 25px; }

@media (max-width: 960px) {
  .topo__marca .topo__logo { height: 48px; }
  .topo.rolou .topo__marca .topo__logo { height: 42px; }
}
@media (max-width: 560px) {
  .hero__acoes .botao { flex: 1 1 100%; }
}
.hero__credencial { flex-wrap: wrap; row-gap: 6px; }
.hero__cred { margin-bottom: 30px; }
.hero__cred .hero__credencial { margin-bottom: 6px; }
.hero__pos { font-size: .86rem; color: var(--espresso-70); margin: 0; }
/* "Onde atendo" agora vem antes de "Dúvidas" */
.duvidas { padding-top: var(--sec); }

/* Itálico dos títulos em Times New Roman (pedido do cliente).
   Tinos tem as mesmas medidas da Times e cobre celulares sem a fonte. */
@font-face { font-family: "Tinos"; src: url("assets/fonts/tinos.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Tinos"; src: url("assets/fonts/tinos-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
h1 em, h2 em {
  font-family: "Times New Roman", Times, "Tinos", serif;
  font-weight: 400;
  letter-spacing: -.01em;
}
.hero h1 em { letter-spacing: -.015em; line-height: 1.02; }

/* Ajustes de Times New Roman em todo o site: Times não tem peso 300 e é mais estreita */
h1, h2, h3, .sobre__abre p, .historia__abre, .historia__citacao, .etapas__lista li::before { font-weight: 400; font-variation-settings: normal; }
.hero h1 { letter-spacing: -.02em; line-height: 1.02; }
h2 { letter-spacing: -.015em; }
.sobre__abre em { font-weight: 400; }

/* Sem a seção de planos: alterna os fundos para não juntar dois Khaki */
.local { background: var(--linen); }
.local__cartao { background: var(--khaki-suave); border: 1px solid var(--camel-linha); }
.duvidas { background: var(--khaki); max-width: none; padding-left: max(var(--pad), calc((100% - var(--max)) / 2)); padding-right: max(var(--pad), calc((100% - var(--max)) / 2)); }

/* =====================================================================
   Otimização para celular (principal canal de acesso)
   ===================================================================== */
html { -webkit-tap-highlight-color: transparent; }

/* Barra de agendamento fixa: só em telas de toque/estreitas */
.barra { display: none; }
@media (max-width: 960px) {
  .barra {
    display: block; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--linen) 90%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 rgba(74, 52, 42, .08);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .barra.visivel { transform: none; }
  .barra__botao { width: 100%; min-height: 52px; }
  .wa { display: none; } /* a barra substitui o botão redondo */
  .rodape { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.travado .barra { display: none; }
}

@media (max-width: 560px) {
  :root { --sec: 64px; --pad: 20px; }
  body { font-size: 1rem; line-height: 1.6; }
  h2 { font-size: 2.15rem; }

  /* Topo mais baixo */
  .topo { min-height: 64px; padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: 8px; }
  .topo.rolou { min-height: 58px; }
  .topo__marca .topo__logo { height: 42px; }
  .topo.rolou .topo__marca .topo__logo { height: 38px; }
  html { scroll-padding-top: 72px; }
  .topo__nav { padding-top: 96px; }
  .topo__nav a:not(.botao) { font-size: 2.1rem; }

  /* Hero: título primeiro, foto no meio, CTA logo abaixo */
  .hero { display: flex; flex-direction: column; gap: 0; padding-top: 20px; padding-bottom: 56px; }
  .hero__texto { display: contents; }
  .hero__cred { order: 1; margin-bottom: 16px; }
  .hero h1 { order: 2; font-size: 2.75rem; line-height: 1.04; margin-bottom: 24px; }
  .hero__foto { order: 3; width: calc(100% - 16px); margin: 0 16px 28px 0; max-width: none; }
  .hero__moldura { aspect-ratio: 4 / 4.3; }
  .hero__foto::before { transform: translate(12px, -12px); }
  @keyframes moldura { from { opacity: 0; transform: none; } to { opacity: 1; transform: translate(12px, -12px); } }
  .hero__selo { left: 10px; bottom: 12px; max-width: 220px; padding: 10px 14px; font-size: .82rem; }
  .hero__sub { order: 4; font-size: 1.02rem; margin-bottom: 24px; }
  .hero__acoes { order: 5; gap: 10px; margin-bottom: 36px; }
  .hero__atende { order: 6; }

  /* Sobre mais compacto */
  .sobre__foto { max-width: none; }
  .sobre__foto img { aspect-ratio: 4 / 4.2; object-position: 50% 22%; }
  .sobre h2 { margin-bottom: 18px; }
  .sobre__abre p { font-size: 1.4rem; }
  .fatos { margin: 24px 0 28px; }
  .fatos div { padding: 12px 0; }

  /* Seletor de temas: alvos grandes, menos rolagem */
  .cuidar__intro { margin-bottom: 28px; }
  .temas { gap: 8px; }
  .temas span { min-height: 52px; padding: 8px 16px; font-size: .97rem; }
  .mensagem { margin-top: 8px; border-radius: 22px; }
  .mensagem__conversa { min-height: 0; padding: 16px 14px 4px; }
  .mensagem__acoes { padding: 12px 14px 16px; }

  /* Etapas */
  .etapas__cab { margin-bottom: 40px; }
  .etapas__lista li { padding: 0 0 28px 76px; }
  .etapas__lista li::before { font-size: 2.3rem; }
  .etapas__lista li::after { left: 18px; top: 50px; }
  .etapas__lista h3 { margin-top: 4px; }

  /* Local */
  .local__predio { aspect-ratio: 4 / 3; border-radius: 18px; }
  .local__cartao { margin-top: -40px; padding: 26px 18px; border-radius: 20px; }
  .local__mapa { height: 260px; border-radius: 18px; }
  address { font-size: 1.02rem; }

  /* Dúvidas: sem foto no celular para encurtar a página */
  .duvidas { gap: 0; }
  .duvidas__foto { display: none; }
  summary { padding: 18px 0; font-size: 1.02rem; }

  /* Rodapé */
  .rodape { padding-top: 56px; }
  .rodape__logo { width: 170px; }

  /* Modal */
  .historia__foto { height: 42vh; }
}

@media (max-width: 374px) {
  .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.95rem; }
  .temas span { font-size: .93rem; }
}

/* =====================================================================
   Grade única: topo, hero e seções começam e terminam na mesma coluna
   ===================================================================== */
:root { --borda: max(var(--pad), calc((100% - var(--max)) / 2)); }
.topo { padding-left: var(--borda); padding-right: var(--borda); }
.hero { max-width: none; padding-left: var(--borda); padding-right: var(--borda); }
.sobre, .cuidar, .etapas, .local, .rodape { padding-left: var(--borda); padding-right: var(--borda); }
.duvidas { padding-left: var(--borda); padding-right: var(--borda); }

/* Hierarquia do hero: credencial discreta, título dominante, apoio e ação */
.hero__cred { margin-bottom: 36px; padding-left: 14px; border-left: 2px solid var(--camel); }
.hero__cred .hero__credencial { font-size: .9rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 4px; gap: 10px; }
.hero__cred .sep { width: 18px; }
.hero__pos { font-size: .84rem; }
.hero h1 { margin-bottom: 28px; }
.hero__sub { max-width: 40ch; margin-bottom: 36px; }
.hero__acoes { margin-bottom: 48px; }
.hero__atende dd { color: var(--espresso-70); }
@media (max-width: 560px) {
  .hero__cred { margin-bottom: 18px; }
}
@media (max-width: 560px) { .hero { align-items: stretch; } .hero__cred { align-self: flex-start; } }

/* Margem lateral um pouco maior no celular para o texto não encostar nas bordas */
@media (max-width: 560px) { :root { --pad: 26px; } }
@media (max-width: 374px) { :root { --pad: 22px; } }
