/* ==========================================================================
   Nóbrega Tech — Design System e estilos do site
   --------------------------------------------------------------------------
   Estrutura:
   1. Tokens (cores, tipografia, espaçamento, raios, sombras, movimento)
   2. Base / reset
   3. Layout utilitário
   4. Componentes (header, botões, cards, formulários, FAQ, footer...)
   5. Seções da home
   6. Páginas internas (serviços, produtos, política)
   7. Responsividade e preferências do usuário

   Breakpoints (referência — CSS não aceita variáveis em media queries):
   --bp-sm: 600px  |  --bp-md: 900px  |  --bp-lg: 1200px
   ========================================================================== */

/* 0. FONTES (auto-hospedadas, licença SIL OFL; subconjunto latin)
   Fallbacks com métricas ajustadas evitam deslocamento de layout na troca de fonte. */
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 103.23%; ascent-override: 96.1%; descent-override: 30.03%; line-gap-override: 0%; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 106.15%; ascent-override: 92.7%; descent-override: 27.51%; line-gap-override: 0%; }

/* 1. TOKENS ================================================================ */
:root {
  /* Cores — marca */
  --c-navy-950: #070f1c;
  --c-navy-900: #0a1425;
  --c-navy-800: #102337;
  --c-navy-700: #16324d;
  --c-navy-600: #234766;
  --c-green-300: #5df5c0;
  --c-green-400: #00e69a; /* destaque principal (usar sobre fundos escuros) */
  --c-green-500: #00c785;
  --c-green-700: #007a55; /* verde para texto sobre fundo claro (AA) */
  --c-green-050: #e6fbf3;
  --c-white: #ffffff;

  /* Cores — superfícies e texto */
  --c-surface: #ffffff;
  --c-surface-alt: #f5f8fa;
  --c-surface-dark: var(--c-navy-900);
  --c-text: #0e1b2a;
  --c-text-muted: #4b5b6b;          /* 7.0:1 sobre branco */
  --c-text-on-dark: #eef4f8;
  --c-text-on-dark-muted: #afc0ce;  /* 9.6:1 sobre navy-900 */
  --c-line: #e1e8ee;
  --c-line-dark: rgba(255, 255, 255, 0.1);
  --c-danger: #b42318;
  --c-danger-bg: #fef3f2;
  --c-success: #067a52;
  --c-success-bg: #ecfdf5;
  --c-focus: #00c785;

  /* Gradientes */
  --g-hero: radial-gradient(1100px 600px at 80% 30%, #12394a 0%, rgba(10, 20, 37, 0) 60%),
            linear-gradient(180deg, var(--c-navy-900) 0%, var(--c-navy-950) 100%);
  --g-card-dark: linear-gradient(160deg, #13304a 0%, var(--c-navy-900) 70%);
  --g-accent: linear-gradient(135deg, var(--c-green-400), #34d6ff);

  /* Tipografia */
  --font-body: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Space Grotesk Fallback", system-ui, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-2xl: clamp(1.875rem, 1.3rem + 2vw, 3rem);
  --fs-3xl: clamp(2.375rem, 1.4rem + 3.6vw, 4.5rem);
  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.7;
  --tracking-tight: -0.035em;
  --tracking-wide: 0.14em;

  /* Espaçamento (escala de 4px) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-section: clamp(4.5rem, 3rem + 5vw, 7.5rem);

  /* Bordas e raios */
  --bw: 1px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Sombras */
  --sh-sm: 0 1px 2px rgba(10, 20, 37, 0.06), 0 1px 3px rgba(10, 20, 37, 0.08);
  --sh-md: 0 10px 30px -12px rgba(10, 20, 37, 0.18);
  --sh-lg: 0 30px 60px -20px rgba(10, 20, 37, 0.35);
  --sh-glow: 0 0 0 1px rgba(0, 230, 154, 0.25), 0 20px 60px -20px rgba(0, 230, 154, 0.35);

  /* Movimento */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 600ms;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --header-h: 76px;
}

/* 2. BASE ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .check-list a, .check a { color: var(--c-green-700); text-decoration: underline; text-underline-offset: 3px; }
.on-dark p a { color: var(--c-green-400); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-green-400); color: var(--c-navy-900); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--c-white); color: var(--c-navy-900); padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm); font-weight: 700; box-shadow: var(--sh-md);
}
.skip-link:focus { top: var(--sp-3); }

/* 3. LAYOUT ================================================================ */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--sp-section); position: relative; }
.section--alt { background: var(--c-surface-alt); }
.section--dark { background: var(--c-navy-900); color: var(--c-text-on-dark); }
.section--dark .lead, .section--dark .section-head p { color: var(--c-text-on-dark-muted); }
.section-head { display: grid; gap: var(--sp-5); margin-bottom: var(--sp-12); max-width: 760px; }
.section-head--split {
  max-width: none; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: var(--sp-10);
}
.section-head h2 { font-size: var(--fs-2xl); }
.section-head h2 .muted { color: #7d8e9c; }
.section--dark .section-head h2 .muted { color: #8fa8b8; }
.section-head p { color: var(--c-text-muted); font-size: var(--fs-md); margin: 0; }
.lead { font-size: var(--fs-md); color: var(--c-text-muted); }

.kicker {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--c-green-700);
}
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .kicker, .on-dark .kicker { color: var(--c-green-400); }

/* 4. COMPONENTES =========================================================== */

/* 4.1 Marca */
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.375rem;
  letter-spacing: -0.04em; color: var(--c-white); line-height: 1;
}
.brand__name span { color: var(--c-green-400); }

/* 4.2 Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 20, 37, 0.97);
  border-bottom: var(--bw) solid var(--c-line-dark);
  color: var(--c-text-on-dark);
  transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.site-header.is-scrolled { background: var(--c-navy-900); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: var(--sp-8); }
.nav__menu { display: flex; align-items: center; gap: var(--sp-1); margin-left: auto; list-style: none; }
.nav__menu a {
  display: block; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--c-text-on-dark-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__menu a:hover { color: var(--c-white); background: rgba(255, 255, 255, 0.06); }
.nav__menu a[aria-current="page"] { color: var(--c-white); }
.nav__cta { margin-left: var(--sp-2); }
.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-sm);
  border: var(--bw) solid rgba(255, 255, 255, 0.22); background: transparent; color: var(--c-white);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* 4.3 Botões */
.btn {
  --btn-bg: transparent; --btn-fg: inherit; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  min-height: 48px; padding: 0.8rem 1.35rem; border-radius: var(--r-sm);
  border: var(--bw) solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.9375rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-base);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--t-fast) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--c-green-400); --btn-fg: #04261a; }
