/* Zelo Ortodontia e Odontopediatria — estilos do site
   Paleta e tipografia do manual da marca (Andréia Nunes, 2023).
   TAN Parfait (títulos) substituída pela Gilda Display, a alternativa livre mais próxima. */

@font-face { font-family: "Gilda Display"; src: url("../fonts/gilda-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("../fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("../fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Ruda"; src: url("../fonts/ruda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ruda"; src: url("../fonts/ruda-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* paleta oficial */
  --creme: #F5EAE3;
  --creme-claro: #FBF6F2;
  --areia: #D7C6AE;
  --dourado: #D3B153;
  --amarelo: #EFC82B;
  --azul: #B0D2DA;
  --salvia: #AFAF7F;
  --branco: #FFFFFF;
  /* site em azul, amarelo e branco; o dourado fica no logo e no rodapé */
  --azul-claro: #E7F2F4;     /* azul da marca a 30% sobre o branco: fundos de seção e cartões */
  --amarelo-claro: #FCF5D9;  /* amarelo da marca a 18% sobre o branco */
  /* derivadas para texto (contraste AA sobre branco e sobre o azul da marca) */
  --tinta: #263B41;          /* 11:1 no branco */
  --tinta-suave: #46595F;    /* 7,3:1 no branco · 4,6:1 no azul */
  --azul-escuro: #275C68;    /* mesmo tom do azul da marca, 7,5:1 no branco */
  --tinta-rodape: #3A3226;   /* rodapé dourado mantém o marrom original */
  --linha: rgba(39, 92, 104, .16);

  --f-titulo: "Gilda Display", "Didot", Georgia, serif;
  --f-apoio: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --f-texto: "Ruda", "Segoe UI", system-ui, sans-serif;

  --t-h1: clamp(2.35rem, 1.5rem + 3vw, 3.9rem);
  --t-h2: clamp(1.85rem, 1.3rem + 2.4vw, 3rem);
  --t-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --t-corpo: 1.0625rem;
  --t-pequeno: 0.875rem;

  --raio: 22px;
  --largura: 1160px;
  --respiro: clamp(3.5rem, 2.4rem + 5vw, 7.5rem);
  --topo-altura: 72px;

  /* forma de nuvem das portas da clínica (proporção 4:5) */
  --nuvem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='none'%3E%3Crect y='150' width='400' height='350' rx='40'/%3E%3Ccircle cx='72' cy='160' r='72'/%3E%3Ccircle cx='180' cy='112' r='92'/%3E%3Ccircle cx='296' cy='130' r='78'/%3E%3Ccircle cx='362' cy='172' r='38'/%3E%3C/svg%3E");

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--branco);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: var(--t-corpo);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
img, svg { display: block; max-width: 100%; height: auto; }
/* texto só para leitores de tela */
.so-leitor { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* O atributo hidden deve prevalecer sobre regras de display dos componentes. */
[hidden] { display: none !important; }
/* Item de lista cujo único link está oculto (ex.: Blog antes da aprovação) não deixa espaço vazio. */
li:has(> [hidden]:only-child) { display: none; }
a { color: var(--azul-escuro); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--tinta); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--f-titulo); letter-spacing: -0.01em; line-height: 1.08; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-family: var(--f-apoio); font-size: var(--t-h3); font-weight: 600; line-height: 1.25; }
[id] { scroll-margin-top: calc(var(--topo-altura) + 16px); }

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

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--tinta); color: var(--branco); padding: 10px 16px; border-radius: 10px;
  font-family: var(--f-apoio); font-weight: 600; text-decoration: none;
}
.pular:focus { top: 12px; color: var(--branco); }

.container { width: min(100% - 2.5rem, var(--largura)); margin-inline: auto; }
.secao { padding-block: var(--respiro); }
.secao--sem-topo { padding-top: 0; }

.chapeu {
  display: block;
  font-family: var(--f-apoio); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--azul-escuro);
  margin-bottom: 1rem;
}
.secao__intro { max-width: 40rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.secao__intro p { color: var(--tinta-suave); font-size: 1.125rem; margin-top: 1.1rem; }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 1rem 1.6rem 0.8rem; line-height: 1;
  border-radius: 999px; border: 0;
  font-family: var(--f-apoio); font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.botao svg { width: 20px; height: 20px; flex: none; }
.botao--principal { background: var(--azul); color: var(--tinta); box-shadow: 0 6px 0 -2px rgba(39, 92, 104, .45); }
.botao--principal:hover { background: #A3CBD4; color: var(--tinta); transform: translateY(-2px); box-shadow: 0 9px 0 -2px rgba(39, 92, 104, .45); }
.botao--principal:active { transform: translateY(1px); box-shadow: 0 3px 0 -2px rgba(39, 92, 104, .45); }
.botao--contorno { background: transparent; color: var(--azul-escuro); box-shadow: inset 0 0 0 1.5px var(--azul-escuro); }
.botao--contorno:hover { background: var(--azul); color: var(--tinta); }
.link-seta {
  font-family: var(--f-apoio); font-weight: 600; color: var(--tinta);
  text-decoration: underline; text-decoration-color: var(--azul); text-decoration-thickness: 2px;
}
.link-seta:hover { color: var(--azul-escuro); }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--linha);
}
.topo__barra { display: flex; align-items: center; gap: 1rem; height: var(--topo-altura); }
.topo__marca { display: block; margin-right: auto; }
.topo__marca img { height: 40px; width: auto; }
.topo__menu { display: none; }
.topo__menu ul { display: flex; gap: 1.6rem; list-style: none; }
.topo__menu a {
  font-family: var(--f-apoio); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tinta); text-decoration: none; padding-block: 0.4rem; position: relative;
}
.topo__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amarelo);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.topo__menu a:hover::after, .topo__menu a:focus-visible::after { transform: scaleX(1); }
.topo__agendar { min-height: 44px; padding: 0.75rem 1.15rem 0.55rem; font-size: 0.92rem; }
.topo__abrir {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--tinta); cursor: pointer;
}
.topo__abrir svg { width: 24px; height: 24px; }
.topo__gaveta {
  display: none; padding: 0.5rem 0 1.5rem; border-top: 1px solid var(--linha);
}
.topo__gaveta.aberta { display: block; }
.topo__gaveta ul { list-style: none; }
.topo__gaveta a {
  display: block; padding: 0.9rem 0; font-family: var(--f-titulo); font-size: 1.5rem; color: var(--tinta); text-decoration: none;
  border-bottom: 1px solid var(--linha);
}

