/* =========================================================
   Nexus Group — landing page
   Paleta oficial:
   #022225  #0d4744  #0c4442  #127b5b  #349c63  #7bd076  #fcfbfc
   ========================================================= */

:root {
  /* ---- Paleta da marca (fixa nos dois temas) ---- */
  --ink-900: #022225;
  --ink-800: #04292b;
  --green-900: #0c4442;
  --green-800: #0d4744;
  --green-600: #127b5b;
  --green-500: #349c63;
  --green-300: #7bd076;
  --paper: #fcfbfc;

  /* ---- Layout e tipografia (independentes do tema) ---- */
  --shell: 1180px;
  --radius: 18px;
  --radius-lg: 26px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --font-head: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* =======================================================
     TEMA ESCURO (padrão)

     As três variáveis em canais RGB abaixo são a base de quase
     tudo: trocando-as, todas as camadas translúcidas invertem
     junto. --rgb-fg é a cor do texto, --rgb-bg a do fundo.
     ======================================================= */
  --rgb-fg: 252, 251, 252;
  --rgb-bg: 2, 34, 37;
  --rgb-accent: 123, 208, 118;

  --bg: var(--ink-900);
  --bg-alt: var(--ink-800);

  --text: rgb(var(--rgb-fg));
  --text-soft: rgba(var(--rgb-fg), 0.72);
  --text-mute: rgba(var(--rgb-fg), 0.55);
  --accent: var(--green-300);

  --surface: rgba(var(--rgb-fg), 0.035);
  --surface-2: rgba(var(--rgb-fg), 0.06);
  --line: rgba(var(--rgb-accent), 0.14);
  --line-strong: rgba(var(--rgb-accent), 0.3);
  --hairline: rgba(var(--rgb-fg), 0.07);
  --hairline-soft: rgba(var(--rgb-fg), 0.05);
  --accent-tint: rgba(var(--rgb-accent), 0.09);

  --grad-brand: linear-gradient(120deg, var(--green-300), var(--green-500) 55%, var(--green-600));
  --on-accent: #04241f;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --mascot-shadow: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.55));
  --btn-glow: 0 14px 34px -16px rgba(52, 156, 99, 0.85);
  --btn-glow-hover: 0 20px 42px -16px rgba(123, 208, 118, 0.7);

  /* Superfícies compostas */
  --header-bg: rgba(2, 34, 37, 0.82);
  --nav-bg: rgba(2, 34, 37, 0.97);
  --panel-bg:
    linear-gradient(165deg, rgba(13, 71, 68, 0.6), rgba(2, 34, 37, 0.35)),
    var(--surface);
  --card-bg: linear-gradient(170deg, rgba(var(--rgb-fg), 0.055), rgba(var(--rgb-fg), 0.015));
  --card-featured-bg:
    linear-gradient(170deg, rgba(18, 123, 91, 0.2), rgba(12, 68, 66, 0.12) 60%, rgba(var(--rgb-fg), 0.02));
  --feature-bg: linear-gradient(170deg, rgba(var(--rgb-fg), 0.05), rgba(var(--rgb-fg), 0.012));
  --badge-bg: rgba(2, 34, 37, 0.5);
  --scope-bg: rgba(2, 34, 37, 0.55);
  --faq-bg: rgba(2, 34, 37, 0.45);
  --faq-bg-open: rgba(12, 68, 66, 0.42);
  --cta-bg:
    linear-gradient(140deg, rgba(18, 123, 91, 0.24), rgba(12, 68, 66, 0.35) 45%, rgba(2, 34, 37, 0.7));
  --footer-bg: linear-gradient(180deg, var(--ink-800), var(--ink-900));

  /* Brilhos decorativos */
  --alt-glow: rgba(18, 123, 91, 0.12);
  --hero-glow: rgba(18, 123, 91, 0.32);
  --grid-line: rgba(var(--rgb-accent), 0.055);
  --halo: radial-gradient(closest-side, rgba(52, 156, 99, 0.3), rgba(18, 123, 91, 0.08) 60%, transparent 76%);
}

/* =========================================================
   TEMA CLARO
   Só os tokens semânticos mudam — nenhuma regra de componente
   precisa ser reescrita.
   ========================================================= */
