/* ============================================
   ABRAPE Talks — Landing Page
   Institutional design system
   ============================================ */

/* ---- Tokens ---- */
:root {
  /* Brand */
  --c-blue-900: #0B2545;     /* deep institutional */
  --c-blue-800: #133163;
  --c-blue-700: #1A4FA8;     /* ABRAPE blue */
  --c-blue-600: #2563B8;
  --c-blue-50:  #EEF3FB;

  --c-green-600: #6BA51F;
  --c-green-500: #7AB829;    /* CTA */
  --c-green-400: #92CB45;
  --c-green-50:  #F1F8E5;

  --c-yellow:    #F5C518;
  --c-yellow-50: #FFF8DC;

  /* Neutrals */
  --c-ink:       #0F172A;
  --c-ink-2:     #334155;
  --c-ink-3:     #64748B;
  --c-line:      #E2E8F0;
  --c-line-2:    #CBD5E1;
  --c-bg:        #FFFFFF;
  --c-bg-soft:   #F8FAFC;
  --c-bg-tint:   #F1F5F9;

  /* Type */
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Radii / shadows */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --sh-md: 0 4px 12px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.04);
  --sh-lg: 0 12px 32px rgba(15,23,42,.12), 0 4px 8px rgba(15,23,42,.06);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: var(--c-blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }

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

/* ---- Utility: chevrons (ABRAPE visual signature) ---- */
.chevrons {
  display: inline-flex;
  gap: 2px;
  color: currentColor;
  opacity: .9;
}
.chevrons::before {
  content: '›››';
  letter-spacing: -2px;
  font-weight: 700;
}

/* ---- Top bar ---- */
.topbar {
  background: var(--c-blue-900);
  color: #cfe0ff;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a { color: #cfe0ff; }
.topbar .tb-right { display: flex; gap: 18px; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  gap: 24px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 8px 18px 8px 0;
}
.brand-lockup img {
  height: 88px;
  width: auto;
  display: block;
}
.brand-lockup img.logo-full {
  height: 72px;
  display: block;
  transition: transform .25s ease;
}
.brand-lockup:hover img {
  transform: scale(1.02);
}
.header-divider {
  width: 1px;
  height: 44px;
  background: var(--c-line-2);
  margin: 0 18px;
}
.header-edition {
  font-size: 11px;
  line-height: 1.3;
  color: var(--c-ink-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}
.header-edition strong {
  display: block;
  color: var(--c-blue-900);
  font-size: 13px;
  letter-spacing: .04em;
  margin-top: 2px;
}
@media (max-width: 720px) {
  .header-divider, .header-edition { display: none; }
}
@media (max-width: 980px) {
  .nav { height: 96px; }
  .brand-lockup img { height: 64px; }
  .brand-lockup img.logo-full { height: 56px; }
}
@media (max-width: 600px) {
  .nav { height: 80px; }
  .brand-lockup img { height: 52px; }
  .brand-lockup img.logo-full { height: 44px; }
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--c-ink);
}
.nav-brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-blue-700), var(--c-blue-900));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.02em;
}
.nav-brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--c-ink-3);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  color: var(--c-ink-2);
  font-weight: 500;
  font-size: 14.5px;
}
.nav-links a:hover { color: var(--c-blue-700); text-decoration: none; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-green-500);
  color: #0a2014;
  box-shadow: 0 4px 0 var(--c-green-600), 0 8px 20px rgba(122,184,41,.35);
}
.btn-primary:hover {
  background: var(--c-green-400);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--c-green-600); }
.btn-secondary {
  background: transparent;
  color: var(--c-blue-900);
  border-color: var(--c-line-2);
}
.btn-secondary:hover { border-color: var(--c-blue-700); color: var(--c-blue-700); text-decoration: none; }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); text-decoration: none; }
.btn-lg { padding: 18px 34px; font-size: 16px; }

/* ---- HERO ---- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(26,79,168,.45), transparent 60%),
    radial-gradient(800px 500px at -10% 100%, rgba(122,184,41,.18), transparent 60%),
    linear-gradient(180deg, var(--c-blue-900) 0%, #08203F 100%);
  color: #fff;
  overflow: hidden;
  padding: 64px 0 96px;
}
.hero::before {
  /* chevron pattern */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.04) 48% 50%, transparent 50%),
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.04) 48% 50%, transparent 50%);
  background-size: 80px 80px;
  background-position: 0 0, 40px 40px;
  opacity: .5;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(245,197,24,.12);
  border: 1px solid rgba(245,197,24,.4);
  color: var(--c-yellow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-yellow);
  box-shadow: 0 0 0 4px rgba(245,197,24,.18);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero h1 .accent { color: var(--c-green-400); }
.hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,.82);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin: 28px 0 32px;
  padding: 18px 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
}
.hero-meta .meta-item {
  display: flex; align-items: center; gap: 12px;
}
.hero-meta .meta-item small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.hero-meta .meta-item strong {
  display: block;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}
.hero-meta .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(122,184,41,.18);
  color: var(--c-green-400);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Countdown card */
.countdown-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
}
.countdown-card .cc-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-green-400);
  font-weight: 700;
  margin-bottom: 18px;
}
.countdown-card h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cd-cell {
  text-align: center;
  background: rgba(11,37,69,.5);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 16px 8px;
}
.cd-cell .num {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}
.cd-cell .lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
  font-weight: 600;
}
.countdown-card .cc-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,.15);
  font-size: 13px;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sponsor strip */
.sponsor-strip {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line);
}
.sponsor-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.sponsor-strip .partner-logo { height: 44px; }
.sponsor-strip .divider-v {
  width: 1px;
  height: 36px;
  background: var(--c-line);
}
.sponsor-strip .label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  font-weight: 600;
}
.logo-placeholder {
  height: 48px;
  min-width: 140px;
  border-radius: 6px;
  background: repeating-linear-gradient(135deg, #F1F5F9 0 8px, #E2E8F0 8px 16px);
  display: grid;
  place-items: center;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  color: var(--c-ink-3);
  border: 1px solid var(--c-line);
}

/* Real partner logos */
.partner-logo {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}
.partner-logo.sm { height: 42px; }
.partner-logo.lg { height: 72px; }
.partner-logo.on-dark { filter: brightness(0) invert(1); opacity: .9; }
.partner-logo.on-dark.keep-color { filter: none; opacity: 1; }

/* (Header brand-lockup rules live in the .nav block above) */
.brand-lockup .talks small {
  font-size: 10.5px;
  color: var(--c-ink-3);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* ---- Section base ---- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: var(--c-blue-900); color: #fff; }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow {
  background: var(--c-green-50);
  color: var(--c-green-600);
  border-color: rgba(107,165,31,.3);
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 18px 0 16px;
  letter-spacing: -0.025em;
}
.section-head p {
  color: var(--c-ink-2);
  font-size: 17px;
  line-height: 1.6;
  max-width: 64ch;
  margin-inline: auto;
}
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.78); }
.section-dark .section-head .eyebrow {
  background: rgba(122,184,41,.15);
  color: var(--c-green-400);
  border-color: rgba(122,184,41,.4);
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-quote {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-blue-900);
  letter-spacing: -0.02em;
  border-left: 4px solid var(--c-green-500);
  padding: 8px 0 8px 24px;
  margin-bottom: 28px;
}
.about-body p {
  color: var(--c-ink-2);
  margin-bottom: 16px;
  font-size: 16.5px;
}
.about-body strong { color: var(--c-blue-900); }
.about-stat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding: 24px;
  background: var(--c-blue-50);
  border-radius: var(--r-md);
}
.about-stat .item .num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--c-blue-900);
  letter-spacing: -.02em;
}
.about-stat .item .lbl {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-ink-3);
  margin-top: 4px;
  font-weight: 600;
}

/* ---- PANELS ---- */
.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.panel-card:hover {
  border-color: var(--c-blue-700);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.panel-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-green-600);
  margin-bottom: 16px;
}
.panel-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--c-blue-50);
  color: var(--c-blue-700);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.panel-card h3 {
  font-size: 22px;
  color: var(--c-blue-900);
  margin-bottom: 12px;
}
.panel-card p {
  color: var(--c-ink-2);
  margin-bottom: 18px;
}
.panel-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--c-line);
}
.panel-tags span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--c-bg-tint);
  color: var(--c-ink-2);
  font-weight: 500;
}

