/* =========================================================
   Godoy & Tolentino — folha de estilos do site
   Mobile first. Cores e fontes vêm dos tokens abaixo.
   ========================================================= */

:root {
  /* Paleta */
  --abyss: #072A33;      /* faixas escuras, topo, rodapé */
  --petrol: #0B4656;     /* cor institucional */
  --tide: #4C9BB2;       /* detalhes e rótulos */
  --tide-ink: #2C7489;   /* versão de maré com contraste para texto pequeno */
  --aqua: #7FD3C8;       /* destaque sobre fundo escuro */
  --mist: #E3EFF2;       /* fundos suaves */
  --paper: #F6F8F8;      /* fundo principal */
  --white: #FFFFFF;
  --ink: #102A31;        /* texto */
  --muted: #51666C;      /* texto secundário */
  --line: #DCE4E6;       /* divisórias */
  --on-dark: #E3ECEE;
  --on-dark-muted: #AFC4C9;

  /* Tipografia */
  --f-display: "Jost", "Century Gothic", "Futura", "Segoe UI", system-ui, sans-serif;
  --f-text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, "Courier New", monospace;

  /* Medidas */
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --max: 1180px;
  --header-h: 68px;
  --radius: 2px;

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%237FD3C8' stroke-opacity='.08' stroke-width='8'%3E%3Cpath d='M100 14 186 100 100 186 14 100Z'/%3E%3Crect x='40' y='40' width='51' height='51'/%3E%3Crect x='109' y='40' width='51' height='51'/%3E%3Crect x='40' y='109' width='51' height='51'/%3E%3Crect x='109' y='109' width='51' height='51'/%3E%3Crect x='71' y='71' width='58' height='58'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p, ul, ol, figure, blockquote { margin: 0; }
a { color: var(--petrol); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--tide-ink); }
:focus-visible { outline: 2px solid var(--tide); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--aqua); color: var(--abyss); }

.container { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--aqua); color: var(--abyss); padding: 10px 16px; font-family: var(--f-display); font-weight: 500; }
.skip-link:focus { top: 12px; }

.eyebrow { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--tide-ink); }
.on-dark .eyebrow, .eyebrow--light { color: var(--aqua); }
.ref { font-family: var(--f-mono); font-size: .72rem; line-height: 1.55; color: var(--muted); }