[data-theme="light"] {
  --rgb-fg: 2, 34, 37;
  --rgb-bg: 252, 251, 252;
  --rgb-accent: 18, 123, 91;

  --bg: var(--paper);
  --bg-alt: #eef4f0;

  --text: var(--ink-900);
  --text-soft: rgba(var(--rgb-fg), 0.78);
  --text-mute: rgba(var(--rgb-fg), 0.62);
  --accent: var(--green-600);

  --surface: rgba(var(--rgb-fg), 0.025);
  --surface-2: rgba(var(--rgb-fg), 0.045);
  --line: rgba(var(--rgb-accent), 0.2);
  --line-strong: rgba(var(--rgb-accent), 0.42);
  --hairline: rgba(var(--rgb-fg), 0.1);
  --hairline-soft: rgba(var(--rgb-fg), 0.07);
  --accent-tint: rgba(var(--rgb-accent), 0.1);

  --grad-brand: linear-gradient(120deg, var(--green-500), var(--green-600) 55%, var(--green-800));
  --on-accent: var(--paper);
  --shadow: 0 22px 50px -30px rgba(2, 34, 37, 0.35);
  --mascot-shadow: drop-shadow(0 22px 30px rgba(2, 34, 37, 0.22));
  --btn-glow: 0 12px 26px -14px rgba(18, 123, 91, 0.65);
  --btn-glow-hover: 0 18px 34px -14px rgba(18, 123, 91, 0.55);

  --header-bg: rgba(252, 251, 252, 0.86);
  --nav-bg: rgba(252, 251, 252, 0.98);
  --panel-bg:
    linear-gradient(165deg, rgba(18, 123, 91, 0.09), rgba(252, 251, 252, 0.9)),
    var(--paper);
  --card-bg: linear-gradient(170deg, rgba(252, 251, 252, 0.95), rgba(238, 244, 240, 0.9));
  --card-featured-bg:
    linear-gradient(170deg, rgba(18, 123, 91, 0.14), rgba(52, 156, 99, 0.06) 60%, rgba(252, 251, 252, 0.95));
  --feature-bg: linear-gradient(170deg, rgba(252, 251, 252, 0.95), rgba(238, 244, 240, 0.85));
  --badge-bg: rgba(252, 251, 252, 0.9);
  --scope-bg: rgba(252, 251, 252, 0.75);
  --faq-bg: rgba(252, 251, 252, 0.8);
  --faq-bg-open: rgba(18, 123, 91, 0.09);
  --cta-bg:
    linear-gradient(140deg, rgba(18, 123, 91, 0.16), rgba(52, 156, 99, 0.1) 45%, rgba(252, 251, 252, 0.9));
  --footer-bg: linear-gradient(180deg, #eef4f0, var(--paper));

  --alt-glow: rgba(18, 123, 91, 0.07);
  --hero-glow: rgba(52, 156, 99, 0.16);
  --grid-line: rgba(var(--rgb-accent), 0.07);
  --halo: radial-gradient(closest-side, rgba(52, 156, 99, 0.16), rgba(18, 123, 91, 0.05) 60%, transparent 76%);
}

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

* { margin: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

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

::selection {
  background: var(--green-600);
  color: var(--paper);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--green-600);
  color: var(--paper);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible { top: 16px; }

/* ---------- Utilidades ---------- */
.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  position: relative;
  padding: clamp(72px, 10vw, 118px) 0;
  scroll-margin-top: var(--header-h);
}

.section--alt {
  background:
    radial-gradient(120% 80% at 50% 0%, var(--alt-glow), transparent 62%),
    var(--bg-alt);
  border-block: 1px solid var(--hairline-soft);
}

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 66px);
  text-align: center;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__tag::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.section__title {
  font-size: clamp(1.85rem, 1.1rem + 2.6vw, 2.85rem);
  margin-bottom: 20px;
}

.section__lead {
  color: var(--text-soft);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  max-width: 62ch;
}

.section__lead + .section__lead { margin-top: 16px; }

