/* ==========================================================================
   MaturIT — Design System (CSS puro)
   Títulos: Space Grotesk · Corpo: IBM Plex Sans
   ========================================================================== */

:root {
  /* Paleta */
  --ink-950: #060b16;
  --ink-900: #0b1220;
  --ink-800: #14203a;
  --ink-700: #1f2d4d;
  --slate-700: #3c4a63;
  --slate-600: #52627a;
  --slate-500: #6f7f96;
  --slate-400: #94a3b8;
  --line: #e3e9f2;
  --line-strong: #cbd5e1;
  --surface: #f6f8fc;
  --surface-2: #eef3fa;
  --white: #ffffff;

  --brand-700: #14479f;
  --brand-600: #1c5fd6;
  --brand-500: #2d7ff9;
  --brand-50: #eaf2ff;
  --accent-500: #12a7c9;
  --accent-400: #22c3e6;
  --accent-300: #7fe0f4;
  --accent-50: #e6f9fd;

  --success-700: #0f6e4a;
  --success-600: #14875a;
  --success-500: #1aa06c;
  --success-50: #e7f7ef;

  --danger-600: #cf3f3f;
  --danger-50: #fdeceb;
  --amber-500: #e0952a;
  --amber-50: #fdf3e2;
  --purple-600: #6d47c9;
  --purple-50: #f1ecfd;
  --rose-600: #d24a63;
  --rose-50: #fdecef;
  --emerald-600: #10916d;
  --emerald-50: #e6f7f1;
  --indigo-600: #4256cc;
  --indigo-50: #ecefff;

  /* Gradientes */
  --grad-brand: linear-gradient(135deg, var(--brand-600), var(--accent-400));
  --grad-dark: linear-gradient(135deg, var(--ink-900), #10306b);

  /* Tipografia */
  --font-title: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  /* Formas */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 18px 45px rgba(11, 18, 32, 0.14);
  --shadow-xl: 0 30px 70px rgba(11, 18, 32, 0.22);

  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink-900);
}

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 900px; }
.container--mid { max-width: 1060px; }