/* ---- SPEAKERS ---- */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.speaker {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.speaker:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.speaker .ph {
  aspect-ratio: 1/1;
  background:
    repeating-linear-gradient(135deg, #E2E8F0 0 10px, #CBD5E1 10px 20px);
  display: grid; place-items: center;
  color: var(--c-ink-3);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}
.speaker .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.speaker .ph.is-placeholder::after {
  content: 'foto em breve';
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(255,255,255,.9);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
}
.speaker .meta { padding: 22px 24px; }
.speaker .role-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-blue-700);
  background: var(--c-blue-50);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.speaker .role-badge.is-mod {
  color: var(--c-green-600);
  background: var(--c-green-50);
}
.speaker h4 {
  font-size: 17px;
  color: var(--c-blue-900);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.speaker .role {
  font-size: 13.5px;
  color: var(--c-ink-2);
  line-height: 1.45;
}

/* ---- BENEFITS ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s;
}
.benefit:hover { border-color: var(--c-green-500); }
.benefit .b-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--c-green-50);
  color: var(--c-green-600);
  display: grid; place-items: center;
}
.benefit h4 { font-size: 16px; color: var(--c-blue-900); }
.benefit p { color: var(--c-ink-2); font-size: 14.5px; line-height: 1.5; }

/* ---- HOW IT WORKS ---- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.how-step {
  position: relative;
  padding: 28px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  counter-increment: step;
}
.how-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--c-green-400);
  letter-spacing: -.02em;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.how-step h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.how-step p {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

/* ---- HERO event mark (ABRAPE Talks brand de abertura) ---- */
.event-mark {
  text-align: center;
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.em-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--c-yellow-400);
  opacity: 0;
  animation: em-fadein .8s .15s ease forwards;
}
.em-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(245,197,24,.7), transparent);
}
.em-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  opacity: 0;
  transform: translateY(12px);
  animation: em-rise 1s .25s cubic-bezier(.2,.8,.2,1) forwards;
}
.em-stage img {
  height: 220px;
  width: auto;
  max-width: 90vw;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.45));
}
.em-glow {
  position: absolute;
  inset: -10% -8%;
  z-index: 1;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(245,197,24,.22), transparent 60%),
    radial-gradient(80% 100% at 50% 50%, rgba(122,184,41,.18), transparent 65%),
    radial-gradient(100% 120% at 50% 50%, rgba(26,79,168,.35), transparent 70%);
  filter: blur(20px);
  animation: em-pulse 4s ease-in-out infinite;
}
.em-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: 0;
  animation: em-fadein .8s .55s ease forwards;
}
.em-bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-green-400);
  box-shadow: 0 0 0 0 rgba(122,184,41,.6);
  animation: em-bullet 2.4s ease-in-out infinite;
}
@keyframes em-fadein { to { opacity: 1; } }
@keyframes em-rise   { to { opacity: 1; transform: translateY(0); } }
@keyframes em-pulse  {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
@keyframes em-bullet {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122,184,41,.55); }
  50%      { box-shadow: 0 0 0 10px rgba(122,184,41,0); }
}
@media (max-width: 980px) {
  .event-mark { margin-bottom: 40px; gap: 16px; }
  .em-stage { padding: 12px 24px; }
  .em-stage img { height: 150px; }
  .em-line { width: 36px; }
  .em-tag { font-size: 11.5px; padding: 8px 16px; }
}
@media (max-width: 600px) {
  .event-mark { margin-bottom: 32px; }
  .em-stage img { height: 110px; }
  .em-eyebrow { font-size: 10.5px; letter-spacing: .24em; }
  .em-tag { flex-wrap: wrap; justify-content: center; text-align: center; }
}

/* ---- ABRAPE INSTITUTIONAL BANNER ---- */
.abrape-banner {
  background:
    radial-gradient(900px 400px at 15% 50%, rgba(122,184,41,.12), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(245,197,24,.08), transparent 60%),
    linear-gradient(135deg, var(--c-blue-900) 0%, #08203F 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.06);
}
.abrape-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.035) 48% 50%, transparent 50%),
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.035) 48% 50%, transparent 50%);
  background-size: 80px 80px;
  background-position: 0 0, 40px 40px;
  pointer-events: none;
}
.abrape-banner .container { position: relative; z-index: 1; }

.ab-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}
.ab-mark {
  background: #fff;
  padding: 36px 44px;
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.ab-mark::after {
  /* subtle accent corner */
  content: '';
  position: absolute;
  top: -2px; right: -2px;
  width: 32px; height: 32px;
  border-top: 3px solid var(--c-green-500);
  border-right: 3px solid var(--c-green-500);
  border-radius: 0 var(--r-lg) 0 0;
}
.ab-mark img {
  height: 110px;
  width: auto;
  display: block;
}
.ab-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-green-400);
  margin-bottom: 14px;
}
.ab-copy h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.ab-copy p {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  margin-bottom: 22px;
}
.ab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-green-400);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(122,184,41,.4);
  transition: color .2s, border-color .2s, gap .2s;
}
.ab-link:hover {
  color: #fff;
  border-color: #fff;
  gap: 12px;
  text-decoration: none;
}