@media (min-width: 1024px) {
  .topo__menu { display: block; }
  .topo__abrir, .topo__gaveta, .topo__gaveta.aberta { display: none; }
  .topo__marca img { height: 46px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--azul-claro); padding-block: clamp(2rem, 1rem + 3.5vw, 4.5rem) clamp(1.5rem, 0.5rem + 3vw, 3rem); overflow: hidden; }
.hero__grade { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4rem); align-items: center; }
.hero h1 .chapeu { font-family: var(--f-apoio); font-size: 0.8rem; letter-spacing: 0.22em; margin-bottom: 1.1rem; }
.hero__lide { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--tinta-suave); max-width: 34rem; margin: 1.4rem 0 2rem; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center; }
.selos { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.selos li {
  font-family: var(--f-apoio); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 0.55rem 0.85rem 0.4rem; border-radius: 999px; background: var(--branco); color: var(--tinta);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.selos a { color: inherit; text-decoration: none; }
.selos .estrela-nota { color: #C99A06; }

.nuvem { position: relative; width: min(100%, 480px); margin-inline: auto; aspect-ratio: 4 / 5; }
.nuvem__fundo, .nuvem__foto {
  position: absolute; inset: 0;
  -webkit-mask: var(--nuvem) center / 100% 100% no-repeat; mask: var(--nuvem) center / 100% 100% no-repeat;
}
.nuvem__fundo { background: var(--amarelo); transform: translate(5%, -3.5%) scale(1.02); opacity: .9; }
.nuvem__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ilustrações da marca aplicadas como máscara, coloridas pela cor do texto */
.ilustra { display: block; background-color: currentColor; -webkit-mask: var(--ilustra) center / contain no-repeat; mask: var(--ilustra) center / contain no-repeat; }
.ilustra--estrela { --ilustra: url("../svg/estrela.svg"); }
.ilustra--espuma { --ilustra: url("../svg/espuma.svg"); }
.ilustra--escovas { --ilustra: url("../svg/escovas.svg"); }

.hero .ilustra { position: absolute; pointer-events: none; }
.hero .e1 { width: 34px; aspect-ratio: 1; left: -4%; top: 18%; color: var(--amarelo); }
.hero .e2 { width: 22px; aspect-ratio: 1; right: 2%; bottom: 14%; color: var(--azul); }
.hero .e3 { width: 16px; aspect-ratio: 1; left: 10%; bottom: 6%; color: var(--amarelo); }
.hero .esp { width: 46px; aspect-ratio: 1; right: -3%; top: 34%; color: var(--azul); }

@media (min-width: 900px) {
  .hero__grade { grid-template-columns: 1.08fr 0.92fr; }
  .nuvem { margin-inline: auto 0; }
}

/* entrada orquestrada do hero */
@media (prefers-reduced-motion: no-preference) {
  .hero__texto > * { animation: subir .8s cubic-bezier(.2,.7,.2,1) 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; }
  .nuvem__foto { animation: revelar 1s cubic-bezier(.2,.7,.2,1) .15s both; }
  .nuvem__fundo { animation: flutuar 1.2s cubic-bezier(.2,.7,.2,1) .3s both; }
  .hero .ilustra { animation: brilhar 1s ease .7s both, piscar 5s ease-in-out 1.8s infinite; }
  .hero .e2 { animation-delay: .85s, 2.6s; }
  .hero .e3 { animation-delay: 1s, 3.4s; }
  .hero .esp { animation: brilhar 1s ease .9s both; }
}
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes revelar { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes flutuar { from { opacity: 0; transform: translate(0, 0) scale(.98); } to { opacity: .9; transform: translate(5%, -3.5%) scale(1.02); } }
@keyframes brilhar { from { opacity: 0; transform: scale(.3) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes piscar { 0%, 100% { transform: scale(1); } 50% { transform: scale(.78) rotate(12deg); } }

/* ---------- jornada (atendimentos) ---------- */
.jornada { list-style: none; display: grid; gap: 1.25rem; counter-reset: fase; }
.fase {
  position: relative; padding: 1.8rem 1.6rem 1.7rem; border-radius: var(--raio);
  background: var(--azul-claro); box-shadow: inset 0 0 0 1px var(--linha);
  counter-increment: fase;
}
.fase::before {
  content: counter(fase, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--f-titulo); font-size: 1.35rem; color: var(--tinta);
  background: var(--cor, var(--azul)); margin-bottom: 1.1rem;
}
.fase--bebes { --cor: var(--azul); }
.fase--criancas { --cor: var(--amarelo); }
.fase--orto { --cor: var(--azul-escuro); }
.fase--orto::before { color: var(--branco); }
.fase__idade { display: block; font-family: var(--f-apoio); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tinta-suave); margin-top: 0.3rem; }
.fase p { margin: 0.9rem 0 0; color: var(--tinta-suave); }
.fase a { display: inline-block; margin-top: 1rem; }

@media (min-width: 860px) {
  .jornada { grid-template-columns: repeat(3, 1fr); position: relative; }
  .jornada::before {
    content: ""; position: absolute; left: 8%; right: 8%; top: 54px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--azul) 0 8px, transparent 8px 16px); z-index: 0;
  }
  .fase { z-index: 1; }
}

.recursos { margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.recursos h3 { margin-bottom: 1.25rem; }
.recursos ul { list-style: none; display: grid; gap: 1px; background: var(--linha); border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; }
.recursos li { background: var(--branco); padding: 1.3rem 1.4rem; }
.recursos strong { display: block; font-family: var(--f-apoio); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.3rem; }
.recursos li span { color: var(--tinta-suave); font-size: 0.98rem; }
@media (min-width: 720px) { .recursos ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- primeira consulta (faixa azul, cartões brancos, último amarelo) ---------- */
.consulta { position: relative; background: var(--azul); overflow: hidden; isolation: isolate; }
.consulta .chapeu { color: var(--tinta); }
.consulta .secao__intro p { color: var(--tinta); }
.consulta .link-seta { text-decoration-color: var(--tinta); }
/* na faixa azul o botão usa o azul-escuro do mesmo tom, para não sumir no fundo */
.consulta .botao--principal { background: var(--azul-escuro); color: var(--branco); box-shadow: 0 6px 0 -2px rgba(20, 50, 57, .5); }
.consulta .botao--principal:hover { background: #1F4B55; color: var(--branco); box-shadow: 0 9px 0 -2px rgba(20, 50, 57, .5); }
.consulta__escovas { position: absolute; z-index: -1; width: min(70vw, 560px); aspect-ratio: 1183 / 1211; right: -12%; top: -8%; color: var(--branco); opacity: .5; }
.passos { list-style: none; display: grid; gap: 1rem; counter-reset: passo; }
.passo {
  display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; align-items: start;
  background: var(--branco); border-radius: var(--raio); padding: 1.3rem 1.4rem;
  counter-increment: passo;
}
.passo::before {
  content: counter(passo); grid-row: span 2;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--azul-escuro); color: var(--branco); font-family: var(--f-titulo); font-size: 1.25rem;
}
.passo strong { font-family: var(--f-apoio); font-weight: 600; font-size: 1.08rem; }
.passo span { color: var(--tinta-suave); }
.passo--brinde { background: var(--amarelo); }
.passo--brinde span { color: var(--tinta); }
.consulta__rodape { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; margin-top: 2.5rem; }
.consulta__aviso { margin: 0; max-width: 32rem; font-size: 1.02rem; }
@media (min-width: 860px) {
  .passos { grid-template-columns: repeat(5, 1fr); }
  .passo { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.5rem 1.3rem 1.6rem; }
  .passo::before { grid-row: auto; }
}

/* ---------- sobre ---------- */
.sobre { background: var(--amarelo-claro); }
.sobre__grade { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
.sobre__foto { position: relative; width: min(100%, 440px); margin-inline: auto; }
.sobre__foto picture { display: block; border-radius: 999px 999px var(--raio) var(--raio); overflow: hidden; aspect-ratio: 4 / 5; background: var(--azul-claro); }
.sobre__foto img { width: 100%; height: 100%; object-fit: cover; }
.sobre__foto .ilustra { position: absolute; width: 30px; aspect-ratio: 1; right: 6%; top: 8%; color: var(--amarelo); }
.citacao { margin: 1.6rem 0 2rem; padding-left: 1.3rem; border-left: 3px solid var(--azul); }
.citacao p { font-family: var(--f-titulo); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); line-height: 1.4; color: var(--tinta); }
.citacao footer { font-family: var(--f-apoio); font-size: 0.9rem; letter-spacing: 0.08em; color: var(--tinta-suave); }
.credenciais { list-style: none; display: grid; gap: 0.7rem; }
.credenciais li { position: relative; padding-left: 1.7rem; }
.credenciais li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; background: var(--amarelo);
  -webkit-mask: url("../svg/estrela.svg") center / contain no-repeat; mask: url("../svg/estrela.svg") center / contain no-repeat;
}
.sobre__equipe { margin-top: 1.8rem; color: var(--tinta-suave); }
@media (min-width: 900px) { .sobre__grade { grid-template-columns: 0.85fr 1.15fr; } }

/* ---------- espaço ---------- */
.galeria {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 0.9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-bottom: 0.8rem; margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: thin;
}
.galeria li { scroll-snap-align: start; }
.galeria figure { margin: 0; }
.galeria img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); background: var(--azul-claro); }
.galeria figcaption { font-size: var(--t-pequeno); color: var(--tinta-suave); margin-top: 0.55rem; }
@media (min-width: 720px) { .galeria { grid-auto-columns: 40%; } }
@media (min-width: 1024px) {
  .galeria { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .galeria li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .galeria li:nth-child(1) img { height: calc(100% - 2rem); }
}

/* ---------- avaliações ---------- */
.avaliacoes { background: var(--creme); }   /* bege da marca: pausa calma entre as faixas azuis */
.avaliacoes__topo { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.avaliacoes__topo .secao__intro { margin-bottom: 0; }
.nota { display: flex; align-items: baseline; gap: 0.6rem; font-family: var(--f-titulo); font-size: clamp(3rem, 2rem + 4vw, 4.5rem); line-height: 1; color: var(--tinta); }
.nota small { font-family: var(--f-apoio); font-size: 0.95rem; letter-spacing: 0.04em; color: var(--tinta-suave); }
.estrelas { color: #C99A06; letter-spacing: 0.12em; font-size: 1.1rem; }
.depoimentos { list-style: none; display: grid; gap: 1.1rem; }
.depoimento { margin: 0; padding: 1.6rem 1.5rem; border-radius: var(--raio); background: var(--branco); }
.depoimento blockquote { margin: 0.7rem 0 1.1rem; }
.depoimento p { margin: 0; }
.depoimento figcaption { font-family: var(--f-apoio); font-weight: 600; font-size: 0.92rem; color: var(--tinta-suave); }
.avaliacoes__link { margin-top: 2.5rem; }
.avaliacoes__link .botao { text-align: center; line-height: 1.15; }
@media (min-width: 900px) { .depoimentos { grid-template-columns: repeat(3, 1fr); } }

/* ---------- dúvidas ---------- */
.duvidas__grade { display: grid; gap: 2.5rem; }
.faq { border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.25rem 3rem 1.25rem 0; font-family: var(--f-apoio); font-weight: 600; font-size: 1.08rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: linear-gradient(var(--tinta), var(--tinta)) center / 14px 2px no-repeat, linear-gradient(var(--tinta), var(--tinta)) center / 2px 14px no-repeat;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--azul);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--azul-escuro); }
.faq details > div { padding: 0 2.5rem 1.4rem 0; color: var(--tinta-suave); }
.faq details > div p:last-child { margin-bottom: 0; }
@media (min-width: 960px) { .duvidas__grade { grid-template-columns: 0.8fr 1.2fr; } }

/* ---------- blog ---------- */
.cartao-blog {
  display: grid; gap: 1.5rem; padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); border-radius: calc(var(--raio) + 6px);
  background: var(--azul); color: var(--tinta); text-decoration: none; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s ease;
}
.cartao-blog:hover { transform: translateY(-3px); color: var(--tinta); }
.cartao-blog .chapeu { color: var(--tinta); margin-bottom: 0.6rem; }
.cartao-blog h2, .cartao-blog h3 { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; max-width: 28ch; }
.cartao-blog p { margin: 0; max-width: 46ch; }
.cartao-blog .link-seta { text-decoration-color: var(--tinta); }
.cartao-blog .ilustra { position: absolute; z-index: -1; width: clamp(200px, 30vw, 380px); aspect-ratio: 1183 / 1211; right: -30px; bottom: -60px; color: var(--branco); opacity: .7; }

/* ---------- contato ---------- */
.contato__grade { display: grid; gap: 2.5rem; }
.contato h2 { max-width: 16ch; }
.infos { display: grid; gap: 1.4rem; margin: 2rem 0; }
.infos dt { font-family: var(--f-apoio); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--azul-escuro); }
.infos dd { margin: 0.25rem 0 0; }
.mapa { border-radius: var(--raio); overflow: hidden; background: var(--azul-claro); min-height: 320px; box-shadow: inset 0 0 0 1px var(--linha); }
.mapa iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (min-width: 960px) { .contato__grade { grid-template-columns: 1fr 1fr; align-items: stretch; } .infos { grid-template-columns: 1fr 1fr; } }

/* ---------- rodapé ---------- */
.rodape { background: var(--dourado); color: var(--tinta-rodape); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.rodape a { color: var(--tinta-rodape); }
.rodape__grade { display: grid; gap: 2rem; }
.rodape__marca img { width: 150px; }
.rodape__slogan { font-family: var(--f-titulo); font-size: 1.3rem; line-height: 1.35; max-width: 22ch; margin-top: 1.2rem; }
.rodape h2 { font-family: var(--f-apoio); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.8rem; }
.rodape ul { list-style: none; display: grid; gap: 0.4rem; }
.rodape__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(58, 50, 38, .25); font-size: var(--t-pequeno); display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: space-between; }
.rodape__legal p { margin: 0; }
/* crédito padrão da agência, centralizado abaixo da linha legal */
.rodape__credito { margin: 1.25rem 0 0; text-align: center; font-size: 0.8rem; }
.rodape__credito a { text-underline-offset: 3px; }
@media (min-width: 860px) { .rodape__grade { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- WhatsApp flutuante (celular) ---------- */
.whats-flutuante {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--azul); color: var(--tinta); box-shadow: 0 10px 24px -8px rgba(39, 92, 104, .6);
  opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.whats-flutuante svg { width: 28px; height: 28px; }
.whats-flutuante.visivel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
@media (min-width: 1024px) { .whats-flutuante { display: none; } }

/* ---------- artigo do blog ---------- */
.artigo { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--respiro); }
.artigo__cabeca { max-width: 46rem; margin-inline: auto; }
.artigo__trilha { font-family: var(--f-apoio); font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 1.6rem; color: var(--tinta-suave); }
.artigo__trilha a { color: var(--tinta-suave); }
.artigo h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); }
.artigo__autoria { display: flex; align-items: center; gap: 0.9rem; margin: 1.6rem 0 0; color: var(--tinta-suave); font-size: 0.95rem; }
.artigo__autoria img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.artigo__autoria strong { color: var(--tinta); font-weight: 700; }
.artigo__corpo { max-width: 46rem; margin: 2.5rem auto 0; font-size: 1.1rem; }
.artigo__corpo h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); margin: 3rem 0 1rem; }
.artigo__corpo h3 { margin: 2rem 0 0.7rem; }
.artigo__corpo ul, .artigo__corpo ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.artigo__corpo li { margin-bottom: 0.45rem; }
.artigo__corpo li::marker { color: var(--azul-escuro); }
.artigo__corpo blockquote { margin: 1.6rem 0; padding: 1.1rem 1.4rem; border-left: 3px solid var(--azul); background: var(--azul-claro); border-radius: 0 var(--raio) var(--raio) 0; }
.artigo__corpo blockquote p:last-child { margin-bottom: 0; }
.artigo__corpo table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.8rem; font-size: 0.98rem; }
.artigo__corpo th, .artigo__corpo td { text-align: left; padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--linha); vertical-align: top; }
.artigo__corpo th { font-family: var(--f-apoio); font-weight: 600; background: var(--azul-claro); }
.resumo { background: var(--azul) !important; border-left: 0 !important; border-radius: var(--raio) !important; padding: 1.4rem 1.6rem !important; }
.resumo ul { margin-bottom: 0; }
.artigo__cta { margin: 3rem 0; padding: 2rem; border-radius: var(--raio); background: var(--amarelo); text-align: center; }
.artigo__cta p { font-family: var(--f-titulo); font-size: 1.6rem; line-height: 1.2; margin-bottom: 1.2rem; }
.artigo__autora { margin-top: 3rem; padding: 1.6rem; border-radius: var(--raio); background: var(--azul-claro); font-size: 1rem; }
.artigo__nota { font-size: var(--t-pequeno); color: var(--tinta-suave); }
.tabela-rolagem { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