.btn--primary:hover { --btn-bg: var(--c-green-300); box-shadow: var(--sh-glow); }
.btn--dark { --btn-bg: var(--c-navy-900); --btn-fg: var(--c-white); }
.btn--dark:hover { --btn-bg: var(--c-navy-700); }
.btn--outline { --btn-bd: rgba(255, 255, 255, 0.28); --btn-fg: var(--c-white); }
.btn--outline:hover { --btn-bg: rgba(255, 255, 255, 0.07); --btn-bd: rgba(255, 255, 255, 0.5); }
.btn--outline-dark { --btn-bd: #c4d0da; --btn-fg: var(--c-text); }
.btn--outline-dark:hover { --btn-bd: var(--c-navy-900); }
.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 700; font-size: var(--fs-sm); color: var(--c-green-700); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.on-dark .link-arrow, .section--dark .link-arrow { color: var(--c-green-400); }

/* 4.4 Chips / badges */
.chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.35rem 0.75rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em;
  background: var(--c-green-050); color: var(--c-green-700);
}
.chip svg { width: 16px; height: 16px; flex-shrink: 0; }
.chip--dark { background: rgba(0, 230, 154, 0.1); color: var(--c-green-400); border: 1px solid rgba(0, 230, 154, 0.22); }
.dot-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green-400); }
.dot-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c-green-400); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.55; } 70%, 100% { transform: scale(3.2); opacity: 0; } }

