/*
 * Anotae · Landing institucional anot.ae
 * Identidade "Brasa" v2.0 (BRAND-GUIDELINES.md §11).
 *
 * Stack:
 *   - HTML estático puro, CSS vanilla, vanilla JS no inline.
 *   - Manrope (woff2 self-hosted em site/fonts/) + JetBrains Mono.
 *   - Sem trackers, sem cookies persistentes, sem Google Fonts.
 *   - Dark mode adaptativo via prefers-color-scheme.
 *
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

/* ---------------------------------------------------------------- */
/* Fontes self-hosted (woff2 em site/fonts/)                        */
/* ---------------------------------------------------------------- */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Manrope-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Manrope-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Manrope-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/Manrope-ExtraBold.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2");
}

/* ---------------------------------------------------------------- */
/* Tokens — paleta Brasa                                            */
/* ---------------------------------------------------------------- */

:root {
  /* Paleta principal */
  --terracota:    #C84B27;
  --terracota-2:  #A33B1E;
  --terracota-3:  #FBE8DD;
  --mata:         #1F7A5A;
  --mata-2:       #0F6147;
  --mata-3:       #DCEBE3;
  --areia:        #F5EFE6;
  --areia-2:      #FBF7F0;
  --argila:       #231914;
  --argila-2:     #3E2C24;
  --folha:        #3FA37A;

  /* Aliases semânticos */
  --bg:            var(--areia);
  --bg-soft:       var(--areia-2);
  --fg:            var(--argila);
  --fg-muted:      #5C4A3F;
  --fg-subtle:     #6B5347;
  --border:        #E0D5C4;
  --primary:       var(--terracota);
  --primary-hover: var(--terracota-2);
  --primary-tint:  var(--terracota-3);
  --accent:        var(--mata);
  --success:       var(--folha);

  /* Tipografia */
  --font-sans: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, "Liberation Mono",
               "Courier New", monospace;

  /* Layout */
  --container:     1180px;
  --reading:       680px;
  --radius-s:      6px;
  --radius:        12px;
  --radius-l:      20px;
  --shadow:        0 1px 2px rgba(35, 25, 20, 0.06),
                   0 8px 24px rgba(35, 25, 20, 0.06);
  --shadow-lift:   0 1px 2px rgba(35, 25, 20, 0.08),
                   0 16px 40px rgba(35, 25, 20, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:            var(--argila);
    --bg-soft:       var(--argila-2);
    --fg:            var(--areia);
    --fg-muted:      #C4B5A6;
    --fg-subtle:     #B09A87;
    --border:        #4A352B;
    --primary:       #E07350;
    --primary-hover: #F08868;
    --primary-tint:  rgba(224, 115, 80, 0.16);
    --accent:        #4FB68D;
    --shadow:        0 1px 2px rgba(0, 0, 0, 0.30),
                     0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lift:   0 1px 2px rgba(0, 0, 0, 0.40),
                     0 16px 40px rgba(0, 0, 0, 0.45);
  }
}

/* ---------------------------------------------------------------- */
/* Reset + base                                                     */
/* ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}
a:not(.btn):hover { border-bottom-color: currentColor; }
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

code, pre, kbd { font-family: var(--font-mono); font-size: 0.95em; }
code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: var(--radius-s);
}

::selection { background: var(--primary-tint); color: var(--fg); }

/* ---------------------------------------------------------------- */
/* Tipografia hierárquica                                           */
/* ---------------------------------------------------------------- */

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--fg);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
}
h3 {
  font-size: 1.375rem;
  font-weight: 700;
}
h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--fg-muted);
}
p { margin: 0 0 1em; }
.lead {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: var(--reading);
  margin-bottom: 1.5em;
}
em { color: var(--primary); font-style: normal; font-weight: 700; }

