/* Apitaí — site institucional. CSS puro, sem dependências externas. */

:root {
  --cream: #f7f3ec;
  --cream-2: #fbf9f4;
  --navy-950: #0a1220;
  --navy-900: #0f1b2e;
  --navy-800: #16263d;
  --accent: #2d50d6;
  --accent-hover: #2441b8;
  --accent-light: #9db1ff;
  --accent-soft: #e8edfc;
  --amber-soft: #f7f0dd;
  --amber: #7a5a12;
  --amber-bright: #f2c14e;
  --red: #b23b3b;
  --red-soft: #f8e9e7;
  --green: #21704f;
  --green-soft: #e3f1e9;
  --ink: #14213d;
  --ink-soft: #5a6379;
  --line: #e7e0d3;
  --white: #fff;
  --radius: 20px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --shadow-card: 0 1px 2px rgba(20, 33, 61, 0.04), 0 12px 32px -16px rgba(20, 33, 61, 0.14);
  --shadow-lift: 0 2px 4px rgba(20, 33, 61, 0.05), 0 22px 44px -18px rgba(20, 33, 61, 0.22);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: inherit;
}

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

.on-dark :focus-visible {
  outline-color: var(--accent-light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 4.4vw + 0.6rem, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 2.6vw + 0.7rem, 2.6rem);
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

/* Palavra em destaque: serifa itálica na cor da marca */
.hl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.on-dark .hl {
  color: var(--accent-light);
}

p {
  margin: 0;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(45, 80, 214, 0.65);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.btn-ghost {
  border-color: rgba(20, 33, 61, 0.2);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.hero .btn-primary::after,
.cta-band .btn::after {
  content: "\2192" / "";
  font-weight: 400;
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.94rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header (pílula flutuante) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 12px;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 8px 10px 8px 20px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px -14px rgba(20, 33, 61, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-name b {
  color: inherit;
  font-weight: inherit;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 26px;
}

.nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.15s;
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 880px) {
  .js .header-inner {
    border-radius: 28px;
  }
  .js .nav-toggle {
    display: inline-flex;
  }
  .js .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 10px 14px;
  }
  .js .nav.is-open {
    display: flex;
  }
  .js .nav a:not(.btn) {
    padding: 12px 2px;
    border-bottom: 1px solid var(--line);
  }
  .js .nav .btn {
    margin-top: 8px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -72px;
  padding: calc(72px + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px);
  border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px);
  color: #fff;
  background:
    radial-gradient(760px 420px at 92% 0%, rgba(45, 80, 214, 0.4), rgba(45, 80, 214, 0) 65%),
    radial-gradient(520px 360px at 0% 100%, rgba(157, 177, 255, 0.12), rgba(157, 177, 255, 0) 70%),
    linear-gradient(160deg, #14264d 0%, #0d1830 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("pitch.svg") center top / max(100%, 1200px) auto no-repeat;
  pointer-events: none;
}

.hero .hl {
  color: var(--accent-light);
}

.hero :focus-visible {
  outline-color: var(--accent-light);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

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

/* Selo (rótulo com ponto colorido) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.on-dark .eyebrow {
  color: var(--accent-light);
}

.hero .eyebrow {
  margin-bottom: 22px;
  padding: 7px 16px 7px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #dfe7f7;
}

.hero .eyebrow::before {
  width: 8px;
  height: 8px;
  background: #2f9e6f;
  box-shadow: 0 0 0 4px rgba(47, 158, 111, 0.18);
}

.hero h1 .hl {
  font-size: 1.06em;
  white-space: nowrap;
}

.hero-sub {
  margin-top: 24px;
  max-width: 34rem;
  font-size: clamp(1.08rem, 0.9vw + 0.9rem, 1.25rem);
  line-height: 1.6;
  color: #c3cfe8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Botões sobre fundo escuro: primário branco (como na faixa de CTA) e ghost translúcido */
.hero .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.5);
}

.hero .btn-primary:hover {
  background: #eef2ff;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  color: #b9c6e2;
}

.hero-points li {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-points svg {
  flex: none;
  margin-top: 5px;
  color: var(--accent-light);
}

/* ---------- Painel (mock ilustrativo) ---------- */

.hero-visual {
  position: relative;
}

.board {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(20, 33, 61, 0.35), 0 8px 20px -10px rgba(20, 33, 61, 0.12);
  overflow: hidden;
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.board-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.board-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.board-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 18px 16px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat span {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--ink-soft);
}

.board-block {
  padding: 18px 20px;
}

.board-block + .board-block {
  border-top: 1px solid var(--line);
}

.board-block h3 {
  margin-bottom: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.bars {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bars li {
  display: grid;
  grid-template-columns: 78px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.bars .val {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}

.bar i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--accent);
}

.w-78 { width: 78%; }
.w-54 { width: 54%; }
.w-36 { width: 36%; }
.w-22 { width: 22%; }

.feed {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feed li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
}

.pill {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill-ok { background: var(--green-soft); color: var(--green); }
.pill-no { background: var(--red-soft); color: var(--red); }
.pill-review { background: var(--amber-soft); color: var(--amber); }

.board-chip {
  position: absolute;
  left: -22px;
  bottom: -34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
  font-size: 0.86rem;
  font-weight: 600;
}

.board-chip .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f9e6f;
  box-shadow: 0 0 0 4px rgba(47, 158, 111, 0.18);
}

@media (max-width: 980px) {
  .board-chip {
    left: 14px;
    bottom: -30px;
  }
}

/* ---------- Seções ---------- */

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.section-alt {
  background: var(--cream-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-head h2 + p {
  margin-top: 18px;
}

.lead {
  font-size: clamp(1.1rem, 0.9vw + 0.95rem, 1.28rem);
  line-height: 1.6;
}

.muted {
  color: var(--ink-soft);
}

/* Cartões de risco */

.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.risk {
  padding: 30px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.risk:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.risk p {
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.card-flag {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
}

.callout {
  margin: 28px auto 0;
  max-width: 900px;
  padding: 22px 28px;
  background: var(--accent-soft);
  border-radius: 18px;
  font-size: 1.05rem;
  text-align: center;
}

.callout strong {
  color: var(--accent);
}

/* Comparativo */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

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

.compare-col {
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: 28px;
}

.compare-bad {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.compare-good {
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(45, 80, 214, 0.45), rgba(45, 80, 214, 0) 65%),
    linear-gradient(160deg, #16295a 0%, #0f1b2e 100%);
  color: #fff;
  box-shadow: 0 40px 70px -34px rgba(15, 27, 46, 0.6);
}

.compare-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.compare-bad .compare-title {
  color: var(--ink);
}

.compare-title span {
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-bad .compare-title span {
  background: var(--red-soft);
  color: var(--red);
}

.compare-good .compare-title span {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-light);
}

.compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-list li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-bottom: 1px solid var(--line);
}

.compare-good .compare-list li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.compare-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}

.compare-bad .compare-list li::before {
  background-color: var(--red-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b23b3b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}

.compare-good .compare-list li::before {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.compare-list b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}

.compare-good .compare-list b {
  color: var(--accent-light);
}

.compare-list span {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
}

.compare-good .compare-list span {
  color: #e6ecfb;
}

/* Painéis escuros (Como funciona, Contato) */

.section-dark {
  padding: clamp(20px, 3vw, 40px) 0;
  color: #fff;
}

.section-dark > .container {
  position: relative;
  overflow: hidden;
  width: min(1240px, 100% - 32px);
  padding: clamp(40px, 6vw, 84px) clamp(22px, 5vw, 72px);
  border-radius: 36px;
  background:
    radial-gradient(760px 420px at 92% 0%, rgba(45, 80, 214, 0.4), rgba(45, 80, 214, 0) 65%),
    radial-gradient(520px 360px at 0% 100%, rgba(157, 177, 255, 0.12), rgba(157, 177, 255, 0) 70%),
    linear-gradient(160deg, #14264d 0%, #0d1830 100%);
}

.section-dark > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("pitch.svg") center top / max(100%, 1200px) auto no-repeat;
  pointer-events: none;
}

.section-dark > .container > * {
  position: relative;
}

/* Cada painel escuro tem o seu motivo de fundo */
#como-funciona > .container::before {
  background-image: url("tactic.svg");
}

#contato > .container::before {
  background-image: url("whistle.svg");
  background-position: left bottom;
}

.section-dark .muted {
  color: #b9c6e2;
}

/* Como funciona */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

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

.step {
  position: relative;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(157, 177, 255, 0.16);
  color: var(--accent-light);
  font-size: 0.95rem;
  font-weight: 600;
}

.step p {
  margin-top: 10px;
  color: #c3cfe8;
  font-size: 0.99rem;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.99rem;
}

.step-list li {
  display: flex;
  gap: 10px;
  color: #dfe7f7;
}

.step-list svg {
  flex: none;
  margin-top: 4px;
  color: var(--accent-light);
}

.step-list b {
  color: #fff;
}

/* Benefícios */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature p {
  margin-top: 10px;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

/* Faixa de CTA */

.cta-band {
  padding: clamp(8px, 2vw, 24px) 0 clamp(48px, 6vw, 80px);
}

.cta-band > .container {
  width: min(1240px, 100% - 32px);
  padding: clamp(24px, 3vw, 34px) clamp(24px, 5vw, 56px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%),
    radial-gradient(380px 260px at 0% 100%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%),
    linear-gradient(120deg, #2441b8 0%, #2d50d6 55%, #4a6ae8 100%);
  box-shadow: 0 40px 70px -36px rgba(45, 80, 214, 0.7);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 1.3vw + 0.95rem, 1.9rem);
}

@media (min-width: 900px) {
  .cta-band h2 {
    white-space: nowrap;
  }
}

.cta-band .btn {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.45);
}

.cta-band .btn:hover {
  background: #eef2ff;
  transform: translateY(-1px);
}

.cta-band :focus-visible {
  outline-color: #fff;
}

/* FAQ */

.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
}

.faq details[open] {
  box-shadow: var(--shadow-lift);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

/* Contato */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

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

.contact-lead {
  margin-top: 16px;
}

.next-steps {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: next;
}

.next-steps li {
  position: relative;
  padding-left: 46px;
  color: #d3dcf0;
  counter-increment: next;
}

.next-steps li::before {
  content: counter(next);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(157, 177, 255, 0.16);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
}

.tagline {
  margin-top: 36px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #c3cfe8;
}

.tagline span {
  color: #fff;
}

/* Contato em grafite (preto de árbitro) com acento âmbar (cartão amarelo): quebra o azul */

.section-contact > .container {
  background:
    radial-gradient(700px 400px at 92% 0%, rgba(242, 193, 78, 0.14), rgba(242, 193, 78, 0) 65%),
    radial-gradient(520px 360px at 0% 100%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, #2a2621 0%, #14120f 100%);
}

.section-contact .eyebrow,
.section-contact .hl {
  color: var(--amber-bright);
}

.section-contact .muted {
  color: #d2cabd;
}

.section-contact .next-steps li {
  color: #ddd6c9;
}

.section-contact .next-steps li::before {
  background: rgba(242, 193, 78, 0.16);
  color: var(--amber-bright);
}

.section-contact .tagline {
  color: #d2cabd;
}

.section-contact :focus-visible {
  outline-color: var(--amber-bright);
}

.form {
  padding: clamp(24px, 3.2vw, 38px);
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}

.form h3 {
  margin-bottom: 4px;
  font-size: 1.4rem;
}

.form .form-intro {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.field .opt {
  font-weight: 400;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid #d3cbbb;
  border-radius: 14px;
  background: var(--cream-2);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, background-color 0.15s;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(45, 80, 214, 0.22);
  outline-offset: 0;
  border-color: var(--accent);
  background: #fff;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 20px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.check a {
  color: var(--accent);
  font-weight: 600;
}

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

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status[hidden] {
  display: none;
}

.form-status[data-state="success"] {
  background: var(--green-soft);
  color: var(--green);
}

.form-status[data-state="error"] {
  background: var(--red-soft);
  color: var(--red);
}

/* Footer */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Página de texto (privacidade) */

.prose {
  max-width: 760px;
  padding: clamp(40px, 6vw, 80px) 0;
}

.prose h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
  margin-bottom: 8px;
}

.prose h2 {
  margin: 36px 0 10px;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 22px;
}

.prose a {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Animações de entrada ao rolar (ativadas por main.js) ---------- */

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rx, 0), var(--ry, 28px), 0);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal-on [data-reveal="left"] {
  --rx: -40px;
  --ry: 0;
}

.reveal-on [data-reveal="right"] {
  --rx: 40px;
  --ry: 0;
}

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

/* Barras do painel crescem quando o painel aparece */
.reveal-on .bar i {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.5s;
}

.reveal-on .hero-visual.is-in .bar i {
  transform: scaleX(1);
}

/* Formulário incorporado (Ploomes Forms) */

.form-embed iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  margin-top: 16px;
  border: 0;
  border-radius: 14px;
}
