/* ========================================================================
   WSpeed · NovoSite · v2.0 — "Top das Galáxias"
   Brand tokens: do Brand Manual v1.0
   ======================================================================== */

/* ===== Fontes self-hosted (woff2, subset latin+latin-ext) ===== */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxQKYbABA.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 Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxeKYY.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: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxQKYbABA.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 Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxeKYY.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: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxQKYbABA.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 Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxeKYY.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8-qxTNFOVgaY.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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8-qxTOlOV.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/xn7gYHE41ni1AdIRggmxSuXd.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: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/xn7gYHE41ni1AdIRggexSg.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/xn7gYHE41ni1AdIRggmxSuXd.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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/xn7gYHE41ni1AdIRggexSg.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/xn7gYHE41ni1AdIRggmxSuXd.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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/xn7gYHE41ni1AdIRggexSg.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/xn7gYHE41ni1AdIRggmxSuXd.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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/xn7gYHE41ni1AdIRggexSg.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: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xsaQ.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: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.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: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xsaQ.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: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.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: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xsaQ.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: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.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: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwWa-xsaQ.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: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.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;
}


:root {
  /* Cores — do brand manual */
  --blue: #0E2C8F;
  --blue-deep: #081C5F;
  --navy: #0A1F4D;
  --ink: #0E1226;
  --sky: #C8D4F5;
  --sky-mid: #7A92D6;
  --paper: #F4F2EC;
  --cream: #EBE7DA;
  --white: #FFFFFF;
  --line: #E2DECF;
  --muted: #6B6759;
  --success: #0F8A5F;
  --success-soft: #D5EFE3;
  --alert: #C8412B;
  --alert-soft: #FBE4DE;
  --warn: #E0A106;

  /* Tipografia */
  --font-display: 'Sora', sans-serif;
  --font-ui: 'Manrope', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Easing premium */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html.has-loader { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--blue); color: var(--white); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ====== Tipografia · escala da marca ====== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow.on-dark { color: var(--sky); }
.eyebrow.dot::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 10px;
  vertical-align: 2px;
  box-shadow: 0 0 0 4px rgba(14,44,143,.15);
}
.eyebrow.on-dark.dot::before { background: var(--sky); box-shadow: 0 0 0 4px rgba(200,212,245,.15); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); }
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.h-mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 56ch;
}
.body { font-size: 16px; line-height: 1.6; color: var(--muted); }
.body strong { color: var(--ink); font-weight: 600; }

.text-blue { color: var(--blue) !important; }
.text-sky { color: var(--sky) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--muted) !important; }

/* ====== Layout ====== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ====== Loader ====== */
.loader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 32px;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { animation: pulseLogo 1.6s ease-in-out infinite; }
.loader-bar {
  width: 220px; height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.loader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  animation: loadSweep 1.2s linear infinite;
}
@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.6; }
}
@keyframes loadSweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

/* ====== Header / Nav ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(244, 242, 236, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(14,18,38,.06);
}
/* Menu mobile aberto: SEM backdrop-filter — senao a .nav vira "containing block" e
   prende o position:fixed do .nav-menu.open (abria so uma fatia com a pagina rolada). */
.nav.menu-open { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 rgba(14,18,38,.06); }
/* PERF mobile: backdrop-filter blur repinta a CADA scroll (caríssimo no celular — é o que enche
   Style&Layout/Rendering). No mobile troca por fundo quase opaco: mesmo visual, custo ~zero.
   Desktop continua com o vidro fosco. */
@media (max-width: 900px) {
  .nav.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(244, 242, 236, 0.97); }
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; color: var(--blue); }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--blue);
}
.nav-menu { display: flex; gap: 6px; align-items: center; }
.nav-link {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink);
  position: relative;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.nav-link:hover { background: rgba(14,44,143,.06); color: var(--blue); }
.nav-link.active { color: var(--blue); }
.nav-cta {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .25s var(--ease-out), background .25s, box-shadow .25s;
  box-shadow: 0 8px 20px -8px rgba(14,44,143,.6);
}
.nav-cta:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(14,44,143,.7); }