.section__lead--center { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  --btn-py: 13px;
  --btn-px: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--sm { --btn-py: 10px; --btn-px: 19px; font-size: 0.875rem; }
.btn--lg { --btn-py: 15px; --btn-px: 30px; font-size: 1rem; }
.btn--xl { --btn-py: 17px; --btn-px: 34px; font-size: 1.05rem; }

.btn--primary {
  background: var(--grad-brand);
  color: var(--on-accent);
  box-shadow: var(--btn-glow);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--btn-glow-hover);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(var(--rgb-fg), 0.03);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--accent);
  background: rgba(var(--rgb-accent), 0.1);
  transform: translateY(-2px);
}

.icon-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.icon-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.icon-link:hover,
.icon-link:focus-visible {
  color: var(--accent);
  border-color: var(--line-strong);
  background: rgba(var(--rgb-accent), 0.08);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: auto;
  height: 30px;
}

/* Cada tema mostra a versão da logo com o contraste certo. */
.logo--on-light { display: none; }

[data-theme="light"] .logo--on-dark { display: none; }
[data-theme="light"] .logo--on-light { display: block; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
              background-color 0.25s var(--ease);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--accent);
  border-color: var(--line-strong);
  background: rgba(var(--rgb-accent), 0.08);
}

.theme-toggle__moon { display: none; }

[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav__link {
  position: relative;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav__link:hover,
.nav__link.is-active { color: var(--text); }

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

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

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(52px, 9vw, 96px)) 0 clamp(64px, 9vw, 104px);
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -2;
  top: -30%;
  left: 50%;
  width: min(1200px, 145%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, var(--hero-glow), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(75% 60% at 50% 25%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 60% at 50% 25%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: clamp(34px, 5vw, 48px);
  align-items: center;
  /* No mobile a ordem é texto → mascote → destaques;
     no desktop o mascote ocupa a coluna da direita inteira. */
  grid-template-areas:
    "content"
    "visual"
    "facts";
}

.hero__content { grid-area: content; }
.hero__visual { grid-area: visual; }
.hero__facts { grid-area: facts; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(var(--rgb-accent), 0.06);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--rgb-accent), 0.16);
}

.hero__title {
  font-size: clamp(2.3rem, 1.15rem + 4.4vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero__text {
  color: var(--text-soft);
  font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.14rem);
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px 18px;
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
}

.hero__facts strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}

.hero__facts span {
  font-size: 0.875rem;
  color: var(--text-mute);
  line-height: 1.5;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 340px;
}

.hero__halo {
  position: absolute;
  inset: 4% 0 12%;
  background:
    var(--halo);
  filter: blur(6px);
  pointer-events: none;
}

.hero__pedestal {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--rgb-accent), 0.3), transparent 72%);
  filter: blur(7px);
  pointer-events: none;
}

.mascot {
  position: relative;
  filter: var(--mascot-shadow);
}

