/* GnomoBots – estilos
 * Mobile first: as regras base são para telemóvel; os @media no fim do
 * ficheiro só acrescentam ajustes para ecrãs maiores. */

:root {
  /* Cores da marca: escuros, vermelho e branco */
  --bg: #0b0f14;
  --bg-alt: #0f151c;
  --surface: #141b24;
  --surface-2: #1a2330;
  --border: #243040;
  --border-strong: #34425a;
  --text: #f3f5f8;
  --muted: #9ba7b6;
  --red: #e3202f;          /* botões e destaques (texto branco por cima) */
  --red-strong: #b8101d;   /* hover */
  --red-text: #ff5a66;     /* vermelho para texto sobre fundo escuro */
  --red-soft: rgba(227, 32, 47, 0.14);
  --red-glow: rgba(227, 32, 47, 0.45);
  --ok: #2ecc71;
  --discord: #5865f2;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  --header-h: 64px;
  --font-display: "Russo One", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

/* ---------- 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;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Enquanto a tradução carrega (ver i18n.js) */
html.i18n-pending body { visibility: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }

.container { width: min(100% - 32px, 1120px); margin-inline: auto; }
.muted { color: var(--muted); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; 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: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius);
  background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9375rem; border-radius: 10px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px var(--red-glow); }
.btn-primary:hover { background: var(--red-strong); }

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

.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #4752c4; }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--border); border-radius: 10px;
  background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { background: var(--surface); }

.link-btn {
  justify-self: center; padding: 4px; border: 0; background: none;
  color: var(--red-text); font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, .85);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
}
.brand img { width: 28px; }
.brand__accent { color: var(--red-text); }

.nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-login { display: none; }

/* Seletor de língua */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 10px; background: transparent;
  font-weight: 700; font-size: .875rem; letter-spacing: .04em; cursor: pointer;
}
.lang__btn:hover { background: var(--surface); }
.lang__btn .icon--sm { transition: transform .2s; }
.lang__btn[aria-expanded="true"] .icon--sm { transform: rotate(180deg); }

.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 200px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lang__menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 10px 12px; border: 0; border-radius: 8px;
  background: none; text-align: left; font-size: .9375rem; cursor: pointer;
}
.lang__menu button:hover { background: var(--surface-2); }
.lang__menu button[aria-current="true"] { color: var(--red-text); font-weight: 700; }
.lang__menu small { color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }

/* Menu mobile */
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-alt); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
}
.mobile-menu__inner { display: grid; gap: 4px; padding: 12px 0 20px; }
.mobile-menu a { padding: 14px 12px; border-radius: 10px; font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.mobile-menu a:hover { background: var(--surface); }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- Destaque (hero) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 36px 0 56px; }
.hero::before { /* brilho vermelho */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -140px;
  width: 760px; height: 640px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(227, 32, 47, .30), transparent 70%);
}
.hero::after { /* grelha subtil */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent);
}
.hero__inner { display: grid; gap: 24px; text-align: center; }
.hero__art img {
  width: clamp(150px, 44vw, 230px); margin-inline: auto;
  filter: drop-shadow(0 20px 40px rgba(227, 32, 47, .35));
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(20, 27, 36, .8); border: 1px solid var(--border);
  color: var(--muted); font-size: .875rem; font-weight: 600;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(46, 204, 113, .18); }

.hero h1 {
  margin: 18px 0 16px;
  font-family: var(--font-display); font-weight: 400; letter-spacing: .01em;
  font-size: clamp(2rem, 9vw, 4rem);
}
.hero h1 .accent { display: block; color: var(--red-text); }
.hero__lead { max-width: 36rem; margin: 0 auto 26px; color: var(--muted); font-size: 1.0625rem; }
.hero__cta { display: grid; gap: 12px; }
.hero__notes {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px;
  margin: 24px 0 0; padding: 0; list-style: none;
  color: var(--muted); font-size: .9375rem;
}
.hero__notes li { display: flex; align-items: center; gap: 8px; }
.hero__notes .icon { width: 18px; height: 18px; color: var(--red-text); }