.nav-toggle { display: none; background: none; border: none; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px -20px rgba(8,28,95,.25);
    gap: 4px;
  }
  .nav-menu.open .nav-link { width: 100%; }
}

/* ====== Nav dropdowns ====== */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-drop-toggle { background: none; border: none; cursor: pointer; font: inherit; display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { font-size: .68em; opacity: .55; transition: transform .2s; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 56px -22px rgba(8,28,95,.28);
  padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s; z-index: 60;
}
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translateY(6px); }
.nav-drop a { padding: 10px 14px; border-radius: 9px; color: var(--ink); text-decoration: none; font-family: var(--font-ui); font-weight: 500; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
.nav-drop a:hover { background: rgba(14,44,143,.06); color: var(--blue); }
@media (max-width: 1024px) {
  .nav-menu.open .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-menu.open .nav-drop-toggle { width: 100%; }
  .nav-menu.open .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 2px 0 6px 14px; min-width: 0; width: 100%; }
  .nav-menu.open .nav-caret { display: none; }
}

/* ====== Botões ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s, color .25s, border-color .25s, box-shadow .25s;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(14,44,143,.7);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(14,44,143,.8); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14,18,38,.18);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: var(--white); }
.btn-whats { background: #25D366; color: var(--white); box-shadow: 0 10px 24px -10px rgba(37,211,102,.6); }
.btn-whats:hover { background: #1DA851; transform: translateY(-2px); }

.btn-lg { padding: 20px 32px; font-size: 16px; }

.btn-arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: clamp(140px, 18vh, 200px) 0 clamp(80px, 10vw, 140px);
  background: var(--paper);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,44,143,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,44,143,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,44,143,.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb.b { background: radial-gradient(circle, rgba(122,146,214,.22), transparent 70%); animation-delay: -7s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.1); }
}

.hero-content { position: relative; z-index: 2; }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 24px 0 36px;
  text-wrap: balance;
}
.hero-headline .accent { color: var(--blue); position: relative; display: inline-block; }
.hero-headline .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.16em;
  background: rgba(14,44,143,.18);
  z-index: -1;
  border-radius: 2px;
}
.hero-headline .strike { text-decoration: line-through; text-decoration-color: var(--alert); text-decoration-thickness: .06em; opacity: .55; }

.hero-sub {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 58ch;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(14,18,38,.08);
}
.hero-trust-item { display: flex; align-items: center; gap: 12px; }
.hero-trust-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
}
.hero-trust-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 14ch;
  line-height: 1.3;
}

/* ====== Marquee · social proof ====== */
.marquee {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marqueeMove 32s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.marquee-item .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky);
  opacity: .6;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== Pattern break ====== */
.pattern-break {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.pattern-break::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(122,146,214,.18), transparent 60%);
  pointer-events: none;
}
.pattern-break-content { position: relative; z-index: 2; }
.pb-quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--white);
  max-width: 22ch;
  text-wrap: balance;
}
.pb-quote em { font-style: normal; color: var(--sky); }

