:root {
  --color-blue: #00509d;
  --color-yellow: #ffc300;
  --color-red: #d90429;
  --color-green: #2a9d8f;
  --color-bg: #f8f9fa;
  --color-bg-alt: #ffffff;
  --color-text: #2b2d42;
  --color-text-light: #6c757d;
  --font-main: 'Outfit', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background com elementos sutis de quebra-cabeça */
.puzzle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('simbolos-do-autismo-7_xl.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

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

.text-center {
  text-align: center;
}

/* Typography - Mobile First Defaults */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 195, 0, 0.4);
}

.cta-button.primary {
  background-color: var(--color-yellow);
  color: #1a1a1a;
}

.cta-button.primary:hover {
  background-color: #ffda47;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 195, 0, 0.5);
}

.full-width {
  width: 100%;
}

/* Hero Section */
.hero {
  /* Fundo da primeira dobra com imagem do local e overlay escuro/azul */
  background: linear-gradient(135deg, rgba(0, 80, 157, 0.85) 0%, rgba(0, 54, 107, 0.95) 100%), url('imagem restaurante.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--color-bg);
  transform: skewY(-2deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.pre-title {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(5px);
}

.main-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.main-title .highlight {
  color: var(--color-yellow);
}

.subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.95;
}

.info-badges {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.badge {
  background: white;
  color: var(--color-text);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow);
}

.badge:nth-child(1) .icon { color: var(--color-blue); }
.badge:nth-child(2) .icon { color: var(--color-red); }
.badge:nth-child(3) .icon { color: var(--color-green); }

/* About Section */
.about {
  padding: 60px 0;
}

.about-card {
  background: var(--color-bg-alt);
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--color-red);
}

.section-text {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--color-bg);
  border-radius: 12px;
  transition: var(--transition);
}

.benefit-icon {
  font-size: 1.8rem;
  background: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.benefit-content strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-blue);
  margin-bottom: 5px;
}

/* Speaker Section */
.speaker {
  padding: 60px 0;
  background: var(--color-bg-alt);
}

.speaker-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.speaker-image {
  width: 100%;
  max-width: 400px;
  position: relative;
}

.speaker-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.speaker-shape {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--color-yellow);
  border-radius: 20px;
  z-index: 1;
}

.speaker-info {
  width: 100%;
  text-align: center;
}

.speaker-name {
  font-size: 1.3rem;
  color: var(--color-text);
  margin-bottom: 15px;
  font-weight: 700;
}

.speaker-bio {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Location Section */
.location {
  padding: 60px 0;
}

.location-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  background: var(--color-bg-alt);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--color-green);
}

.location-card {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.location-item {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.location-item strong {
  color: var(--color-blue);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-map {
  width: 100%;
  height: 250px;
}

/* Venue Showcase Section */
.venue-showcase {
  padding: 70px 0;
  background: #0a0f1e;
  color: white;
}

.venue-showcase .section-title {
  color: white;
}

.venue-showcase .section-text {
  color: rgba(255,255,255,0.7);
}

.venue-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 12px;
}

.venue-text {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

/* Grid: fotos pequenas + video destaque */
.venue-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.venue-grid-photos {
  display: flex;
  gap: 16px;
}

.gallery-item {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Video Player Cinematográfico */
.venue-video-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
}

.video-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.venue-video-wrapper:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.07);
}

.play-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 195, 0, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #1a1a1a;
  padding-left: 5px;
  box-shadow: 0 0 0 10px rgba(255, 195, 0, 0.2), 0 0 0 20px rgba(255, 195, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.venue-video-wrapper:hover .play-icon {
  box-shadow: 0 0 0 14px rgba(255, 195, 0, 0.25), 0 0 0 28px rgba(255, 195, 0, 0.1);
}

.play-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
}

/* Estado: vídeo rodando (poster some) */
.video-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#venueVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Form Section */
.form-section {
  padding: 60px 0;
}

.form-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--color-blue);
}

.form-subtitle {
  color: var(--color-text-light);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-main);
  transition: var(--transition);
  background: #f8f9fa;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 80, 157, 0.1);
}

/* Footer */
.site-footer {
  background: #00366b;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-logo {
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-text {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ==========================================================================
   Media Queries (Mobile First -> Tablet & Desktop)
   ========================================================================== */

/* ── Mobile: ajustes específicos para telas < 480px ── */
@media (max-width: 479px) {
  .main-title {
    font-size: 1.9rem;
  }

  .hero {
    padding: 50px 0 70px;
  }

  .pre-title {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .cta-button {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .info-badges {
    gap: 8px;
  }

  .badge {
    font-size: 0.82rem;
    padding: 9px 14px;
  }

  .about-card {
    padding: 22px 16px;
  }

  .benefit-icon {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .speaker-shape {
    top: -10px;
    left: -10px;
  }

  .play-icon {
    width: 58px;
    height: 58px;
    font-size: 1.3rem;
  }

  .play-label {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .venue-grid-photos {
    flex-direction: column;
  }

  .gallery-item img {
    height: 200px;
  }

  .form-wrapper {
    padding: 24px 16px;
  }

  .section-title {
    font-size: 1.55rem;
  }
}

/* ── Tablet (min-width: 600px) ── */
@media (min-width: 600px) {
  .section-title {
    font-size: 2rem;
  }

  .main-title {
    font-size: 2.8rem;
  }

  .info-badges {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .badge {
    font-size: 0.9rem;
  }

  .benefits-list li {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
  }

  .benefit-icon {
    font-size: 1.8rem;
    width: 54px;
    height: 54px;
  }

  .venue-grid-photos {
    flex-direction: row;
  }

  .gallery-item img {
    height: 200px;
  }
}

/* ── Tablet largo (min-width: 768px) ── */
@media (min-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .main-title {
    font-size: 3.2rem;
  }

  .subtitle {
    font-size: 1.15rem;
  }

  .hero {
    padding: 90px 0 110px;
  }

  .about-card, .form-wrapper {
    padding: 50px;
  }

  .benefit-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
  }

  .speaker-info {
    text-align: left;
  }

  .speaker-name {
    font-size: 1.5rem;
  }

  .speaker-bio {
    font-size: 1.1rem;
  }

  .location-map {
    height: 350px;
  }

  .gallery-item img {
    height: 220px;
  }

  .play-icon {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }
}

/* ── Desktop (min-width: 900px) ── */
@media (min-width: 900px) {
  .main-title {
    font-size: 3.8rem;
  }

  .speaker-content {
    flex-direction: row;
    gap: 60px;
    align-items: center;
  }

  .speaker-image {
    flex: 1;
    max-width: none;
  }

  .speaker-shape {
    top: -20px;
    left: -20px;
  }

  .speaker-info {
    flex: 1;
  }

  .location-wrapper {
    flex-direction: row;
    gap: 30px;
  }

  .location-card {
    flex: 1;
    padding: 40px;
  }

  .location-item {
    font-size: 1.1rem;
  }

  .location-map {
    flex: 1;
    min-height: 400px;
  }

  .venue-grid {
    gap: 24px;
  }

  .gallery-item img {
    height: 260px;
  }
}
