﻿/* ============================================================
   CIA — Console Integrado de Análise
   styles.css — v1.0
   Paleta: Navy #071C46 | Wine-D #301127 | Wine-M #7D3467
           Off-white #FCFCFF | Teal-D #071B42 | Teal-L #4AA6B1
   Tipografia: IBM Plex Sans + IBM Plex Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- Variables --- */
:root {
  --navy:        #071C46;
  --wine-dark:   #301127;
  --wine-mid:    #7D3467;
  --offwhite:    #FCFCFF;
  --teal-dark:   #071B42;
  --teal-light:  #4AA6B1;

  --font-sans:   'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:   'IBM Plex Mono', monospace;

  --header-h:    72px;
  --max-w:       1200px;

  /* spacing scale (rem) */
  --s1: 0.25rem;  --s2: 0.5rem;   --s3: 0.75rem;
  --s4: 1rem;     --s5: 1.25rem;  --s6: 1.5rem;
  --s8: 2rem;     --s10: 2.5rem;  --s12: 3rem;
  --s16: 4rem;    --s20: 5rem;    --s24: 6rem;
  --s32: 8rem;
}

/* --- Base --- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background-color: var(--offwhite);
  color: var(--navy);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.625rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }

p { color: var(--navy); line-height: 1.7; }

a { color: var(--teal-light); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }

img { max-width: 100%; height: auto; display: block; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s8);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--offwhite);
  border-bottom: 1px solid rgba(7,28,70,.08);
  height: var(--header-h);
  transition: box-shadow .25s;
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  gap: 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  padding-left: 12px;
  border-left: 1.5px solid rgba(7,28,70,.18);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  opacity: .7;
  transition: opacity .2s;
  white-space: nowrap;
}

.nav-links a:hover { opacity: 1; }

.nav-sep {
  width: 1px;
  height: 18px;
  background: rgba(7,28,70,.12);
  flex-shrink: 0;
}

.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px 0 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  background: none;
  border: 1.5px solid rgba(37,211,102,.5);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  letter-spacing: -.01em;
}

.nav-wa:hover {
  border-color: rgba(37,211,102,.85);
  background: rgba(37,211,102,.05);
  box-shadow: 0 2px 10px rgba(37,211,102,.15);
}

.nav-wa .wa-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}

.hamburger:hover { background: rgba(7,28,70,.05); }

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background-color: var(--offwhite);
  z-index: 199;
  padding: var(--s8);
  flex-direction: column;
  gap: var(--s2);
  overflow-y: auto;
  border-top: 1px solid rgba(7,28,70,.08);
}

.mobile-menu.is-open { display: flex; }

.mobile-menu a {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
  padding: var(--s4) 0;
  border-bottom: 1px solid rgba(7,28,70,.07);
  display: block;
  text-decoration: none;
}

.mobile-menu-cta {
  margin-top: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: opacity .2s, transform .15s, box-shadow .2s, background-color .2s;
  white-space: nowrap;
  letter-spacing: -.01em;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(7,28,70,.12); opacity: 1; }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-primary {
  background-color: var(--navy);
  color: var(--offwhite);
  border-color: var(--navy);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border-color: rgba(7,28,70,.3);
}

.btn-outline:hover { border-color: var(--navy); background-color: rgba(7,28,70,.04); }

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.btn-header {
  height: 40px;
  padding: 0 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: -.01em;
}

.btn-ghost {
  background: none;
  color: var(--navy);
  border-color: transparent;
  opacity: .7;
}

.btn-ghost:hover { opacity: 1; background: rgba(7,28,70,.05); }

.btn-wa {
  background-color: #25D366;
  color: #fff;
  border-color: #25D366;
  letter-spacing: -.01em;
  gap: 8px;
}

.wa-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.btn-wa .wa-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}

.btn-wa:hover {
  background-color: #20c05c;
  border-color: #20c05c;
  box-shadow: 0 4px 18px rgba(37,211,102,.32);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
#inicio {
  padding-top: var(--s24);
  padding-bottom: var(--s24);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: var(--s16);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--navy);
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--navy);
  opacity: .78;
  max-width: 52ch;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  opacity: .75;
}

.hero-bullets li::before {
  content: '';
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--teal-light);
  border-radius: 2px;
}

.hero-ctas {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  padding-top: var(--s2);
}

.hero-disclaimer {
  font-size: 0.75rem;
  color: var(--navy);
  opacity: .42;
  font-style: italic;
  line-height: 1.5;
  max-width: 55ch;
}

/* Hero image */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.hero-visual-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

