/* ==========================================================================
   Nova Gestões · challeNGe ? Hotsite
   Tema claro oficial (identidade challeNGe)
   Paleta: navy #101e33 · azul #045dee · acentos #e00329 #322881 #00c5ff #c3ac6c
   ========================================================================== */

:root {
  /* Marca */
  --navy: #101e33;
  --blue: #045dee;
  --blue-dark: #0348bd;
  --red: #e00329;
  --purple: #322881;
  --cyan: #00c5ff;
  --gold: #c3ac6c;
  --gray: #686868;

  /* Fundos (claro) */
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --bg-tint: #eef3fb;

  /* Superfícies / bordas */
  --surface: #ffffff;
  --border: #e2e8f2;
  --border-strong: #cdd8e8;

  /* Texto */
  --text: #101e33;
  --text-muted: #4a5568;
  --text-dim: #8a94a6;
  --text-inverse: #ffffff;

  /* Acento AWS (mantido só para menções à AWS) */
  --aws: #ff9900;

  /* Gradientes */
  --grad-text: linear-gradient(100deg, var(--blue), var(--cyan));
  --grad-brand: linear-gradient(135deg, var(--blue), var(--purple));

  /* Tipografia */
  --font-head: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Escala fluida */
  --h1: clamp(2.3rem, 1.5rem + 3.4vw, 4.25rem);
  --h2: clamp(1.7rem, 1.25rem + 1.9vw, 2.65rem);
  --h3: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem);
  --lead: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);

  /* Layout */
  --container: 1160px;
  --container-narrow: 760px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-full: 999px;
  --pad-section: clamp(3.75rem, 6.5vw, 7.5rem);
  --pad-x: clamp(1.1rem, 4vw, 2rem);

  /* Sombras (suaves, para tema claro) */
  --shadow-sm: 0 1px 3px rgba(16, 30, 51, 0.06), 0 1px 2px rgba(16, 30, 51, 0.04);
  --shadow: 0 12px 30px -12px rgba(16, 30, 51, 0.18);
  --shadow-lg: 0 24px 50px -20px rgba(16, 30, 51, 0.25);
  --shadow-blue: 0 14px 34px -12px rgba(4, 93, 238, 0.35);

  --transition: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; color: var(--navy); }
/* h3 (títulos menores) sofrem com tracking apertado em palavras longas ? dão mais respiro */
h3 { letter-spacing: -0.005em; line-height: 1.3; }

/* === Acessibilidade === */
.skip-link {
  position: absolute;
  left: -999px; top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* === Layout helpers === */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--pad-section); position: relative; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}
.eyebrow::before { content: none; }
.section-eyebrow.accent-aws { color: var(--aws); }

.section h2 { font-size: var(--h2); margin-bottom: 1.1rem; max-width: 20ch; }
.section-lead {
  font-size: var(--lead);
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 3rem;
}

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === Botões === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 1.1rem 2.3rem; font-size: 1.05rem; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; }
.brand-logo { height: 46px; width: 46px; object-fit: contain; }
.brand-text { font-size: 1.3rem; letter-spacing: -0.03em; color: var(--navy); font-weight: 700; }
.brand-accent { color: var(--blue); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.6rem; }
.nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; transition: color var(--transition); }
.nav a:hover { color: var(--blue); }

.btn-header { padding: 0.62rem 1.3rem; font-size: 0.9rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.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); }

/* === Hero (vídeo em destaque) === */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(4, 93, 238, 0.08), transparent 60%),
    radial-gradient(700px 500px at 100% 10%, rgba(0, 197, 255, 0.08), transparent 55%),
    var(--bg);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  text-align: center;
}

/* Palco do vídeo: protagonista, com moldura elegante */
.hero-stage {
  position: relative;
  max-width: 920px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
  aspect-ratio: 2 / 1;
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Brilho sutil ao redor do palco */
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.hero h1 { font-size: var(--h1); font-weight: 800; margin-bottom: 1.4rem; letter-spacing: -0.035em; }
.hero-lead { font-size: var(--lead); color: var(--text-muted); max-width: 58ch; margin: 0 auto 2.4rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; max-width: 720px; margin-inline: auto; }
.hero-stats > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 0.85rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.hero-stats > div:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.hero-stats dt { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.hero-stats dd { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; margin-top: 0.35rem; color: var(--navy); }

/* Barra "powered by AWS" */
.hero-aws { margin-top: 2rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-dim); letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-aws .aws-logo { height: 26px; width: auto; display: inline-block; vertical-align: middle; }
.hero-aws-sep { opacity: 0.5; }

/* Tagline PESSOAS · TECNOLOGIA · SOLUÇÕES · RESULTADOS */
.pillars { border-block: 1px solid var(--border); background: var(--bg); }
.pillars ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; padding-block: 1.5rem; }
.pillars li {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pillars li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.pillars li:nth-child(1)::before { background: var(--blue); }
.pillars li:nth-child(2)::before { background: var(--cyan); }
.pillars li:nth-child(3)::before { background: var(--purple); }
.pillars li:nth-child(4)::before { background: var(--red); }

/* === Cards === */
.cards { display: grid; gap: 1.35rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card h3 { font-size: var(--h3); margin-bottom: 0.55rem; }
.card p { color: var(--text-muted); font-size: 0.96rem; }

.card-step {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1.1rem;
  padding: 0.3rem 0.7rem;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === As 5 equipes === */
.teams { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.team {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.team::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-brand);
}
.team:nth-child(2)::before { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.team:nth-child(3)::before { background: linear-gradient(90deg, var(--gold), var(--red)); }
.team:nth-child(4)::before { background: linear-gradient(90deg, var(--purple), var(--red)); }
.team:nth-child(5)::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.team:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.team-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--bg-tint);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.team-ops { display: grid; gap: 0.55rem; }
.team-ops li {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.35;
}
.team-ops li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.team-note {
  margin-top: 2rem;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}
.team-note h3 { font-size: var(--h3); margin-bottom: 0.85rem; letter-spacing: 0; line-height: 1.3; }
.team-note p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.75; max-width: 70ch; }

/* === Split (quem somos) === */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.split-text h2 { font-size: var(--h2); margin-bottom: 1.3rem; max-width: 22ch; }
.split-text p { color: var(--text-muted); margin-bottom: 1.1rem; }
.split-text strong { color: var(--navy); font-weight: 600; }

.check-list { margin-top: 1.75rem; display: grid; gap: 0.85rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--text-muted); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.7rem; height: 0.7rem;
  border-radius: 3px;
  background: var(--grad-brand);
}

/* Metric grid (números) */
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.metric:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.metric dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.metric dd { font-family: var(--font-head); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); font-weight: 800; margin: 0.3rem 0 0.1rem; color: var(--blue); }
.metric p { font-size: 0.85rem; color: var(--text-muted); }

/* === Seção IA + AWS === */
.section-aws { background: linear-gradient(180deg, var(--bg), var(--bg-alt)); border-block: 1px solid var(--border); }
.aws-word { color: var(--aws); }

.ia-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: start; }
.ia-layout .timeline { grid-template-columns: 1fr; gap: 1.5rem; }

.aws-stack { display: grid; gap: 0.75rem; align-content: start; }
.aws-stack li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--aws);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.aws-stack li:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.aws-stack strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.aws-stack span { color: var(--text-muted); font-size: 0.9rem; }

/* === Timeline (IA) === */
.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 3.5rem; }
.timeline-item { position: relative; padding-left: 1.85rem; border-left: 2px solid var(--border); padding-bottom: 0.5rem; }
.timeline-dot {
  position: absolute;
  left: -7px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(4, 93, 238, 0.15);
}
.timeline-item:nth-child(2) .timeline-dot { background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 197, 255, 0.15); }
.timeline-item:nth-child(3) .timeline-dot { background: var(--purple); box-shadow: 0 0 0 4px rgba(50, 40, 129, 0.15); }
.timeline-item:nth-child(4) .timeline-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(224, 3, 41, 0.12); }
.timeline-item h3 { font-size: var(--h3); margin-bottom: 0.4rem; }
.timeline-item p { color: var(--text-muted); font-size: 0.96rem; }

/* === Onde e com quem (venue) === */
.venue { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.venue-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.venue-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
}
.venue-hotmilk::before { background: var(--grad-brand); }
.venue-aws::before { background: linear-gradient(90deg, var(--aws), #ffc46b); }
.venue-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.venue-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.venue-kicker.accent-aws { color: var(--aws); }
.venue-card h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 0.85rem; }
.venue-aws-logo { height: 46px; width: auto; margin-bottom: 1rem; display: block; }
/* Selo escuro para a logo branca do Hotmilk aparecer bem no card claro */
.venue-logo-badge {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.1rem;
  margin-bottom: 1.1rem;
}
.venue-hotmilk-logo { height: 30px; width: auto; display: block; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.venue-card > p { color: var(--text-muted); font-size: 0.98rem; }
.venue-stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.venue-stats li { display: flex; flex-direction: column; }
.venue-stats strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.venue-stats span { font-size: 0.8rem; color: var(--text-dim); margin-top: 0.3rem; }
.venue-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--blue);
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), gap var(--transition);
}
.venue-aws .venue-link { color: var(--aws-dark); }
.venue-link::after { content: "\2192"; transition: transform var(--transition); }
.venue-link:hover { border-color: currentColor; }
.venue-link:hover::after { transform: translateX(3px); }

/* === Agenda === */
.agenda { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.agenda li {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.agenda li:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.agenda-day {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--blue);
  background: var(--bg-tint);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
}
.agenda h3 { font-size: var(--h3); margin-bottom: 0.4rem; }
.agenda p { color: var(--text-muted); font-size: 0.96rem; }
.note { color: var(--text-dim); font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.6; }

/* === FAQ === */
.faq { display: grid; gap: 0.85rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
  cursor: pointer;
  padding: 1.2rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); transition: transform var(--transition); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); padding-bottom: 1.2rem; font-size: 0.96rem; }
.faq-item p a { color: var(--blue); border-bottom: 1px solid rgba(4, 93, 238, 0.35); transition: border-color var(--transition); }
.faq-item p a:hover { border-color: var(--blue); }

/* === CTA === */
.cta { background: var(--grad-brand); color: #fff; }
.cta-inner { text-align: center; padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.cta .section-eyebrow { justify-content: center; color: #fff; }
.cta .section-eyebrow.accent-aws { color: #ffd28a; }
.cta h2 { color: #fff; font-size: var(--h2); margin: 0 auto 1rem; max-width: 24ch; }
.cta p { color: rgba(255, 255, 255, 0.9); font-size: var(--lead); margin: 0 auto 1rem; max-width: 60ch; }
.cta-mail { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.5); transition: border-color var(--transition); }
.cta-mail:hover { border-color: #fff; }
.cta-meta { font-family: var(--font-mono); font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); margin: 0 auto 2.75rem; max-width: 62ch; }
.cta-meta strong { color: #ffd28a; font-weight: 500; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.35); }
.cta .btn-primary:hover { background: #f0f4ff; }
.cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.1); }

/* === Footer === */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); border-top: 1px solid var(--border); padding-block: 2.75rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; font-family: var(--font-head); color: #fff; }
.footer-brand strong { display: block; font-size: 1.05rem; }
.footer-logo { height: 48px; width: 48px; object-fit: contain; }
.footer-tag { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; font-family: var(--font-body); }
.footer-ng { display: inline-flex; align-items: center; opacity: 0.9; transition: opacity var(--transition); }
.footer-ng img { height: 40px; width: auto; }
.footer-ng:hover { opacity: 1; }
.footer-copy { color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; text-align: right; line-height: 1.7; }
.footer-powered { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.footer-powered img { height: 16px; width: auto; vertical-align: middle; position: relative; top: 1px; }

/* === Animações on-scroll === */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* === Responsivo === */

/* Cinturão anti-overflow: nada pode estourar a largura da tela */
body, .container, .hero-inner, .cta-inner { max-width: 100%; }
.eyebrow, .section-eyebrow { overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .teams { grid-template-columns: repeat(3, 1fr); }
  .split, .ia-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .section h2, .split-text h2, .cta h2 { max-width: none; }
}

@media (max-width: 780px) {
  .btn-header { display: none; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    margin-left: 0;
  }
  .nav.open { max-height: 75vh; }
  .nav ul { flex-direction: column; padding: 1rem var(--pad-x) 1.5rem; gap: 0.25rem; }
  .nav a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; margin-left: auto; }

  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .venue { grid-template-columns: 1fr; }
  .teams { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 1.5rem; }
  .agenda li { flex-direction: column; gap: 0.9rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
}

/* === Ajuste fino para celulares (<=560px) === */
@media (max-width: 560px) {
  :root {
    --h1: clamp(1.9rem, 1.4rem + 4vw, 2.6rem);
    --pad-section: clamp(3rem, 12vw, 4rem);
  }

  /* Eyebrow: menos espaçamento e quebra permitida para não estourar */
  .eyebrow, .section-eyebrow {
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    flex-wrap: wrap;
    line-height: 1.5;
  }
  .hero .eyebrow { justify-content: center; }

  /* Título do hero: mais controlado, com quebra elegante */
  .hero h1 { font-size: var(--h1); letter-spacing: -0.02em; overflow-wrap: anywhere; }
  .hero-lead { font-size: 1rem; }

  /* Botões ocupam a largura toda e empilham */
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }

  /* Palco do vídeo: um pouco mais alto para o logo respirar */
  .hero-stage { aspect-ratio: 16 / 10; margin-bottom: 1.75rem; }

  /* Cards e caixas com padding menor */
  .card { padding: 1.5rem 1.35rem; }
  .team-note { padding: 1.4rem 1.4rem; }
  .faq-item { padding: 0 1.25rem; }
  .faq-item summary { font-size: 1rem; }

  /* Pilares: empilha em 2 colunas centralizadas */
  .pillars ul { gap: 0.6rem 1.5rem; }
  .pillars li { font-size: 0.78rem; letter-spacing: 0.1em; }

  /* Números / stats em 2 colunas confortáveis */
  .metric-grid { grid-template-columns: repeat(2, 1fr); }

  /* Agenda: horário como etiqueta acima do texto */
  .agenda-day { align-self: flex-start; }
}

/* === Celulares estreitos (<=400px) === */
@media (max-width: 400px) {
  .hero-stats, .teams { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.15rem; }
  .pillars ul { gap: 0.5rem 1.25rem; }
}
