/* =========================================================================
   Active Line Hosting — landing de VPS
   Fontes auto-hospedadas (nada sai para fonts.googleapis.com), tokens de cor
   no :root e layout em grid. O mockup original trazia tudo em style inline;
   aqui virou classe para que a página possa ser responsiva e revisável.
   ========================================================================= */

/* ---------- Fontes -------------------------------------------------------
   Só os subsets latin e latin-ext: a página é em pt-BR e os subsets cirílico,
   grego e vietnamita do Google Fonts somariam ~120 KB que ninguém baixaria.
   IBM Plex Sans e Space Grotesk são variáveis — um arquivo cobre 400 a 700.  */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-var-latin.woff2') format('woff2');
  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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-var-latin.woff2') format('woff2');
  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';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ------------------------------------------------------- */

:root {
  --al-bg: #0A0C0F;
  --al-bg-alt: #0C0E12;
  --al-panel: #101317;
  --al-panel-hot: #14100D;
  --al-panel-head: #14171C;
  --al-border: #1C2027;
  --al-border-strong: #2A2F38;
  --al-neutral-active: #22262E;

  --al-heading: #F7F8FA;
  --al-text: #E8E9EC;
  --al-muted: #A6ABB5;
  --al-dim: #7F8693;
  --al-faint: #4E545F;

  --al-accent: #FF712C;
  --al-accent-hover: #FF9159;

  --al-sans: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --al-display: 'Space Grotesk', var(--al-sans);
  --al-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --al-shell: 1200px;
  --al-radius: 16px;

  /* Altura do .al-header (14px de padding em cima e embaixo + 40px de logo + 1px de borda). Não
     muda nos breakpoints — lá só o padding horizontal encolhe. */
  --al-header-h: 69px;
}

/* ---------- Base --------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* O scroll.js aplica .js-lenis só depois de o Lenis subir. Enquanto isso o smooth nativo acima
   vale — e é o que sobra se o JS falhar. Os dois ligados ao mesmo tempo disputariam a posição do
   scroll e o resultado treme. */
html.js-lenis { scroll-behavior: auto; }

/* O header é sticky, então sem isto a âncora para com o título da seção escondido atrás dele.
   Vale para os dois caminhos: o navegador usa no salto nativo, e o Lenis subtrai o
   scroll-margin-top do destino ao calcular a posição — uma fonte de verdade só. */
section[id],
main[id] { scroll-margin-top: calc(var(--al-header-h) + 24px); }