/* ====== Cards ====== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), border-color .25s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(14,44,143,.18);
  box-shadow: 0 24px 60px -20px rgba(8,28,95,.22);
}
.card--dark {
  background: var(--ink);
  border-color: rgba(255,255,255,.08);
  color: var(--white);
}
.card--blue {
  background: var(--blue);
  color: var(--white);
  border-color: transparent;
}
.card--blue:hover { background: var(--blue-deep); box-shadow: 0 24px 60px -20px rgba(8,28,95,.5); }

.card-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(14,44,143,.08);
  color: var(--blue);
  margin-bottom: 24px;
}
.card--dark .card-icon, .card--blue .card-icon { background: rgba(255,255,255,.1); color: var(--white); }
.card-icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 12px; }
.card--dark h3, .card--blue h3 { color: var(--white); }

.card-list { list-style: none; padding: 0; margin: 24px 0 0; }
.card-list li {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 10px 0;
  border-top: 1px solid rgba(14,18,38,.06);
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--muted);
  line-height: 1.45;
}
.card-list li::before {
  content: "→";
  color: var(--blue);
  font-weight: 700;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.card--dark .card-list li, .card--blue .card-list li { color: rgba(255,255,255,.78); border-top-color: rgba(255,255,255,.1); }
.card--dark .card-list li::before, .card--blue .card-list li::before { color: var(--sky); }

.card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  margin-top: 24px;
}
.card--dark .card-cta, .card--blue .card-cta { color: var(--sky); }
.card-cta-arrow { transition: transform .25s var(--ease-out); }
.card:hover .card-cta-arrow { transform: translateX(6px); }

/* ====== Stats ====== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 56px 32px;
  border-left: 1px solid var(--line);
  position: relative;
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 5.2vw, 80px);
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 12px;
}
.stat-num .plus { color: var(--ink); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(2) { border-top: none; border-left: 1px solid var(--line); }
}

/* ====== Step / Timeline ====== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--blue), var(--blue) 6px, transparent 6px, transparent 12px);
  opacity: .25;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: left;
  counter-increment: step;
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
}

/* ====== Compare table ====== */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: none; }
.compare-cell {
  padding: 22px 28px;
  font-family: var(--font-body);
  font-size: 14.5px;
  border-left: 1px solid var(--line);
}
.compare-cell:first-child { border-left: none; font-weight: 500; color: var(--ink); }
.compare-head {
  background: var(--ink);
  color: var(--white);
}
.compare-head .compare-cell { color: rgba(255,255,255,.85); font-family: var(--font-display); font-weight: 700; font-size: 17px; border-color: rgba(255,255,255,.12); }
.compare-head .wspeed { color: var(--sky); background: var(--blue); }
.compare-yes { color: var(--success); font-weight: 600; }
.compare-no { color: var(--alert); }
@media (max-width: 700px) {
  .compare-row { grid-template-columns: 1.4fr .8fr .8fr; }
  .compare-cell { padding: 14px 12px; font-size: 13px; }
}

/* ====== Pricing / CTA card ====== */
.bigcta {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 96px);
  position: relative;
  overflow: hidden;
}
.bigcta::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,212,245,.18), transparent 70%);
  top: -240px; right: -120px;
  pointer-events: none;
}
.bigcta-inner { position: relative; z-index: 2; }
.bigcta h2 { color: var(--white); }
.bigcta p { color: rgba(255,255,255,.78); }

/* ====== FAQ ====== */
.faq-item {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-head {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink);
  letter-spacing: -0.015em;
}
.faq-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .3s var(--ease-out), background .25s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease-out);
}
.faq-body-inner {
  padding-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 70ch;
}

/* ====== Testimonials ====== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 24px;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky-mid));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.testimonial-meta {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.4;
}
.testimonial-meta strong { display: block; color: var(--ink); font-weight: 600; }
.testimonial-meta span { color: var(--muted); }

/* ====== Footer ====== */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 80px 0 32px;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot { grid-template-columns: 1fr; } }
.foot h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
  font-weight: 500;
}
.foot ul { list-style: none; padding: 0; }
.foot li { margin-bottom: 10px; }
.foot a {
  font-family: var(--font-ui);
  font-size: 14.5px;
  color: rgba(255,255,255,.78);
  transition: color .2s;
}
.foot a:hover { color: var(--sky); }
.foot-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(255,255,255,.6);
  max-width: 36ch;
  line-height: 1.55;
}
.foot-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}

/* ====== Floating WhatsApp ====== */
.fwhats {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 36px -8px rgba(37,211,102,.55);
  z-index: 90;
  transition: transform .3s var(--ease-out);
  animation: floatPulse 3s ease-in-out infinite;
}
.fwhats:hover { transform: scale(1.08); }
.fwhats svg { width: 28px; height: 28px; }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 18px 36px -8px rgba(37,211,102,.55), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 18px 36px -8px rgba(37,211,102,.55), 0 0 0 14px rgba(37,211,102,0); }
}

