/* Fonte Inter hospedada no próprio site (sem requisições ao Google) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../assets/fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../assets/fonts/inter-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; }

/* ===== Tokens ===== */
:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --bar-h: 34px;
  --head-h: 68px;
  --header-h: calc(var(--bar-h) + var(--head-h));
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Escuro (padrão da marca) */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071424;
  --bg-alt: #0a192f;
  --surface: #0e2238;
  --surface-2: #12304a;
  --text: #f8f9fa;
  --muted: #a9b8ca;
  --line: rgba(255, 255, 255, .12);
  --primary: #d4af37;
  --primary-hover: #e3c157;
  --on-primary: #0a192f;
  --accent: #d4af37;
  --accent-text: #d9b84a;
  --hero-glow: radial-gradient(60% 50% at 50% 0%, rgba(2, 61, 83, .75), transparent 70%);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --header-bg: rgba(7, 20, 36, .78);
  --page-bg: #071424; --page-text: #f8f9fa; --page-muted: #a9b8ca; --page-accent: #d9b84a; --page-line: rgba(255, 255, 255, .12);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f9fa;
  --bg-alt: #eef1f4;
  --surface: #ffffff;
  --surface-2: #f1f4f7;
  --text: #0a192f;
  --muted: #4a5b70;
  --line: rgba(10, 25, 47, .12);
  --primary: #023d53;
  --primary-hover: #035069;
  --on-primary: #ffffff;
  --accent: #c29b42;
  --accent-text: #7a5a12;
  --hero-glow: radial-gradient(60% 50% at 50% 0%, rgba(2, 61, 83, .10), transparent 70%);
  --shadow: 0 24px 60px rgba(10, 25, 47, .12);
  --header-bg: rgba(248, 249, 250, .82);
  --page-bg: #f8f9fa; --page-text: #0a192f; --page-muted: #4a5b70; --page-accent: #7a5a12; --page-line: rgba(10, 25, 47, .12);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.muted { color: var(--muted); }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
  color: #f8f9fa; --text: #f8f9fa; --muted: rgba(248, 249, 250, .78); --line: rgba(255, 255, 255, .28); --accent-text: #e3c157;
}
.header-inner { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; }
.brand-name { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.brand-name span { color: var(--accent-text); font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--muted); transition: color .2s; }
.main-nav > a, .nav-trigger { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1100px) { .main-nav { gap: 14px; font-size: 14px; } .header-cta { padding: 0 14px; } }
.main-nav a:hover { color: var(--text); }
/* Itens dos submenus: cor do tema do painel (o painel é sempre claro/escuro conforme o tema, mesmo com o cabeçalho transparente sobre o vídeo) */
.main-nav .mega-item, .main-nav .mega-item:hover { color: var(--page-text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
/* Barra superior (discreta): links rapidos, tema e idioma */
.top-bar { height: var(--bar-h); border-bottom: 1px solid rgba(255, 255, 255, .1); transition: height .25s var(--ease), opacity .2s var(--ease); }
.top-bar-inner { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 14px; font-size: 12.5px; }
.top-links { display: flex; align-items: center; gap: 16px; }
.top-links a { color: var(--muted); transition: color .2s; }
.top-links a:hover { color: var(--text); }
.top-phone a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.top-phone svg { width: 13px; height: 13px; flex: none; color: var(--accent-text); }
.top-sep { width: 1px; height: 14px; background: var(--line); }
.util-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; transition: color .2s; }
.util-btn:hover, .util-btn[aria-expanded="true"] { color: var(--text); }
.util-btn svg { width: 15px; height: 15px; flex: none; }
.site-header.is-compact .top-bar { height: 0; opacity: 0; overflow: hidden; pointer-events: none; border-bottom-width: 0; }
.theme-toggle { padding: 4px 6px; }
.theme-toggle svg { display: none; }
:root[data-theme="dark"] .theme-toggle .ico-sun,
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }
.theme-menu { position: relative; }
.theme-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 14px; z-index: 60;
  background: var(--page-bg); border: 1px solid var(--page-line); box-shadow: var(--shadow); color: var(--page-text);
}
.theme-list[hidden] { display: none; }
.theme-list button, .theme-list a {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 9px;
  background: none; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--page-text); text-align: left;
}
.theme-list button:hover, .theme-list button:focus-visible, .theme-list a:hover, .theme-list a:focus-visible { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.theme-list button[aria-checked="true"], .theme-list a[aria-checked="true"] { color: var(--page-accent); font-weight: 600; }
.theme-list button[aria-checked="true"]::after, .theme-list a[aria-checked="true"]::after { content: ""; margin-left: auto; width: 6px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 14px; } .menu-toggle span:nth-child(2) { top: 19px; } .menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ===== Menu com submenus ===== */
.nav-item { position: relative; display: flex; align-items: center; height: var(--head-h); }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 500; color: var(--muted); transition: color .2s;
}
.nav-trigger:hover, .nav-item.open > .nav-trigger { color: var(--text); }
.nav-trigger::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.nav-item.open > .nav-trigger::after { transform: translateY(1px) rotate(-135deg); }
.submenu {
  position: absolute; top: 100%; left: -16px; min-width: 270px; padding: 8px; border-radius: 16px;
  background: var(--page-bg); border: 1px solid var(--page-line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-item.open > .submenu { opacity: 1; visibility: visible; transform: none; }


/* ===== Mega menu (modelo Browserbase): colunas com titulo, imagem/logo + titulo + descricao ===== */
.submenu.mega { display: flex; gap: 8px; padding: 14px; min-width: 0; width: max-content; max-width: min(92vw, 640px); border-radius: 18px; }
.mega-col { min-width: 250px; }
.mega-title { padding: 4px 10px 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--page-muted); }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; color: var(--page-text); transition: background-color .15s; }
.mega-item:hover, .mega-item:focus-visible { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--page-text); }
.mega-thumb { flex: none; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--page-line); }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-thumb.is-logo { padding: 6px; }
.mega-thumb.is-logo img { object-fit: contain; }
.mega-thumb.is-icon { color: var(--page-accent); }
.mega-text strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.mega-text em { display: block; font-style: normal; font-size: 13px; color: var(--page-muted); line-height: 1.35; margin-top: 2px; }
.nav-item.open > .nav-trigger { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.nav-trigger { padding: 8px 12px; border-radius: 999px; margin: 0 -4px; }

/* Cabecalho depois de rolar (ou em paginas sem video): fundo translucido e cores do tema */
.site-header.is-scrolled, .site-header[data-solid] {
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--page-text); --text: var(--page-text); --muted: var(--page-muted); --line: var(--page-line); --accent-text: var(--page-accent);
  border-bottom-color: var(--page-line);
}

