/* ============================================================
   i2SP — Sistema de Design (ver DESIGN.md)
   Tema dark navy + acento laranja. Fonte Nunito.
   ============================================================ */

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

:root {
  --navy-900: #030f20;
  --navy-800: #051f41;
  --navy-700: #0a2c52;
  --navy-600: #13386a;
  --orange:   #EE742A;
  --orange-600: #d85f18;
  --orange-soft: #f59a5e;
  --white:    #ffffff;
  --ink:      #0a1a30;
  --muted:    rgba(255,255,255,.66);
  --muted-2:  rgba(255,255,255,.45);
  --font: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --maxw: 1180px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Utilitários de layout ---- */
.container { width: min(var(--maxw), 92vw); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 42px; height: 3px; border-radius: 2px;
  background: var(--orange);
}

.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  font-weight: 900; line-height: 1.12; letter-spacing: -.01em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.section-title em { color: var(--orange); font-style: normal; }
.section-lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 60ch; }

.text-center { text-align: center; }
.center-block { margin-inline: auto; }

/* ---- Botões ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 10px;
  font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: #1a0e04; box-shadow: 0 10px 26px rgba(238,116,42,.28); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(238,116,42,.36); }
.btn--ghost { border-color: rgba(255,255,255,.32); color: var(--white); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }
.btn--on-orange { background: var(--navy-800); color: var(--white); box-shadow: 0 10px 24px rgba(3,15,32,.25); }
.btn--on-orange:hover { background: var(--navy-900); transform: translateY(-3px); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(5,31,65,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s ease;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-weight: 700; font-size: .94rem; color: var(--muted); transition: color .2s ease; }
.nav a:hover, .nav a.is-active { color: var(--white); }
.header .btn { padding: .6rem 1.2rem; font-size: .88rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
  width: 42px; height: 42px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px auto; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--navy-800); padding: 1rem 0 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    clip-path: inset(0 0 100% 0); transition: clip-path .35s ease;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav a { width: 100%; text-align: center; padding: .9rem 0; }
  .nav .btn { margin-top: .6rem; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding-top: 72px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-900) 8%, rgba(5,31,65,.82) 45%, rgba(3,15,32,.55) 100%),
    linear-gradient(0deg, var(--navy-900), transparent 55%);
}
#particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; }
.hero__inner { position: relative; z-index: 2; padding: 4rem 0; }
.hero__content { max-width: 760px; }
.hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 3.7rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -.015em;
  text-transform: uppercase; margin-bottom: 1.3rem;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 56ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* faixa de stats sob o hero */
.hero-strip {
  background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-strip__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.hero-strip__item { padding: 1.8rem 1rem; }
.hero-strip__item + .hero-strip__item { border-left: 1px solid rgba(255,255,255,.07); }
.hero-strip__num { font-size: 1.7rem; font-weight: 900; color: var(--orange); }
.hero-strip__label { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 620px) {
  .hero-strip__grid { grid-template-columns: 1fr; }
  .hero-strip__item + .hero-strip__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
}

/* ============================================================
   Bloco com imagem ao lado
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  background: linear-gradient(180deg, transparent 60%, rgba(3,15,32,.35));
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { max-height: 360px; }
}

/* listas com check */
.checklist { list-style: none; display: grid; gap: .9rem; margin-top: 1.4rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--muted); font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .4em; width: 16px; height: 16px;
  border-radius: 5px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 13px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 13px no-repeat;
}

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--navy-800); border: 1px solid var(--navy-600);
  border-radius: var(--radius); padding: 1.9rem 1.7rem;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); background: var(--navy-700); border-color: var(--orange); }
.card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--white);
  color: var(--navy-800); font-weight: 900; font-size: 1.3rem; margin-bottom: 1.1rem;
}
.card__icon {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 1.1rem;
  display: grid; place-items: center; background: rgba(238,116,42,.14); color: var(--orange);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   Banda laranja (assinatura da apresentação)
   ============================================================ */
.band { background: var(--orange); color: var(--ink); }
.band .eyebrow { color: var(--ink); }
.band .eyebrow::before { background: var(--ink); }
.band .section-title { color: var(--ink); }
.band .section-lead { color: rgba(10,26,48,.82); }
.band-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 820px) { .band-grid { grid-template-columns: 1fr; } }

.band-list { list-style: none; display: grid; gap: 1rem; }
.band-list.cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .band-list.cols { grid-template-columns: 1fr; } }
.band-list li { position: relative; padding-left: 1.6rem; font-weight: 700; color: var(--ink); }
.band-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--navy-800); }
.band-list.numbered { counter-reset: n; }
.band-list.numbered li::before { content: counter(n); counter-increment: n; width: auto; height: auto; top: 0; border-radius: 0; background: none; color: var(--navy-800); font-weight: 900; }

.affirm {
  background: var(--navy-800); color: var(--white); border-radius: var(--radius);
  padding: 2rem 1.9rem; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 800; line-height: 1.4;
}
.affirm em { color: var(--orange); font-style: normal; }

/* chips de conteúdo (banda) */
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .chip-grid { grid-template-columns: 1fr; } }
.chip {
  background: rgba(255,255,255,.16); border: 1.5px solid rgba(10,26,48,.18);
  border-radius: 12px; padding: 1rem 1.2rem; font-weight: 800; color: var(--ink);
}

/* ============================================================
   Timeline (implementação)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--navy-800); border: 1px solid var(--navy-600); border-radius: 14px; padding: 1.4rem 1.2rem; }
.step__n { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #1a0e04; font-weight: 900; display: grid; place-items: center; margin-bottom: .8rem; }
.step p { font-weight: 700; font-size: .96rem; }

/* ============================================================
   CTA final (foto + overlay)
   ============================================================ */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,15,32,.92), rgba(5,31,65,.78)); }
.cta__inner { position: relative; z-index: 1; padding: clamp(4rem, 9vw, 7rem) 0; }
.cta h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 900; text-transform: uppercase; line-height: 1.1; margin-bottom: 1rem; }
.cta h2 em { color: var(--orange); font-style: normal; }
.cta p { color: var(--muted); max-width: 60ch; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #020a16; border-top: 1px solid rgba(255,255,255,.07); padding: 3.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer__brand img { height: 34px; margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 38ch; }
.footer h4 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; }
.footer ul { list-style: none; display: grid; gap: .7rem; }
.footer ul a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer__social { display: flex; gap: .8rem; margin-top: .4rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-800); border: 1px solid var(--navy-600); transition: .2s; }
.footer__social a:hover { background: var(--orange); color: #1a0e04; transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem; text-align: center; color: var(--muted-2); font-size: .8rem; letter-spacing: .04em; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
/* visível por padrão (sem JS); só esconde quando JS está ativo (.js no <html>) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

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