/* ---------------------------------------------------------------- */
/* Container + utilitários                                          */
/* ---------------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-soft { background: var(--bg-soft); }
.section-narrow { max-width: var(--reading); margin-inline: auto; }
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header .lead { margin-bottom: 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- */
/* Top nav (sticky com backdrop blur)                               */
/* ---------------------------------------------------------------- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--fg);
  border: none !important;
  letter-spacing: -0.02em;
}
.brand svg { width: 28px; height: 28px; }
.topnav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  align-items: center;
  font-size: 0.9375rem;
}
.topnav-links a {
  color: var(--fg-muted);
  border: none;
  font-weight: 500;
}
.topnav-links a:hover { color: var(--fg); }
/* Hamburger toggle button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--fg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
body[data-nav-open] .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body[data-nav-open] .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body[data-nav-open] .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .topnav-links li:not(.cta-li) { display: none; }
}

/* Mobile nav overlay — elemento irmão do header, sem backdrop-filter */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 200;
  padding: 24px;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 1.25rem;
}
.mobile-nav a {
  color: var(--fg);
  font-weight: 600;
  border: none;
  font-size: inherit;
}
.mobile-nav a:hover { color: var(--primary); border: none; }
.mobile-nav a.btn { font-size: 1.0625rem; padding: 14px 32px; margin-top: 8px; }

/* ---------------------------------------------------------------- */
/* Botões                                                           */
/* ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--primary);
  color: #FFFFFF !important;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--fg);
  background: var(--bg-soft);
}
.btn-mini {
  padding: 6px 14px;
  font-size: 0.875rem;
  border-radius: var(--radius-s);
}

/* ---------------------------------------------------------------- */
/* Hero                                                             */
/* ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    var(--bg) 0%,
    var(--bg-soft) 60%,
    color-mix(in srgb, var(--primary) 8%, var(--bg)) 100%
  );
}
.hero::before {
  content: "";
  position: absolute;
  right: -6%;
  top: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(closest-side, var(--primary-tint), transparent);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 48px;
  align-items: center;
  z-index: 1;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 220px; margin: 0 auto; }
}
.hero h1 { margin-bottom: 16px; }
.hero h1 br { display: none; }
@media (min-width: 720px) {
  .hero h1 br { display: inline; }
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--fg-subtle);
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-beta {
  background: color-mix(in srgb, var(--mata) 14%, var(--bg));
  border-color: color-mix(in srgb, var(--mata) 30%, var(--border));
  color: var(--mata);
}
.badge-local {
  background: var(--primary-tint);
  border-color: color-mix(in srgb, var(--primary) 24%, var(--border));
  color: var(--primary);
}

.hero-art svg, .hero-art img { width: 100%; max-width: 320px; height: auto; }

/* ---------------------------------------------------------------- */
/* Animated counter (problema)                                      */
/* ---------------------------------------------------------------- */

.problem-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 32px 0;
}
.problem-stat .num {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.problem-stat .num small {
  font-size: 0.45em;
  color: var(--fg-muted);
  font-weight: 500;
  margin-left: 6px;
}
.problem-stat .label {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 520px;
}
.problem-systems {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.problem-systems li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.problem-systems strong { color: var(--fg); }
.problem-systems li::before {
  content: "•";
  color: var(--primary);
  font-weight: 800;
  font-size: 1.5em;
  line-height: 1;
}

/* ---------------------------------------------------------------- */
/* Feature cards (solução)                                          */
/* ---------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.feature-card {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
}
.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: 16px;
}
.feature-card .icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.125rem; margin-bottom: 6px; }
.feature-card p { color: var(--fg-muted); margin-bottom: 0; font-size: 0.9375rem; }

/* ---------------------------------------------------------------- */
/* Demo                                                             */
/* ---------------------------------------------------------------- */

.demo-frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-frame video, .demo-frame img { width: 100%; height: 100%; object-fit: cover; }
.demo-placeholder {
  text-align: center;
  padding: 48px 24px;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}
.demo-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--argila);
}
.demo-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #1a100d;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.demo-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.demo-mockup-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(245,239,230,0.4);
  margin-left: 8px;
}
.demo-mockup-body {
  flex: 1;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--areia);
  overflow: hidden;
  text-align: left;
}
.demo-mockup-body .soap-h { color: #E07350; font-weight: 700; margin-top: 8px; }
.demo-mockup-body .soap-t { color: rgba(245,239,230,0.75); padding-left: 12px; }
.demo-mockup-body .soap-tag { color: #4FB68D; }
.demo-mockup-body .soap-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--primary);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@media (prefers-reduced-motion: reduce) {
  .demo-mockup-body .soap-cursor { animation: none; opacity: 1; }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Trust bar */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg-soft);
}
.trust-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 32px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  white-space: nowrap;
}
.trust-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-item strong { color: var(--fg); font-weight: 600; }