.mascot--hero {
  width: min(300px, 68vw);
  height: auto;
  animation: float 7s var(--ease) infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

/* =========================================================
   SOBRE
   ========================================================= */
.split {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}

.check-list {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-soft);
  font-size: 0.975rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(rgba(var(--rgb-accent), 0.1), rgba(var(--rgb-accent), 0.1));
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 9px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.panel {
  position: relative;
  padding: clamp(26px, 3.4vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}

.panel__title {
  font-size: 1.15rem;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.steps { display: grid; gap: 22px; }

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.steps__num {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 5px 9px;
  line-height: 1;
}

.steps strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.steps p {
  color: var(--text-mute);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================================================
   CARDS / SERVIÇOS
   ========================================================= */
.cards {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card-bg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card:hover::before { opacity: 1; }

.card--featured {
  border-color: var(--line-strong);
  background:
    var(--card-featured-bg);
}

.card--featured::before { opacity: 1; }

.card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 11px;
  background: var(--badge-bg);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  margin-bottom: 22px;
  border: 1px solid var(--line-strong);
  background: var(--accent-tint);
  color: var(--accent);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.card__text {
  color: var(--text-soft);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.card__list {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.885rem;
  color: var(--text-mute);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad-brand);
}

/* =========================================================
   CARROSSEL (serviços)
   Rolagem nativa com scroll-snap; setas, indicadores e arrasto
   são só uma camada por cima — sem JS o conteúdo continua acessível.
   ========================================================= */
.carousel {
  --gap: clamp(18px, 2.4vw, 26px);
  --per-view: 1.12;
  position: relative;
}

.carousel__track {
  position: relative;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* respiro para o card não ter o hover cortado, sem afetar o layout */
  padding-block: 6px 16px;
  margin-block: -6px -16px;
  cursor: grab;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__track.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
  user-select: none;
}

.carousel__slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  display: flex;
  scroll-snap-align: start;
}

/* Como sempre fica um card "espiando", o início do último slide cai depois do
   fim da rolagem. Alinhando o último pelo fim, o ponto de encaixe passa a ser
   alcançável — sem isso o snap obrigatório devolve a faixa para o começo. */
.carousel__slide:last-child { scroll-snap-align: end; }

.carousel__slide > .card { width: 100%; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.carousel__controls[hidden] { display: none; }

.carousel__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(var(--rgb-fg), 0.03);
  color: var(--text);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
              background-color 0.25s var(--ease), transform 0.25s var(--ease),
              opacity 0.25s var(--ease);
}

.carousel__arrow svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel__arrow:hover:not(:disabled) {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(var(--rgb-accent), 0.1);
  transform: translateY(-2px);
}

.carousel__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  padding: 0;
  background: rgba(var(--rgb-fg), 0.22);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.carousel__dot[aria-current="true"] {
  width: 30px;
  background: var(--grad-brand);
}

@media (min-width: 620px) { .carousel { --per-view: 1.85; } }
@media (min-width: 900px) { .carousel { --per-view: 2.35; } }
@media (min-width: 1180px) { .carousel { --per-view: 2.5; } }

.scope {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin-top: clamp(26px, 3vw, 34px);
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-600);
  background: var(--scope-bg);
}

.scope__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent);
}

.scope__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.scope__title {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.scope p {
  color: var(--text-soft);
  font-size: 0.945rem;
}

.scope strong { color: var(--text); font-weight: 600; }

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.feature {
  position: relative;
  padding: clamp(26px, 3vw, 32px) clamp(22px, 2.6vw, 28px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--feature-bg);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              background-color 0.35s var(--ease);
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.feature__num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.feature__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature p {
  color: var(--text-soft);
  font-size: 0.925rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__layout {
  display: grid;
  gap: clamp(34px, 5vw, 52px);
  align-items: start;
}

.section__head--left {
  max-width: none;
  margin: 0 0 clamp(26px, 3vw, 34px);
  text-align: left;
}

.faq__mascot {
  width: clamp(210px, 52vw, 330px);
  margin-inline: auto;
}

.faq__mascot img {
  width: 100%;
  filter: var(--mascot-shadow);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--faq-bg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.faq__item.is-open {
  border-color: var(--line-strong);
  background: var(--faq-bg-open);
}

.faq__item h3 { font: inherit; letter-spacing: normal; }

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px clamp(18px, 2.4vw, 26px);
  text-align: left;
  font-family: var(--font-head);
  font-size: clamp(0.98rem, 0.95rem + 0.15vw, 1.06rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.faq__trigger:hover { color: var(--accent); }

.faq__chevron {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease);
}

.faq__chevron::before,
.faq__chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.faq__chevron::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__trigger[aria-expanded="true"] .faq__chevron {
  background: rgba(var(--rgb-accent), 0.12);
}

.faq__trigger[aria-expanded="true"] .faq__chevron::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s var(--ease);
}

.faq__panel.is-open { grid-template-rows: 1fr; }

.faq__content {
  overflow: hidden;
  min-height: 0;
}

.faq__content p {
  padding: 0 clamp(18px, 2.4vw, 26px) 22px;
  color: var(--text-soft);
  font-size: 0.955rem;
}

.faq__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq__content strong { color: var(--text); font-weight: 600; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta { padding-bottom: clamp(80px, 10vw, 130px); }

.cta__panel {
  position: relative;
  display: grid;
  gap: 30px;
  align-items: center;
  padding: clamp(34px, 5vw, 60px);
  border-radius: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  background:
    var(--cta-bg);
  overflow: hidden;
  isolation: isolate;
}

.cta__glow {
  position: absolute;
  z-index: -1;
  top: -60%;
  right: -10%;
  width: 620px;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(var(--rgb-accent), 0.22), transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.6rem);
  margin-bottom: 18px;
  text-wrap: balance;
}

.cta__text {
  color: var(--text-soft);
  max-width: 52ch;
  margin-bottom: 32px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.cta__note {
  font-size: 0.85rem;
  color: var(--text-mute);
}

.cta__visual {
  display: none;
  justify-self: center;
}

.mascot--cta {
  width: min(240px, 60vw);
  height: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: clamp(52px, 6vw, 72px) 0 34px;
  border-top: 1px solid var(--hairline);
  background: var(--footer-bg);
}

.footer__top {
  display: grid;
  gap: clamp(32px, 4vw, 48px);
  padding-bottom: 40px;
}

.footer__brand img {
  width: auto;
  height: 32px;
  margin-bottom: 18px;
}

[data-theme="light"] .footer__brand .logo--on-light { display: block; }

.footer__brand p {
  color: var(--text-mute);
  font-size: 0.93rem;
  max-width: 38ch;
}

.footer h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer__nav ul,
.footer__contact ul {
  display: grid;
  gap: 12px;
}

.footer__nav a,
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.93rem;
  transition: color 0.25s var(--ease);
}

.footer__nav a:hover,
.footer__contact a:hover { color: var(--accent); }

.footer__contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-size: 0.85rem;
  color: var(--text-mute);
}

/* =========================================================
   BOTÃO FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--on-accent);
  box-shadow: var(--btn-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-float:hover { transform: translateY(-3px) scale(1.05); }

.wa-float svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   MARCAS (WhatsApp) — glifo sólido, não traçado.
   Declarado depois dos blocos de ícone para vencer por ordem.
   ========================================================= */
svg.icon--brand {
  fill: currentColor;
  stroke: none;
}

/* =========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 28px;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li + li { border-top: 1px solid var(--hairline); }

  .nav__link {
    display: block;
    padding: 15px 4px;
    font-size: 1rem;
  }

  .nav__link::after { display: none; }

  .nav__actions {
    margin-top: 20px;
    gap: 14px;
  }

  .nav__actions .btn { flex: 1; }

  .nav-toggle { display: flex; }
}

@media (min-width: 720px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 719px) {
  .cards--4 { grid-template-columns: 1fr; }
  .section__head { text-align: left; }
  .section__lead--center { margin-inline: 0; }
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-areas:
      "content visual"
      "facts   visual";
    column-gap: clamp(40px, 6vw, 56px);
    row-gap: clamp(40px, 4vw, 56px);
  }

  .split { grid-template-columns: 1.15fr 0.85fr; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }

  .faq__layout {
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(40px, 5vw, 64px);
  }

  /* O mascote acompanha a leitura das perguntas. */
  .faq__aside {
    position: sticky;
    top: calc(var(--header-h) + 36px);
  }

  .faq__mascot {
    width: min(100%, 330px);
    margin-inline: 0;
  }

  .cta__panel { grid-template-columns: 1fr auto; gap: clamp(30px, 4vw, 60px); }
  .cta__visual { display: block; }

  .footer__top { grid-template-columns: 1.6fr 1fr 1.2fr; }
}

@media (min-width: 1120px) {
  .mascot--hero { width: 340px; }
  .mascot--cta { width: 260px; }
}

@media (max-width: 959px) {
  .hero {
    padding-top: calc(var(--header-h) + clamp(38px, 8vw, 72px));
  }

  /* Mascote como apoio, não como protagonista: entra depois dos CTAs e
     limita a própria largura para que halo e sombra acompanhem. */
  .hero__visual {
    min-height: 0;
    width: clamp(148px, 24vw, 230px);
    justify-self: center;
  }

  .mascot--hero { width: 100%; }

  .hero__facts { padding-top: 26px; }
}

@media (max-width: 560px) {
  .btn--lg,
  .btn--xl { width: 100%; }
  .hero__actions .btn,
  .cta__actions .btn { flex: 1 1 100%; }
  .scope { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
}

/* =========================================================
   ACESSIBILIDADE — movimento reduzido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
