/* =========================================================
   Sou Barcelos — folha de estilo
   Paleta oficial (Kit v1): Azul #123F88 · Vermelho #DC2544
   Azul gelo #E8EFF7 · Branco #FFFFFF
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --azul: #123F88;
  --azul-escuro: #0C2D66;
  --azul-profundo: #0A2453;
  --azul-medio: #2A5BA8;
  --vermelho: #DC2544;
  --vermelho-escuro: #B81B37;
  --gelo: #E8EFF7;
  --gelo-claro: #F4F8FC;
  --branco: #FFFFFF;

  --tinta: #0E2148;
  --texto: #2B3D5E;
  --suave: #56688A;
  --linha: #D3DEEC;
  --linha-forte: #B9C9DE;
  --sucesso: #13795B;

  --font-serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 33, 72, .06), 0 2px 8px rgba(14, 33, 72, .05);
  --shadow: 0 2px 4px rgba(14, 33, 72, .05), 0 12px 32px rgba(14, 33, 72, .09);
  --shadow-lg: 0 6px 16px rgba(14, 33, 72, .08), 0 30px 60px rgba(14, 33, 72, .16);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--azul); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vermelho); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--tinta); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--azul); color: #fff; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.75rem, 1.6rem + 5.2vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--azul);
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
.h2 {
  font-family: var(--font-serif);
  font-weight: 750;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--azul);
  font-variation-settings: "SOFT" 50;
}
.display, .h2, .h3, .pillar-title { text-wrap: balance; }
.lead, .section-intro { text-wrap: pretty; }
.h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.6rem; line-height: 1.15; color: var(--azul); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 1rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--vermelho);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: #FF8A9C; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: var(--texto); max-width: 34em; }
.section-intro { font-size: 1.125rem; color: var(--suave); max-width: 40em; margin: 1.1rem 0 0; }
.opt { font-weight: 500; color: var(--suave); font-size: .9em; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--azul); --fg: #fff; --bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8rem 1.5rem;
  border: 2px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 750; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { --bg: var(--vermelho); box-shadow: 0 8px 22px rgba(220, 37, 68, .28); }
.btn-primary:hover { --bg: var(--vermelho-escuro); box-shadow: 0 12px 28px rgba(220, 37, 68, .34); }
.btn-ghost { --bg: transparent; --fg: var(--azul); --bd: var(--linha-forte); }
.btn-ghost:hover { --bd: var(--azul); background: var(--gelo-claro); }
.btn-light { --bg: #fff; --fg: var(--azul); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn-light:hover { --fg: var(--vermelho); }
.btn-sm { min-height: 42px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--linha); box-shadow: 0 6px 24px rgba(14, 33, 72, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 186px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; }
.site-nav ul a {
  display: inline-block; padding: .5rem .8rem; border-radius: 999px;
  font-weight: 650; font-size: .98rem; color: var(--tinta); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.site-nav ul a:hover, .site-nav ul a.is-active { background: var(--gelo); color: var(--azul); }

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--linha); border-radius: 12px;
  background: #fff; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; border-radius: 2px; background: var(--azul);
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Ribbons ---------- */
.ribbons { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.ribbon-red { fill: var(--vermelho); }
.ribbon-blue { fill: var(--azul); }
.ribbon-line { fill: none; stroke: rgba(18, 63, 136, .12); stroke-width: 1.5; }
.ribbons-dark .ribbon-line { stroke: rgba(255, 255, 255, .14); }
.ribbons-dark .ribbon-red { opacity: .9; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 12% -10%, #fff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--gelo-claro) 0%, var(--gelo) 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(120px, 14vw, 190px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .display { margin-bottom: .2em; }
.underline-accent { display: block; width: 92px; height: 5px; margin: 6px 0 26px 4px; border-radius: 4px; background: var(--vermelho); transform: rotate(-2deg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; list-style: none; font-size: .95rem; font-weight: 650; color: var(--tinta); }
.hero-points li { display: inline-flex; align-items: center; gap: .45em; }
.hero-points .icon { color: var(--vermelho); stroke-width: 2.4; width: 1.1em; height: 1.1em; }

.hero-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.hero-card {
  width: min(100%, 520px);
  border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(18, 63, 136, .06);
  transform: perspective(1400px) rotateY(-12deg) rotateX(6deg) rotate(-3deg);
  animation: float 7s ease-in-out infinite;
  background: #fff;
}
.hero-card img { width: 100%; }
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .6rem 1rem .6rem .75rem; border-radius: 999px;
  background: #fff; color: var(--azul); font-weight: 750; font-size: .95rem;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.chip .icon { width: 1.9em; height: 1.9em; padding: .38em; border-radius: 50%; background: var(--gelo); color: var(--vermelho); stroke-width: 2; }
.chip-a { top: 4%; left: 2%; animation-delay: -1.5s; }
.chip-b { bottom: -2%; left: 14%; animation-delay: -3s; }
.chip-c { top: 14%; right: -1%; animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ---------- Pilares ---------- */
.pillars { position: relative; z-index: 2; margin-top: clamp(-110px, -8vw, -70px); }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(18, 63, 136, .06);
}
.pillar { padding: clamp(24px, 3vw, 40px); }
.pillar + .pillar { border-left: 1px solid var(--linha); }
.pillar-num { display: block; margin-bottom: .6rem; font-family: var(--font-serif); font-weight: 800; font-size: 1rem; color: var(--vermelho); letter-spacing: .04em; }
.pillar-title { font-family: var(--font-serif); font-weight: 750; font-size: 1.75rem; color: var(--azul); margin-bottom: .5rem; }
.pillar p { margin: 0; color: var(--suave); }

/* ---------- Secções ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section-ice { background: linear-gradient(180deg, var(--gelo-claro), var(--gelo)); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; }
.cat {
  position: relative; padding: 26px 24px 24px;
  border: 1px solid var(--linha); border-radius: var(--radius);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--gelo); color: var(--azul);
  transition: background-color .25s, color .25s;
}
.cat:hover .cat-icon { background: var(--vermelho); color: #fff; }
.cat-icon .icon { width: 26px; height: 26px; }
.cat h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; color: var(--azul); margin-bottom: .35rem; }
.cat p { margin: 0; font-size: .97rem; color: var(--suave); line-height: 1.55; }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 32px 0 0; padding: 18px 20px;
  border-radius: var(--radius); background: var(--gelo-claro); border: 1px dashed var(--linha-forte);
  font-size: .97rem; color: var(--texto);
}
.note .icon { color: var(--azul); margin-top: 2px; }

/* Split / cartão */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.card-stage { position: relative; padding: clamp(16px, 4vw, 40px); }
.card-stage::before {
  content: ""; position: absolute; inset: 8% 4% -2% 10%; z-index: 0;
  border-radius: 32px; background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 100%);
  transform: rotate(4deg);
}
.card-stage::after {
  content: ""; position: absolute; right: 2%; bottom: 0; z-index: 0; width: 38%; height: 14px;
  border-radius: 10px; background: var(--vermelho); transform: rotate(4deg);
}
.card-stage picture { position: relative; z-index: 1; }
.card-stage img { border-radius: 22px; box-shadow: var(--shadow-lg); transform: rotate(-3deg); }
.check-list { list-style: none; margin: 28px 0 32px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 36px; color: var(--texto); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--vermelho) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list strong { color: var(--tinta); }

/* Negócios */
.section-blue {
  overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 500px at 90% 0%, #1B4F9F 0%, rgba(27, 79, 159, 0) 60%), linear-gradient(160deg, var(--azul) 0%, var(--azul-profundo) 100%);
  color: #DCE6F5;
}
.section-blue .container { position: relative; z-index: 1; }
.section-blue .h2 { color: #fff; }
.section-blue .section-intro { color: #C3D3EA; }
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biz {
  padding: 28px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color .25s, transform .25s var(--ease), border-color .25s;
}
.biz:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); transform: translateY(-4px); }
.biz-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; background: #fff; color: var(--vermelho); }
.biz-icon .icon { width: 25px; height: 25px; }
.biz h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: .4rem; }
.biz p { margin: 0; color: #C3D3EA; font-size: .98rem; line-height: 1.55; }
.biz-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 44px; }
.biz-cta p { margin: 0; max-width: 46em; font-size: .93rem; color: #A9BDDB; }

/* Descobrir */
.discover-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.disc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; border-radius: var(--radius); background: var(--gelo-claro); border: 1px solid var(--linha);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.disc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.disc h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; color: var(--azul); margin-bottom: .35rem; }
.disc p { margin: 0; color: var(--suave); font-size: .97rem; line-height: 1.55; }
.disc-tag { align-self: flex-start; margin-bottom: auto; padding: .3rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--linha); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--vermelho); }
.disc-tag + h3 { margin-top: 28px; }
.disc-feature {
  grid-column: span 2; min-height: 300px; justify-content: flex-end;
  background: linear-gradient(165deg, #fff 0%, var(--gelo) 100%);
  border-color: transparent; box-shadow: inset 0 0 0 1px var(--linha);
}
.disc-feature h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.disc-feature p { font-size: 1.02rem; max-width: 30em; }
.disc-symbol { position: absolute; top: 50%; right: 4%; width: 34%; max-width: 250px; transform: translateY(-50%) rotate(-6deg); opacity: .16; pointer-events: none; }
.disc-feature > :not(img) { position: relative; z-index: 1; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; counter-reset: s; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid rgba(18, 63, 136, .06); }
.step-num {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 20px; border-radius: 50%;
  background: var(--azul); color: #fff; font-family: var(--font-serif); font-weight: 800; font-size: 1.35rem;
  box-shadow: 0 0 0 6px var(--gelo);
}
.step h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; color: var(--azul); margin-bottom: .4rem; }
.step p { margin: 0; color: var(--suave); font-size: .98rem; }