/* ---------- Secções ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 42rem; margin: 0 auto 36px; text-align: center; }
.eyebrow {
  margin-bottom: 10px; color: var(--red-text);
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.section h2 {
  margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 6.5vw, 2.6rem);
}
.section__lead { color: var(--muted); font-size: 1.0625rem; }

.grid { display: grid; gap: 16px; }

.card { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card h3 { margin-bottom: 6px; font-size: 1.125rem; font-weight: 700; }
.feature p, .step p { color: var(--muted); }

/* Funcionalidades */
.feature { transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 12px; background: var(--red-soft); color: var(--red-text);
}
.feature__icon .icon { width: 22px; height: 22px; }

/* Passos */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding-left: 78px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 20px;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: 1.125rem;
  box-shadow: 0 8px 20px -8px var(--red-glow);
}

/* Vídeos */
.video-block { margin-top: 48px; }
.video-block__title { margin-bottom: 18px; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; }
.video-block > .video, .tutorials { max-width: 860px; margin-inline: auto; }
.video {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tutorials { margin-top: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.tutorials__list { display: grid; gap: 20px; padding: 0 16px 16px; }
.tutorials figure { margin: 0; }
.tutorials figcaption { margin-bottom: 8px; font-weight: 600; }

/* Acordeões (FAQ e tutoriais) */
.qa > summary, .tutorials > summary {
  position: relative; display: block; min-height: 56px; padding: 16px 56px 16px 20px;
  font-weight: 600; cursor: pointer; list-style: none;
}
.qa > summary::-webkit-details-marker, .tutorials > summary::-webkit-details-marker { display: none; }
.qa > summary::after, .tutorials > summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
details[open] > summary::after { transform: translateY(-30%) rotate(225deg); }

/* Preços */
.plans { display: grid; gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; }
.plan__name { font-size: 1.125rem; }
.plan__price { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; }
.plan__period { margin-top: -6px; color: var(--muted); }
.plan__list { display: grid; gap: 10px; margin: 4px 0 8px; padding: 0; list-style: none; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; }
.plan__list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--red-text); }
.plan .btn { margin-top: auto; }
.plan--featured {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(227, 32, 47, .10), transparent 45%), var(--surface);
  box-shadow: 0 0 0 1px var(--red), 0 24px 60px -24px var(--red-glow);
}
.plan__badge {
  position: absolute; top: -13px; right: 20px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.pay-note {
  display: flex; align-items: flex-start; justify-content: center; gap: 10px;
  max-width: 40rem; margin: 28px auto 0;
  color: var(--muted); font-size: .9375rem;
}
.pay-note .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--red-text); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.qa { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.qa[open] { border-color: var(--border-strong); }
.qa p { padding: 0 20px 18px; color: var(--muted); }

/* Suporte */
.contact { display: grid; gap: 28px; }
.contact__info .btn { margin-top: 22px; }
.contact__email { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); overflow-wrap: anywhere; }
.contact__email a { color: var(--text); }

/* ---------- Formulários ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: .9375rem; }

.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 1rem; /* 16px evita o zoom automático no iPhone */
  transition: border-color .2s, box-shadow .2s;
}
.form select {
  appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ba7b6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft);
}

.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.check a { color: var(--red-text); }

.captcha__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.captcha__img {
  width: 150px; height: 50px; object-fit: cover;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
}
.form .captcha__row input { flex: 1 1 110px; width: auto; min-width: 0; letter-spacing: .15em; }

.form-msg { font-weight: 600; font-size: .9375rem; }
.form-msg:empty { display: none; }
.form-msg[data-type="error"] { color: #ff7a84; }
.form-msg[data-type="success"] { color: var(--ok); }
.form-msg[data-type="info"] { padding: 10px 12px; border-radius: var(--radius); background: var(--surface-2); color: var(--text); }

/* ---------- Modal ---------- */
.modal {
  width: min(100% - 24px, 440px); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; overflow: auto;
  background: var(--bg-alt); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(3, 6, 10, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } }

.modal__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 0; background: var(--bg-alt);
}
.modal__head > .icon-btn { margin-left: auto; }
.modal__body { padding: 18px 20px 22px; }
.modal__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }

.segmented {
  display: flex; flex: 1; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.segmented button {
  flex: 1; min-height: 40px; padding: 0 8px;
  border: 0; border-radius: 9px; background: transparent;
  color: var(--muted); font-weight: 600; font-size: .9375rem; cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--red); color: #fff; }

/* ---------- Conta, licenças e compra (dentro do modal) ---------- */
.stack { display: grid; gap: 16px; }
.stack--tight { gap: 10px; }
.subtitle { font-size: 1rem; font-weight: 700; }
.hint { color: var(--muted); font-size: .875rem; }

.inline-field { display: flex; gap: 8px; }
.form .inline-field input { flex: 1; min-width: 0; }
.inline-field .btn { flex: none; min-height: 48px; padding-inline: 16px; }

.licenses { display: grid; gap: 12px; }
.license {
  display: grid; gap: 12px; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.license__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.license__date { margin-top: -6px; }

.pill {
  padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.pill--ok { background: rgba(46, 204, 113, .15); color: var(--ok); }
.pill--off { background: var(--red-soft); color: var(--red-text); }

.ref-status { font-weight: 600; font-size: .875rem; }
.ref-status:empty { display: none; }
.ref-status[data-type="error"] { color: #ff7a84; }
.ref-status[data-type="success"] { color: var(--ok); }

#paypal-buttons:empty { display: none; }
.card-fields { display: grid; gap: 4px; }
.card-fields .btn { margin-top: 8px; }

.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: .875rem; text-transform: uppercase; letter-spacing: .08em;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- Páginas simples (compra, erro, palavra-passe, email, legais) ---------- */
.page { padding: 48px 0 64px; }
.page__card { max-width: 480px; margin-inline: auto; padding: 32px 24px; text-align: center; }
.page__card .form { text-align: left; }
.page__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
}
.page__icon .icon { width: 30px; height: 30px; }
.page__icon--ok { background: rgba(46, 204, 113, .15); color: var(--ok); }
.page__icon--error { background: var(--red-soft); color: var(--red-text); }
.page__title { margin-bottom: 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 6vw, 2.1rem); }
.page__card > p { color: var(--muted); }
.page__card > p + p { margin-top: 10px; }
.page__actions { display: grid; gap: 10px; margin-top: 26px; }

.legal { max-width: 760px; }
.legal h1 { margin: 16px 0 8px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 7vw, 2.6rem); }
.legal h2 { margin: 28px 0 8px; font-size: 1.125rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--red-text); }
.legal__note:empty { display: none; }
.legal__note { margin-bottom: 8px; padding: 10px 14px; border-radius: var(--radius); background: var(--surface); color: var(--text); font-size: .9375rem; }

.site-footer--slim { padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); }
.site-footer--slim .footer__copy { margin-top: 0; border-top: 0; }
.site-footer--slim .footer__copy a { color: inherit; }

/* ---------- Aviso flutuante ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 200;
  width: max-content; max-width: calc(100% - 32px); padding: 12px 18px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow); font-weight: 600;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Rodapé ---------- */
.site-footer {
  padding: 40px 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--bg-alt); border-top: 1px solid var(--border);
  color: var(--muted); font-size: .9375rem;
}
.footer__inner { display: grid; gap: 24px; }
.footer__brand .brand { color: var(--text); }
.footer__brand p { max-width: 30rem; margin-top: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--text); }
.footer__copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .875rem; }

/* =================== Ecrãs maiores =================== */

/* Telemóveis muito estreitos (320px): cabeçalho mais compacto */
@media (max-width: 359px) {
  .site-header__inner, .header-actions { gap: 6px; }
  .brand { gap: 8px; font-size: 1.05rem; }
  .lang__btn .icon--sm { display: none; }
}

/* Telemóvel: o modal abre como "folha" a partir de baixo */
@media (max-width: 599px) {
  .modal {
    width: 100%; max-height: 92dvh;
    margin: auto 0 0;
    border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

@media (min-width: 560px) {
  .hero__cta { display: flex; flex-wrap: wrap; justify-content: center; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact__info .btn { width: auto; }
}

@media (min-width: 900px) {
  .hero { padding: 80px 0 96px; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; text-align: left; }
  .hero__art { order: 2; }
  .hero__art img { width: min(100%, 420px); }
  .hero__lead { margin-inline: 0; }
  .hero__cta, .hero__notes { justify-content: flex-start; }

  .section { padding: 96px 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .contact { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
}

/* Cabeçalho completo só quando há espaço para todas as línguas */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  .brand { margin-right: 0; }
  .nav { display: flex; gap: 2px; margin-inline: auto; }
  .nav a {
    padding: 8px 12px; border-radius: 8px;
    color: var(--muted); font-weight: 600; font-size: .9375rem; text-decoration: none;
  }
  .nav a:hover { color: var(--text); background: var(--surface); }
  .header-login { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

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