/* 4.5 Ícone em caixa */
.icon-box {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--c-green-050); color: var(--c-green-700); flex-shrink: 0;
}
.icon-box svg { width: 26px; height: 26px; }
.section--dark .icon-box, .on-dark .icon-box { background: rgba(0, 230, 154, 0.1); color: var(--c-green-400); }

/* 4.6 Cards de serviço */
.grid { display: grid; gap: var(--sp-5); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-8) var(--sp-6) var(--sp-6); border-radius: var(--r-lg);
  background: var(--c-surface); border: var(--bw) solid var(--c-line);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base);
}
.card h3 { font-size: var(--fs-lg); }
.card p { color: var(--c-text-muted); font-size: 0.9375rem; }
.card__foot { margin-top: auto; padding-top: var(--sp-2); }
.card--link:hover { transform: translateY(-4px); border-color: #a9dcc9; box-shadow: var(--sh-md); }
.card__num { position: absolute; top: var(--sp-6); right: var(--sp-6); font: 600 var(--fs-xs) var(--font-display); color: #9aa8b4; letter-spacing: 0.08em; }
/* Card inteiro clicável mantendo o link semântico */
.card--link .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.section--dark .card { background: rgba(255, 255, 255, 0.03); border-color: var(--c-line-dark); }
.section--dark .card p { color: var(--c-text-on-dark-muted); }

/* 4.7 Listas com check */
.check-list { list-style: none; display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--c-green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .check-list li::before, .on-dark .check-list li::before {
  background-color: rgba(0, 230, 154, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e69a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}
.check-list .is-excluded { color: #8a97a3; text-decoration: line-through; }
.check-list .is-excluded::before {
  background: #eef1f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a97a3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* 4.8 FAQ (details/summary nativos: conteúdo disponível sem JavaScript) */
.faq { display: grid; gap: var(--sp-3); max-width: 860px; }
.faq details {
  border: var(--bw) solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq details[open] { border-color: #a9dcc9; box-shadow: var(--sh-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-md); line-height: var(--lh-snug);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a55' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform var(--t-base) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 var(--sp-6) var(--sp-6); color: var(--c-text-muted); }
.faq h3 { font-size: inherit; letter-spacing: -0.01em; font-weight: 600; }

/* 4.9 Formulários */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.field { display: grid; gap: var(--sp-2); }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); }
.field .req { color: var(--c-danger); margin-left: 2px; }
.field .opt { color: var(--c-text-muted); font-weight: 400; }
.input, .field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem; border-radius: var(--r-sm);
  border: var(--bw) solid #c8d3dc; background: var(--c-white); color: var(--c-text);
  font-size: 1rem; line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.85rem center / 18px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #7b8a97; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9fb0bd; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-green-500); box-shadow: 0 0 0 4px rgba(0, 199, 133, 0.18);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--c-danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }
.field__error { display: none; font-size: var(--fs-sm); color: var(--c-danger); font-weight: 500; }
.field.is-invalid .field__error { display: block; }

.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--c-text-muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c-green-700); flex-shrink: 0; cursor: pointer; }
.check.is-invalid { color: var(--c-danger); }

.form-note { font-size: var(--fs-xs); color: var(--c-text-muted); margin: 0; }
/* Cloudflare Turnstile: altura reservada (aviso + widget de 65px) para não deslocar o layout */
.turnstile { display: grid; gap: var(--sp-2); min-height: calc(65px + 1.5rem); }
.turnstile__note { font-size: var(--fs-xs); color: var(--c-text-muted); margin: 0; }
.form-status { display: none; padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); font-size: var(--fs-sm); }
.form-status.is-visible { display: block; }
.form-status--error { background: var(--c-danger-bg); color: var(--c-danger); border: 1px solid #fecdca; }

.form-success {
  display: grid; justify-items: center; text-align: center; gap: var(--sp-4);
  padding: var(--sp-10) var(--sp-6); border-radius: var(--r-lg);
  background: var(--c-success-bg); border: 1px solid #a6f0cf;
}
.form-success[hidden] { display: none; }
.form-success__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--c-green-400); color: #04261a; }
.form-success__icon svg { width: 32px; height: 32px; }
.form-success h3 { font-size: var(--fs-xl); }
.form-success p { color: var(--c-text-muted); max-width: 420px; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin 0.7s linear infinite; display: none;
}
.is-loading .spinner { display: inline-block; }
.is-loading .btn-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 4.10 Footer */
.site-footer { background: var(--c-navy-950); color: var(--c-text-on-dark-muted); padding-top: var(--sp-16); font-size: var(--fs-sm); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-10); padding-bottom: var(--sp-12); }
.footer__about p { margin-top: var(--sp-5); max-width: 320px; line-height: 1.7; }
.footer__title { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; color: var(--c-white); letter-spacing: 0.02em; margin-bottom: var(--sp-4); }
.footer__list { list-style: none; display: grid; gap: var(--sp-3); }
.footer__list a { transition: color var(--t-fast); }
.footer__list a:hover { color: var(--c-green-400); }
.footer__list .ext { opacity: 0.6; font-size: 0.85em; }
.social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-sm);
  border: var(--bw) solid rgba(255, 255, 255, 0.14); color: var(--c-text-on-dark);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.social a:hover { color: var(--c-green-400); border-color: rgba(0, 230, 154, 0.5); background: rgba(0, 230, 154, 0.06); }
.social svg { width: 20px; height: 20px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  border-top: var(--bw) solid var(--c-line-dark); padding-block: var(--sp-6); font-size: var(--fs-xs);
}
.footer__bottom nav { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--c-green-400); }

