/* =========================================================
   Concurso Público é Projeto — Landing Page
   Paleta: navy #091823 · dourado #ddb36d · fundo branco
   ========================================================= */

:root {
  --navy: #091823;
  --navy-2: #102a3d;
  --navy-soft: #1a3c53;
  --gold: #ddb36d;
  --gold-dark: #c69a4f;
  --gold-tint: #f4e4c8;
  --bg: #ffffff;
  --bg-soft: #f7f4ee;
  --text-body: #3d4a56;
  --text-muted: #6c7a86;
  --border-soft: #e4dfd4;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-card: 14px;
  --radius-field: 8px;
  --max-width: 1080px;

  --shadow-card: 0 20px 44px rgba(9, 24, 35, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Animação de entrada ao rolar a página ---------- */

.reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, filter, transform;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gold-tint);
  border: 1px solid var(--gold-dark);
  padding: 7px 14px;
  border-radius: 999px;
}

.eyebrow-tag--on-dark {
  color: var(--gold-tint);
  background: rgba(221, 179, 109, 0.14);
  border-color: rgba(221, 179, 109, 0.5);
}

.eyebrow-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dark);
}

.eyebrow-tag--on-dark .dot {
  background: var(--gold);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
  color: var(--navy);
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 4.4vw, 2.3rem);
}

p {
  margin: 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin-top: 14px;
}

.section-heading p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Botão ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-field);
  padding: 15px 26px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  width: 100%;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline-color: var(--navy);
}

/* =========================================================
   DOBRA 1 — HERO + FORMULÁRIO
   ========================================================= */

.hero {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 44px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(221, 179, 109, 0.18);
  pointer-events: none;
  z-index: 0;
}

.hero::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 28% 30%, rgba(221, 179, 109, 0.28), transparent 60%),
    radial-gradient(circle at 72% 68%, rgba(221, 179, 109, 0.2), transparent 55%);
  filter: blur(70px);
  animation: gradient-pulse 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gradient-pulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* ---------- Badges em destaque (ao vivo + data) ---------- */

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(221, 179, 109, 0.5);
  padding: 9px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.badge--live {
  border-color: rgba(34, 197, 94, 0.55);
}

.badge--date {
  border-color: rgba(239, 68, 68, 0.55);
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--live {
  background: #22c55e;
  animation: pulse-green 1.7s ease-out infinite;
}

.dot--date {
  background: #ef4444;
  animation: pulse-red 1.7s ease-out infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-content {
  text-align: left;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: #fff;
  margin-top: 18px;
}

.hero-content .hero-lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin-top: 18px;
  max-width: 54ch;
}

.hero-speaker-line {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.hero-speaker-line strong {
  color: var(--gold);
  font-weight: 600;
}

/* Card do formulário */

.form-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px 26px;
  margin-top: 34px;
  position: relative;
  z-index: 1;
}

.form-card h3 {
  font-size: 1.25rem;
}

.form-card .form-sub {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-top: 8px;
}

.field {
  margin-top: 18px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-field);
  border: 1.5px solid var(--border-soft);
  background: var(--bg-soft);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input::placeholder {
  color: #97a3ad;
}

.field input:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: #fff;
}

.form-card .btn-primary {
  margin-top: 22px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.hero-footer-space {
  height: 40px;
}

/* =========================================================
   DOBRA 2 — QUEM É A BÁRBARA ROCHA
   ========================================================= */

.about {
  padding: 64px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.about-photo {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

.about-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  border: 2px solid var(--gold);
  padding: 10px;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-badges {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.about-badge-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 20px rgba(9, 24, 35, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.about-badge-chip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 24px rgba(9, 24, 35, 0.3);
}

.about-badge-logo {
  height: 50px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.about-text .about-kicker {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.about-text h2 {
  margin-top: 12px;
}

.about-text p {
  margin-top: 16px;
  color: var(--text-body);
  font-size: 1.02rem;
}

.about-credentials {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================================
   DOBRA 3 — O QUE VOCÊ VAI VER NO WEBINAR
   ========================================================= */

.agenda {
  background: var(--bg-soft);
  padding: 64px 0 70px;
}

.agenda-timeline {
  position: relative;
}

.agenda-track {
  display: none;
}

.agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.agenda-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}

.agenda-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agenda-body h3 {
  font-size: 1.1rem;
}

.agenda-body p {
  margin-top: 8px;
  color: var(--text-body);
  font-size: 0.95rem;
}

@media (min-width: 780px) {
  .agenda-list {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .agenda-item {
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: relative;
    z-index: 1;
  }

  .agenda-body h3 {
    font-size: 1.02rem;
  }

  .agenda-track {
    display: block;
    position: absolute;
    top: 22px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
    z-index: 0;
  }
}

/* =========================================================
   DOBRA FINAL — RECAPITULAÇÃO DO WEBINAR + FORMULÁRIO
   ========================================================= */

.final-cta {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 64px 0 60px;
  position: relative;
  overflow: hidden;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.webinar-recap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(221, 179, 109, 0.3);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.webinar-recap h2 {
  color: #fff;
}

.webinar-recap .recap-lede {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
  font-size: 1.02rem;
}

.recap-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.recap-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.recap-meta-item .meta-icon {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.recap-meta-item .meta-text strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.recap-meta-item .meta-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
}

.recap-includes {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.recap-includes p.label {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
}

.recap-includes ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.recap-includes li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  padding-left: 22px;
  position: relative;
  margin-top: 10px;
}

.recap-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
}

.final-cta .form-card {
  margin-top: 34px;
}

/* =========================================================
   RODAPÉ — campos manuais/editáveis
   ========================================================= */

.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(221, 179, 109, 0.2);
  padding: 26px 0;
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  text-align: center;
}

/* =========================================================
   RESPONSIVO — tablet / desktop
   ========================================================= */

@media (min-width: 640px) {
  .recap-meta {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 780px) {
  .hero {
    padding-top: 30px;
  }

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

  .form-card {
    margin-top: 0;
  }

  .about-grid {
    grid-template-columns: 340px 1fr;
    text-align: left;
    gap: 56px;
  }

  .about-photo {
    justify-self: start;
  }

  .final-cta-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: start;
  }

  .final-cta .form-card {
    margin-top: 0;
    position: sticky;
    top: 24px;
  }
}

@media (min-width: 1000px) {
  h1 {
    font-size: 3.2rem;
  }
}