/* ====== Reveal animations ====== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(.94); }
/* Hero (acima da dobra): visível IMEDIATAMENTE — esconder com reveal atrasa a LCP (o H1 é o elemento da LCP). */
.hero [data-reveal], .hero[data-reveal] { opacity: 1 !important; transform: none !important; }
[data-reveal].in {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

[data-split] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-split].in .word {
  opacity: 1;
  transform: translateY(0);
}

/* counter wrapper */
.counter { display: inline-block; }

/* magnetic & hover utilities */
.magnetic { transition: transform .35s var(--ease-out); }

/* progress bar */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--sky-mid));
  z-index: 200;
  transition: width .15s linear;
}

/* tag chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14,44,143,.08);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.chip.on-dark { background: rgba(255,255,255,.08); color: var(--sky); }
.chip.success { background: var(--success-soft); color: var(--success); }
.chip.alert { background: var(--alert-soft); color: var(--alert); }

/* checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 16px; }
.checklist li {
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px;
  line-height: 1.45;
}
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}
.checklist.cross li::before { content: "✕"; background: var(--alert); }

/* Inline highlight */
.hl {
  background: linear-gradient(180deg, transparent 60%, rgba(14,44,143,.18) 60%);
  padding: 0 4px;
}

/* divider */
.divider { display: flex; align-items: center; gap: 18px; }
.divider .line { flex: 1; height: 1px; background: rgba(14,18,38,.1); }

/* Two-column intro */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* spotlight image placeholder */
.spotlight {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.spotlight-content {
  position: relative; z-index: 2;
  padding: 40px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white);
}

/* small accent strip */
.accent-strip {
  display: inline-block;
  width: 36px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 16px;
}
.accent-strip.light { background: var(--sky); }

