/* ==========================================================================
   GRUPO CONTNIL — Design System
   Paleta extraída da identidade visual (logo gradiente azul)
   ========================================================================== */

:root {
  /* Marca — hex extraídos da logo oficial */
  --navy-900: #14264F;
  --navy-800: #1E3A72; /* azul-marinho das camadas do cubo */
  --navy-700: #2A4E92;
  --blue-600: #1668BE;
  --blue-500: #1B82D6; /* azul-claro da face superior / "GRUPO" */
  --cyan-400: #35A3E4;
  --cyan-300: #5FBEF2;

  --grad-brand: linear-gradient(135deg, #1E3A72 0%, #1B82D6 58%, #35A3E4 100%);
  --grad-brand-soft: linear-gradient(135deg, #EAF3FC 0%, #F6FAFE 100%);
  --grad-text: linear-gradient(100deg, #1668BE 0%, #35A3E4 100%);

  /* Neutros */
  --ink-900: #0D1B2A;
  --ink-700: #2C3E50;
  --ink-500: #5A6B7D;
  --ink-300: #93A3B4;
  --line: #E2EAF2;
  --surface: #FFFFFF;
  --surface-alt: #F4F8FC;

  /* Apoio */
  --success: #17A46B;
  --amber: #F0A526;

  /* Tipografia */
  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 2px 8px rgba(13, 27, 42, .04);
  --shadow: 0 4px 12px rgba(13, 27, 42, .06), 0 16px 40px rgba(13, 27, 42, .07);
  --shadow-lg: 0 8px 20px rgba(30, 58, 114, .10), 0 32px 64px rgba(30, 58, 114, .12);
  --shadow-brand: 0 10px 30px rgba(27, 130, 214, .32);

  --header-h: 78px;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--blue-600); text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.85rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.03rem + 0.5vw, 1.4rem); }

p { text-wrap: pretty; }

::selection { background: var(--cyan-300); color: var(--navy-900); }

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

/* --------------------------------------------------------------------------
   Utilitários de layout
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 840px; }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section--alt { background: var(--surface-alt); }
.section--brand { background: var(--navy-900); color: #C9DCEF; }
.section--brand h2, .section--brand h3 { color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--navy-800); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 0; }

/* Cabeçalho de seção */
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 60px); }
.sec-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad-text);
}
.sec-head--center .eyebrow::before { display: none; }
.section--brand .eyebrow { color: var(--cyan-300); }

.lede {
  font-size: clamp(1.02rem, .97rem + .25vw, 1.16rem);
  color: var(--ink-500);
  margin-top: 18px;
}
.section--brand .lede { color: #A9C4DE; }

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

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: .96rem; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { box-shadow: 0 14px 38px rgba(27, 130, 214, .42); }

.btn--ghost { border-color: var(--line); color: var(--ink-900); background: #fff; }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }

.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }

.btn--outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn--wa { background: #1FAF54; color: #fff; box-shadow: 0 10px 26px rgba(31, 175, 84, .3); }
.btn--wa:hover { background: #17994a; }

.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.sec-head--center .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: #A9C4DE;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { color: #CFE2F5; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--cyan-300); }
.topbar__note { display: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(13, 27, 42, .06); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: auto; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
/* Assinatura conforme a logo: "GRUPO" em azul-claro, "CONTNIL" em azul-marinho */
.brand__name { font-weight: 800; font-size: 1.18rem; color: var(--blue-500); letter-spacing: -.02em; }
.brand__name em { font-style: normal; color: var(--navy-800); }
.brand__tag { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--navy-800); margin-top: 4px; font-weight: 700; opacity: .75; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 14px; border-radius: 10px;
  font-size: .93rem; font-weight: 600; color: var(--ink-700); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
@media (max-width: 1240px) and (min-width: 961px) {
  .nav__link { padding: 10px 9px; font-size: .87rem; }
  .nav__actions .btn--ghost { display: none; }
}
.nav__link:hover { color: var(--blue-600); background: var(--surface-alt); }
.nav__link[aria-current="page"] { color: var(--blue-600); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--grad-text);
}

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

/* O CTA dentro do menu existe só para a versão mobile */
.nav__menu > .btn { display: none; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--ink-900);
  position: relative; transition: background-color .2s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; border-radius: 2px;
  background: var(--ink-900); transition: transform .25s ease, top .2s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 110px);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(52, 169, 230, .16), transparent 62%),
    radial-gradient(700px 480px at 4% 4%, rgba(27, 111, 196, .10), transparent 60%),
    var(--surface);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(760px 460px at 78% 22%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(760px 460px at 78% 22%, #000 0%, transparent 72%);
  opacity: .55;
}
.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.badge b { color: var(--navy-800); }
.badge__dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; flex: none;
}
.badge__dot svg { width: 12px; height: 12px; }

.hero__title { margin-bottom: 22px; }
.hero__text { font-size: clamp(1.04rem, .98rem + .3vw, 1.2rem); color: var(--ink-500); max-width: 56ch; }
.hero .btn-row { margin-top: 34px; }

.hero__proof {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--ink-500);
}
.hero__proof strong { color: var(--ink-900); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 15px; height: 15px; }