.section { padding: 84px 0; position: relative; }
.section--surface { background: var(--surface); }
.section--fade { background: linear-gradient(180deg, #fff, var(--surface)); }
.section--dark { background: var(--ink-900); color: #dbe4f2; overflow: hidden; }
.section--deep {
  background: linear-gradient(135deg, var(--ink-900), #0d2a5e 55%, var(--ink-900));
  color: #dbe4f2;
  overflow: hidden;
}
.section--dark h2, .section--dark h3, .section--deep h2, .section--deep h3 { color: #fff; }

.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-title { font-size: clamp(1.85rem, 1.1rem + 2.6vw, 3rem); margin-bottom: 14px; }
.section-sub { font-size: 1.075rem; color: var(--slate-600); }
.section--dark .section-sub, .section--deep .section-sub { color: #b7c4d9; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack-sm { display: grid; gap: 12px; }
.stack-md { display: grid; gap: 16px; }

/* Selos / eyebrow -------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand-50);
  color: var(--brand-700);
  margin-bottom: 16px;
}
.eyebrow--red { background: var(--danger-50); color: var(--danger-600); }
.eyebrow--cyan { background: var(--accent-50); color: var(--accent-500); }
.eyebrow--purple { background: var(--purple-50); color: var(--purple-600); }
.eyebrow--onDark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-300);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-float {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 4px 13px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--success-600);
}
.badge-float--grad { background: var(--grad-brand); }
.badge-float--center { left: 50%; transform: translateX(-50%); background: var(--brand-600); }

/* Botões ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-family: var(--font-title);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { height: 50px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--success-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--success-700); }
.btn--grad { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-md); }
.btn--grad:hover { opacity: 0.92; }
.btn--outline { border-color: var(--line-strong); color: var(--ink-900); background: #fff; }
.btn--outline:hover { background: var(--surface); }
.btn--ghostDark { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.22); }

/* Cartões ---------------------------------------------------------------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card--pad-lg { padding: 32px; }
.card--flex { display: flex; flex-direction: column; }
.card--soft { background: linear-gradient(160deg, #fff, var(--surface)); }
.card--glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cdd8ea;
}
.card--glass:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(127, 224, 244, 0.45); }
.card-topbar { position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.card-title { font-size: 1.18rem; margin-bottom: 8px; }
.card-text { color: var(--slate-600); font-size: 0.95rem; }
.card--glass .card-text { color: #b7c4d9; }

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.icon-box--danger { background: var(--danger-50); color: var(--danger-600); }
.icon-box--grad { background: var(--grad-brand); color: #fff; }
.icon-box--success { background: var(--success-50); color: var(--success-700); }
.icon-box--glass { background: rgba(255, 255, 255, 0.1); color: var(--accent-300); }
.icon-box--indigo { background: var(--indigo-50); color: var(--indigo-600); }
.icon-box--slate { background: var(--surface-2); color: var(--slate-700); }
.icon-box--rose { background: var(--rose-50); color: var(--rose-600); }
.icon-box--emerald { background: var(--emerald-50); color: var(--emerald-600); }
.icon-box--amber { background: var(--amber-50); color: var(--amber-500); }
.icon-box--cyan { background: var(--accent-50); color: var(--accent-500); }

.i-14 { width: 14px; height: 14px; }
.i-16 { width: 16px; height: 16px; }
.i-18 { width: 18px; height: 18px; }
.i-20 { width: 20px; height: 20px; }
.i-22 { width: 22px; height: 22px; }
.i-24 { width: 24px; height: 24px; }
.i-26 { width: 26px; height: 26px; }
.i-56 { width: 56px; height: 56px; }

.check-list { display: grid; gap: 11px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--slate-700); }
.check-list .ck { flex: 0 0 auto; margin-top: 3px; color: var(--success-600); }
.check-list--brand .ck { color: var(--brand-500); }
.check-list--onDark li { color: #c7d3e5; }
.check-list--onDark .ck { color: var(--accent-300); }

/* Navbar ----------------------------------------------------------------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); overflow: visible; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem;
}
.brand__name { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; }
.brand--onDark .brand__name { color: #fff; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 0.9rem; color: var(--slate-600); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink-900); }
.nav-cta { display: flex; align-items: center; gap: 10px; overflow: visible; position: relative; }
.nav-burger {
  display: none; background: none; border: 0; color: var(--ink-800);
  padding: 8px; border-radius: var(--r-sm); cursor: pointer;
}
.nav-panel { display: none; border-top: 1px solid var(--line); padding: 14px 0 20px; }
.nav-panel.is-open { display: block; }
.nav-panel a { display: block; padding: 10px 2px; color: var(--slate-700); font-size: 0.95rem; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
  background: linear-gradient(180deg, var(--surface), #fff 55%);
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(45, 127, 249, 0.18), rgba(34, 195, 230, 0.08), transparent);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero__title { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.6rem); margin-bottom: 18px; }
.hero__lead { font-size: 1.12rem; color: var(--slate-600); max-width: 34rem; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero__fact { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--slate-600); }
.hero__fact svg { color: var(--success-600); }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-600);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero__media { position: relative; }
.hero__frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-xl); }
.hero__stat {
  position: absolute; bottom: -26px; left: -22px; width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; box-shadow: var(--shadow-lg);
}
.hero__stat b { display: block; font-family: var(--font-title); font-size: 1.9rem; }
.hero__stat span { font-size: 0.75rem; color: var(--slate-500); }
.hero__stat em { font-style: normal; font-size: 0.75rem; color: var(--success-600); font-weight: 600; }
.hero__level {
  position: absolute; top: -18px; right: -14px; width: 190px; color: #fff;
  background: var(--grad-brand); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-lg);
}
.hero__level b { display: block; font-family: var(--font-title); font-size: 1.4rem; }
.hero__level span { font-size: 0.75rem; opacity: 0.9; }
.hero__bars { display: flex; gap: 5px; margin-top: 10px; }
.hero__bars i { flex: 1; height: 6px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.9); }

/* Método (dark) ---------------------------------------------------------- */
.glow-a, .glow-b { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.35; pointer-events: none; }
.glow-a { width: 480px; height: 480px; background: var(--brand-600); top: -120px; right: -80px; }
.glow-b { width: 420px; height: 420px; background: var(--accent-500); bottom: -140px; left: -100px; }

.step__num {
  font-family: var(--font-title); font-size: 2.6rem; font-weight: 700;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }

/* Escala de maturidade --------------------------------------------------- */
.level { display: grid; gap: 24px; grid-template-columns: auto 1fr auto; align-items: center; }
.level__badge {
  width: 82px; height: 82px; border-radius: var(--r-lg); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); gap: 4px;
}
.level__badge span { font-size: 0.7rem; font-weight: 700; }
.level__name { font-size: 1.5rem; margin-bottom: 4px; }
.level__traits { display: flex; flex-wrap: wrap; gap: 8px; }
.progress { margin-top: 20px; height: 6px; border-radius: var(--r-full); background: var(--surface-2); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: var(--r-full); }

.grad-1 { background: linear-gradient(135deg, #e0574c, #e0952a); }
.grad-2 { background: linear-gradient(135deg, #e0952a, #d9c22a); }
.grad-3 { background: linear-gradient(135deg, #8cc63f, #1aa06c); }
.grad-4 { background: linear-gradient(135deg, var(--accent-400), var(--brand-600)); }
.grad-brand { background: var(--grad-brand); }
.grad-indigo { background: linear-gradient(135deg, var(--indigo-600), var(--brand-500)); }
.grad-slate { background: linear-gradient(135deg, var(--slate-700), var(--ink-800)); }
.grad-rose { background: linear-gradient(135deg, var(--rose-600), #e0952a); }
.grad-emerald { background: linear-gradient(135deg, var(--emerald-600), var(--accent-500)); }
.grad-amber { background: linear-gradient(135deg, #edb64b, #e0752a); }

/* Ofertas / planos ------------------------------------------------------- */
.offer { border-width: 2px; }
.offer--free { border-color: #bfe6d1; background: linear-gradient(160deg, var(--success-50), #fff); }
.offer--pro { border-color: rgba(127, 224, 244, 0.4); background: var(--grad-dark); color: #cdd8ea; box-shadow: var(--shadow-xl); }
.offer--pro h3 { color: #fff; }
.offer__note { font-size: 0.75rem; color: var(--slate-500); text-align: center; margin-top: 12px; }
.offer--pro .offer__note { color: var(--slate-400); }
.invest {
  border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12); padding: 16px; margin-bottom: 22px;
}
.invest b { font-family: var(--font-title); font-size: 1.05rem; color: #fff; }
.invest span { display: block; font-size: 0.72rem; color: var(--accent-300); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 4px; }
.invest p { font-size: 0.88rem; color: #b7c4d9; margin-top: 4px; }

.plan { border: 2px solid var(--line); }
.plan--highlight { border-color: var(--brand-500); box-shadow: var(--shadow-lg); }
.plan__price { font-family: var(--font-title); font-size: 2.4rem; font-weight: 700; }
.plan__period { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 14px; }
.plan__desc { font-size: 0.9rem; color: var(--slate-600); margin-bottom: 22px; }
.plan__features { border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 22px; flex: 1; }
.tag-success {
  display: inline-block; align-self: flex-start; margin-bottom: 14px;
  padding: 4px 12px; border-radius: var(--r-full);
  background: var(--success-50); color: var(--success-700); font-size: 0.75rem; font-weight: 600;
}
.partner { border-radius: var(--r-xl); padding: 38px; background: var(--grad-dark); color: #cdd8ea; box-shadow: var(--shadow-xl); margin-top: 48px; }

.callout {
  margin-top: 48px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--r-xl); padding: 28px; text-align: center; color: var(--slate-700);
}
.callout strong { color: var(--ink-900); }

/* FAQ -------------------------------------------------------------------- */
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 0 20px; transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item[open] { border-color: #bcd4fb; background: #f4f8ff; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 18px 0;
  font-family: var(--font-title); font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { color: var(--slate-500); transition: transform 0.2s ease; flex: 0 0 auto; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { color: var(--slate-600); padding-bottom: 20px; }

/* Contato ---------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item .icon-box { margin-bottom: 0; width: 44px; height: 44px; }
.contact__item span { font-size: 0.85rem; color: var(--slate-400); display: block; }
.contact__item b { font-weight: 600; color: #fff; }
.contact__item a:hover { color: var(--accent-300); }

.form-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 28px;
  backdrop-filter: blur(10px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: #d6dfee; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-sm); padding: 11px 13px;
}
.field input::placeholder, .field textarea::placeholder { color: #8f9fb8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-400); box-shadow: 0 0 0 3px rgba(34, 195, 230, 0.25); }
.field textarea { min-height: 120px; resize: vertical; }
.field--short input { max-width: 140px; }
.form-note { font-size: 0.75rem; color: var(--slate-400); text-align: center; margin-top: 14px; }
.form-note a { text-decoration: underline; }
.form-note a:hover { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--r-md); padding: 14px 16px; font-size: 0.9rem; margin-bottom: 20px; }
.alert--error { border: 1px solid rgba(226, 110, 110, 0.45); background: rgba(207, 63, 63, 0.15); color: #ffd4d4; }
.alert ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }
.success-state { text-align: center; padding: 40px 10px; }
.success-state svg { color: #4fd1a1; margin: 0 auto 18px; }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.82rem; color: #b7c4d9; margin-bottom: 18px;
}
.consent input { margin-top: 4px; accent-color: var(--accent-400); }
.consent a { text-decoration: underline; }

/* Rodapé ----------------------------------------------------------------- */
.footer { background: var(--ink-950); color: #93a2b8; padding: 64px 0 32px; border-top: 1px solid #1b2537; }
.footer h4 { color: #fff; font-size: 0.98rem; margin-bottom: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer__about { font-size: 0.9rem; }
.footer__legal { font-size: 0.78rem; color: #6d7c92; margin-top: 16px; line-height: 1.7; }
.footer__legal strong { color: #b9c6d8; }
.footer ul { display: grid; gap: 9px; font-size: 0.9rem; }
.footer a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid #1b2537; padding-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 0.85rem;
}
.footer__policies { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Consentimento de cookies ---------------------------------------------- */
.cookie-bar {
  position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px;
  max-width: 1000px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-xl);
  padding: 20px 22px;
  display: none;
  gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { font-size: 0.88rem; color: var(--slate-600); max-width: 620px; }
.cookie-bar h4 { font-size: 1rem; margin-bottom: 6px; }
.cookie-bar a { color: var(--brand-600); text-decoration: underline; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-bar__actions .btn { height: 40px; font-size: 0.88rem; }

.cookie-modal {
  position: fixed; inset: 0; z-index: 160; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(6, 11, 22, 0.6);
}
.cookie-modal.is-open { display: flex; }
.cookie-modal__box {
  background: #fff; border-radius: var(--r-xl); max-width: 560px; width: 100%;
  padding: 28px; box-shadow: var(--shadow-xl); max-height: 88vh; overflow: auto;
}
.cookie-opt { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; margin-bottom: 12px; }
.cookie-opt__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-opt strong { font-family: var(--font-title); }
.cookie-opt p { font-size: 0.85rem; color: var(--slate-600); margin-top: 6px; }
.cookie-opt input { accent-color: var(--brand-600); width: 18px; height: 18px; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; }

/* Páginas legais --------------------------------------------------------- */
.legal { padding: calc(var(--header-h) + 56px) 0 80px; }
.legal h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.8rem); margin-bottom: 10px; }
.legal .updated { color: var(--slate-500); font-size: 0.88rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--slate-700); }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-bottom: 16px; }
.legal a { color: var(--brand-600); text-decoration: underline; }

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stat, .hero__level { display: none; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid, .contact__grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .level { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .card--pad-lg, .partner { padding: 24px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions, .cookie-bar__actions, .cookie-modal__actions { flex-direction: column; align-items: stretch; }
  .footer__policies { flex-direction: column; gap: 10px; }
  .cookie-modal { max-height: 86vh; overflow-y: auto; }
}

@media (max-width: 400px) {
  html { font-size: 15px; }
}

/* Ergonomia mobile / toque ------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a, button, input, select, textarea, summary, [role="button"] { touch-action: manipulation; }
.btn, .nav-burger, .faq-item button, .footer__policies a { min-height: 44px; }
input, select, textarea { font-size: 16px; } /* evita zoom automático no iOS */

/* Modo WebApp (instalado) -------------------------------------------------- */
.navbar { padding-top: env(safe-area-inset-top); }
.footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.cookie-bar { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }

@media (display-mode: standalone) {
  .navbar { position: fixed; }
  ::selection { background: var(--brand-100, #dbeafe); }
}

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

/* RTL (Arabic) support ---------------------------------------------------- */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .navbar__inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-cta { flex-direction: row-reverse; }
[dir="rtl"] .hero__grid { direction: rtl; }
[dir="rtl"] .grid-2,
[dir="rtl"] .grid-3,
[dir="rtl"] .grid-4 { direction: rtl; }
[dir="rtl"] .section-head { text-align: center; }
[dir="rtl"] .footer__grid { direction: rtl; }
[dir="rtl"] .eyebrow { direction: rtl; }
[dir="rtl"] .step__head { flex-direction: row-reverse; }
[dir="rtl"] .card { text-align: right; }
[dir="rtl"] .btn { direction: ltr; }
[dir="rtl"] .lang-switcher__menu { /* position handled by JS */ }
[dir="rtl"] .lang-switcher__toggle svg { margin-left: 0; margin-right: 4px; }

/* Seletor de idioma ------------------------------------------------------ */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  z-index: 200;
}
.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--white, #ffffff);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate-700);
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}
.lang-switcher__toggle:hover {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(45, 127, 249, 0.1);
}
.lang-switcher__toggle svg {
  transition: transform 0.2s ease;
}
.lang-switcher[data-open] .lang-switcher__toggle svg {
  transform: rotate(180deg);
}
.lang-switcher__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 16px;
  padding: 0 4px;
  border-radius: 3px;
  background: var(--slate-100, #f1f5f9);
  border: 1px solid var(--line);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-600);
  line-height: 1;
}
.lang-switcher__name {
  font-family: var(--font-body);
}
.lang-switcher__menu {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 9999;
  pointer-events: none;
}
.lang-switcher[data-open] .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--slate-700);
  transition: background 0.15s ease;
}
.lang-switcher__option:hover {
  background: var(--surface);
}
.lang-switcher__option--active {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 600;
}

/* Lang switcher no mobile */
.nav-panel .lang-switcher {
  margin-right: 0;
  width: 100%;
}
.nav-panel .lang-switcher__toggle {
  width: 100%;
  justify-content: center;
}
.nav-panel .lang-switcher__menu {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: 1px solid var(--line);
  margin-top: 8px;
  display: none;
  pointer-events: auto;
}
.nav-panel .lang-switcher[data-open] .lang-switcher__menu {
  display: block;
}

/* Mostrar nav-cta no desktop (com lang-switcher) */
@media (min-width: 901px) {
  .nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/* Credenciamento --------------------------------------------------------- */
.cred-hero { text-align: center; }

.req-list { display: grid; gap: 16px; max-width: 720px; margin: 0 auto; }
.req-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px 22px;
}
.req-num {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-700);
  font-family: var(--font-title); font-weight: 700; font-size: 0.85rem;
}
.req-item p { margin: 0; color: var(--slate-700); font-size: 0.95rem; }

.step-card {
  text-align: center; padding: 28px 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.step-num {
  display: block; font-family: var(--font-title); font-size: 2rem;
  font-weight: 800; color: var(--brand-500); margin-bottom: 8px;
}
.step-card .icon-box { margin: 0 auto 12px; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--slate-600); }

.cred-form-wrapper {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 36px;
  backdrop-filter: blur(10px);
  max-width: 780px;
  margin: 0 auto;
}
.cred-form-header { text-align: center; margin-bottom: 28px; }
.cred-form .field { margin-bottom: 18px; }
.cred-form .form-row { margin-bottom: 0; }

@media (max-width: 640px) {
  .cred-form-wrapper { padding: 22px 16px; }
  .req-item { flex-direction: column; align-items: center; text-align: center; }
}