/* 4.11 Breadcrumb */
.breadcrumb { font-size: var(--fs-sm); color: var(--c-text-on-dark-muted); margin-bottom: var(--sp-6); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--sp-2); opacity: 0.5; }
.breadcrumb a:hover { color: var(--c-green-400); }
.breadcrumb [aria-current] { color: var(--c-white); }

/* 4.12 Moldura de navegador (para capturas de tela reais) */
.browser {
  border-radius: var(--r-lg); overflow: hidden; background: var(--c-white);
  box-shadow: var(--sh-lg); border: 1px solid rgba(255, 255, 255, 0.1);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9eef2; }
.browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #c6d0d8; }
.browser__bar span:nth-child(1) { background: #ff6b5f; }
.browser__bar span:nth-child(2) { background: #ffbd2e; }
.browser__bar span:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 10px; font-size: 11px; color: #5b6b78; background: #fff; border-radius: 6px; padding: 3px 10px; }

/* 5. HOME ================================================================== */

/* 5.1 Hero */
.hero { position: relative; overflow: hidden; background: var(--g-hero); color: var(--c-text-on-dark); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--sp-10); min-height: min(720px, calc(100vh - var(--header-h))); padding-block: var(--sp-16) var(--sp-12); }
.hero__title { font-size: var(--fs-3xl); line-height: 1.04; letter-spacing: -0.045em; margin: var(--sp-6) 0; color: var(--c-white); }
.hero__title em { font-style: normal; background: var(--g-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--c-text-on-dark-muted); max-width: 560px; margin-bottom: var(--sp-8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-10); font-size: var(--fs-sm); color: #8fa3b3; list-style: none; }
.hero__meta li { display: flex; align-items: center; gap: var(--sp-2); }
.hero__meta svg { width: 16px; height: 16px; color: var(--c-green-400); }

.hero-art { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; display: grid; place-items: center; }
.hero-art__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(76, 219, 187, 0.22); }
.hero-art__ring--1 { inset: 20%; }
.hero-art__ring--2 { inset: 8%; border-style: dashed; border-color: rgba(76, 219, 187, 0.25); animation: spin 70s linear infinite; }
.hero-art__ring--3 { inset: 0; border-color: rgba(255, 255, 255, 0.06); }
.hero-art__core {
  position: relative; width: 42%; aspect-ratio: 1; border-radius: 28%;
  background: radial-gradient(circle at 35% 25%, #1f5157, #0b2530 70%);
  border: 1px solid rgba(77, 219, 191, 0.4);
  box-shadow: 0 0 100px rgba(0, 230, 154, 0.18), inset 0 0 40px rgba(0, 230, 154, 0.06);
  display: grid; place-items: center; transform: rotate(-6deg);
}
.hero-art__core svg { width: 62%; transform: rotate(6deg); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
.hero-art__node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--c-green-400); box-shadow: 0 0 0 6px rgba(0, 230, 154, 0.12); }
.hero-art__node--a { top: 8%; left: 50%; }
.hero-art__node--b { bottom: 21%; left: 16%; background: #34d6ff; box-shadow: 0 0 0 6px rgba(52, 214, 255, 0.12); }
.hero-art__node--c { top: 46%; right: 0.5%; }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: var(--sp-2);
  padding: 0.65rem 0.95rem; border-radius: var(--r-md);
  background: rgba(19, 43, 55, 0.96); border: 1px solid rgba(58, 115, 110, 0.55);
  font-size: var(--fs-sm); font-weight: 500; color: #d7f7ee; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  animation: float 7s var(--ease) infinite; will-change: transform;
}
.hero-chip svg { width: 18px; height: 18px; color: var(--c-green-400); }
.hero-chip--1 { top: 14%; left: -2%; }
.hero-chip--2 { top: 30%; right: -4%; animation-delay: -2s; }
.hero-chip--3 { bottom: 12%; right: 6%; animation-delay: -4s; }
.hero-chip--4 { bottom: 30%; left: -4%; animation-delay: -5.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__strip { border-top: 1px solid var(--c-line-dark); }
.hero__strip ul {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3) var(--sp-6);
  padding-block: var(--sp-6); font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: #8ba3b0;
}
.hero__strip li { display: flex; align-items: center; gap: var(--sp-3); }
.hero__strip li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-green-400); }

