/* ═══════════════════════════════════════════════════════════════════════════
   Universitária Comunicação Visual — folha de estilo única.
   Cores e tipografia vêm direto do manual da marca (arquivos RGB).
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree-latin-var.woff2') format('woff2-variations');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca */
  --navy: #1b1e28;
  --blue: #3d5a95;      /* azul principal do manual */
  --blue-mid: #5672a7;  /* segundo azul do manual (apresentação da marca) */
  --blue-light: #7297c1;/* terceiro azul do manual */
  --light: #eef3f7;

  /* Derivadas */
  --navy-soft: #262b39;
  --blue-dark: #2f4677;
  --blue-tint: #e6ecf7;
  --ink: #1b1e28;
  --ink-2: #4a5163;
  --ink-3: #6b7285;
  --line: #dbe3ec;
  --white: #fff;

  /* WhatsApp */
  --wa: #25d366;
  --wa-dark: #1fb955;
  --wa-ink: #10301c;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgb(27 30 40 / 6%), 0 8px 24px -12px rgb(27 30 40 / 18%);
  --shadow-lg: 0 2px 4px rgb(27 30 40 / 6%), 0 24px 48px -20px rgb(27 30 40 / 28%);

  --wrap: 1160px;
  --gap: clamp(1.5rem, 3.2vw, 2.75rem);
  --section: clamp(4.5rem, 9vw, 8rem);

  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::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; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--light); padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.lead { font-size: clamp(1.06rem, 1rem + .45vw, 1.3rem); color: var(--ink-2); line-height: 1.6; }
.measure { max-width: 68ch; }

/* ── Botões ───────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .97rem; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); color: var(--white); }
.btn--dark { background: var(--navy); color: var(--light); }
.btn--dark:hover { background: var(--navy-soft); color: var(--light); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgb(255 255 255 / 10%); color: inherit; }
.btn--outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn--sm { padding: .65rem 1.25rem; font-size: .9rem; }

/* WhatsApp — verde da marca com texto escuro (contraste 8,4:1) */
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-dark); color: var(--wa-ink); }
.btn--wa svg { width: 20px; height: 20px; flex: 0 0 auto; }
.cta .btn--wa, .section--dark .btn--wa { color: var(--wa-ink); }

/* ── Topo ─────────────────────────────────────────────────────────────────── */

/* O cabeçalho É o balão de fala da marca: barra + rabinho no canto inferior
   direito, na mesma proporção do símbolo original (13,8 × 16 sobre uma caixa
   de altura 82,3 — ou seja, 17% × 19,5% da altura da barra). */
.topbar {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar::after {
  content: ''; position: absolute; top: 100%; right: 0; pointer-events: none;
  width: 24px; height: 28px;
  background: url('/assets/img/rabinho.svg') top right / 100% 100% no-repeat;
}

.topbar__inner { display: flex; align-items: center; gap: 1.75rem; min-height: 84px; }
.topbar__logo { color: var(--navy); flex: 0 0 auto; }
.topbar__logo img { width: clamp(150px, 16vw, 186px); }

.topbar__nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.topbar__nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.topbar__nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .97rem; }
.topbar__nav a:hover, .topbar__nav a[aria-current='page'] { color: var(--navy); }
.topbar__nav a[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--blue); }
.topbar__nav .btn--primary { color: var(--white); }
.topbar__ctas { display: flex; align-items: center; gap: .5rem; }