/* ===== Hero (video ao fundo, texto a esquerda) ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; background: #071424; color: #f8f9fa;
  --text: #f8f9fa; --muted: rgba(248, 249, 250, .82); --line: rgba(255, 255, 255, .3); --accent-text: #e3c157;
  min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 64px) 0 clamp(48px, 8vw, 96px);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 20, 36, .92) 0%, rgba(7, 20, 36, .72) 45%, rgba(7, 20, 36, .25) 100%),
    linear-gradient(0deg, rgba(7, 20, 36, .85) 0%, transparent 40%);
}
.hero-content { width: min(100% - 32px, var(--maxw)); text-align: left; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; max-width: 14ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-lead { max-width: 56ch; margin-top: 24px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-primary { background: #d4af37; color: #0a192f; }
.hero .btn-primary:hover { background: #e3c157; }
.btn-light { border-color: rgba(255, 255, 255, .5); color: #f8f9fa; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-light:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }

.scenario-section { padding: clamp(40px, 6vw, 72px) 0 0; text-align: center; }
.scenario { }
.pills { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.pill {
  min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-weight: 500; font-size: 15px; cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.pill:hover { color: var(--text); border-color: var(--text); }
.pill[aria-selected="true"] { color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }

.stage { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); overflow: hidden; }
.stage-panel { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 440px; }
.stage-panel[hidden] { display: none; }
.stage-panel:not([hidden]) { animation: fadeUp .45s var(--ease); }
.stage-text { padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.stage-text h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
.stage-text p { color: var(--muted); }
.stage-media { position: relative; min-height: 320px; background: var(--surface-2); }
.stage-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ticks li { position: relative; padding-left: 28px; margin: 8px 0; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) scale(.9); transform-origin: center; }

/* ===== Marcas ===== */
.brands { border-block: 1px solid var(--line); padding: 28px 0; }
.brands .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.brands-label { color: var(--muted); font-size: 14px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; }
.brand-list li { font-weight: 700; font-size: 20px; letter-spacing: -.01em; color: var(--muted); }