/* 5.2 Soluções x Produtos */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-12); }
.path {
  border-radius: var(--r-xl); padding: var(--sp-10); display: grid; gap: var(--sp-4); align-content: start;
  border: 1px solid var(--c-line); background: var(--c-surface);
}
.path h3 { font-size: var(--fs-xl); }
.path p { color: var(--c-text-muted); }
.path--dark { background: var(--g-card-dark); color: var(--c-text-on-dark); border-color: transparent; }
.path--dark p { color: var(--c-text-on-dark-muted); }

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.product {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden;
  background: var(--c-surface); border: 1px solid var(--c-line); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.product__visual { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.product__visual--nf { background: linear-gradient(145deg, #12304a, #0a1425); padding: var(--sp-6) var(--sp-6) 0; align-items: end; }
.product__visual--nf { justify-items: start; align-items: start; padding-right: 0; }
.product__visual--nf .browser { width: 165%; max-width: none; border-radius: var(--r-md) 0 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35); }
.product__visual svg.illus { width: 46%; height: auto; }
.product__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6) var(--sp-6) var(--sp-8); flex: 1; }
.product__cat { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--c-text-muted); }
.product h3 { font-size: var(--fs-xl); }
.product p { color: var(--c-text-muted); font-size: 0.9375rem; }
.product__links { margin-top: auto; padding-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); }