.topbar__toggle {
  display: none; width: 50px; height: 50px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--white); cursor: pointer;
}
.topbar__bars, .topbar__bars::before, .topbar__bars::after {
  display: block; width: 22px; height: 2px; background: var(--navy); margin-inline: auto;
  border-radius: 2px; transition: transform .2s, opacity .2s;
}
.topbar__bars { position: relative; }
.topbar__bars::before, .topbar__bars::after { content: ''; position: absolute; left: 0; }
.topbar__bars::before { top: -7px; }
.topbar__bars::after { top: 7px; }
[aria-expanded='true'] .topbar__bars { background: transparent; }
[aria-expanded='true'] .topbar__bars::before { transform: translateY(7px) rotate(45deg); }
[aria-expanded='true'] .topbar__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .topbar__toggle { display: block; }

  /* Duas colunas: a marca é centralizada NO ESPAÇO QUE SOBRA à esquerda do
     botão, não na tela inteira. Fica com cara de centralizada e, ao mesmo
     tempo, equilibrada com o peso do botão à direita. */
  .topbar__inner {
    display: grid; grid-template-columns: 1fr auto;
    align-items: center; gap: .75rem; min-height: 96px;
  }
  .topbar__logo { grid-column: 1; justify-self: center; }
  .topbar__logo img { width: min(215px, 58vw); }
  .topbar__toggle { grid-column: 2; justify-self: end; }
  .topbar__nav { grid-column: 1 / -1; }

  .topbar__nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem clamp(1rem, 4vw, 2rem) 1.5rem; box-shadow: var(--shadow); display: none;
  }
  .topbar__nav[data-open] { display: flex; }
  .topbar__nav ul { flex-direction: column; gap: 0; }
  .topbar__nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .topbar__ctas { flex-direction: column; align-items: stretch; gap: .6rem; margin-top: 1.25rem; }

  /* com o menu aberto o rabinho sairia no meio da lista */
  .topbar[data-menu-open]::after { display: none; }
}

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */

.crumbs { background: var(--light); border-bottom: 1px solid var(--line); font-size: .87rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: .9rem 0; }
.crumbs li + li::before { content: '›'; margin-right: .45rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue-dark); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-3); }