.img-frame {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(7,28,70,.04) 0%, rgba(74,166,177,.07) 100%);
  border: 1px solid rgba(7,28,70,.09);
}

.img-frame--hero {
  aspect-ratio: 3/2;
  background: var(--offwhite);
  border: 1px solid rgba(7,28,70,.09);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(7,28,70,.10);
}

.img-frame--hero-sq {
  aspect-ratio: 1/1;
  background: none;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.img-frame--arch  { aspect-ratio: 16/9; }

.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.img-frame--hero img,
.img-frame--hero-sq img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  pointer-events: none;
}

.img-placeholder-icon {
  width: 44px;
  height: 44px;
  opacity: .15;
  stroke: var(--navy);
}

.img-placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: .1em;
  color: var(--navy);
  opacity: .3;
  text-transform: uppercase;
}

.img-caption {
  font-size: 0.75rem;
  color: var(--navy);
  opacity: .42;
  font-style: italic;
  text-align: center;
}

/* ============================================================
   SECTION 2 — Método
   ============================================================ */
#mapa {
  padding-block: var(--s24);
  border-top: 1px solid rgba(7,28,70,.07);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-light);
  display: block;
  margin-bottom: var(--s4);
}

.section-hd {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin-bottom: var(--s16);
}

.section-hd-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s4);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--navy);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  opacity: .65;
  text-decoration: none;
  transition: opacity .2s, gap .2s;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(7,28,70,.15);
}

.link-arrow:hover { opacity: 1; gap: var(--s3); }

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s12);
}

.method-card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.method-icon {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  border: 1px solid rgba(7,28,70,.1);
  background: rgba(7,28,70,.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  opacity: .65;
}

.method-title {
  font-size: 1.4375rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.1;
}

.method-text {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--navy);
  opacity: .72;
  max-width: 34ch;
}

/* ============================================================
   SECTION 3 — Demo + Form
   ============================================================ */
#radar-de-risco {
  padding-block: var(--s24);
  border-top: 1px solid rgba(7,28,70,.07);
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}

.demo-content {
  display: flex;
  flex-direction: column;
  gap: var(--s10);
}

.demo-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.025em;
  margin-top: var(--s3);
}

.demo-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
}

.demo-block { display: flex; flex-direction: column; gap: var(--s2); }

.demo-block-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .45;
}

.demo-block-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--navy);
  opacity: .8;
  max-width: 28ch;
}

/* Form Card */
.form-card {
  background-color: var(--navy);
  border-radius: 12px;
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  position: sticky;
  top: calc(var(--header-h) + var(--s6));
}

.form-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--offwhite);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.form-card-sub {
  font-size: 0.84rem;
  color: var(--offwhite);
  opacity: .58;
  line-height: 1.55;
  max-width: 36ch;
  margin-top: calc(-1 * var(--s3));
}

.form-fields { display: flex; flex-direction: column; gap: var(--s4); }

.form-group { display: flex; flex-direction: column; gap: var(--s2); }

.form-label {
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--offwhite);
  opacity: .65;
}

.form-input {
  background: rgba(252,252,255,.07);
  border: 1px solid rgba(252,252,255,.15);
  border-radius: 7px;
  padding: 0.6875rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--offwhite);
  outline: none;
  transition: border-color .2s, background-color .2s;
  width: 100%;
}

.form-input::placeholder { color: var(--offwhite); opacity: .35; }

.form-input:focus {
  border-color: var(--teal-light);
  background: rgba(252,252,255,.11);
}

.form-input.is-invalid { border-color: #e05252; }

.form-check-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
}

.form-checkbox {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--teal-light);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.79rem;
  color: var(--offwhite);
  opacity: .58;
  line-height: 1.55;
}

.form-check-label a {
  color: var(--teal-light);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-error {
  font-size: 0.75rem;
  color: #fca5a5;
  display: none;
}

.form-error.is-visible { display: block; }

.form-success {
  display: none;
  flex-direction: column;
  gap: var(--s4);
}

.form-success.is-visible { display: flex; }

.form-success-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--offwhite);
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.form-success-sub {
  font-size: 0.84rem;
  color: var(--offwhite);
  opacity: .58;
  line-height: 1.55;
}

/* ============================================================
   SECTION 4 — Arquitetura
   ============================================================ */