/* Card do formulário no hero */
.lead-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg);
  position: relative;
}
.lead-card::before {
  content: ""; position: absolute; inset: -1px -1px auto; height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--grad-brand);
}
.lead-card__head { margin-bottom: 20px; }
.lead-card__head h2 { font-size: 1.42rem; }
.lead-card__head p { font-size: .92rem; color: var(--ink-500); margin-top: 8px; }

/* --------------------------------------------------------------------------
   Formulários
   -------------------------------------------------------------------------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-900); margin-bottom: 7px; }
.field label .req { color: #D94848; }

.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface-alt);
  font-size: .95rem; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6B7D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 17px;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(34, 136, 214, .13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #D94848; background: #FEF5F5; }
.field__error { display: none; font-size: .78rem; color: #D94848; margin-top: 6px; font-weight: 600; }
.field.has-error .field__error { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 20px; font-size: .78rem; color: var(--ink-500); line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--blue-600); }

.form-note { font-size: .78rem; color: var(--ink-300); text-align: center; margin-top: 14px; }

.form-ok {
  display: none; text-align: center; padding: 28px 10px;
}
.form-ok svg { width: 54px; height: 54px; color: var(--success); margin: 0 auto 16px; }
.form-ok h3 { margin-bottom: 8px; }
.form-ok p { color: var(--ink-500); font-size: .93rem; }
form.is-sent { display: none; }
form.is-sent + .form-ok { display: block; }

/* --------------------------------------------------------------------------
   Faixa de logos / segmentos
   -------------------------------------------------------------------------- */
.marquee { padding-block: 34px; border-block: 1px solid var(--line); background: var(--surface-alt); overflow: hidden; }
.marquee__label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-300); margin-bottom: 22px; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-700);
  white-space: nowrap;
}
.marquee__item svg { width: 17px; height: 17px; color: var(--blue-500); flex: none; }

/* --------------------------------------------------------------------------
   Cards genéricos
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFE0F1; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .94rem; color: var(--ink-500); }

.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand-soft); color: var(--blue-600); margin-bottom: 18px;
  border: 1px solid #DCEAF8;
}
.card__icon svg { width: 25px; height: 25px; }

.card--feature { padding: 34px 30px; }
.card--dark { background: #1E3A72; border-color: rgba(255,255,255,.1); }
.card--dark h3 { color: #fff; }
.card--dark p { color: #A9C4DE; }
.card--dark .card__icon { background: rgba(52,169,230,.16); border-color: rgba(52,169,230,.3); color: var(--cyan-300); }

.card__list { margin-top: 18px; display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--ink-500); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .44em; width: 16px; height: 16px;
  background: var(--grad-brand); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.card--dark .card__list li { color: #A9C4DE; }
.card--dark .card__list li::before { background: var(--cyan-300); }

.card__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 20px;
  font-weight: 700; font-size: .9rem; color: var(--blue-600);
}
.card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Números / resultados
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat__num { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stat__num span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { font-size: .88rem; color: #A9C4DE; margin-top: 10px; }

.stats--light .stat { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.stats--light .stat__num { color: var(--navy-800); }
.stats--light .stat__label { color: var(--ink-500); }

/* --------------------------------------------------------------------------
   Empresas do grupo
   -------------------------------------------------------------------------- */