body {
  margin: 0;
  background: var(--al-bg);
  color: var(--al-text);
  font-family: var(--al-sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

a { color: var(--al-accent); text-decoration: none; }
a:hover { color: var(--al-accent-hover); }

input, select, textarea, button { font: inherit; }

::selection { background: var(--al-accent); color: var(--al-bg); }

/* Foco visível em tudo que recebe teclado: o mockup não previa e sem isto a
   navegação por Tab fica invisível sobre fundo escuro. */
:focus-visible {
  outline: 2px solid var(--al-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@keyframes al-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

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

/* Atalho para quem navega por teclado ou leitor de tela pular o menu. */
.al-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--al-accent);
  color: var(--al-bg);
  font-weight: 600;
  padding: 12px 20px;
  z-index: 100;
}
.al-skip:focus { left: 0; color: var(--al-bg); }

.al-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Estrutura ---------------------------------------------------- */

.al-shell { max-width: var(--al-shell); margin: 0 auto; padding: 0 28px; }

.al-section { border-bottom: 1px solid var(--al-border); }
.al-section--alt { background: var(--al-bg-alt); }
.al-section__inner { max-width: var(--al-shell); margin: 0 auto; padding: 84px 28px; }
.al-section__inner--narrow { max-width: 900px; }

.al-eyebrow {
  font-family: var(--al-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--al-accent);
}

.al-h2 {
  font-family: var(--al-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.02em;
  margin: 12px 0 0;
  color: var(--al-heading);
}

.al-lead { margin: 12px 0 0; color: var(--al-muted); font-size: 16px; max-width: 620px; }

/* Espaço extra quando o cabeçalho da seção vem logo antes de um grid. Modificador, e não atributo
   style: a CSP é style-src 'self' e o navegador bloqueia estilo inline sem hash nem nonce. */
.al-h2--spaced { margin-bottom: 40px; }
.al-lead--spaced { margin-bottom: 40px; }
.al-note { margin: 22px 0 0; font-size: 13px; color: var(--al-dim); }
.al-strong { color: var(--al-heading); }

/* ---------- Header ------------------------------------------------------- */

.al-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 15, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--al-border);
}

.al-header__inner {
  max-width: var(--al-shell);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.al-header__logo { display: flex; align-items: center; }
.al-header__logo img { height: 40px; width: auto; display: block; }

.al-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.al-nav a { color: var(--al-muted); }
.al-nav a:hover { color: var(--al-heading); }

.al-btn {
  display: inline-block;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.al-btn--primary { background: var(--al-accent); color: var(--al-bg) !important; }
.al-btn--primary:hover { background: var(--al-accent-hover); color: var(--al-bg); }

.al-btn--ghost { background: transparent; color: var(--al-text); border-color: var(--al-border-strong); }
.al-btn--ghost:hover { color: var(--al-heading); border-color: var(--al-muted); }

.al-btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 8px; }
.al-btn--md { padding: 13px 20px; font-size: 14.5px; }
.al-btn--lg { padding: 15px 26px; font-size: 15px; border-radius: 10px; }
.al-btn--block { display: block; width: 100%; }

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

.al-hero {
  border-bottom: 1px solid var(--al-border);
  background: radial-gradient(900px 420px at 78% 0%, rgba(255, 113, 44, .13), transparent 70%);
}

.al-hero__inner {
  max-width: var(--al-shell);
  margin: 0 auto;
  padding: 88px 28px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 64px;
  align-items: center;
}

.al-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--al-border-strong);
  border-radius: 999px;
  padding: 7px 14px 7px 12px;
  font-family: var(--al-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--al-muted);
}

.al-badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--al-accent);
  animation: al-pulse 2.4s ease-in-out infinite;
}

.al-hero__title {
  font-family: var(--al-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 22px 0 0;
  color: var(--al-heading);
}

.al-hero__text {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--al-muted);
  max-width: 520px;
}

.al-hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.al-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--al-dim);
  font-family: var(--al-mono);
}

/* Terminal decorativo */
.al-terminal {
  border: 1px solid var(--al-border);
  border-radius: var(--al-radius);
  background: var(--al-panel);
  padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}

.al-terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--al-border);
}

.al-terminal__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--al-border-strong); }
.al-terminal__dot--live { background: var(--al-accent); }
.al-terminal__path { margin-left: 8px; font-family: var(--al-mono); font-size: 12px; color: var(--al-dim); }

.al-terminal__body {
  font-family: var(--al-mono);
  font-size: 13.5px;
  line-height: 2;
  color: var(--al-muted);
  padding-top: 16px;
}

.al-terminal__prompt { color: var(--al-accent); }
.al-terminal__soft { color: var(--al-faint); }
.al-terminal__hi { color: var(--al-text); }
.al-terminal__ok { color: var(--al-heading); }

.al-terminal__caret {
  border-right: 2px solid var(--al-accent);
  padding-right: 2px;
  animation: al-pulse 1.1s steps(1) infinite;
}

/* ---------- Seletores de região e ciclo ---------------------------------- */

.al-planshead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.al-switches { display: flex; flex-direction: column; gap: 12px; }

.al-switch {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--al-border);
  border-radius: 12px;
  background: var(--al-panel);
}

/* São links (<a href="?regiao=…&ciclo=…">), não botões: assim o seletor
   funciona sem JavaScript e cada combinação ganha URL própria. O JS depois
   intercepta o clique para trocar os preços sem recarregar. */
.al-switch__option {
  border: 0;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--al-muted);
  transition: background-color .15s ease, color .15s ease;
}

.al-switch__option:hover { color: var(--al-heading); }

.al-switch--region .al-switch__option.is-active { background: var(--al-accent); color: var(--al-bg); }
.al-switch--cycle .al-switch__option.is-active { background: var(--al-neutral-active); color: var(--al-heading); }

/* ---------- Cards de plano ----------------------------------------------- */

.al-grid { display: grid; gap: 18px; }
.al-grid--plans { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 40px; }
.al-grid--cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.al-grid--cases { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.al-plan {
  border: 1px solid var(--al-border);
  border-radius: var(--al-radius);
  background: var(--al-panel);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
}

.al-plan--hot { border-color: var(--al-accent); background: var(--al-panel-hot); }

.al-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.al-plan__name { font-family: var(--al-display); font-weight: 600; font-size: 19px; color: var(--al-heading); }

.al-plan__tag {
  font-family: var(--al-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--al-bg);
  background: var(--al-accent);
  padding: 4px 8px;
  border-radius: 5px;
}

.al-plan__tagline { color: var(--al-dim); font-size: 13.5px; margin-top: 6px; }

.al-price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.al-price__currency { font-size: 16px; color: var(--al-muted); }
.al-price__value {
  font-family: var(--al-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -.03em;
  color: var(--al-heading);
}
.al-price__unit { font-size: 14px; color: var(--al-dim); }

.al-plan__save {
  font-size: 12.5px;
  color: var(--al-accent);
  min-height: 18px;
  margin-top: 4px;
  font-family: var(--al-mono);
}

.al-rule { height: 1px; background: var(--al-border); margin: 20px 0; border: 0; }

.al-specs { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; margin: 0; }
.al-specs > div { display: flex; justify-content: space-between; gap: 12px; }
.al-specs dt { color: var(--al-dim); }
.al-specs dd { margin: 0; color: var(--al-text); font-family: var(--al-mono); }

.al-plan__spacer { flex: 1; min-height: 24px; }
.al-plan__cta { margin-top: 24px; }

/* ---------- Recursos e casos de uso -------------------------------------- */

.al-card {
  border: 1px solid var(--al-border);
  border-radius: 14px;
  padding: 24px;
  background: var(--al-panel);
}

.al-card__num { font-family: var(--al-mono); font-size: 12px; color: var(--al-accent); }
.al-card__title { font-family: var(--al-display); font-weight: 600; font-size: 17.5px; color: var(--al-heading); margin-top: 14px; }
.al-card__text { font-size: 14.5px; line-height: 1.6; color: var(--al-muted); margin-top: 8px; }

.al-case {
  border: 1px solid var(--al-border);
  border-top: 2px solid var(--al-accent);
  border-radius: 4px 4px 14px 14px;
  padding: 26px 22px;
  background: var(--al-panel);
}

.al-case__title { font-family: var(--al-display); font-weight: 600; font-size: 18px; color: var(--al-heading); }
.al-case__text { font-size: 14.5px; line-height: 1.62; color: var(--al-muted); margin-top: 10px; }
.al-case__hint { font-family: var(--al-mono); font-size: 12px; color: var(--al-dim); margin-top: 16px; }

/* ---------- Comparativo -------------------------------------------------- */

/* O overflow fica no wrapper, e não no body: a tabela é larga por natureza e é
   ela que deve rolar, nunca a página inteira. */
.al-compare { border: 1px solid var(--al-border); border-radius: var(--al-radius); overflow-x: auto; background: var(--al-panel); }

.al-compare table { border-collapse: collapse; width: 100%; min-width: 720px; }

.al-compare thead th {
  background: var(--al-panel-head);
  border-bottom: 1px solid var(--al-border);
  padding: 18px 22px;
  text-align: left;
  font-family: var(--al-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--al-heading);
}

.al-compare thead th:first-child {
  font-family: var(--al-mono);
  font-weight: 400;
  font-size: 13px;
  color: var(--al-dim);
}

.al-compare tbody th {
  padding: 16px 22px;
  text-align: left;
  font-weight: 400;
  font-size: 14.5px;
  color: var(--al-muted);
}

.al-compare tbody td {
  padding: 16px 22px;
  font-size: 14.5px;
  color: var(--al-text);
  font-family: var(--al-mono);
}

.al-compare tbody tr { border-bottom: 1px solid var(--al-border); }
.al-compare tfoot td { padding: 20px 22px; }

/* ---------- Datacenters -------------------------------------------------- */

.al-dc { border: 1px solid var(--al-border); border-radius: var(--al-radius); padding: 26px 24px; background: var(--al-panel); }
.al-dc--active { border-color: var(--al-accent); }

.al-dc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.al-dc__country { font-family: var(--al-display); font-weight: 600; font-size: 20px; color: var(--al-heading); }

.al-dc__code {
  font-family: var(--al-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--al-dim);
  border: 1px solid var(--al-border);
  padding: 4px 8px;
  border-radius: 5px;
}

.al-dc--active .al-dc__code { color: var(--al-accent); border-color: var(--al-accent); }

.al-dc__city { color: var(--al-muted); font-size: 15px; margin-top: 8px; }
.al-dc__specs { display: flex; flex-direction: column; gap: 11px; font-size: 14px; margin: 0; }
.al-dc__specs > div { display: flex; justify-content: space-between; gap: 12px; }
.al-dc__specs dt { color: var(--al-dim); }
.al-dc__specs dd { margin: 0; font-family: var(--al-mono); color: var(--al-text); }
.al-dc__specs dd.al-dc__from { color: var(--al-accent); }

/* ---------- Depoimentos -------------------------------------------------- */

.al-quote {
  border: 1px solid var(--al-border);
  border-radius: 14px;
  padding: 28px 24px;
  background: var(--al-panel);
  display: flex;
  flex-direction: column;
  margin: 0;
}

.al-quote__text { font-size: 15.5px; line-height: 1.65; color: var(--al-text); }
.al-quote__spacer { flex: 1; min-height: 20px; }
.al-quote__author { margin-top: 22px; font-size: 13.5px; color: var(--al-dim); }
.al-quote__author strong { color: var(--al-heading); font-weight: 500; }

.al-disclaimer { margin: 20px 0 0; font-size: 12.5px; color: var(--al-faint); font-family: var(--al-mono); }

/* ---------- FAQ ---------------------------------------------------------- */

.al-faq { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }

.al-faq__item {
  border: 1px solid var(--al-border);
  border-radius: 12px;
  background: var(--al-panel);
  overflow: hidden;
}

/* <details>/<summary> em vez de button + JS: o acordeão passa a funcionar sem
   JavaScript e o navegador já entrega a semântica de expandido/recolhido. */
.al-faq__q {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  color: var(--al-heading);
  font-family: var(--al-display);
  font-weight: 500;
  font-size: 16.5px;
  list-style: none;
}

.al-faq__q::-webkit-details-marker { display: none; }

.al-faq__sign { color: var(--al-accent); font-size: 20px; line-height: 1; }
.al-faq__sign::after { content: '+'; }
.al-faq__item[open] .al-faq__sign::after { content: '−'; }

.al-faq__a { padding: 0 22px 22px; font-size: 15px; line-height: 1.65; color: var(--al-muted); margin: 0; }

/* ---------- Contato ------------------------------------------------------ */

.al-contact {
  max-width: var(--al-shell);
  margin: 0 auto;
  padding: 84px 28px 96px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}

.al-contact__text { margin: 16px 0 0; font-size: 16.5px; line-height: 1.65; color: var(--al-muted); }

.al-contact__list { display: flex; flex-direction: column; gap: 14px; margin: 32px 0 0; padding: 0; font-size: 15px; }
.al-contact__list > div { display: flex; gap: 12px; }
.al-contact__list dt { color: var(--al-dim); width: 84px; flex: none; }
.al-contact__list dd { margin: 0; color: var(--al-text); }

.al-formcard {
  border: 1px solid var(--al-border);
  border-radius: var(--al-radius);
  background: var(--al-panel);
  padding: 32px;
}

.al-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.al-field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--al-muted); }
.al-field--wide { grid-column: span 2; }