/* 5.3 Metodologia */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); counter-reset: step; }
.step {
  position: relative; padding: var(--sp-8) var(--sp-6); border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--c-line-dark);
}
.step__num { font: 700 var(--fs-sm) var(--font-display); color: var(--c-green-400); letter-spacing: 0.08em; }
.step h3 { font-size: var(--fs-lg); margin: var(--sp-4) 0 var(--sp-3); color: var(--c-white); }
.step p { color: var(--c-text-on-dark-muted); font-size: 0.9375rem; }
.step::after {
  content: ""; position: absolute; top: calc(var(--sp-8) + 0.5em); right: calc(-1 * var(--sp-5)); width: var(--sp-5); height: 1px;
  background: linear-gradient(90deg, rgba(0, 230, 154, 0.6), transparent);
}
.step:last-child::after { display: none; }

/* 5.4 Sobre */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-16); align-items: center; }
.about__visual {
  position: relative; aspect-ratio: 1 / 0.9; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #1a4a3f 0%, var(--c-navy-800) 65%); display: grid; place-items: center;
}
.about__visual svg.mark { width: 36%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); }
.about__pillars { position: absolute; inset: auto var(--sp-5) var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; }
.about__text h2 { font-size: var(--fs-2xl); margin: var(--sp-5) 0 var(--sp-6); }
.about__text > p { color: var(--c-text-muted); font-size: var(--fs-md); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-8); font-weight: 500; }

/* 5.5 Depoimentos */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.quotes--single { grid-template-columns: 1fr; max-width: 760px; }
.quote { margin: 0; padding: var(--sp-8); border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: var(--sp-6); }
.quote svg.q { width: 32px; height: 32px; color: var(--c-green-500); }
.quote blockquote { margin: 0; font-size: var(--fs-md); line-height: 1.6; color: var(--c-text); }
.quote figcaption { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-navy-900); color: var(--c-green-400); font: 700 var(--fs-base) var(--font-display); }
.quote cite { font-style: normal; font-weight: 700; display: block; }
.quote figcaption span { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* 5.6 Contato */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-12); align-items: start; }
.contact__info h2 { font-size: var(--fs-2xl); margin: var(--sp-5) 0; color: var(--c-white); }
.contact__info > p { color: var(--c-text-on-dark-muted); font-size: var(--fs-md); }
.contact__list { list-style: none; display: grid; gap: var(--sp-5); margin-top: var(--sp-10); }
.contact__list li { display: flex; gap: var(--sp-4); align-items: center; }
.contact__list .label { display: block; font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: #8fa3b3; font-weight: 700; }
.contact__list a { color: var(--c-white); font-weight: 600; text-decoration: none; }
.contact__list a:hover { color: var(--c-green-400); }
.contact__card { background: var(--c-surface); color: var(--c-text); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--sh-lg); }
.contact__card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.contact__card > p { color: var(--c-text-muted); margin-bottom: var(--sp-6); }

/* 5.7 CTA band */
.cta-band { background: var(--c-green-400); color: #062a1e; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(6, 42, 30, 0.15); box-shadow: 0 0 0 60px rgba(6, 42, 30, 0.04), 0 0 0 120px rgba(6, 42, 30, 0.03);
}
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); flex-wrap: wrap; }
.cta-band h2 { font-size: var(--fs-2xl); max-width: 680px; }
.cta-band p { margin-top: var(--sp-3); max-width: 600px; color: #164c39; }
.cta-band .btn--outline-dark { --btn-bd: rgba(6, 42, 30, 0.35); --btn-fg: #062a1e; }

/* 6. PÁGINAS INTERNAS ====================================================== */
.page-hero { background: var(--g-hero); color: var(--c-text-on-dark); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
}
.page-hero .container { position: relative; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-12); align-items: center; }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); line-height: 1.06; letter-spacing: -0.04em; color: var(--c-white); margin: var(--sp-5) 0; }
.page-hero h1 em { font-style: normal; color: var(--c-green-400); }
.page-hero .subtitle { font-family: var(--font-display); font-size: var(--fs-xl); color: #d5e3ec; margin-bottom: var(--sp-4); letter-spacing: -0.02em; }
.page-hero .lead { color: var(--c-text-on-dark-muted); max-width: 640px; margin-bottom: var(--sp-8); }
.page-hero__visual { display: grid; place-items: center; }
.page-hero__icon { width: 180px; height: 180px; border-radius: 44px; display: grid; place-items: center; background: var(--g-card-dark); border: 1px solid rgba(0, 230, 154, 0.25); box-shadow: var(--sh-glow); color: var(--c-green-400); transform: rotate(-6deg); }
.page-hero__icon svg { width: 84px; height: 84px; transform: rotate(6deg); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: start; }
.split h2 { font-size: var(--fs-2xl); margin: var(--sp-5) 0 var(--sp-5); }
.split > div > p { color: var(--c-text-muted); font-size: var(--fs-md); }
.section--dark .split > div > p { color: var(--c-text-on-dark-muted); }
.section--dark .split h2 { color: var(--c-white); }

.problem-list { list-style: none; display: grid; gap: var(--sp-4); }
.problem-list li { padding: var(--sp-5) var(--sp-6); border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-surface); }
.problem-list strong { display: block; font-family: var(--font-display); font-size: var(--fs-md); margin-bottom: var(--sp-1); }
.problem-list span { color: var(--c-text-muted); font-size: 0.9375rem; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }

/* Tabs (páginas de produto) */
.tabs__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-8); padding: var(--sp-2); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); width: fit-content; max-width: 100%; }
.tabs__tab {
  border: 0; background: transparent; padding: 0.65rem 1.1rem; border-radius: var(--r-sm); cursor: pointer;
  font-weight: 600; font-size: var(--fs-sm); color: var(--c-text-muted); transition: background var(--t-fast), color var(--t-fast);
}
.tabs__tab:hover { color: var(--c-text); background: var(--c-surface-alt); }
.tabs__tab[aria-selected="true"] { background: var(--c-navy-900); color: var(--c-white); }
.tabs__panel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-10); align-items: center; }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.tabs__panel > div > p { color: var(--c-text-muted); margin-bottom: var(--sp-6); }
.tabs__aside { border-radius: var(--r-lg); background: var(--g-card-dark); padding: var(--sp-8); color: var(--c-text-on-dark); min-height: 260px; display: grid; place-items: center; }
.tabs__aside svg { width: 96px; height: 96px; color: var(--c-green-400); }
/* Sem JS, todos os painéis ficam visíveis em sequência */
.no-js .tabs__list { display: none; }
.no-js .tabs__panel[hidden] { display: grid; margin-bottom: var(--sp-12); }

/* Vitrine de produto (telas reais) */
.page-hero__grid--product { grid-template-columns: 0.9fr 1.1fr; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.features { display: grid; gap: clamp(3.5rem, 2rem + 5vw, 6rem); }
.feature { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.feature--rev { grid-template-columns: 1.2fr 0.8fr; }
.feature--rev .feature__text { order: 2; }
.feature__text h3 { font-size: var(--fs-xl); margin: var(--sp-4) 0 var(--sp-3); }
.feature__text > p { color: var(--c-text-muted); margin-bottom: var(--sp-6); }
.feature__media .browser { border-color: var(--c-line); }
.split--media { align-items: center; }
.phones { display: flex; gap: var(--sp-5); margin-top: var(--sp-10); max-width: 440px; }
.phones img { width: calc(50% - var(--sp-5) / 2); border-radius: 28px; box-shadow: var(--sh-lg); border: 6px solid var(--c-navy-900); background: var(--c-navy-900); }

.product__visual--petfun { background: linear-gradient(145deg, #fbe7d3, #f6d3b4); }
.product-title { display: flex; align-items: center; gap: var(--sp-4); margin: var(--sp-5) 0; }
.product-title img { width: 64px; height: 64px; border-radius: 16px; box-shadow: var(--sh-md); }
.product-title h1 { margin: 0; }
.phones--hero { margin: 0 auto; max-width: 460px; }
.phones--hero img { border-color: #1b2a3d; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: var(--sp-5); padding: var(--sp-8); border-radius: var(--r-xl); border: 1px solid var(--c-line); background: var(--c-surface); }
.plan--featured { border-color: var(--c-navy-900); box-shadow: var(--sh-lg); }
.plan__tag { position: absolute; top: -13px; left: var(--sp-8); background: var(--c-green-400); color: #04261a; font-size: var(--fs-xs); font-weight: 700; padding: 4px 12px; border-radius: var(--r-pill); }
.plan h3 { font-size: var(--fs-lg); }
.plan__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan__price small { font-size: var(--fs-sm); font-weight: 500; color: var(--c-text-muted); letter-spacing: 0; }
.plan .check-list { font-size: 0.9375rem; }
.plan .btn { margin-top: auto; }

/* Formulário em página de produto */
.form-panel { max-width: 860px; margin-inline: auto; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--sh-md); }

/* Política e textos longos */
.prose { max-width: 760px; font-size: 1.0625rem; color: #24384a; }
.prose h2 { font-size: var(--fs-xl); margin: var(--sp-12) 0 var(--sp-4); color: var(--c-text); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 var(--sp-5); }
.prose ul { padding-left: var(--sp-6); display: grid; gap: var(--sp-2); list-style: disc; }
.notice { border-left: 3px solid var(--c-green-500); background: var(--c-surface-alt); padding: var(--sp-4) var(--sp-5); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Animações de entrada (somente com JS ativo e sem preferência por movimento reduzido) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 7. RESPONSIVO ============================================================ */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .hero-chip--2 { right: 0; }
}

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .site-header { background: var(--c-navy-900); }
  .nav__panel {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: var(--c-navy-900); padding: var(--sp-6) var(--gutter) var(--sp-10);
    display: flex; flex-direction: column; gap: var(--sp-6); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility 0s linear var(--t-base);
  }
  .nav__panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__menu { flex-direction: column; align-items: stretch; margin-left: 0; gap: 0; }
  .nav__menu a { font-size: var(--fs-lg); padding: var(--sp-4) var(--sp-2); border-bottom: 1px solid var(--c-line-dark); border-radius: 0; color: var(--c-text-on-dark); }
  .nav__cta { margin: 0; width: 100%; }
  .no-js .nav__panel { position: static; opacity: 1; visibility: visible; transform: none; }
  body.menu-open { overflow: hidden; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-top: var(--sp-12); }
  .hero-art { width: min(100%, 420px); }
  .section-head--split { grid-template-columns: 1fr; }
  .paths, .about, .contact, .split, .page-hero__grid, .page-hero__grid--product, .tabs__panel, .feature { grid-template-columns: 1fr; }
  .feature--rev .feature__text { order: 0; }
  .page-hero__grid--product .shot { display: block; }
  .about { gap: var(--sp-10); }
  .about__visual { aspect-ratio: 16 / 10; }
  .page-hero__visual { display: none; }
  .plans, .related { grid-template-columns: 1fr; max-width: 520px; }
  .quotes { grid-template-columns: 1fr; }
}

@media (min-width: 961px) {
  .nav__panel { display: contents; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 1.25rem; }
  .grid--4, .grid--3, .grid--2, .products, .steps, .values, .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero-chip { font-size: var(--fs-xs); padding: 0.5rem 0.7rem; }
  .hero-chip--1 { left: 0; }
  .hero-chip--4 { left: 0; }
  .hero__strip ul { justify-content: flex-start; }
  .path { padding: var(--sp-6); }
  .tabs__list { width: 100%; }
  .tabs__tab { flex: 1 1 auto; }
  .faq summary { padding: var(--sp-4) var(--sp-5); font-size: var(--fs-base); }
  .faq .faq__body { padding: 0 var(--sp-5) var(--sp-5); }
  .cta-band .btn { width: 100%; }
}

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

@media print {
  .site-header, .site-footer, .hero-art, .nav__toggle, .cta-band { display: none !important; }
  body { color: #000; }
}
