:root {
  --blue: #0f52ba;
  --orange: #ff5c00;
  --orange-text: #b83f00;
  --ink: #0a1b3d;
  --paper: #fbf8f2;
  --sky: #82c8e5;
  --pink: #ff8da1;
  --lilac: #c8b7d6;
  --muted: #3b4d72;
  --display: "Bricolage Grotesque", Georgia, sans-serif;
  --body: "Hanken Grotesk", Arial, Helvetica, sans-serif;
  --gutter: clamp(18px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 18px; line-height: 1.6; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.d, h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.kicker { display: block; color: var(--orange-text); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h2 { margin-top: 14px; font-size: clamp(40px, 5vw, 68px); }
.wrap { max-width: 1280px; margin: 0 auto; }
section { padding: clamp(64px, 8vw, 112px) var(--gutter); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn-orange { color: var(--ink); background: var(--orange); }
.btn-ink { color: var(--paper); background: var(--ink); }

/* cabeçalho */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px var(--gutter); }
.site-header .logo img { display: block; width: clamp(190px, 20vw, 280px); height: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 16px; }
nav a { padding: 10px 12px; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--blue); }
nav .nav-edital { padding: 10px 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 800; }
nav .btn { min-height: 46px; padding: 0 22px; }

/* hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 112px); }
.deco { position: absolute; pointer-events: none; }
.hero-sun { right: -140px; top: 30px; width: min(560px, 70vw); aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.hero-beam { right: clamp(0px, 14vw, 300px); top: 200px; width: 0; height: 0; border-right: min(360px, 46vw) solid var(--blue); border-top: min(150px, 20vw) solid transparent; border-bottom: min(150px, 20vw) solid transparent; opacity: .95; }
.hero-copy { position: relative; z-index: 1; max-width: 820px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; color: var(--paper); background: var(--ink); font-size: 14px; font-weight: 800; }
.hero h1 { margin-top: 26px; font-size: clamp(54px, 9.4vw, 136px); }
.hero h1 span { color: var(--blue); }
.hero p { max-width: 560px; margin-top: 28px; font-size: clamp(19px, 1.8vw, 23px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 36px; }
.hero-actions .link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 800; }

/* fase atual */
nav .nav-now { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-text); font-weight: 800; }
nav .nav-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.current { position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 128px); background: var(--sky); }
.cur-beam { right: 0; top: 30px; width: 0; height: 0; border-right: 170px solid var(--blue); border-top: 22px solid transparent; border-bottom: 22px solid transparent; }
.cur-beam-2 { top: 82px; border-right-width: 120px; }
.current-grid { position: relative; display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.current-copy { flex: 1.15 1 440px; min-width: 0; }
.live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; color: var(--paper); background: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 92, 0, .7); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(255, 92, 0, 0); } }
.current h2 { margin-top: 22px; font-size: clamp(48px, 7vw, 104px); }
.current-lead { max-width: 600px; margin-top: 24px; font-size: clamp(19px, 1.8vw, 23px); }
.current-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 34px; }
.btn-big { min-height: 60px; padding: 0 32px; font-size: 19px; gap: 10px; }
.current-actions .link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.current-card { flex: .85 1 360px; min-width: 0; padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 2px solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--blue); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.facts dt { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.steps { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; counter-reset: step; }
.steps li { position: relative; padding-left: 52px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--paper); background: var(--blue); font-weight: 800; }
.tracker { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(48px, 6vw, 72px); }
.tracker li { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border: 2px solid var(--ink); border-radius: 18px; background: rgba(251, 248, 242, .55); font-weight: 800; }
.tracker li small { color: var(--muted); font-size: 14px; font-weight: 600; }
.tracker .is-now { color: var(--ink); background: var(--orange); }
.tracker .is-now small { color: var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.scallop-on-sky { background-color: var(--sky); }
.now-tag { display: table; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; color: var(--paper); background: var(--ink); letter-spacing: .08em; }

/* números */
.stats { display: flex; flex-wrap: wrap; padding: 0; color: var(--paper); background: var(--ink); }
.stats li { flex: 1 1 200px; padding: 34px clamp(18px, 3vw, 40px); border-right: 1px solid #2b3f6b; }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--display); font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stats li:nth-child(1) strong { color: var(--orange); }
.stats li:nth-child(2) strong { color: var(--sky); }
.stats li:nth-child(3) strong { color: var(--pink); }
.stats li:nth-child(4) strong { color: #fff; }
.stats li:nth-child(5) strong { color: var(--lilac); }

/* jornada */
.lead { max-width: 640px; margin-top: 20px; }
.phases { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; }
.phase { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 28px; }
.phase small { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.phase h3 { font-size: 54px; }
.phase .delivery { margin-top: auto; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 800; }
.phase-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-top: 4px; padding: 0 20px; border-radius: 999px; color: var(--paper); background: var(--ink); font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.phase-link:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(10, 27, 61, .35); }
.phase-1 { background: var(--sky); }
.phase-2 { background: var(--pink); }
.phase-3 { background: var(--orange); }

/* quem participa */
.who { display: flex; flex-wrap: wrap; padding: 0; color: #fff; background: var(--blue); }
.who > div { flex: 1 1 380px; padding: clamp(48px, 6vw, 88px) var(--gutter); }
.who .kicker { color: var(--pink); }
.who p { max-width: 520px; margin-top: 22px; color: #e6eefc; }
.who .gets { color: var(--ink); background: var(--orange); }
.who .gets .kicker { color: var(--ink); }
.who .gets ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 17px; font-weight: 800; }
.who .gets li { padding: 10px 18px; border-radius: 999px; background: var(--paper); }
.who .gets p { margin-top: 26px; color: var(--ink); font-size: 22px; font-weight: 800; }

/* avaliação */
.eval { display: flex; flex-wrap: wrap; gap: 40px 6vw; }
.eval > div { flex: 1 1 340px; min-width: 0; }
.eval > div + div { flex: 1.2 1 420px; display: flex; flex-direction: column; gap: 16px; }
.bar-row { display: flex; justify-content: space-between; font-weight: 800; }
.bar { height: 14px; margin-top: 6px; border-radius: 7px; background: #e4dfd3; }
.bar i { display: block; height: 100%; border-radius: 7px; background: var(--blue); }
.note { color: var(--muted); font-size: 15px; }

/* cronograma */
.schedule { background: #fff; border-block: 2px solid var(--ink); }
.timeline { margin-top: 36px; border-bottom: 2px solid var(--ink); }
.timeline li { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 20px 0; border-top: 2px solid var(--ink); }
.timeline strong { flex: 0 0 300px; max-width: 100%; font-size: 20px; }
.timeline span { flex: 1 1 240px; }

/* patrocinadores */
.sponsors { padding-inline: 0; }
.sponsors .wrap { max-width: calc(1280px + 2 * var(--gutter)); padding-inline: var(--gutter); }
.sponsors h2 { margin-bottom: 36px; }
.marquee { overflow: hidden; padding: 6px 0 14px; }
.track { display: flex; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
.group { display: flex; gap: 20px; padding-right: 20px; }
.sponsor { display: flex; align-items: center; justify-content: center; width: 340px; height: 216px; padding: 20px; background: #fff; border: 2px solid var(--ink); border-radius: 20px; }
/* --w (no HTML) equilibra o peso visual: área parecida, corrigida pela densidade de cada logo */
.sponsor img { display: block; width: calc(var(--w, 180) * 1px); height: auto; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* dúvidas */
.faq { padding-top: 0; }
.faq .wrap { max-width: 900px; }
.faq h2 { margin-bottom: 28px; }
.faq-list { border-top: 2px solid var(--ink); }
details { border-bottom: 2px solid var(--ink); }
summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 20px; font-weight: 800; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { max-width: 720px; padding: 0 0 22px; }

/* inscrição */
.signup { position: relative; overflow: hidden; color: var(--ink); background: var(--orange); }
.signup::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--ink); }
.signup-inner { position: relative; z-index: 1; max-width: 820px; }
.signup .kicker { color: var(--ink); }
.signup h2 { font-size: clamp(44px, 6.4vw, 92px); }
.signup p { max-width: 560px; margin-top: 22px; }
.signup .btn { margin-top: 32px; min-height: 56px; padding: 0 32px; }

/* rodapé */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 28px var(--gutter); color: var(--paper); background: var(--ink); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand .mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--paper); }
.foot-brand .mark img { width: 26px; height: auto; }
.foot-brand .d { font-size: 22px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-weight: 600; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* grafismo do design: semicírculo, feixes e círculos */

.scallop { height: 28px; margin-bottom: -1px; background-repeat: repeat-x; background-size: 44px 28px; }
.scallop-ink { background-image: radial-gradient(circle at 50% 100%, var(--ink) 0 18px, transparent 19px); }
.scallop-blue { background-image: radial-gradient(circle at 50% 100%, var(--blue) 0 18px, transparent 19px); }

.phase { position: relative; }
.phase small { display: block; padding-right: 72px; }
.phase-icon { position: absolute; top: 30px; right: 28px; }
.phase-1 .phase-icon, .phase-1 .phase-icon::after { width: 0; height: 0; border-left: 56px solid var(--blue); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.phase-1 .phase-icon::after { content: ""; position: absolute; left: -56px; top: 18px; }
.phase-2 .phase-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); }
.phase-3 .phase-icon { top: 44px; width: 56px; height: 28px; border-radius: 56px 56px 0 0; background: var(--ink); }
.timeline li { position: relative; padding-left: 34px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.timeline .c-sky::before { background: var(--sky); box-shadow: 0 0 0 2px var(--ink); }
.timeline .c-pink::before { background: var(--pink); box-shadow: 0 0 0 2px var(--ink); }
.timeline .c-orange::before { background: var(--orange); box-shadow: 0 0 0 2px var(--ink); }


.strip { height: 28px; background-color: var(--orange); background-repeat: repeat-x; background-size: 160px 28px;
  background-image:
    radial-gradient(circle at 20px 100%, var(--blue) 0 18px, transparent 19px),
    radial-gradient(circle at 60px 100%, var(--pink) 0 18px, transparent 19px),
    radial-gradient(circle at 100px 100%, var(--sky) 0 18px, transparent 19px),
    radial-gradient(circle at 140px 100%, var(--paper) 0 18px, transparent 19px); }

/* tablet: mesma composição, menor, para não passar por trás do texto */
@media (max-width: 1100px) {
  .hero-sun { right: -150px; top: 40px; width: 360px; }
  .hero-beam { right: 40px; top: 150px; border-right-width: 200px; border-top-width: 85px; border-bottom-width: 85px; }
}

/* celular */
@media (max-width: 720px) {
  .cur-beam { display: none; }
  .current-actions .btn { width: 100%; }
  .facts dd { font-size: 22px; }
  .current-card { box-shadow: 6px 6px 0 var(--blue); }
  .hero-sun { right: -90px; top: -60px; width: 220px; }
  .hero-beam { right: 0; top: 22px; border-right-width: 88px; border-top-width: 34px; border-bottom-width: 34px; }
  .signup::after { right: -110px; bottom: -150px; width: 260px; height: 260px; }
  body { font-size: 17px; }
  .site-header { justify-content: center; }
  nav { justify-content: center; width: 100%; }
  nav a:not(.nav-edital):not(.btn) { display: none; }
  .scallop { background-size: 32px 20px; height: 20px; }
  .scallop-ink { background-image: radial-gradient(circle at 50% 100%, var(--ink) 0 13px, transparent 14px); }
  .scallop-blue { background-image: radial-gradient(circle at 50% 100%, var(--blue) 0 13px, transparent 14px); }
  .hero-actions .btn { width: 100%; }
  .stats li { flex-basis: 50%; padding: 26px 18px; border-bottom: 1px solid #2b3f6b; }
  .stats li:nth-child(2n) { border-right: 0; }
  .stats li:last-child { flex-basis: 100%; border-bottom: 0; }
  .stats strong { font-size: 44px; }
  .phase { padding: 26px; }
  .phase h3 { font-size: 46px; }
  .timeline strong { flex-basis: 100%; }
  .sponsor { width: 260px; height: 172px; padding: 16px; }
  .sponsor img { width: calc(var(--w, 180) * .78px); }
  .signup .btn { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  nav { gap: 6px; }
  nav .nav-edital { padding: 8px 12px; }
  nav .btn { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track, .live-dot { animation: none; }
  .marquee { overflow-x: auto; }
  .btn { transition: none; }
}