#arquitetura {
  padding-block: var(--s24);
  border-top: 1px solid rgba(7,28,70,.07);
}

.arch-intro {
  max-width: 52ch;
  margin-bottom: var(--s16);
}

.arch-intro .section-title { margin-bottom: var(--s4); }
.arch-intro p { font-size: 1rem; opacity: .72; }

.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s8);
}

.arch-item { display: flex; flex-direction: column; gap: var(--s3); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--navy);
  padding-top: var(--s16);
  margin-top: var(--s8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s12);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(252,252,255,.08);
}

.footer-brand { display: flex; flex-direction: column; gap: var(--s4); }

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--offwhite);
  letter-spacing: -.02em;
  text-decoration: none;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--offwhite);
  opacity: .5;
  line-height: 1.65;
  max-width: 36ch;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--offwhite);
  opacity: .35;
  margin-bottom: var(--s4);
  display: block;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }

.footer-links a {
  font-size: 0.875rem;
  color: var(--offwhite);
  opacity: .6;
  text-decoration: none;
  transition: opacity .2s;
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  padding-block: var(--s6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--offwhite);
  opacity: .35;
}

.footer-legal {
  display: flex;
  gap: var(--s4);
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--offwhite);
  opacity: .35;
  text-decoration: none;
  transition: opacity .2s;
}

.footer-legal a:hover { opacity: .7; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-wrap {
  padding-top: calc(var(--header-h) + var(--s16));
  padding-bottom: var(--s24);
}

.legal-inner {
  max-width: 70ch;
  margin-inline: auto;
  padding-inline: var(--s8);
}

.legal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-light);
  display: block;
  margin-bottom: var(--s4);
}

.legal-h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--s2);
}

.legal-date {
  font-size: 0.8rem;
  color: var(--navy);
  opacity: .45;
  display: block;
  margin-bottom: var(--s12);
}

.legal-notice {
  background: rgba(74,166,177,.08);
  border-left: 3px solid var(--teal-light);
  border-radius: 0 6px 6px 0;
  padding: var(--s4) var(--s6);
  margin-bottom: var(--s12);
}

.legal-notice p {
  font-size: 0.875rem;
  color: var(--navy);
  opacity: .82;
  line-height: 1.6;
  max-width: none;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
}

.legal-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--s3);
  color: var(--navy);
  letter-spacing: -.01em;
}

.legal-section p,
.legal-section li {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--navy);
  opacity: .8;
  max-width: none;
}

.legal-section ul,
.legal-section ol {
  padding-left: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.legal-section li { padding-left: var(--s2); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
  padding-top: calc(var(--header-h) + var(--s16));
  padding-bottom: var(--s24);
}

.contact-hd { margin-bottom: var(--s12); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--s8); }

.contact-info-block { display: flex; flex-direction: column; gap: var(--s2); }

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.contact-info-value {
  font-size: 0.9375rem;
  color: var(--navy);
  opacity: .8;
}

/* ============================================================
   404
   ============================================================ */
.pg-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s8);
}

.pg-404-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
}

.pg-404-code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--navy);
  opacity: .1;
  line-height: 1;
  letter-spacing: -.04em;
}

.pg-404-title { font-size: 1.625rem; font-weight: 700; }
.pg-404-sub   { font-size: 0.9375rem; opacity: .6; max-width: 38ch; margin: 0 auto; }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

.text-center { text-align: center; }
.mt-2  { margin-top: var(--s2); }
.mt-4  { margin-top: var(--s4); }
.mt-8  { margin-top: var(--s8); }
.mt-12 { margin-top: var(--s12); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet largo — 960px */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s12); }
  .hero-visual { order: -1; max-width: 560px; margin-inline: auto; }
  .hero-sub, .hero-disclaimer { max-width: none; }

  .method-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .method-text { max-width: none; }

  .demo-inner { grid-template-columns: 1fr; gap: var(--s10); }
  .form-card  { position: static; }

  .arch-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
}

/* Tablet estreito — 768px: oculta nav-links, mantém actions */
@media (max-width: 768px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .header-actions .nav-wa { display: none; }
  .hamburger { display: flex; }
}

/* Mobile — 640px */
@media (max-width: 640px) {
  :root { --s24: 4rem; --s16: 3rem; }

  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .header-actions .nav-wa,
  .header-actions a.btn { display: none; }
  .hamburger { display: flex; }

  .logo-name { display: none; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .demo-blocks { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--s3); }

  .legal-inner { padding-inline: var(--s4); }
}