/* ── Seções ───────────────────────────────────────────────────────────────── */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3.25rem, 6vw, 5rem); }
.section--light { background: var(--light); }
/* faixa de respiro em azul bem lavado — substitui o antigo bloco quase preto */
.section--wash { background: var(--blue-tint); }
.section--dark { background: var(--navy); color: var(--light); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--light); }
.section--dark a { color: #b9c9e8; }
.section--dark .lead { color: #b7bfd0; }

.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1rem;
}
.section--dark .eyebrow { color: #8fa8d8; }

/* ── Padrão da marca (balões) ─────────────────────────────────────────────── */

.pattern {
  position: relative; overflow: hidden; isolation: isolate;
}
.pattern::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('/assets/img/pattern-tile.svg') repeat;
  background-size: 132px auto; opacity: .055;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero { background: var(--blue); color: var(--white); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.hero .eyebrow { color: #cbdaf0; }
.hero__grid { display: grid; gap: clamp(2.5rem, 5.5vw, 4.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { color: var(--white); margin-bottom: .6em; }
.hero__text { color: rgb(255 255 255 / 88%); font-size: clamp(1.06rem, 1rem + .45vw, 1.28rem); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.5rem; }
.hero__phone { margin-top: 1.25rem; font-size: .95rem; color: rgb(255 255 255 / 78%); }
.hero__phone a { color: var(--white); font-weight: 700; text-decoration: none; }
.hero__phone a:hover { text-decoration: underline; color: var(--white); }
.hero__badges { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; margin: 2.6rem 0 0; padding: 0; list-style: none; font-size: .92rem; color: rgb(255 255 255 / 80%); }
.hero__badges li { display: flex; align-items: center; gap: .45rem; }
.hero__badges .icon { width: 17px; height: 17px; color: #cbdaf0; }

.hero__card {
  background: var(--blue-dark); border: 1px solid rgb(255 255 255 / 20%); border-radius: var(--radius);
  padding: clamp(1.75rem, 3.2vw, 2.6rem);
}
.hero__card h2 { font-size: 1.15rem; color: var(--white); }
.hero__card ol { margin: 0; padding-left: 1.1rem; color: rgb(255 255 255 / 86%); font-size: .97rem; }
.hero__card li { margin-bottom: 1rem; }
.hero__card li:last-child { margin-bottom: 0; }
.hero__card li strong { color: var(--white); }
.hero__card .stats__value { color: var(--white); }
.hero__card .stats__label { color: rgb(255 255 255 / 78%); }
.hero__card .stats__item { border-left-color: rgb(255 255 255 / 45%); }

/* ── Grids e cards ────────────────────────────────────────────────────────── */

.grid { display: grid; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.35rem);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card:hover { border-color: #c3d0e2; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-tint); color: var(--blue-dark); margin-bottom: 1.1rem;
}
.card__icon .icon { width: 24px; height: 24px; }
.card__title { margin-bottom: .55rem; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card__text { color: var(--ink-2); font-size: .97rem; margin-bottom: 1.15rem; }
.card__more { font-size: .9rem; font-weight: 700; color: var(--blue); }

.section--light .card { background: var(--white); }

/* ── Números / provas ─────────────────────────────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.stats__item { border-left: 3px solid var(--blue); padding-left: 1.35rem; }
.stats__value { display: block; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.stats__label { display: block; color: var(--ink-3); font-size: .93rem; }
.section--dark .stats__label { color: #9aa4b8; }

.clients { display: flex; flex-wrap: wrap; gap: .75rem .8rem; list-style: none; margin: 0; padding: 0; }
.clients__item {
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem;
  font-size: .9rem; font-weight: 600; color: var(--ink-2); background: var(--white);
}

/* ── Listas de checagem ───────────────────────────────────────────────────── */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: 20px; height: 20px;
  border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f4677' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .checklist li::before { background-color: #33415f; }

/* ── Passo a passo ────────────────────────────────────────────────────────── */

.steps { counter-reset: step; display: grid; gap: var(--gap); list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { counter-increment: step; padding-top: 3.6rem; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-size: 1rem; font-weight: 900; color: var(--blue); letter-spacing: .05em;
  border-top: 3px solid var(--blue); padding-top: .7rem; width: 100%;
}
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--ink-2); font-size: .97rem; }
.section--dark .steps p { color: #b7bfd0; }

/* ── Portfólio ────────────────────────────────────────────────────────────── */

.work { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); list-style: none; margin: 0; padding: 0; }
.work__item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.work__thumb {
  aspect-ratio: 4 / 3; background: var(--blue-mid) url('/assets/img/pattern-tile-claro.svg') repeat;
  background-size: 150px auto; display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.work__body { padding: 1.7rem clamp(1.5rem, 2.4vw, 2rem) 2rem; }
.work__tag { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.work__body h3, .work__h { margin: .4rem 0 .45rem; font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); font-weight: 700; }
.work__body p { color: var(--ink-2); font-size: .96rem; }
.work__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.work__meta li { font-size: .8rem; background: var(--light); border-radius: 999px; padding: .3rem .7rem; color: var(--ink-2); }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq { max-width: 80ch; }
.faq details { border-bottom: 1px solid var(--line); padding: .5rem 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 700;
  position: relative; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue); line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details > p { padding: 0 2.5rem 1.5rem 0; color: var(--ink-2); }

/* ── CTA ──────────────────────────────────────────────────────────────────── */

.cta { background: var(--blue); color: var(--white); }
.cta__inner {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between;
  padding-block: clamp(3rem, 5.5vw, 4.25rem);
}
.cta__title { color: var(--white); margin-bottom: .35rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.cta__text { color: rgb(255 255 255 / 85%); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn--primary { background: var(--white); color: var(--blue-dark); }
.cta .btn--primary:hover { background: var(--light); color: var(--navy); }
.cta .btn--ghost { color: var(--white); }

/* ── Formulário que monta a mensagem do WhatsApp ─────────────────────────── */

.form { display: grid; gap: 1.5rem; max-width: 640px; }
.form__row { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: .5rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field .hint { font-size: .86rem; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; padding: .9rem 1.05rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--white); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgb(61 90 149 / 15%);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.form__note { font-size: .89rem; color: var(--ink-3); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }

/* Prévia da mensagem que vai para o WhatsApp */
.preview {
  background: var(--light); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.5rem; font-size: .93rem; line-height: 1.65; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word; min-height: 3rem;
}
.preview:empty::before { content: 'A mensagem aparece aqui conforme você preenche.'; color: var(--ink-3); }

/* ── Espaços de foto (provisórios) ────────────────────────────────────────── */

/* Marcam onde cada foto vai entrar. Some tudo quando as fotos chegarem. */
.foto {
  display: grid; place-items: center; text-align: center;
  border-radius: var(--radius); overflow: hidden; padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--blue-mid) url('/assets/img/pattern-tile-claro.svg') repeat;
  background-size: 150px auto;
}
.foto--wide { aspect-ratio: 16 / 9; }
.foto--card { aspect-ratio: 3 / 2; }
.foto + .foto { margin-top: var(--gap); }

.foto__inner {
  display: grid; gap: .5rem; max-width: 46ch;
  background: rgb(27 30 40 / 82%); color: var(--white);
  border-radius: var(--radius-sm); padding: 1.1rem 1.4rem;
}
.foto__num {
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-light);
}
.foto__titulo { font-weight: 800; font-size: clamp(.98rem, .94rem + .2vw, 1.12rem); line-height: 1.3; }
.foto__dica { font-size: .86rem; line-height: 1.5; color: rgb(255 255 255 / 82%); }
.foto__erro { color: #ffd0d0; font-weight: 700; }

/* Foto de verdade, com legenda, no corpo da página */
.foto-fig { margin: 0; max-width: 560px; }
.foto-fig img { width: 100%; height: auto; border-radius: var(--radius); }
.foto-fig figcaption { margin-top: .8rem; font-size: .88rem; color: var(--ink-3); }

/* dentro dos cards do portfólio o espaço já existe, então só entra a etiqueta */
/* absoluto para o 4:3 do card mandar, independente da proporção da foto */
.work__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__thumb .foto__inner { max-width: 34ch; padding: .9rem 1.1rem; }
.work__thumb .foto__dica { display: none; }

/* ── Blocos auxiliares ────────────────────────────────────────────────────── */

.panel { background: var(--light); border-radius: var(--radius); padding: clamp(1.85rem, 3.2vw, 2.6rem); }
.panel--outline { background: var(--white); border: 1px solid var(--line); }
.split { display: grid; gap: clamp(2.5rem, 5.5vw, 4.25rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } }
.prose h2 { margin-top: 2.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.1em; }
.prose ul, .prose ol { color: var(--ink-2); padding-left: 1.3rem; }
.prose li { margin-bottom: .7rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 2rem 0; }
.prose th, .prose td { text-align: left; padding: .95rem 1.05rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--light); font-weight: 700; }

.postmeta { color: var(--ink-3); font-size: .9rem; margin-bottom: 1.5rem; }

/* ── Rodapé ───────────────────────────────────────────────────────────────── */

.footer { background: var(--navy); color: #b7bfd0; padding-top: clamp(4rem, 7vw, 5.5rem); font-size: .95rem; }
.footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); }
.footer__brand { max-width: 320px; }
.footer__logo { color: var(--light); width: 200px; }
.footer__slogan { margin: 1.1rem 0 .6rem; color: #9aa4b8; }
.footer__legal { color: #6c768d; font-size: .87rem; }
.footer__title { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 1rem; font-weight: 800; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.footer__list a { color: #b7bfd0; text-decoration: none; overflow-wrap: anywhere; }
.footer__list a:hover { color: var(--blue-light); text-decoration: underline; }
.footer__address { font-style: normal; color: #9aa4b8; margin-top: 1rem; font-size: .9rem; line-height: 1.6; }
.footer__bottom { border-top: 1px solid #333a4b; margin-top: clamp(3rem, 5.5vw, 4rem); padding-block: 1.85rem; }
.footer__bottom p { color: #6c768d; font-size: .87rem; margin: 0; }

/* ── WhatsApp flutuante ───────────────────────────────────────────────────── */

.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 60; display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem; border-radius: 999px; font-weight: 800; font-size: .97rem;
  background: var(--wa); color: var(--wa-ink); text-decoration: none;
  box-shadow: var(--shadow-lg); transition: transform .18s, background-color .18s;
}
.wa-float:hover { transform: scale(1.05); background: var(--wa-dark); color: var(--wa-ink); }
.wa-float svg { width: 30px; height: 30px; flex: 0 0 auto; }
.wa-float span { display: none; padding-right: .55rem; }
@media (min-width: 620px) { .wa-float span { display: inline; } }

/* Halo pulsante para chamar atenção — desligado se o usuário pediu menos animação */
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgb(37 211 102 / 65%); animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgb(37 211 102 / 60%); }
  70% { box-shadow: 0 0 0 16px rgb(37 211 102 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0%); }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
@media print { .wa-float, .topbar, .footer { display: none; } }