/* ---------- monograma ---------- */
.mono { --m-square: var(--petrol); --m-inner: var(--tide); --m-diamond: #DDEBEE; }
.mono--white { --m-square: #FFFFFF; --m-inner: var(--aqua); --m-diamond: rgba(127, 211, 200, .2); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-display); font-weight: 500; font-size: .95rem; letter-spacing: .02em; line-height: 1.2;
  padding: .85em 1.4em; border-radius: var(--radius); border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  background: var(--aqua); color: var(--abyss);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { background: #9BE0D7; color: var(--abyss); }
.btn--dark { background: var(--petrol); color: #fff; }
.btn--dark:hover { background: var(--abyss); color: #fff; }
.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(227, 236, 238, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn--outline { background: transparent; color: var(--petrol); box-shadow: inset 0 0 0 1px var(--petrol); }
.btn--outline:hover { background: var(--petrol); color: #fff; }
.btn--sm { font-size: .85rem; padding: .65em 1.1em; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.link-more { font-family: var(--f-display); font-weight: 500; font-size: .95rem; color: var(--petrol); text-decoration: none; }
.link-more::after { content: " →"; transition: margin-left .2s; }
.link-more:hover::after { margin-left: .2em; }

/* ---------- cabeçalho ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(7, 42, 51, .5); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--f-display); font-size: .95rem; letter-spacing: .14em; line-height: 1; }
.brand-name em { font-family: var(--f-text); font-style: italic; letter-spacing: 0; font-size: 1.12em; color: var(--tide); padding-inline: .06em; }
.brand-sub { display: block; font-family: var(--f-display); font-size: .66rem; letter-spacing: .08em; color: var(--muted); margin-top: 5px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 28px; }
.nav-list a { font-family: var(--f-display); font-size: .95rem; color: var(--muted); text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav-list a:hover { color: var(--ink); }
.nav-list a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--tide); }
.nav-cta { margin-left: -4px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .2s; }
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  /* backdrop-filter criaria um contexto que prende o menu fixo dentro do cabeçalho */
  .site-header { backdrop-filter: none; background: var(--white); }
  .menu-toggle { display: block; }
  .nav {
    display: block;
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    background: var(--white); overflow-y: auto;
    padding: 24px var(--gutter-r) 40px var(--gutter);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s, transform .2s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; font-size: 1.35rem; color: var(--ink); padding-block: 16px; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"] { color: var(--tide-ink); border-bottom-color: var(--line); }
  .nav-cta { margin: 24px 0 0; }
  .nav-cta .btn { width: 100%; font-size: 1rem; padding-block: 1em; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 400px) { .brand-name { font-size: .82rem; letter-spacing: .1em; } .brand svg { width: 30px; height: 30px; } }

/* ---------- faixas escuras ---------- */
.on-dark { background: var(--abyss) var(--pattern); color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: var(--aqua); }

/* ---------- hero da página inicial ---------- */
.hero .container { display: grid; gap: 40px; padding-block: 56px 64px; }
.hero h1 { font-weight: 300; font-size: clamp(2.1rem, 5vw, 3.75rem); line-height: 1.08; letter-spacing: -.01em; margin-top: 16px; max-width: 16ch; }
.hero h1 em, .page-hero h1 em { font-family: var(--f-text); font-style: italic; font-weight: 400; color: var(--aqua); }
.hero-lead { margin-top: 20px; font-size: 1.15rem; color: var(--on-dark-muted); max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-family: var(--f-mono); font-size: .75rem; color: var(--on-dark-muted); }

.ritual {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(127, 211, 200, .22); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 16px; align-content: start;
}
.ritual-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); }
.ritual-head span:last-child { color: #8EA9AF; }
.ritual h2 { font-size: 1.25rem; font-weight: 400; }
.ritual ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.ritual li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; font-size: .95rem; line-height: 1.45; color: #D3E0E3; }
.ritual small { display: block; font-family: var(--f-mono); font-size: .7rem; color: #8EA9AF; margin-top: 3px; }
.st { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; }
.st--done { background: var(--aqua); }
.st--doing { border: 2px solid var(--aqua); background: linear-gradient(90deg, var(--aqua) 50%, transparent 50%); }
.st--todo { border: 2px solid #5C7D85; }
.ritual-foot { font-size: .8rem; color: #8EA9AF; border-top: 1px solid rgba(127, 211, 200, .18); padding-top: 14px; }

@media (min-width: 900px) {
  .hero .container { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 64px; align-items: center; padding-block: 96px 104px; }
}

/* ---------- hero das páginas internas ---------- */
.page-hero .container { padding-block: 48px 56px; display: grid; gap: 28px; }
.page-hero h1 { font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; margin-top: 14px; max-width: 20ch; }
.page-hero .lead { margin-top: 18px; font-size: 1.12rem; color: var(--on-dark-muted); max-width: 60ch; }
.page-hero .ref { color: var(--on-dark-muted); }
.page-hero-aside { display: grid; gap: 16px; align-content: start; }
.page-hero-aside svg.quad { width: 56px; height: 56px; }
.page-hero-aside .quad rect { stroke: rgba(255, 255, 255, .85); }
.breadcrumb { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--on-dark-muted); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.on-dark .breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.on-dark .breadcrumb a:hover { color: var(--aqua); }
@media (min-width: 900px) {
  .page-hero .container { grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: end; padding-block: 72px 80px; }
  .page-hero--plain .container { grid-template-columns: 1fr; }
}

/* ---------- seções ---------- */
.section { padding-block: 64px; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--mist { background: var(--mist); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 680px; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 300; line-height: 1.15; }
.section-head p { color: var(--muted); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.section-head--row > div { display: grid; gap: 12px; max-width: 680px; }
@media (min-width: 900px) { .section { padding-block: 96px; } .section-head { margin-bottom: 48px; } }

/* ---------- cartões de área ---------- */
.areas-grid { display: grid; gap: 16px; }
@media (min-width: 620px) { .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .areas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: grid; gap: 14px; grid-template-rows: auto auto 1fr auto; align-content: start;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.area-card:hover { border-color: var(--tide); box-shadow: 0 18px 40px -28px rgba(7, 42, 51, .45); }
@media (prefers-reduced-motion: no-preference) { .area-card:hover { transform: translateY(-2px); } }
.area-top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.area-top .ref { text-align: right; }
.quad { width: 36px; height: 36px; flex: none; }
.quad rect { fill: none; stroke: var(--petrol); stroke-width: 2.5; }
.quad rect.on { fill: var(--aqua); }
.area-card h3 { font-size: 1.3rem; line-height: 1.2; }
.area-card h3 a { color: inherit; text-decoration: none; }
.area-card h3 a::after { content: ""; position: absolute; inset: 0; }
.area-card ul { list-style: none; padding: 0; display: grid; gap: 7px; font-size: .95rem; }
.area-card li, .ticks li { padding-left: 16px; position: relative; line-height: 1.45; }
.area-card li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--tide); }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.areas-also { margin-top: 24px; color: var(--muted); font-size: .98rem; }
.areas-also strong { color: var(--ink); font-weight: 600; }

/* ---------- etapas ---------- */
.steps { list-style: none; padding: 0; display: grid; }
.steps li { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.steps .n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tide-ink); }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* ---------- diferenciais ---------- */
.diff-grid { display: grid; gap: 28px; }
.diff-grid h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 6px; }
.diff-grid p { color: var(--muted); font-size: .98rem; }
@media (min-width: 620px) { .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .diff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; } }

/* ---------- perfil ---------- */
.profile { display: grid; gap: 24px; max-width: 860px; }
.profile-photo { width: 100%; max-width: 260px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: #3A4144; }
.profile h3 { font-size: 1.6rem; }
.profile .oab { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); margin-top: 4px; }
.profile p + p { margin-top: 12px; }
.profile-body > p:not(.oab) { margin-top: 14px; color: var(--muted); }
.profile-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; }
.profile-links a { font-family: var(--f-display); font-weight: 500; font-size: .95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.profile-links svg { width: 18px; height: 18px; }
@media (min-width: 700px) { .profile { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; } }

/* ---------- artigos (lista) ---------- */
.posts { display: grid; gap: 16px; }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; grid-template-rows: auto 1fr auto; transition: border-color .2s; }
.post-card:hover { border-color: var(--tide); }
.post-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--tide-ink); }
.post-meta span:last-child { color: var(--muted); }
.post-card h3 { font-size: 1.2rem; line-height: 1.3; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .95rem; }

/* ---------- contato ---------- */
.contact { background: var(--petrol); color: var(--on-dark); }
.contact .container { padding-block: 64px; display: grid; gap: 40px; }
.contact h2 { font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: #fff; margin-top: 12px; }
.contact-intro > p { color: var(--on-dark-muted); margin-top: 14px; max-width: 46ch; }
.channels { display: grid; gap: 16px; margin-top: 28px; }
.channel { display: grid; gap: 2px; }
.channel span:first-child { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--aqua); }
.channel a { color: #fff; text-decoration: none; font-size: 1.05rem; }
.channel a:hover { color: var(--aqua); text-decoration: underline; }
@media (min-width: 900px) { .contact .container { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; padding-block: 96px; } }

.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } .form { padding: 32px; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-display); font-size: .9rem; color: var(--ink); }
.field .opt { color: var(--muted); font-size: .85em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid #C9D5D8; border-radius: var(--radius);
  padding: .7em .85em; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 3px rgba(76, 155, 178, .25); background: var(--white); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3412E; }
.field-error { font-size: .85rem; color: #A23A28; min-height: 0; }
.field-error:empty { display: none; }
.form-consent { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1E6B4E; }
.form-status.is-error { color: #A23A28; }
.hp { position: absolute !important; left: -9999px; }

/* ---------- chamada final ---------- */
.cta-band .container { padding-block: 56px; display: grid; gap: 24px; align-items: center; }
.cta-band h2 { font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: var(--on-dark-muted); margin-top: 10px; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: minmax(0, 1fr) auto; padding-block: 72px; } }

/* ---------- páginas de área ---------- */
.services { display: grid; gap: 0; }
.service { padding-block: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.service h3 { font-size: 1.25rem; }
.service p { color: var(--muted); }
@media (min-width: 760px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }

.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

.cases { list-style: none; padding: 0; display: grid; gap: 12px; }
.cases li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-family: var(--f-display); font-size: 1.08rem; line-height: 1.4; }
.cases li::before { content: "“"; font-family: var(--f-text); color: var(--tide); margin-right: 2px; }
.cases li::after { content: "”"; font-family: var(--f-text); color: var(--tide); margin-left: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { font-size: .92rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); }

.laws { display: grid; gap: 10px; list-style: none; padding: 0; }
.laws li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.laws li span:first-child { font-family: var(--f-mono); font-size: .8rem; color: var(--tide-ink); padding-top: 2px; }

.related { display: grid; gap: 12px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.related a:hover { border-color: var(--tide); color: var(--ink); }
.related .quad { width: 28px; height: 28px; }
.related strong { font-family: var(--f-display); font-weight: 400; font-size: 1.1rem; }

/* ---------- perguntas frequentes ---------- */
.faq { display: grid; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--f-display); font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--tide); border-bottom: 1.5px solid var(--tide); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding-bottom: 22px; color: var(--muted); max-width: 68ch; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- texto longo (artigos, privacidade) ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; font-weight: 400; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; font-weight: 500; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--tide); }
.prose blockquote { border-left: 2px solid var(--tide); padding: 4px 0 4px 20px; color: var(--muted); font-style: italic; }
.prose .callout { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; font-size: .98rem; }
.prose .callout strong { font-family: var(--f-display); font-weight: 500; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-family: var(--f-mono); font-size: .75rem; color: var(--on-dark-muted); }
.article-layout { display: grid; gap: 48px; }
.article-aside { display: grid; gap: 16px; align-content: start; }
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.aside-box h2 { font-size: 1.15rem; font-weight: 500; }
.aside-box p { font-size: .95rem; color: var(--muted); }
.disclaimer { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2.4em; }
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; }
  .article-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- rodapé ---------- */
.site-footer { background: var(--abyss) var(--pattern); color: var(--on-dark-muted); font-size: .95rem; }
.site-footer .container { padding-block: 56px 32px; display: grid; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name em { color: var(--aqua); }
.site-footer .brand-sub { color: var(--on-dark-muted); }
.footer-tagline { margin-top: 16px; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer-cols h2 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--aqua); font-weight: 500; margin-bottom: 12px; }
.footer-cols ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-cols li { overflow-wrap: anywhere; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--aqua); text-decoration: underline; }
.legal { border-top: 1px solid rgba(127, 211, 200, .18); padding-top: 20px; font-family: var(--f-mono); font-size: .72rem; line-height: 1.7; color: #8EA9AF; display: grid; gap: 4px; }
@media (min-width: 900px) {
  .site-footer .container { grid-template-columns: 1.1fr 2fr; padding-block: 72px 36px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.3fr); }
  .legal { grid-column: 1 / -1; }
}

/* ---------- barra fixa no celular ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: rgba(255, 255, 255, .95); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
}
.dock .btn { width: 100%; }
body.has-dock { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .dock { display: none; } body.has-dock { padding-bottom: 0; } }

/* ---------- página 404 / obrigado ---------- */
.notice { min-height: 60vh; display: grid; align-content: center; }
.notice .container { padding-block: 80px; display: grid; gap: 20px; justify-items: start; }
.notice h1 { font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); }
.notice p { color: var(--muted); max-width: 52ch; }
.notice svg { width: 72px; height: 72px; }
