/* Miuau — site estático. Fontes servidas daqui mesmo: nenhuma requisição a terceiros. */
@font-face { font-family: 'Figtree'; src: url('/fonts/Figtree_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/Figtree_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/Figtree_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/BricolageGrotesque_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --primary: #2f7391;
  --primary-deep: #1f4e63;
  --sky: #e4f1f5;
  --bg: #f7f9f7;
  --surface: #ffffff;
  --text: #22303a;
  --muted: #5b6b73;
  --border: #e3e8e6;
  --coral: #f29a8a;
  --coral-text: #b4503e;
  --coral-tint: #fceae5;
  --sand: #fdf1e4;
  --sand-text: #8a5314;
  --success-tint: #e4f3ec;
  --success-text: #2e7a5e;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: 'Bricolage Grotesque', 'Figtree', sans-serif; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3.5vw, 1.9rem); }
h3 { font-size: 1.15rem; font-family: 'Figtree', sans-serif; font-weight: 700; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* Cabeçalho */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary-deep); font: 700 1.35rem 'Bricolage Grotesque', sans-serif; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.top nav a:hover, .top nav a[aria-current='page'] { color: var(--primary-deep); }

/* Início */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 32px 0 56px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 18px 0 28px; max-width: 34ch; }
.hero-art { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sky); box-shadow: 0 24px 48px -24px rgba(31, 78, 99, 0.35); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; left: 16px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 10px 14px; box-shadow: 0 10px 24px -12px rgba(31, 78, 99, 0.35); font-size: 0.9rem; line-height: 1.3; }
.float b { display: block; font-size: 0.98rem; }
.float small { color: var(--muted); }
.float .dot { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; }
.float.one { bottom: 92px; }
.float.two { bottom: 22px; left: auto; right: 16px; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: #fff; text-decoration: none; padding: 14px 22px; border-radius: 16px; font-weight: 700; }
.btn:hover { background: var(--primary-deep); color: #fff; }
.btn[aria-disabled='true'] { background: var(--text); cursor: default; }
.note { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--muted); }

.section { padding: 56px 0; }
.section > .wrap > h2 { margin-bottom: 8px; }
.section > .wrap > p.sub { color: var(--muted); margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 0.98rem; }
.tile { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.tile svg { width: 22px; height: 22px; }

.privacy-band { background: var(--success-tint); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.privacy-band p { margin: 6px 0 0; color: #33584a; }

/* Páginas de texto (política e termos) */
.doc { padding: 24px 0 64px; }
.doc header { margin-bottom: 28px; }
.doc header p { color: var(--muted); margin: 10px 0 0; }
.doc h2 { font-size: 1.3rem; margin: 40px 0 10px; scroll-margin-top: 16px; }
.doc h3 { margin: 22px 0 6px; }
.doc p, .doc li { color: #33424b; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.summary h2 { margin-top: 0; font-size: 1.1rem; }
.summary ul { margin: 8px 0 0; }
.toc { margin: 24px 0 8px; font-size: 0.95rem; }
.toc ol { columns: 2; column-gap: 32px; padding-left: 1.2em; margin: 8px 0 0; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--surface); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { background: var(--sky); color: var(--primary-deep); font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.callout { background: var(--sand); color: #5c3a10; border-radius: 16px; padding: 16px 18px; margin: 16px 0; }
.callout.warn { background: var(--coral-tint); color: #6b2e22; }

/* Rodapé */
.foot { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 0.92rem; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; }
  .hero-art { aspect-ratio: 1 / 1; max-height: 520px; }
  .grid { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: 1fr; padding: 24px; }
  .toc ol { columns: 1; }
  .top nav { gap: 14px; }
}
@media (max-width: 420px) {
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { border-bottom: 1px solid var(--border); }
  .table td { border: 0; padding: 6px 14px; }
  .table td:first-child { padding-top: 12px; font-weight: 700; color: var(--primary-deep); }
  .table td:last-child { padding-bottom: 12px; }
}

@media (max-width: 480px) {
  .top nav { gap: 14px; font-size: 0.9rem; flex-wrap: nowrap; }
  .top nav .hide-sm { display: none; }
}