/* Aderir */
.join { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.join-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.join-logo { width: min(100%, 300px); margin-top: 36px; }
.join-panel { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(18, 63, 136, .07); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin-bottom: 28px; border-radius: 999px; background: var(--gelo); }
.tab {
  min-height: 46px; padding: .6rem 1rem; border: 0; border-radius: 999px; background: transparent;
  font-weight: 750; color: var(--suave); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s;
}
.tab:hover { color: var(--azul); }
.tab[aria-selected="true"] { background: #fff; color: var(--azul); box-shadow: var(--shadow-sm); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--tinta); padding: 0; }
.field legend { margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  border: 1.5px solid var(--linha-forte); border-radius: 12px; background: #fff;
  font-size: 1rem; color: var(--tinta);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123F88' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: #8796B0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--azul-medio); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(18, 63, 136, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--vermelho); box-shadow: 0 0 0 4px rgba(220, 37, 68, .1); }
.field-error { margin: 0; min-height: 0; font-size: .88rem; font-weight: 650; color: var(--vermelho-escuro); }
.field-error:empty { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--linha-forte); background: #fff; font-size: .93rem; font-weight: 650; color: var(--texto);
  transition: background-color .15s, border-color .15s, color .15s;
  user-select: none;
}
.pill:hover span { border-color: var(--azul); color: var(--azul); }
.pill input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.pill input:checked + span::before { content: "✓"; margin-right: .4em; font-weight: 800; }
.pill input:focus-visible + span { outline: 3px solid var(--vermelho); outline-offset: 2px; }

.consents { display: grid; gap: 10px; padding-top: 4px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .93rem; line-height: 1.5; color: var(--texto); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; margin-top: 1px;
  border: 1.5px solid var(--linha-forte); border-radius: 6px; background: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background-color .15s, border-color .15s;
}
.check input::after {
  content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform .15s var(--ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check input:checked { background: var(--azul); border-color: var(--azul); }
.check input:checked::after { transform: scale(1); }
.check input:hover { border-color: var(--azul); }
.check.has-error input { border-color: var(--vermelho); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin: 0; font-size: .93rem; font-weight: 650; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--vermelho-escuro); }

.success { text-align: center; padding: 28px 8px 12px; outline: none; }
.success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--gelo); color: var(--vermelho); animation: pop .5s var(--ease); }
.success-icon .icon { width: 38px; height: 38px; stroke-width: 2.6; }
.success h3 { margin-bottom: .6rem; }
.success p { color: var(--suave); max-width: 30em; margin: 0 auto 1.5rem; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid rgba(18, 63, 136, .08); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 60px 20px 24px; font-weight: 750; font-size: 1.05rem; color: var(--tinta);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--gelo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123F88' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--azul); }
.faq details > div { padding: 0 24px 22px; color: var(--suave); }
.faq details > div p { margin: 0; }

/* Footer */
.site-footer { background: var(--azul-profundo); color: #B9C8E0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-logo { display: inline-block; padding: 14px 18px; border-radius: 16px; background: #fff; margin-bottom: 18px; }
.footer-logo img { width: 168px; }
.footer-brand p { margin: 0; color: #D2DDEE; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.45; }
.footer-title { margin-bottom: 14px; font-family: var(--font-sans); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8FA6CB; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a { color: #E3EAF6; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Reveal */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Página legal ---------- */
.legal-hero { background: linear-gradient(180deg, var(--gelo-claro), var(--gelo)); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); }
.legal-hero p { color: var(--suave); margin: 1rem 0 0; }
.legal { max-width: 780px; padding-block: clamp(40px, 6vw, 80px); }
.legal h2 { font-family: var(--font-serif); font-weight: 700; font-size: 1.55rem; color: var(--azul); margin: 2.2rem 0 .7rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.3rem; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }
.legal .back { display: inline-flex; align-items: center; gap: .4em; margin-top: 2rem; font-weight: 700; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; background: linear-gradient(180deg, var(--gelo-claro), var(--gelo)); }
.notfound img { width: 140px; margin: 0 auto 24px; }
.notfound p { color: var(--suave); margin: 1rem auto 2rem; max-width: 30em; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { gap: 14px; }
  .site-nav ul a { padding: .5rem .6rem; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .brand img { width: 160px; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px var(--gutter) 28px; background: #fff;
    border-bottom: 1px solid var(--linha); box-shadow: 0 24px 40px rgba(14, 33, 72, .12);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul a { display: block; padding: .85rem .9rem; font-size: 1.08rem; border-radius: 12px; }
  .site-nav .btn { min-height: 52px; font-size: 1rem; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 12px; padding: 24px 6% 8px; }
  .hero-card { width: min(100%, 460px); }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--linha); }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: 0; max-width: 560px; }
  .discover-grid { grid-template-columns: repeat(2, 1fr); }
  .disc-feature { grid-column: span 2; min-height: 260px; }
  .faq-wrap .section-head { position: static; }
  .hero .ribbons { top: auto; bottom: 0; height: 52%; }
  .hero-copy { position: relative; z-index: 2; }
  .steps { grid-template-columns: 1fr; }
  .join { grid-template-columns: 1fr; }
  .join-copy { position: static; }
  .join-logo { display: none; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { margin-bottom: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: 110px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chip { font-size: .85rem; padding: .45rem .8rem .45rem .55rem; }
  .chip-a { left: 0; top: 0; }
  .chip-b { left: 0; bottom: 0; }
  .chip-c { right: 0; top: 18%; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat { padding: 20px 16px; }
  .cat-icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .cat h3 { font-size: 1.12rem; }
  .cat p { font-size: .9rem; }
  .biz-grid { grid-template-columns: 1fr; }
  .discover-grid { grid-template-columns: 1fr; }
  .disc-feature { grid-column: auto; }
  .disc-symbol { top: 20px; right: 20px; width: 64px; transform: rotate(-6deg); opacity: 1; }
  .pillar { padding: 22px 22px; }
  .pillar-title { font-size: 1.45rem; }
  .hero .ribbons { height: 40%; }
  .field-row { grid-template-columns: 1fr; }
  .tab { font-size: .93rem; padding: .55rem .5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
  .cat-grid { grid-template-columns: 1fr; }
}

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

@media print {
  .site-header, .hero-visual, .ribbons, .join-panel, .site-footer nav { display: none !important; }
  body { color: #000; }
}