.unit {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; transition: transform .25s, box-shadow .25s;
}
.unit:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.unit__top { padding: 30px 30px 0; }
.unit__logo { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--navy-900); }
.unit__logo span { color: var(--blue-500); }
.unit__role { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-300); font-weight: 700; margin-top: 6px; }
.unit__body { padding: 20px 30px 30px; }
.unit__body p { font-size: .94rem; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   Passo a passo
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 26px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 2.1rem; font-weight: 800; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 14px;
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 3px;
  border-radius: 3px; background: var(--grad-brand);
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   Simulador
   -------------------------------------------------------------------------- */
.sim {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); background: #fff;
}
.sim__form { padding: clamp(28px, 3.4vw, 44px); }
.sim__result {
  padding: clamp(28px, 3.4vw, 44px); color: #fff;
  background: var(--navy-900);
  background-image: radial-gradient(700px 400px at 100% 0%, rgba(52,169,230,.28), transparent 60%);
  display: flex; flex-direction: column; justify-content: center;
}
.sim__result h3 { color: #fff; }

.range-wrap { margin-bottom: 22px; }
.range-wrap__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.range-wrap__top label { font-size: .82rem; font-weight: 700; color: var(--ink-900); }
.range-wrap__val { font-size: 1.15rem; font-weight: 800; color: var(--blue-600); letter-spacing: -.02em; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 999px; background: var(--line); cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-brand); border: 3px solid #fff; box-shadow: var(--shadow-brand);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; border: 3px solid #fff;
  background: #1668BE; box-shadow: var(--shadow-brand);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-size: .87rem; font-weight: 600; color: var(--ink-700);
  transition: all .18s ease;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip.is-active { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }

.sim__big { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 8px 0 6px; }
.sim__big span { background: linear-gradient(100deg, #5FBEF2, #A5E0FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sim__cap { font-size: .82rem; color: #8FB0CE; }
.sim__breakdown { margin: 26px 0; display: grid; gap: 12px; }
.sim__breakdown li { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; color: #C9DCEF; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sim__breakdown li b { color: #fff; }
.sim__disclaimer { font-size: .74rem; color: #7899B8; margin-top: 20px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Depoimentos
   -------------------------------------------------------------------------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px;
}
.quote p { font-size: .97rem; color: var(--ink-700); flex: 1; }
.quote__foot { display: flex; align-items: center; gap: 13px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-weight: 800; font-size: .95rem;
}
.quote__name { font-weight: 700; font-size: .92rem; color: var(--ink-900); line-height: 1.3; }
.quote__role { font-size: .8rem; color: var(--ink-300); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left; font-weight: 700; font-size: 1.03rem; color: var(--ink-900);
  transition: color .2s;
}
.faq__q:hover { color: var(--blue-600); }
.faq__icon {
  width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--surface-alt); color: var(--blue-600); transition: transform .3s ease, background-color .25s;
}
.faq__icon svg { width: 16px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 60px 26px 4px; color: var(--ink-500); font-size: .96rem; }

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  background-image:
    radial-gradient(760px 440px at 12% 110%, rgba(27,111,196,.5), transparent 62%),
    radial-gradient(680px 420px at 92% -18%, rgba(52,169,230,.42), transparent 60%);
  color: #fff; border-radius: var(--radius-xl);
  padding: clamp(40px, 5.5vw, 72px);
  display: grid; grid-template-columns: 1.35fr auto; gap: 34px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #B6D0E8; margin-top: 14px; max-width: 56ch; }

/* --------------------------------------------------------------------------
   Página interna — hero compacto
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(760px 420px at 82% 0%, rgba(52,169,230,.15), transparent 62%),
    var(--surface-alt);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 80px);
}
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--ink-300); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-500); font-weight: 600; }
.crumbs a:hover { color: var(--blue-600); }
.crumbs span { color: var(--ink-300); }

/* Blocos de conteúdo alternado */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: -1; }

.media-card {
  border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 42px);
  background: var(--grad-brand-soft); border: 1px solid #DCEAF8;
}
.media-card--dark {
  background: var(--navy-900);
  background-image: radial-gradient(600px 400px at 100% 0%, rgba(52,169,230,.3), transparent 62%);
  border-color: transparent; color: #C9DCEF;
}
.media-card--dark h3 { color: #fff; }

.tick-list { display: grid; gap: 14px; margin-top: 26px; }
.tick-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .96rem; color: var(--ink-500); }
.tick-list li b { color: var(--ink-900); display: block; font-size: .97rem; margin-bottom: 2px; }
.tick-list__ico {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--blue-600);
  border: 1px solid #DCEAF8;
}
.tick-list__ico svg { width: 13px; height: 13px; }
.media-card--dark .tick-list li { color: #A9C4DE; }
.media-card--dark .tick-list li b { color: #fff; }
.media-card--dark .tick-list__ico { background: rgba(52,169,230,.16); border-color: rgba(52,169,230,.3); color: var(--cyan-300); }

/* Tabela de comparação / planos */
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan--featured { border-color: var(--blue-500); box-shadow: var(--shadow-lg); }
.plan--featured::before {
  content: "Mais contratado"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-brand); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
  white-space: nowrap; box-shadow: var(--shadow-brand);
}
.plan__name { font-size: 1.2rem; font-weight: 800; color: var(--navy-900); }
.plan__for { font-size: .86rem; color: var(--ink-500); margin-top: 6px; min-height: 40px; }
.plan__price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 5px; }
.plan__price small { font-size: .9rem; color: var(--ink-500); font-weight: 600; }
.plan__price b { font-size: 2.35rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; line-height: 1; }
.plan__price span { font-size: .88rem; color: var(--ink-300); }
.plan__note { font-size: .8rem; color: var(--ink-300); margin-bottom: 22px; }
.plan .card__list { flex: 1; margin-bottom: 26px; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item__ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--grad-brand-soft); color: var(--blue-600); border: 1px solid #DCEAF8;
}
.contact-item__ico svg { width: 21px; height: 21px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: .93rem; color: var(--ink-500); display: block; }
.contact-item a:hover { color: var(--blue-600); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #93B2CE; padding-block: clamp(52px, 6vw, 76px) 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
/* No fundo escuro, "CONTNIL" inverte para branco e "GRUPO" mantém o azul-claro */
/* Símbolo sobre o rodapé escuro ganha um chip branco para manter a cor fiel */
.footer__brand .brand__mark { height: 46px; padding: 6px; background: #fff; border-radius: 11px; box-sizing: content-box; }
.footer__brand .brand__name { color: var(--cyan-300); }
.footer__brand .brand__name em { color: #fff; }
.footer__brand .brand__tag { color: #7E9DBD; opacity: 1; }
.footer__brand p { font-size: .9rem; margin-top: 18px; max-width: 34ch; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { color: #93B2CE; font-size: .92rem; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; font-size: .9rem; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--cyan-300); flex: none; margin-top: 3px; }
.footer__contact a { color: #93B2CE; }
.footer__contact a:hover { color: #fff; }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #C9DCEF; transition: background-color .2s, color .2s, transform .2s;
}
.socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

.footer__bottom {
  margin-top: 52px; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .82rem; color: #6E8FAD;
}
.footer__bottom a { color: #93B2CE; }
.footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   WhatsApp flutuante
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 20px 13px 13px; border-radius: 999px;
  background: #1FAF54; color: #fff; font-weight: 700; font-size: .92rem;
  box-shadow: 0 8px 28px rgba(31,175,84,.42);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 34px rgba(31,175,84,.5); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid rgba(31,175,84,.55); animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  70% { transform: scale(1.22); opacity: 0; }
  100% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Animação de entrada
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (min-width: 1100px) {
  .topbar__note { display: block; }
}

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .lead-card { max-width: 560px; }
  .sim { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: calc(var(--header-h)) 0 auto; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 16px 24px 26px; box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__menu > .btn { display: inline-flex; margin-top: 18px; }
  .nav__actions .btn--ghost { display: none; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__list { gap: 14px; font-size: .78rem; }
  .topbar__inner { justify-content: center; }
  .wa-float { padding: 14px; }
  .wa-float span { display: none; }
  .nav__actions .btn { padding: 12px 18px; font-size: .88rem; }
  .btn-row .btn { width: 100%; }
  .faq__a p { padding-right: 20px; }
}