@media (max-width: 980px) {
  .ab-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; justify-items: center; }
  .ab-mark { padding: 28px 32px; }
  .ab-mark img { height: 88px; }
  .ab-copy p { margin-inline: auto; }
}
@media (max-width: 600px) {
  .abrape-banner { padding: 56px 0; }
  .ab-mark { padding: 24px 28px; }
  .ab-mark img { height: 68px; }
}

/* ---- FORM ---- */
.form-section {
  background:
    linear-gradient(180deg, var(--c-bg-soft) 0%, #fff 100%);
  position: relative;
}
.form-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.form-aside h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  color: var(--c-blue-900);
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.form-aside h2 .accent { color: var(--c-green-600); }
.form-aside p {
  color: var(--c-ink-2);
  font-size: 16.5px;
  margin-bottom: 24px;
}
.form-bullets {
  list-style: none;
  padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.form-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--c-ink-2);
}
.form-bullets li svg { flex-shrink: 0; color: var(--c-green-600); margin-top: 2px; }

.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--sh-md);
}
.form-card h3 {
  font-size: 20px;
  color: var(--c-blue-900);
  margin-bottom: 6px;
}
.form-card .form-sub {
  color: var(--c-ink-3);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
}
.field label .req { color: var(--c-blue-700); margin-left: 2px; }
.field input,
.field select {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--c-line-2);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--c-ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-blue-700);
  box-shadow: 0 0 0 3px rgba(26,79,168,.15);
}
.field input.invalid,
.field select.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.field .err {
  font-size: 12.5px;
  color: #dc2626;
  display: none;
}
.field.has-error .err { display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--c-ink-2);
  line-height: 1.5;
}
.consent input { margin-top: 3px; accent-color: var(--c-blue-700); }
.consent a { color: var(--c-blue-700); text-decoration: underline; }

.form-submit { margin-top: 22px; }
.form-submit .btn { width: 100%; }
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.form-status.is-success {
  display: block;
  background: var(--c-green-50);
  color: #2f5b07;
  border: 1px solid rgba(107,165,31,.3);
}
.form-status.is-error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.form-status.is-loading {
  display: block;
  background: var(--c-blue-50);
  color: var(--c-blue-700);
  border: 1px solid rgba(26,79,168,.2);
}

/* ---- WHATSAPP CALLOUT ---- */
.wa-callout {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 64px;
}
.wa-callout .wa-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  display: grid; place-items: center;
}
.wa-callout h3 { font-size: 22px; margin-bottom: 4px; }
.wa-callout p { font-size: 15px; opacity: .9; }
.wa-callout .btn {
  background: #fff;
  color: #128C7E;
}
.wa-callout .btn:hover { background: #f0fdf4; }

/* ---- FAQ ---- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--c-blue-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--c-blue-700);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] { border-color: var(--c-blue-700); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--c-ink-2);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--c-blue-900);
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-green-400);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.78); font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer-about p { font-size: 14px; line-height: 1.55; max-width: 36ch; }
.footer-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}
.footer-logos .partner-logo { height: 36px; }
.footer .logo-placeholder {
  height: 36px;
  min-width: 90px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 8px, rgba(255,255,255,.12) 8px 16px);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

/* Sponsor groups bottom (Um evento / Co-realização) */
.partners {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid var(--c-line);
}
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 900px;
  margin: 0 auto;
}
.partners-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-ink-3);
  font-weight: 700;
  margin-bottom: 18px;
}
.partners-row {
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .panels { grid-template-columns: 1fr; }
  .speakers-grid,
  .speakers-grid[style] { grid-template-columns: repeat(2, 1fr) !important; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .wa-callout { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .topbar .tb-left { display: none; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .section { padding: 64px 0; }
  .speakers-grid,
  .speakers-grid[style],
  .benefits-grid,
  .how-grid { grid-template-columns: 1fr !important; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .countdown { gap: 6px; }
  .cd-cell { padding: 12px 4px; }
  .hero { padding: 40px 0 64px; }
  .hero-meta { flex-direction: column; gap: 14px; }
  .about-stat { grid-template-columns: 1fr; gap: 12px; }
  .nav { height: 64px; }
  .btn { padding: 12px 22px; }
}