.al-input {
  background: var(--al-bg);
  border: 1px solid var(--al-border-strong);
  color: var(--al-text);
  border-radius: 9px;
  padding: 13px 14px;
  font-size: 15px;
  width: 100%;
}

.al-input:hover { border-color: var(--al-muted); }
textarea.al-input { resize: vertical; min-height: 108px; }

.al-input--invalid { border-color: var(--al-accent); }

.al-field__error { color: var(--al-accent); font-size: 12.5px; min-height: 1em; }

/* O campo-armadilha: fora da tela, fora da ordem de tabulação e escondido de
   leitores de tela — só um robô que varre o DOM o preenche. */
.al-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* O captcha (Cap). O widget se pinta sozinho dentro do próprio shadow DOM, e as CSS custom
   properties atravessam essa fronteira — é por elas, e não por seletores, que ele herda o tema
   da página. Daqui de fora só controlamos onde ele fica. */
.al-captcha { --cap-background: var(--al-panel); --cap-border-color: var(--al-border); --cap-color: var(--al-text); --cap-font: var(--al-sans); --cap-border-radius: 12px; --cap-widget-width: 100%; --cap-focus-ring: var(--al-accent); --cap-spinner-color: var(--al-accent); --cap-checkbox-background: #00000040; --cap-checkbox-border: 1px solid var(--al-border-strong); }
.al-captcha cap-widget { display: block; max-width: 300px; }

.al-form__actions { grid-column: span 2; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.al-form__hint { font-size: 12.5px; color: var(--al-dim); }
.al-form__hint--error { color: var(--al-accent); }

.al-sent { padding: 24px 0; }
.al-sent__title { font-family: var(--al-display); font-weight: 600; font-size: 24px; color: var(--al-heading); }
.al-sent__text { margin: 12px 0 0; color: var(--al-muted); font-size: 15.5px; line-height: 1.6; }
.al-sent__actions { margin-top: 24px; }

/* ---------- Rodapé ------------------------------------------------------- */

.al-footer { border-top: 1px solid var(--al-border); background: var(--al-bg-alt); }

.al-footer__inner {
  max-width: var(--al-shell);
  margin: 0 auto;
  padding: 44px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.al-footer img { height: 34px; width: auto; }
.al-footer__copy { font-size: 13px; color: var(--al-dim); }
.al-footer__links { display: flex; gap: 22px; font-size: 13px; }

/* ---------- Página de erro ----------------------------------------------- */

.al-error { max-width: 720px; margin: 0 auto; padding: 120px 28px; }
.al-error code { font-family: var(--al-mono); color: var(--al-accent); }
.al-error__actions { margin-top: 32px; }

/* ---------- Responsivo ---------------------------------------------------
   O mockup era desktop-only (grid de duas colunas fixas, h1 de 60px). Estes
   três cortes são o que falta para a página servir tráfego de celular, que é
   a maior parte de quem chega por anúncio.                                  */

@media (max-width: 900px) {
  .al-hero__inner,
  .al-contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  .al-hero__inner { padding: 56px 28px 48px; }
  .al-section__inner { padding: 56px 28px; }
  .al-contact { padding: 56px 28px 72px; }

  .al-nav { display: none; }
  .al-nav--compact { display: flex; gap: 16px; }
}

@media (max-width: 620px) {
  .al-shell,
  .al-header__inner,
  .al-section__inner,
  .al-hero__inner,
  .al-contact,
  .al-footer__inner { padding-left: 20px; padding-right: 20px; }

  .al-form { grid-template-columns: minmax(0, 1fr); }
  .al-field--wide { grid-column: span 1; }
  .al-form__actions { grid-column: span 1; }

  .al-formcard { padding: 24px 20px; }
  .al-switch { flex-wrap: wrap; }
  .al-planshead { gap: 24px; }
  .al-footer__inner { justify-content: flex-start; }
}