/* ===== Seções ===== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2, .infra-text h2, .contact-text h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.section-head p:not(.eyebrow), .infra-text > p, .contact-text > p { margin-top: 18px; color: var(--muted); font-size: 18px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
:root[data-theme="light"] .card:hover { border-color: rgba(2, 61, 83, .26); }
.card h3 { font-size: 26px; letter-spacing: -.02em; font-weight: 600; margin: 4px 0 12px; }
.card p { color: var(--muted); }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }

.card-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); overflow: hidden; }
.card-feature h3 { font-size: clamp(32px, 4vw, 48px); }
.card-feature .ticks { margin-top: 18px; }
.card-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.phone-wrap { display: grid; place-items: center; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); border-radius: var(--radius); padding: 12px 0; }
.phone { width: min(260px, 70%); border-radius: 36px; padding: 9px; background: #0b0f16; border: 1px solid var(--line); box-shadow: var(--shadow); }
.phone img { border-radius: 28px; width: 100%; height: auto; }

.video-box { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-box[hidden] { display: none; }
.video-box video { width: 100%; max-height: 70vh; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.card-art { color: var(--text); margin-bottom: 20px; background: var(--surface-2); border-radius: var(--radius-sm); padding: 18px; }
.card-art svg { width: 100%; height: 140px; }
.card-art .accent { stroke: var(--accent); }
.grid-2 .link-arrow { margin-top: 18px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-sm h3 { font-size: 20px; }
.ico { width: 40px; height: 40px; color: var(--accent); margin-bottom: 16px; }

/* ===== Infraestrutura ===== */
.infra { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.infra-text .ticks { margin: 24px 0 30px; }
.infra-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.infra-photos figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/4.4; }
.infra-photos figure:nth-child(2) { margin-top: 40px; aspect-ratio: 3/4; }
.infra-photos img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Passos ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { border-top: 2px solid var(--accent); padding-top: 18px; }
.steps span { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent-text); }
.steps h3 { font-size: 22px; margin: 8px 0; letter-spacing: -.01em; }
.steps p { color: var(--muted); font-size: 16px; }

/* ===== Contato ===== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.support-card { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.support-card h3 { font-size: 20px; margin-bottom: 6px; }
.support-card p { color: var(--muted); margin-bottom: 14px; font-size: 16px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--text) 40%, var(--line)); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field [aria-invalid="true"] { border-color: #e5484d; }
.error { color: #ff6b6f; font-size: 14px; min-height: 0; }
:root[data-theme="light"] .error { color: #b3261e; }
.error:empty { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; min-height: 40px; }
.checks input, .consent input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.checks label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--muted); font-size: 14px !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: var(--accent-text); }
.form-status.err { color: #ff6b6f; }
:root[data-theme="light"] .form-status.err { color: #b3261e; }

/* ===== Rodapé ===== */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 24px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .muted { margin-top: 14px; font-size: 15px; max-width: 30ch; }
.footer-grid h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-grid nav a { display: block; padding: 5px 0; color: var(--text); font-size: 15px; }
.footer-grid nav a:hover { color: var(--accent-text); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ===== Animação ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  /* os videos de fundo (sem som) continuam tocando: o iPhone com "Reduzir Movimento" ligado nao deve ficar com imagem parada */
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Responsivo ===== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .infra, .contact { grid-template-columns: 1fr; }
}
@media (min-width: 861px) { .nav-support { display: none; } }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--page-bg); border-bottom: 1px solid var(--page-line); padding: 8px 16px 20px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a, .nav-trigger { padding: 14px 4px; font-size: 18px; color: var(--page-text); border-bottom: 1px solid var(--page-line); }
  .nav-item { display: block; height: auto; }
  .nav-trigger { width: 100%; justify-content: space-between; border-radius: 0; }
  .nav-trigger:hover, .nav-item.open > .nav-trigger { color: var(--page-text); }
  .submenu { position: static; min-width: 0; padding: 4px 0 8px 12px; border: 0; box-shadow: none; background: transparent; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav-item.open > .submenu { display: block; }
  .submenu.mega { display: none; width: auto; max-width: none; flex-direction: column; padding: 4px 0 8px; gap: 0; }
  .nav-item.open > .submenu.mega { display: flex; }
  .mega-col { min-width: 0; }
  .main-nav .mega-item { border-bottom: 0; padding: 8px 4px; font-size: 16px; }
  .nav-trigger { margin: 0; border-radius: 0; padding: 14px 4px; }
  .nav-item.open > .nav-trigger { background: transparent; }
  .stage-panel { grid-template-columns: 1fr; }
  .stage-media { min-height: 280px; order: -1; }
  .card-feature { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top-links li:not(.top-phone), .top-sep { display: none; }
  body { font-size: 16px; }
  .grid-4, .steps, .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 13px; }
  .hero-actions .btn { width: 100%; }
  .hero { min-height: 88vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(7, 20, 36, .92) 0%, rgba(7, 20, 36, .7) 60%, rgba(7, 20, 36, .5) 100%); }
  .pills { gap: 6px; }
  .pill { padding: 0 14px; }
}

/* Paginas internas: cabecalho fixo no fluxo */
.subpage { padding-top: var(--header-h); }

/* Menu "Área do Cliente" */
.submenu-right { left: auto; right: 0; }
.header-cta.nav-trigger { padding: 0 18px; margin: 0; min-height: 40px; color: var(--on-primary); background: var(--primary); border-radius: 999px; }
.header-cta.nav-trigger:hover { background: var(--primary-hover); color: var(--on-primary); }
.nav-item.open > .nav-trigger.header-cta { background: var(--primary-hover); }
.header-actions .nav-client { height: auto; }
.header-actions .nav-client .submenu { top: calc(100% + 14px); }
@media (min-width: 861px) { .nav-client-m { display: none; } }
@media (max-width: 860px) { .nav-client { display: none; } }
/* todos os quadradinhos do menu com o mesmo fundo: azul no tema escuro e azul-marinho bem clarinho no claro */
:root[data-theme="light"] .mega-thumb { background: #edf2f8; border-color: rgba(10, 25, 47, .09); }

/* ===== Mensagem de confirmação do formulário ===== */
.form.is-done > *:not(.form-done) { display: none; }
.form-done { display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(20px, 4vw, 48px) 8px; outline: none; }
.form-done-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #0a192f; background: var(--accent); box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 20%, transparent); }
.form-done-icon svg { width: 34px; height: 34px; }
.form-done h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; }
.form-done p { color: var(--muted); max-width: 44ch; }
.form-done .form-done-note { font-size: 14px; }
.form-done .form-done-note strong { color: var(--text); font-variant-numeric: tabular-nums; }
.form-done-bar { width: min(280px, 100%); height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.form-done-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: doneBar linear forwards; }
@keyframes doneBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .form-done-bar i { animation: none; transform: scaleX(1); } }

/* ===== Aviso de cookies e preferências ===== */
.cookie-notice {
  position: fixed; left: 16px; bottom: 16px; z-index: 45; width: min(480px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 20px; border: 1px solid var(--page-line, var(--line)); border-radius: 18px; background: var(--page-bg, var(--bg)); color: var(--page-text, var(--text));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35); animation: cookieIn .5s var(--ease) both;
}
:root[data-theme="light"] .cookie-notice { box-shadow: 0 18px 50px rgba(10, 25, 47, .18); }
.cookie-notice[hidden] { display: none; }
.cookie-title { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; outline: none; }
.cookie-notice p { font-size: 14px; line-height: 1.55; color: var(--page-muted, var(--muted)); }
.cookie-theme { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--page-line, var(--line)); }
.cookie-theme > span { font-size: 13px; font-weight: 600; color: var(--page-muted, var(--muted)); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--page-line, var(--line)); }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--page-muted, var(--muted)); transition: background-color .2s, color .2s; }
.seg button:hover { color: var(--page-text, var(--text)); }
.seg button[aria-checked="true"] { background: var(--page-bg, var(--bg)); color: var(--page-text, var(--text)); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-actions .btn { flex: 1 1 0; min-width: 150px; white-space: nowrap; }
.cookie-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; }
.cookie-link, .cookie-links a { background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; color: var(--page-accent, var(--accent-text)); text-decoration: underline; text-underline-offset: 3px; }
.cookie-panel { display: grid; gap: 4px; margin-top: 14px; }
.cookie-panel[hidden] { display: none; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--page-line, var(--line)); cursor: pointer; }
.cookie-row-text { display: grid; gap: 2px; }
.cookie-row-text strong { font-size: 14.5px; font-weight: 600; }
.cookie-row-text small { font-size: 13px; line-height: 1.45; color: var(--page-muted, var(--muted)); }
.cookie-soon { margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--page-accent, var(--accent-text)); border: 1px solid var(--page-line, var(--line)); }
.cookie-switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--page-line, var(--line)); cursor: pointer; transition: background-color .2s, border-color .2s; }
.cookie-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--page-muted, var(--muted)); transition: transform .2s var(--ease), background-color .2s; }
.cookie-switch:checked { background: var(--primary); border-color: var(--primary); }
.cookie-switch:checked::after { transform: translateX(18px); background: #fff; }
.cookie-switch:disabled { opacity: .65; cursor: not-allowed; }
.cookie-panel .cookie-save { margin-top: 12px; justify-self: stretch; }
@keyframes cookieIn { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-notice { animation: none; } }
@media (max-width: 560px) { .cookie-notice { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 16px; } .cookie-actions .btn { min-width: 0; } }

/* botão de texto no rodapé (Preferências de cookies) */
.footer-grid nav .link-btn { display: block; width: 100%; text-align: left; padding: 5px 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: 15px; color: var(--text); }
.footer-grid nav .link-btn:hover { color: var(--accent-text); }