/* page intro for inner pages */
.page-intro {
  padding: clamp(140px, 17vh, 200px) 0 clamp(56px, 7vw, 96px);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-intro h1 { margin: 18px 0 22px; }
.page-intro .lead { max-width: 64ch; }

/* hide on small screens util */
@media (max-width: 700px) {
  .hide-sm { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], [data-split] .word { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   MOBILE FIXES · iPhone + Android
   ============================================================ */

/* Safe area pra iPhone com notch/dynamic island */
.nav {
  padding-top: max(18px, env(safe-area-inset-top));
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.nav.scrolled { padding-top: max(12px, env(safe-area-inset-top)); }

footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }

.fwhats {
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
}

/* Touch action sem destacar */
* { -webkit-tap-highlight-color: rgba(14,44,143,.12); }

/* Suaviza o scroll no iOS sem usar smooth-scroll (que trava o iOS) */
html, body {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}

/* Hover só em quem TEM mouse */
@media (hover: none) {
  .card:hover,
  .dl-card:hover,
  .channel:hover,
  .step-card:hover,
  .testimonial:hover,
  .slot:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--line) !important;
  }
  .nav-link:hover { background: transparent; color: var(--ink); }
  .nav-cta:hover, .btn:hover { transform: none; }
  /* Tilt nunca em touch */
  [data-tilt] { transform: none !important; }
  /* Magnetic idem */
  .magnetic { transform: none !important; }
  /* Removendo animação flutuante do WhatsApp em mobile (economiza bateria) */
  .fwhats { animation: none; }
}

/* TELAS PEQUENAS · MOBILE (até 700px) */
@media (max-width: 700px) {
  /* Hero text mais comportado */
  .hero { padding-top: clamp(110px, 16vh, 140px); padding-bottom: 64px; }
  .hero-headline { font-size: clamp(40px, 12vw, 56px) !important; line-height: 1 !important; }
  .hero-sub { font-size: 16px; line-height: 1.5; }

  /* CTAs full-width no mobile pra ficar fácil de tocar */
  .hero-ctas .btn, .bigcta .btn { width: 100%; justify-content: center; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .bigcta .bigcta-inner > div[style*="display:flex"] { flex-direction: column; gap: 12px; }
  .bigcta .bigcta-inner > div[style*="display:flex"] .btn { width: 100%; justify-content: center; }

  /* Trust strip vira grid 2x2 */
  .hero-trust { gap: 18px 24px; }
  .hero-trust-num { font-size: 26px !important; }

  /* Section padding menor */
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }

  /* Container com menos lateral */
  .container { padding: 0 20px; }

  /* Cards menor padding */
  .card, .dl-card, .testimonial { padding: 24px; }
  .card-icon, .dl-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; }
  .dl-icon { width: 56px; height: 56px; }

  /* H2 cabe na tela */
  h2, .h2 { font-size: clamp(28px, 7.5vw, 36px); }
  .pb-quote { font-size: clamp(26px, 7vw, 36px); }

  /* Stats borda só em cima */
  .stat { padding: 32px 20px; border-left: none !important; border-top: 1px solid var(--line); }
  .stat:nth-child(2) { border-top: 1px solid var(--line); border-left: none !important; }
  .stat-num { font-size: clamp(40px, 11vw, 56px); }

  /* Big CTA padding humano */
  .bigcta { padding: 40px 24px; border-radius: 20px; }
  .bigcta h2 { font-size: clamp(28px, 7vw, 38px) !important; }

  /* Trial banner */
  .trial-banner { padding: 32px 22px; border-radius: 20px; }
  .trial-banner h2 { font-size: 26px !important; }

  /* Marquee mais compacta */
  .marquee { padding: 16px 0; }
  .marquee-item { font-size: 16px; }

  /* FAQ mais clean */
  .faq-head { font-size: 17px !important; gap: 12px; }
  .faq-toggle { width: 32px; height: 32px; }

  /* Tabela compare em scroll horizontal se necessário */
  .compare { overflow-x: auto; }
  .compare-cell { padding: 14px 12px; font-size: 13px; }

  /* Footer */
  .foot { gap: 32px; padding-bottom: 32px; }
  .foot h4 { margin-bottom: 14px; }

  /* Tabela de requisitos vira lista no mobile */
  .req-table, .req-table thead, .req-table tbody, .req-table th, .req-table td, .req-table tr { display: block; }
  .req-table thead { display: none; }
  .req-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .req-table td { padding: 4px 0; border: none; font-size: 14px; }
  .req-table td:first-child { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

  /* Page-intro */
  .page-intro { padding: clamp(110px, 16vh, 140px) 0 56px; }
  .page-intro h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* TELAS MEDIAS · TABLET (701px → 900px) */
@media (min-width: 701px) and (max-width: 900px) {
  .hero-headline { font-size: clamp(48px, 7vw, 72px) !important; }
}

/* NAV mobile · menu drawer cobrindo tela */
@media (max-width: 1024px) {
  .nav-menu.open {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: max(80px, calc(env(safe-area-inset-top) + 60px)) 24px 32px;
    flex-direction: column;
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
    border-radius: 0;
    box-shadow: none;
    align-items: flex-start;
  }
  .nav-menu.open .nav-link {
    width: 100%;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 14px;
    background: var(--paper);
    margin-bottom: 4px;
  }
  /* Botão fechar dentro do menu */
  .nav-menu.open::before {
    content: "Menu";
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    align-self: flex-start;
  }
  /* CTA dentro do menu mobile */
  .nav-menu.open + .nav-cta { display: none; }
  /* Botão hambúrguer fica visível sobre o menu */
  .nav-toggle { position: relative; z-index: 100; }
}

/* FORM no iOS — fonte 16px previne zoom automático */
input, select, textarea, button {
  font-size: 16px !important;
  -webkit-appearance: none;
  appearance: none;
}
input[type="email"], input[type="text"], input[type="tel"], select, textarea {
  border-radius: 14px;
}

/* Permite scroll natural dentro de campos de texto longos */
textarea { -webkit-overflow-scrolling: touch; }

/* Botões touch min 44px (Apple HIG) */
.btn, .nav-cta, .nav-link, .channel, .slot, .faq-head {
  min-height: 44px;
}

/* Telas baixas (paisagem mobile) — hero não esmaga */
@media (max-height: 600px) and (orientation: landscape) {
  .hero, .page-intro { padding-top: 100px; padding-bottom: 48px; }
  .hero-headline { font-size: 40px !important; }
}

/* Tipografia de body um chouco maior em desktop apenas */
@media (min-width: 1100px) {
  body { font-size: 16px; }
}

/* Esconder grid bg no mobile (economia visual + render) */
@media (max-width: 700px) {
  .hero-grid-bg { background-size: 36px 36px; opacity: .6; }
  .hero-orb { width: 360px; height: 360px; filter: blur(28px); }
}

/* Forçar a hero-trust ficar em 2 colunas no mobile (era em flex livre) */
@media (max-width: 700px) {
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; padding-top: 24px; }
  .hero-trust-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-trust-label { max-width: none; font-size: 9.5px; }
}

/* Image preventing iOS zoom on tap */
img { pointer-events: none; }
a img { pointer-events: auto; }


/* ============================================================
   MOBILE · seções novas (hero cidade, faixa azul, clientes, dropdowns)
   Escopado em @media — NÃO afeta desktop.
   ============================================================ */
@media (max-width: 700px) {
  /* Faixa azul "A WSpeed em números": não puxar pra cima no mobile (evita sobrepor a seção anterior) */
  .sec-numeros { margin-top: 0 !important; padding-top: clamp(40px, 8vw, 56px); padding-bottom: clamp(44px, 9vw, 64px); }
  /* Hero com cidade: título proporcional ao slogan riscado, mais respirável */
  .hero-headline { font-size: clamp(34px, 10vw, 48px) !important; line-height: 1.06 !important; }
  .hero-headline .accent { font-size: 1.1em; }
  .hero-headline .strike { font-size: .8em; }
  /* Grid de clientes: 2 colunas confortáveis no celular */
  .cli-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cli { min-height: 86px; padding: 14px 10px; }
  .cli-logo { max-height: 46px; }
}
@media (max-width: 1024px) {
  /* Submenus Produtos/Soluções no drawer mobile: toque 44px+, item = botão, título = rótulo */
  .nav-menu.open .nav-drop { padding-left: 6px; padding-bottom: 6px; }
  .nav-menu.open .nav-drop a { min-height: 44px; display: flex; align-items: center; padding: 12px 16px; font-size: 16px; font-weight: 500; background: var(--paper); border-radius: 12px; margin-bottom: 3px; }
  .nav-menu.open .nav-drop-toggle { background: transparent !important; color: var(--muted); font-weight: 700; padding: 12px 6px 4px; margin-bottom: 0; }
}

/* ============================================================
   Hero ESCURO (home): barra do topo é transparente até rolar,
   então o texto/ícones precisam ser claros para contraste.
   Escopado em body.hero-dark — não afeta as outras páginas.
   ============================================================ */
body.hero-dark .nav:not(.scrolled) .nav-link,
body.hero-dark .nav:not(.scrolled) .nav-drop-toggle { color: rgba(255,255,255,.92); }
body.hero-dark .nav:not(.scrolled) .nav-link:hover,
body.hero-dark .nav:not(.scrolled) .nav-drop-toggle:hover { color:#fff; background: rgba(255,255,255,.12); }
body.hero-dark .nav:not(.scrolled) .nav-logo,
body.hero-dark .nav:not(.scrolled) .nav-logo-text { color:#fff; }
body.hero-dark .nav:not(.scrolled) .nav-logo svg path { stroke:#fff; }
body.hero-dark .nav:not(.scrolled) .nav-logo svg rect { stroke:#fff; }
body.hero-dark .nav:not(.scrolled) .nav-logo svg circle { fill:#fff; }
body.hero-dark .nav:not(.scrolled) .nav-toggle { color:#fff; }
/* ============================================================
   MOBILE · POLIMENTO "NOTA 10" (iPhone XR 414px + telas menores)
   100% escopado em @media (max-width) / @media (hover:none).
   Desktop permanece intacto. — jun/2026
   ============================================================ */

/* Toque: cards que faltavam no neutralizador de "hover grudado" no celular.
   Sem isso, tocar num logo/pilar/review deixava o card levantado ate tocar fora. */
@media (hover: none) {
  .cli:hover, .pilar-card:hover, .lb:hover, .lb-img:hover, .g-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--line) !important;
  }
  .cli:hover .cli-logo, .lb-img:hover img { filter: grayscale(1); opacity: .85; }
}

/* iPhone XR e ate 700px */
@media (max-width: 700px) {
  /* Palavra longa (ex.: "Backblaze") nunca estoura a largura da tela */
  .hero-headline, h1, h2, h3, .lb-name, .hero-sub, .hero-banner h2 { overflow-wrap: break-word; }

  /* Ancoras internas (#faq, #precos...) nao ficam escondidas atras da barra fixa */
  [id] { scroll-margin-top: 84px; }

  /* Trust strip: 4o item ("Cloud Enterprise") cabe na coluna estreita do 2x2 */
  .hero-trust-num[style] { font-size: 21px !important; }
  .hero-trust-item:nth-child(4) .hero-trust-label { font-size: 8.6px; letter-spacing: .1em; }

  /* Chips "pra quem e" respiram melhor lado a lado */
  .audience-grid { gap: 10px; }
  .audience-grid .chip { font-size: 12.5px; padding: 11px 14px; }

  /* Muro de clientes: respiro e logo um tico maior, ainda 2 colunas */
  .cli { min-height: 84px; gap: 0; }
  .cli-logo { max-height: 44px; }
}

/* Telas bem estreitas (ate 380px: iPhone 12/13 mini, SE, Android antigos) */
@media (max-width: 380px) {
  .hero-headline { font-size: clamp(30px, 9vw, 38px) !important; }
  .hero-sub { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero-trust { gap: 14px 16px; }
  .audience-grid .chip { font-size: 12px; padding: 10px 12px; }
  .cli-grid { gap: 8px; }
  .hero-banner h2 { font-size: 26px; }
}

/* ============================================================
   FIX mobile · drawer aberto em pagina de hero escuro (hero-dark):
   com a barra ainda transparente (.nav sem .scrolled), os links
   Blog/A Empresa/Suporte, os rotulos Produtos/Solucoes e o botao
   de fechar herdavam BRANCO e sumiam no drawer branco.
   100% escopado ao estado .nav-menu.open (mobile <=1024px).
   Desktop intacto. — jun/2026 (sessao noturna)
   ============================================================ */
@media (max-width: 1024px) {
  body.hero-dark .nav:not(.scrolled) .nav-menu.open .nav-link { color: var(--ink); }
  body.hero-dark .nav:not(.scrolled) .nav-menu.open .nav-link:hover { color: var(--blue); background: var(--paper); }
  body.hero-dark .nav:not(.scrolled) .nav-menu.open .nav-drop-toggle { color: var(--muted); }
  body.hero-dark .nav:not(.scrolled) .nav-menu.open ~ .nav-toggle { color: var(--ink); }
}

/* ============================================================
   MODAL DE LEAD no botao flutuante de WhatsApp (padrao
   mkt.wspeed.com.br). O HTML e injetado pelo main.js — aqui so
   o visual. Escopado em .lead-modal / body.modal-open.
   APPEND — jun/2026.
   ============================================================ */
.lead-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 20px; padding-top: max(20px, env(safe-area-inset-top)); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.lead-modal.open { display: flex; }
.lead-modal-backdrop { position: absolute; inset: 0; background: rgba(10,18,38,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: lmFade .25s ease; }
.lead-modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 460px;
  margin: auto;
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: 0 40px 90px -30px rgba(8,28,95,.55);
  animation: lmPop .3s var(--ease-spring);
}
@media (max-width: 700px) { .lead-modal { padding: 12px; } .lead-modal-card { padding: 26px 20px; } }
.lead-modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border: none; background: var(--paper); border-radius: 50%; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s, transform .3s var(--ease-out);
}
.lead-modal-close:hover { background: var(--line); transform: rotate(90deg); }
.lead-modal-card .eyebrow { display: block; margin-bottom: 10px; padding-right: 44px; }
.lead-modal-card h2 { font-size: clamp(21px, 2.3vw, 26px); line-height: 1.12; }
.lead-modal-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.lead-modal .lp-field { margin-bottom: 14px; }
.lead-modal .lp-field label {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.lead-modal .lp-field input {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  font-family: var(--font-body); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s;
}
.lead-modal .lp-field input:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(14,44,143,.12);
}
.lead-modal .lp-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.lead-modal .lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.modal-open { overflow: hidden; }
@keyframes lmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lmPop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ============================================================
   PERFORMANCE · fallbacks de fonte com métrica ajustada.
   A troca fallback→webfont deixa de mexer no layout (CLS ~0).
   Valores calculados dos próprios woff2 (fontTools).
   APPEND — jun/2026.
   ============================================================ */
@font-face { font-family: 'Sora Fallback'; src: local('Arial'), local('Liberation Sans'), local('Roboto'); size-adjust: 114.89%; ascent-override: 74.08%; descent-override: 22.15%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope Fallback'; src: local('Arial'), local('Liberation Sans'), local('Roboto'); size-adjust: 105.71%; ascent-override: 83.21%; descent-override: 23.42%; line-gap-override: 0%; }
@font-face { font-family: 'IBM Plex Sans Fallback'; src: local('Arial'), local('Liberation Sans'), local('Roboto'); size-adjust: 100.05%; ascent-override: 84.89%; descent-override: 22.77%; line-gap-override: 0%; }
@font-face { font-family: 'JetBrains Mono Fallback'; src: local('Courier New'), local('Liberation Mono'), local('Roboto Mono'); size-adjust: 99.98%; ascent-override: 102.02%; descent-override: 30.00%; line-gap-override: 0%; }
:root{
  --font-display: 'Sora', 'Sora Fallback', sans-serif;
  --font-ui: 'Manrope', 'Manrope Fallback', sans-serif;
  --font-body: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
  --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', monospace;
}

/* ============================================================
   FIX Safari/iPhone · pattern-break quebrava UMA PALAVRA POR
   LINHA no celular (WebKit + text-wrap:balance + spans
   inline-block do data-split).
   1) .pb-quote sai do balance (pretty -> fallback quebra normal)
   2) No mobile, .word vira inline puro: fluxo de texto natural
      garantido em QUALQUER engine (mantem o fade; o deslize por
      palavra fica so no desktop).
   APPEND — 10/jun/2026.
   ============================================================ */
.pb-quote { text-wrap: pretty; }
@media (max-width: 700px) {
  [data-split] .word {
    display: inline !important;
    transform: none !important;
  }
}

/* ============================================================
   MARQUEE: quando a animacao NAO roda (Reduzir Movimento do
   aparelho — ou qualquer outro motivo, detectado pelo vigia em
   JS que aplica .is-static), vira um bloco estatico centralizado
   com os 8 itens legiveis em vez de congelar cortado no meio.
   APPEND — 10/jun/2026.
   ============================================================ */
.marquee.is-static .marquee-track {
  animation: none;
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
  gap: 12px 28px;
  padding: 0 20px;
}
.marquee.is-static .marquee-item { font-size: 15px; white-space: normal; }
.marquee.is-static .marquee-item:nth-child(n+9) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    gap: 12px 28px;
    padding: 0 20px;
  }
  .marquee-item { font-size: 15px; white-space: normal; }
  .marquee-item:nth-child(n+9) { display: none; }
}

/* ============================================================
   FIX · checkboxes invisíveis (jun/2026)
   A regra anti-zoom do iOS (input{appearance:none}) apagava a
   aparência nativa de checkbox/radio — ficavam invisíveis no
   form de download. Restaura a aparência nativa; accent-color
   do inline style volta a funcionar.
   ============================================================ */
input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: auto;
}
input[type="radio"] {
  -webkit-appearance: radio;
  appearance: auto;
}