/* ---------------------------------------------------------------- */
/* Privacy pillars                                                  */
/* ---------------------------------------------------------------- */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.privacy-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.privacy-pillar .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  background: color-mix(in srgb, var(--mata) 12%, var(--bg));
  color: var(--mata);
}
.privacy-pillar .icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.privacy-pillar strong { display: block; margin-bottom: 4px; }
.privacy-pillar p { margin: 0; color: var(--fg-muted); font-size: 0.875rem; }

/* ---------------------------------------------------------------- */
/* Roadmap timeline                                                 */
/* ---------------------------------------------------------------- */

.roadmap {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}
@media (max-width: 960px) {
  .roadmap { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .roadmap { grid-template-columns: 1fr; }
}
.roadmap-step {
  position: relative;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  text-align: center;
}
.roadmap-step .ver {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--fg-subtle);
  margin-bottom: 4px;
}
.roadmap-step .label {
  font-weight: 700;
  font-size: 0.9375rem;
}
.roadmap-step .desc {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}
.roadmap-step.done {
  border-color: color-mix(in srgb, var(--mata) 40%, var(--border));
  background: color-mix(in srgb, var(--mata) 8%, var(--bg-soft));
}
.roadmap-step.done .ver { color: var(--mata); }
.roadmap-step.current {
  border-color: var(--primary);
  background: var(--primary-tint);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.roadmap-step.current .ver { color: var(--primary); }
.roadmap-step.future { opacity: 0.7; }

/* ---------------------------------------------------------------- */
/* Planos (Community / Pro / Serviços)                              */
/* ---------------------------------------------------------------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--bg-soft);
}
.plan--featured {
  border-color: var(--primary);
  background: var(--primary-tint);
  box-shadow: var(--shadow);
  position: relative;
}
.plan-badge {
  align-self: flex-start;
  margin-bottom: 12px;
}
.plan h3 { font-size: 1.125rem; margin-bottom: 4px; }
.plan .plan-price {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: 12px;
}
.plan .plan-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: none;
  letter-spacing: normal;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}
.plan ul li { display: flex; gap: 8px; align-items: flex-start; }
.plan ul li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan .btn { margin-top: auto; }

/* ---------------------------------------------------------------- */
/* Contribuir                                                       */
/* ---------------------------------------------------------------- */

.contrib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.contrib-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--bg-soft);
}
.contrib-card h3 { font-size: 1.125rem; margin-bottom: 8px; }
.contrib-card p { color: var(--fg-muted); font-size: 0.9375rem; }
.contrib-card .btn { margin-top: 12px; }

/* ---------------------------------------------------------------- */
/* Contato (beta-tester) — sem formulário, só e-mail                */
/* ---------------------------------------------------------------- */

.contact-cta {
  max-width: 560px;
  margin: 32px auto 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--bg-soft);
  text-align: center;
}
.contact-cta .btn { margin-top: 16px; }

/* ---------------------------------------------------------------- */
/* FAQ — <details>                                                  */
/* ---------------------------------------------------------------- */

.faq { margin-top: 32px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--bg-soft);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-color: var(--primary);
  border-radius: 50%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}
.faq details + details { margin-top: 0; }

/* ---------------------------------------------------------------- */
/* Footer                                                           */
/* ---------------------------------------------------------------- */

.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col strong {
  display: block;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--fg-muted); border: none; }
.footer-col a:hover { color: var(--fg); border-bottom-color: currentColor; }
.footer-tag { font-size: 0.8125rem; color: var(--fg-subtle); margin: 8px 0 0; }
.sciereli-tag {
  font-size: 0.75rem;
  color: var(--fg-subtle);
  font-weight: 500;
}
.sciereli-tag a { color: inherit; border-bottom: 1px dotted currentColor; }
.sciereli-tag a:hover { color: var(--fg); }
.topnav .sciereli-tag {
  display: none;
}
@media (min-width: 880px) {
  .topnav .sciereli-tag { display: inline-flex; align-items: center; gap: 0.3em; }
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--fg-subtle);
  display: grid;
  gap: 12px;
}
.disclaimer {
  font-size: 0.8125rem;
  color: var(--fg-subtle);
  max-width: var(--reading);
}
.no-trackers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mata);
}

/* ---------------------------------------------------------------- */
/* Acessibilidade — reduce motion                                   */
/* ---------------------------------------------------------------- */

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

/* Skip link para teclado */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: white !important;
  padding: 12px 20px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }
