:root {
  /* Paleta institucional inspirada no banner: azul petróleo, azul acinzentado e branco */
  --primary: #22304f;
  --primary-dark: #121b30;
  --primary-light: #324263;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --gold: #f59e0b;
  --gold-soft: rgba(245, 158, 11, 0.15);
  --background: #1a2440;
  --bg-color: var(--background);
  --surface: rgba(52, 67, 100, 0.72);
  --card-bg: var(--surface);
  --border-color: rgba(148, 163, 184, 0.26);
  --text: #f8fafc;
  --text-main: var(--text);
  --text-muted: #a7b6cc;
  --success: #10b981;
  --error: #ef4444;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --------------------- Animações discretas --------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visivel {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 36, 64, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container img {
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.btn-nav {
  background: var(--accent);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.btn-nav:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Menu mobile (hambúrguer) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.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 Section */
.hero {
  position: relative;
  min-height: 100vh;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
  text-align: left;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-decor > * {
  animation: breathe 7s ease-in-out infinite;
}

.hero-decor-dots {
  position: absolute;
  top: 2%;
  right: 6%;
  width: 130px;
  height: 84px;
  background-image: radial-gradient(rgba(148, 163, 184, 0.4) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.7;
  animation-duration: 8s;
}

.hero-decor-dots--alt {
  top: auto;
  right: auto;
  bottom: 30%;
  left: 2%;
  width: 90px;
  height: 60px;
  opacity: 0.5;
  animation-duration: 6.5s;
  animation-delay: 0.6s;
}

.hero-decor-circle {
  position: absolute;
  border-radius: 50%;
}

.hero-decor-circle--outline {
  top: 16%;
  right: 18%;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(148, 163, 184, 0.35);
  animation-duration: 6s;
  animation-delay: 0.4s;
}

.hero-decor-circle--outline-sm {
  top: 68%;
  right: 30%;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(245, 158, 11, 0.4);
  animation-duration: 5s;
  animation-delay: 1.2s;
}

.hero-decor-circle--fill {
  bottom: 4%;
  right: 4%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.4), rgba(37, 99, 235, 0.05) 70%);
  animation-duration: 9s;
  animation-delay: 0.8s;
}

.hero-decor-circle--dot {
  top: 32%;
  right: 10%;
  width: 10px;
  height: 10px;
  background: rgba(96, 165, 250, 0.7);
  animation-duration: 4.5s;
  animation-delay: 0.2s;
}

@keyframes breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (max-width: 900px) {
  .hero-decor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-decor > *,
  .section-decor > *,
  .hero-speaker-stack {
    animation: none;
  }
}

/* Formas ambiente discretas nas demais seções */
.section-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.section-decor > * {
  position: absolute;
  border-radius: 50%;
  animation: breathe 8s ease-in-out infinite;
}

.section-decor-dots {
  border-radius: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.3) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.5;
}

.section-decor-circle--outline {
  border: 2px solid rgba(148, 163, 184, 0.25);
}

.section-decor-circle--gold {
  border: 2px solid rgba(245, 158, 11, 0.3);
}

.section-decor-circle--fill {
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.03) 70%);
}

@media (max-width: 900px) {
  .section-decor {
    display: none;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.05);
  animation: heroZoom 26s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.18); }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 42%, rgba(18, 27, 48, 0.68), rgba(18, 27, 48, 0.28) 70%, transparent 100%),
    linear-gradient(180deg, rgba(18, 27, 48, 0.46) 0%, rgba(20, 29, 51, 0.12) 28%, rgba(21, 30, 53, 0.44) 72%, var(--background) 100%),
    radial-gradient(circle at 80% 12%, rgba(37, 99, 235, 0.3), transparent 55%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 640px) auto;
  grid-template-rows: repeat(6, auto);
  align-items: start;
  column-gap: 3rem;
}

.hero-content > *:not(.hero-speaker) {
  grid-column: 1;
}

.hero-speaker {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
}

.hero-speaker-stack {
  position: relative;
  width: 320px;
  animation: breathe 7s ease-in-out infinite;
}

.hero-speaker-card {
  background: #fff;
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: heroStackShuffle 15s ease-in-out infinite;
}

.hero-speaker-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

.hero-speaker-card--front {
  position: relative;
  z-index: 3;
  width: 320px;
  animation-delay: 0s;
}

.hero-speaker-card--back {
  position: absolute;
  inset: 0;
  width: 320px;
}

.hero-speaker-card--back-1 {
  z-index: 2;
  animation-delay: -5s;
}

.hero-speaker-card--back-2 {
  z-index: 1;
  animation-delay: -10s;
}

@keyframes heroStackShuffle {
  0% {
    transform: rotate(-2deg) translate(0, 0) scale(1);
    opacity: 1;
    z-index: 3;
  }
  25% {
    transform: rotate(-2deg) translate(0, 0) scale(1);
    opacity: 1;
    z-index: 3;
  }
  29.17% {
    opacity: 0.55;
  }
  33.33% {
    transform: rotate(9deg) translate(60px, 8px) scale(0.96);
    opacity: 1;
    z-index: 2;
  }
  58.33% {
    transform: rotate(9deg) translate(60px, 8px) scale(0.96);
    opacity: 1;
    z-index: 2;
  }
  62.5% {
    opacity: 0.55;
  }
  66.66% {
    transform: rotate(-13deg) translate(-64px, 14px) scale(0.96);
    opacity: 1;
    z-index: 1;
  }
  91.66% {
    transform: rotate(-13deg) translate(-64px, 14px) scale(0.96);
    opacity: 1;
    z-index: 1;
  }
  95.83% {
    opacity: 0.55;
  }
  100% {
    transform: rotate(-2deg) translate(0, 0) scale(1);
    opacity: 1;
    z-index: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-speaker-card {
    animation: none;
  }

  .hero-speaker-card--front {
    transform: rotate(-2deg);
  }

  .hero-speaker-card--back-1 {
    transform: rotate(9deg) translate(60px, 8px) scale(0.96);
  }

  .hero-speaker-card--back-2 {
    transform: rotate(-13deg) translate(-64px, 14px) scale(0.96);
  }
}

.hero-speaker-caption {
  position: relative;
  z-index: 4;
  margin-top: 2.25rem;
  text-align: center;
}

.hero-speaker-name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.hero-speaker-tag {
  display: inline-block;
  margin-top: 0.4rem;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

@media (max-width: 960px) {
  .hero-layout {
    flex-direction: column;
    gap: 2.5rem;
  }

  .hero-content {
    display: block;
    max-width: none;
  }

  .hero-speaker {
    margin: 0 0 2.5rem;
  }

  .hero-speaker-stack,
  .hero-speaker-card--front,
  .hero-speaker-card--back {
    width: 240px;
  }

  .hero-speaker-stack {
    margin: 0 auto;
  }

  .hero-speaker-card {
    animation-name: heroStackShuffleMobile;
  }
}

@keyframes heroStackShuffleMobile {
  0% {
    transform: rotate(-2deg) translate(0, 0) scale(1);
    opacity: 1;
    z-index: 3;
  }
  25% {
    transform: rotate(-2deg) translate(0, 0) scale(1);
    opacity: 1;
    z-index: 3;
  }
  29.17% {
    opacity: 0.55;
  }
  33.33% {
    transform: rotate(9deg) translate(44px, 6px) scale(0.96);
    opacity: 1;
    z-index: 2;
  }
  58.33% {
    transform: rotate(9deg) translate(44px, 6px) scale(0.96);
    opacity: 1;
    z-index: 2;
  }
  62.5% {
    opacity: 0.55;
  }
  66.66% {
    transform: rotate(-13deg) translate(-48px, 10px) scale(0.96);
    opacity: 1;
    z-index: 1;
  }
  91.66% {
    transform: rotate(-13deg) translate(-48px, 10px) scale(0.96);
    opacity: 1;
    z-index: 1;
  }
  95.83% {
    opacity: 0.55;
  }
  100% {
    transform: rotate(-2deg) translate(0, 0) scale(1);
    opacity: 1;
    z-index: 3;
  }
}

@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
  .hero-speaker-card--back-1 {
    transform: rotate(9deg) translate(44px, 6px) scale(0.96);
  }

  .hero-speaker-card--back-2 {
    transform: rotate(-13deg) translate(-48px, 10px) scale(0.96);
  }
}

.hero-logo-wrapper {
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  max-width: 520px;
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: heroLogoFloat 6s ease-in-out infinite, heroLogoGlow 4s ease-in-out infinite;
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes heroLogoGlow {
  0%, 100% {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(147, 197, 253, 0.2));
  }
  50% {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 28px rgba(147, 197, 253, 0.5));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-img {
    animation: none;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(147, 197, 253, 0.2));
  }
}

/* Contador regressivo */
.countdown {
  margin: 0 0 2.5rem;
}

.countdown-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 1rem;
}

.countdown-grid {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--surface);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  min-width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-3px);
}

.countdown-num {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(to bottom, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-info-clean {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  color: #e2e8f0;
  font-size: 1.1rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.mapa-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 1.5rem;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
}

.hero-badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.hero-info-clean .separator {
  color: var(--accent);
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.meta-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
  transition: transform 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border-color);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

/* Sections General */
section {
  position: relative;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.85rem auto 0;
  border-radius: 4px;
  background: var(--gold);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Sobre Section */
.sobre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.sobre-card {
  background: linear-gradient(160deg, var(--surface), rgba(15, 23, 42, 0.4));
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.sobre-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
}

.sobre-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.sobre-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.sobre-texto-destaque {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  backdrop-filter: blur(16px);
}

.sobre-texto-destaque p + p {
  margin-top: 1.25rem;
}

.sobre-texto-destaque strong {
  color: var(--text);
  font-weight: 600;
}

/* Inscrição Section */
.inscricao-container {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-grupo-titulo {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  margin: 2rem 0 1rem;
}

.form-grupo-titulo:first-child {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group.campo-perfil {
  animation: fadeInUp 0.35s ease;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

input, select {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  padding: 0.875rem 1rem;
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

input.invalido, select.invalido {
  border-color: var(--error);
}

.erro-msg {
  font-size: 0.75rem;
  color: var(--error);
  min-height: 1em;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.etapa-confirmacao {
  text-align: center;
  padding: 2rem 0;
}

.confirmacao-icone {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.etapa-confirmacao h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.etapa-confirmacao p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Inscrição — seção clara, quebra o ritmo escuro do resto da página */
#inscricao {
  background: #eef2f9;
  border-radius: 32px;
  margin: 3rem auto 5rem;
}

#inscricao .section-title h2 {
  color: #0f172a;
}

#inscricao .section-title p {
  color: #55617a;
}

#inscricao .inscricao-container {
  background: #ffffff;
  border: 1px solid #dbe2ee;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

#inscricao label {
  color: #55617a;
}

#inscricao .form-grupo-titulo {
  color: #1d4ed8;
}

#inscricao input,
#inscricao select {
  background-color: #f7f9fc;
  border: 1px solid #dbe2ee;
  color: #0f172a;
}

#inscricao select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2355617a' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
}

#inscricao input::placeholder {
  color: #94a3b8;
}

#inscricao .etapa-confirmacao h3 {
  color: #0f172a;
}

#inscricao .etapa-confirmacao p {
  color: #55617a;
}

#inscricao .section-decor-dots {
  background-image: radial-gradient(rgba(15, 23, 42, 0.12) 1.5px, transparent 1.5px);
}

#inscricao .section-decor-circle--outline {
  border-color: rgba(15, 23, 42, 0.12);
}

#inscricao .section-decor-circle--fill {
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.02) 70%);
}

@media (max-width: 900px) {
  #inscricao {
    border-radius: 20px;
    margin: 2rem auto 3rem;
  }
}

/* Palestrante Section */
.palestrante-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  align-items: center;
  padding: 3rem;
}

.palestrante-img img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
}

.palestrante-info h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.palestrante-cargo {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.palestrante-bio {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.8;
}

/* Programação Section */
.programacao-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.programacao-timeline::before {
  content: "";
  position: absolute;
  left: calc(1rem + 38px);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.5), transparent);
}

.prog-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.prog-item:hover {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.4);
}

.prog-hora {
  background: var(--gold-soft);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 1;
}

.prog-detalhes {
  flex: 1;
}

.prog-detalhes h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.prog-detalhes p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Localização */
.local-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.local-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.local-card p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Apoio e Realização */
.apoio-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.apoio-logo {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 2rem 3rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  transition: transform 0.3s;
}

.apoio-logo:hover {
  transform: translateY(-5px);
}

.apoio-logo img {
  max-height: 55px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(5, 7, 12, 0.95);
}

footer p {
  margin-bottom: 0.5rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--success);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transform: translateY(150%);
  transition: transform 0.3s ease;
  z-index: 2000;
}

.toast.mostrar {
  transform: translateY(0);
}

.toast.erro {
  background: var(--error);
}

/* --- Painel ADM & Login Styles --- */
.admin-body {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: var(--card-bg);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .admin-panel-grid {
    grid-template-columns: 1fr;
  }
}

.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}

.admin-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.admin-card-header h2 {
  margin-bottom: 0;
}

.busca-input {
  max-width: 280px;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.tabela-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

th {
  color: var(--text-muted);
  font-weight: 600;
}

.badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.link-excluir {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 0.875rem;
  text-decoration: underline;
}

.vazio-estado {
  text-align: center;
  color: var(--text-muted);
  padding: 1.5rem !important;
}

.vencedor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1rem;
}

.vencedor-item .pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #0b0f19;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.importacao-resultado {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
}

.importacao-resultado.sucesso {
  border-color: rgba(16, 185, 129, 0.35);
}

.importacao-resultado.erro {
  border-color: rgba(239, 68, 68, 0.35);
  color: var(--error);
}

.importacao-stats {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}

.importacao-resultado details {
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.importacao-resultado summary {
  cursor: pointer;
  color: var(--text-main);
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.login-box h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.login-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Sorteio Overlay */
.sorteio-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 36, 64, 0.95);
  backdrop-filter: blur(20px);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sorteio-overlay.ativo {
  opacity: 1;
  pointer-events: auto;
}

.sorteio-conteudo {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.sorteio-nome {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin: 1.5rem 0;
  background: linear-gradient(to right, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Colunas específicas do perfil na tabela de inscritos */
.col-muted {
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 900px) {
  section {
    padding: 4.5rem 1.5rem;
  }

  .palestrante-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.5rem;
  }

  .palestrante-img img {
    max-height: 360px;
  }
}

@media (max-width: 720px) {
  header {
    padding: 1rem 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(26, 36, 64, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.aberto {
    max-height: 420px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
  }

  .nav-links .btn-nav {
    margin: 1rem 1.5rem;
    text-align: center;
    border-radius: 8px;
  }

  .hero {
    padding: 7rem 1.25rem 3rem;
  }

  .hero-info-clean {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-info-clean .separator {
    display: none;
  }

  .countdown-grid {
    gap: 0.6rem;
  }

  .countdown-item {
    min-width: 68px;
    padding: 0.75rem 0.5rem;
  }

  .inscricao-container {
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  .prog-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .programacao-timeline::before {
    display: none;
  }

  .apoio-logo {
    padding: 1.5rem 2rem;
    min-width: 160px;
  }

  .admin-body {
    padding: 1.25rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}