/* ========================================
   RESONANCE VOLLEYBALL ACADEMY — Main CSS
   Clone fiel do site Zyro original
   ======================================== */

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

:root {
  --color-dark:    #1a1a1a;
  --color-black:   #000000;
  --color-white:   #ffffff;
  --color-gray:    #f5f5f5;
  --color-gray-2:  #e8e8e8;
  --color-gray-3:  #888888;
  --color-accent:  #592481;   /* roxo principal */
  --color-accent2: #3d1860;   /* roxo escuro */
  --color-green:   #629D6E;   /* verde — cor da logo */
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --topbar-h: 40px;
  --header-h: 144px;
  --total-h: calc(var(--topbar-h) + var(--header-h));
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
}

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--gray { background: var(--color-gray); }
.section--dark { background: var(--color-dark); color: var(--color-white); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--color-gray-3); font-size: 1.1rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn--primary {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
  border-radius: 50px;
}
.btn--primary:hover {
  background: var(--color-white);
  color: var(--color-dark);
}
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  border-radius: 50px;
}
.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}
.btn--outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
  border-radius: 50px;
}
.btn--outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}
/* Botão hero — igual ao original: pill branco com borda, texto branco */
.btn--hero {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(4px);
  transition: background 0.25s, border-color 0.25s;
}
.btn--hero:hover {
  background: rgba(255,255,255,0.95);
  color: var(--color-dark);
  border-color: transparent;
}
.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  border-radius: 50px;
}
.btn--accent:hover { opacity: 0.85; }

/* ========================================
   TOPBAR — social icons strip
   ======================================== */
.site-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--color-accent);
  z-index: 1001;
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.topbar-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-social { display: flex; gap: 2px; align-items: center; }
.topbar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s, background 0.2s;
}
.topbar-social-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

/* Área do Aluno button */
.btn-aluno {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--color-accent);
  color: var(--color-white) !important;
  border-radius: 6px;
  font-weight: 400;
  font-size: 0.83rem;
  font-family: var(--font-main);
  line-height: 1;
  border: 2px solid var(--color-accent);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}
.btn-aluno:hover {
  background: var(--color-accent2) !important;
  border-color: var(--color-accent2) !important;
  color: var(--color-white) !important;
}
.nav-item--aluno { margin-left: 8px; }
.mobile-aluno {
  background: var(--color-accent);
  color: var(--color-white) !important;
  border-radius: 6px;
  padding: 12px 16px !important;
  font-weight: 700;
  margin-top: 8px;
  text-align: center;
  border-bottom: none !important;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-2);
  height: var(--header-h);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo img {
  height: 128px;
  width: 128px;
}

/* Desktop Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav a {
  padding: 8px 10px;
  font-size: 0.88rem;
  font-weight: 400;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  color: #333;
}
.site-nav a:hover { color: var(--color-accent); background: rgba(89,36,129,0.06); }

.site-nav .nav-item a.active,
.site-nav a.active {
  font-weight: 700 !important;
  color: var(--color-white) !important;
  background: var(--color-accent) !important;
  border-radius: 6px;
  outline: none;
}
.site-nav a.active:hover {
  background: var(--color-accent2) !important;
  color: var(--color-white) !important;
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-gray-2);
  border-radius: 4px;
  min-width: 220px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  z-index: 100;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 0.9rem;
}
.dropdown a:hover { background: var(--color-gray); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--total-h);
  left: 0; right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-2);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-2);
  font-weight: 500;
}
.mobile-nav .mobile-sub { padding-left: 16px; font-size: 0.9rem; }

/* Main content offset for fixed header + topbar */
.site-content { padding-top: var(--total-h); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  height: calc(100vh - var(--total-h) - 110px);
  min-height: 320px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  overflow: hidden;
  text-align: center;
}

/* Gradiente escuro no topo — texto legível sobre o tecto */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.40) 45%,
    rgba(0,0,0,0.00) 75%);
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 170px 24px 0;
  text-align: center;
}
/* garante que o container dentro do hero ocupe 100% */
.hero > .container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: block;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.5);
}
.hero-content h1 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ========================================
   HOME PAGE
   ======================================== */
.home-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.home-intro h2 { margin-bottom: 16px; }
.home-intro p { font-size: 1.1rem; color: var(--color-gray-3); margin-bottom: 32px; }

/* ========================================
   PROGRAMS GRID
   ======================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.program-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.program-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.program-card__body { padding: 24px; }
.program-card__body h3 { margin-bottom: 12px; }
.program-card__body p { color: var(--color-gray-3); font-size: 0.95rem; line-height: 1.6; }
.program-card__price {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: var(--color-gray);
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-2);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.pricing-card.featured {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: var(--color-white);
}
.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 16px 0 4px;
}
.pricing-card .price span { font-size: 1rem; font-weight: 400; }
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card p { font-size: 0.9rem; opacity: 0.75; margin-bottom: 8px; }
.pricing-card ul { text-align: left; margin: 16px 0; }
.pricing-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
}
.pricing-card.featured ul li { border-color: rgba(255,255,255,0.15); }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-split.reverse { direction: rtl; }
.about-split.reverse > * { direction: ltr; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--color-gray-3); margin-bottom: 16px; }
.about-text ul { margin: 16px 0; }
.about-text ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--color-gray-3);
}
.about-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-dark);
  font-weight: 700;
}
.about-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.gallery-grid img:hover { opacity: 0.85; }

/* ========================================
   HOW TO JOIN
   ======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.step-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { color: var(--color-gray-3); font-size: 0.95rem; }

/* ========================================
   LOCATION
   ======================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.location-card {
  padding: 28px 24px;
  background: var(--color-white);
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.location-card h3 { margin-bottom: 10px; }
.location-card address {
  font-style: normal;
  color: var(--color-gray-3);
  line-height: 1.6;
}

/* ========================================
   UNIFORMS PAGE
   ======================================== */
.uniforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.uniform-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: center;
}
.uniform-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.uniform-card__body { padding: 24px; }
.uniform-card__body h3 { margin-bottom: 8px; }
.uniform-card .price-tag {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 12px 0;
}

/* ========================================
   DOCUMENTATION PAGE
   ======================================== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-2);
  border-radius: 8px;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.doc-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.doc-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.doc-card h3 { font-size: 1rem; margin-bottom: 4px; }
.doc-card p { font-size: 0.85rem; color: var(--color-gray-3); }

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: var(--color-gray-3); margin-bottom: 24px; }
.contact-socials { display: flex; gap: 16px; margin-top: 24px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-gray);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.social-link:hover { background: var(--color-gray-2); }
.social-link svg { width: 20px; height: 20px; }

/* CF7 / Generic Form Styles */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-gray-2);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-main);
  margin-bottom: 16px;
  transition: border-color 0.2s;
  background: var(--color-white);
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-dark);
}
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7 input[type="submit"],
.contact-form button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--color-dark);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.wpcf7 input[type="submit"]:hover,
.contact-form button[type="submit"]:hover { opacity: 0.85; }
.wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7 label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }

/* ========================================
   FOOTER NOVO — fundo roxo, ícones grandes
   ======================================== */
.site-footer-new {
  background: var(--color-accent);
  color: var(--color-white);
}
.footer-connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px;
  text-align: center;
  gap: 4px;
}
.footer-connect-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.footer-social-icons {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-social-link {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background 0.2s, transform 0.2s;
}
.footer-social-link:hover {
  background: rgba(255,255,255,0.32);
  transform: scale(1.1);
}
.footer-social-link svg { width: 34px; height: 34px; }
.footer-copy-wrap { text-align: center; }
.footer-copy {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-bottom: 2px;
}
.footer-dev {
  font-size: 0.72rem;
  opacity: 0.5;
}
.footer-dev a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.footer-dev a:hover { opacity: 1; }

/* ========================================
   PAGE BANNER (páginas internas)
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent2) 100%);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}
.page-banner h1 { margin-bottom: 8px; }
.page-banner p { opacity: 0.85; font-size: 1.1rem; }

/* ========================================
   SCHEDULE TABLE
   ======================================== */
.schedule-img-wrap { text-align: center; }
.schedule-img-wrap img {
  max-width: 800px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ========================================
   SOCIAL GAMES SECTION
   ======================================== */
.social-games-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.game-day-card {
  padding: 24px;
  background: var(--color-white);
  border-radius: 8px;
  border-top: 4px solid var(--color-accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.game-day-card h3 { margin-bottom: 8px; color: var(--color-dark); }
.game-day-card .day-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.game-day-card p { color: var(--color-gray-3); font-size: 0.9rem; }

/* ========================================
   TESTIMONIALS CAROUSEL
   ======================================== */
.testimonials-section {
  padding: 60px 0;
  background: var(--color-white);
  overflow: hidden;
}
.testimonials-track-wrap {
  position: relative;
  padding: 0 52px;
}
.testimonials-viewport {
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease;
  will-change: transform;
}
.testimonial-card {
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 16px;
  padding: 32px 24px;
  flex: 0 0 calc(33.333% - 14px);
  text-align: center;
  box-sizing: border-box;
}
.t-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.25);
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  background: #1a6b4a;
  color: white;
}
.t-name { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.t-stars { color: #FFD700; font-size: 1.1rem; margin-bottom: 14px; }
.t-text { font-size: 0.88rem; line-height: 1.65; opacity: 0.95; font-style: italic; }

/* Nav buttons */
.t-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
  z-index: 10;
  line-height: 1;
}
.t-btn:hover { background: var(--color-white); }
.t-btn--prev { left: 16px; }
.t-btn--next { right: 16px; }

/* ========================================
   PASSION MEETS PERFORMANCE
   ======================================== */
.passion-section { padding-top: 72px; padding-bottom: 0; }
.passion-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.passion-text {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 48px;
}
.passion-image {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.passion-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ========================================
   OUR INSTAGRAM
   ======================================== */
.instagram-section { padding-top: 72px; }
.instagram-heading {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 40px;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.insta-item {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.insta-item:hover img { transform: scale(1.05); }

/* Smash Balloon overrides para encaixar no layout */
.instagram-feed-wrap .sbi_header { display: none !important; }
.instagram-feed-wrap .sbi_bio_wrap { display: none !important; }
.instagram-feed-wrap #sbi_load { display: none !important; }
.instagram-feed-wrap .sbi_item { border-radius: 4px; overflow: hidden; }
.instagram-feed-wrap { max-width: 100%; }

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 24px 0;
}
.stats-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  text-align: center;
}
.stat-item {
  flex: 1 1 0;
  min-width: 0;
}
.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1.1;
}
.stat-item .stat-label {
  font-size: 0.82rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

/* ========================================
   HOME PROGRAMS PREVIEW
   ======================================== */
.home-programs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.home-prog-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}
.home-prog-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  border-top: 4px solid var(--color-accent);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.home-prog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.home-prog-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.home-prog-content {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home-prog-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.home-prog-card p { font-size: 0.88rem; color: var(--color-gray-3); line-height: 1.6; flex: 1; }
.home-prog-link {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 20px;
  background: var(--color-accent);
  color: var(--color-white) !important;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background .2s;
}
.home-prog-link:hover { background: #3d1860; }

/* ========================================
   SOCIAL GAMES HIGHLIGHT
   ======================================== */
.social-games-highlight {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent2) 100%);
  color: var(--color-white);
  border-radius: 16px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 24px;
}
.sgh-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.social-games-highlight h2 { font-size: clamp(1.4rem,3vw,2rem); margin-bottom: 16px; }
.sgh-details { display: flex; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; justify-content: center; }
.sgh-detail { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; opacity: 0.9; }
.sgh-detail svg { opacity: 0.8; flex-shrink: 0; }
.btn--sgh {
  background: var(--color-white);
  color: var(--color-accent);
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn--sgh:hover { background: transparent; border-color: #fff; color: #fff; }
.sgh-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.btn--sgh-wa { background: #25D366; color: #fff !important; }
.btn--sgh-wa:hover { background: transparent; border-color: #25D366; color: #25D366 !important; }

/* ========================================
   HOW TO JOIN — 4 STEPS
   ======================================== */
.join-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.join-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: var(--color-gray-2);
  z-index: 0;
}
.join-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.join-step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(89,36,129,0.3);
}
.join-step h3 { font-size: 1rem; margin-bottom: 8px; }
.join-step p { font-size: 0.85rem; color: var(--color-gray-3); line-height: 1.5; }

/* ========================================
   LOCATIONS QUICK VIEW
   ======================================== */
.locations-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.location-quick-card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.location-quick-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.loc-map-wrap { line-height: 0; }
.loc-map-wrap iframe { display: block; }
.loc-card-body { padding: 16px 18px; }
.loc-card-body h3 { font-size: 0.95rem; margin-bottom: 6px; }
.loc-card-body address { font-style: normal; font-size: 0.82rem; color: var(--color-gray-3); line-height: 1.5; margin-bottom: 10px; }
.loc-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
}
.loc-map-link:hover { text-decoration: underline; }

/* ========================================
   QUICK EOI FORM
   ======================================== */
.eoi-form-section {
  background: var(--color-gray);
}
.eoi-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.eoi-text h2 { margin-bottom: 16px; }
.eoi-text p { color: var(--color-gray-3); font-size: 1rem; line-height: 1.7; }
.eoi-form { background: var(--color-white); border-radius: 12px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.eoi-form h3 { margin-bottom: 20px; font-size: 1.15rem; }
.eoi-form input,
.eoi-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--color-gray-2);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  margin-bottom: 14px;
  background: var(--color-white);
  transition: border-color 0.2s;
}
.eoi-form input:focus,
.eoi-form select:focus { outline: none; border-color: var(--color-accent); }
.eoi-form .btn--submit {
  width: 100%;
  padding: 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.eoi-form .btn--submit:hover { opacity: 0.85; }
.eoi-feedback, .eoi-success, .eoi-error {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  scroll-margin-top: calc(var(--total-h) + 16px);
}
.eoi-success { background: #e6f4ea; color: #2e7d32; border: 1px solid #a8d5b0; }
.eoi-error   { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c6; }

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-gray-2);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 1.02rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--color-dark);
  font-family: var(--font-main);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.3s;
  color: var(--color-accent);
  font-weight: 700;
}
.faq-item.open .faq-icon { background: var(--color-accent); color: #fff; transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--color-gray-3);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-more-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity .2s;
}
.faq-more-link:hover { opacity: 0.75; }

/* ========================================
   PRÓXIMO INTAKE / COUNTDOWN
   ======================================== */
.intake-section {
  background: #629D6E;
  color: var(--color-white);
  text-align: center;
}
.intake-label {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(255,255,255,0.22);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--color-white);
}
.intake-section h2 { margin-bottom: 8px; }
.intake-date { font-size: 1.1rem; opacity: 0.75; margin-bottom: 32px; }
.countdown {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.cd-block { text-align: center; }
.cd-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  min-width: 80px;
  background: rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 12px 8px 8px;
}
.cd-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-top: 8px;
}
.intake-expired-msg {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.2;
}

#intakeEventBtn .home-prog-link,
#intakeEventBtn a {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white) !important;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, color .2s;
}
#intakeEventBtn .home-prog-link:hover,
#intakeEventBtn a:hover {
  background: rgba(255,255,255,0.15);
}

/* ========================================
   CTA SECTION BEFORE FOOTER
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent2) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 28px;
}
.cta-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  transition: background .2s, border-color .2s;
}
.cta-social-link:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.8); }
.btn--cta-white {
  display: inline-block;
  padding: 15px 36px;
  background: var(--color-white);
  color: var(--color-accent);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.btn--cta-white:hover { background: transparent; color: var(--color-white); border-color: #fff; }
.btn--cta-outline {
  display: inline-block;
  padding: 15px 36px;
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
}
.btn--cta-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(89,36,129,0.4);
  z-index: 9998;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--color-accent2); }

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-split.reverse { direction: ltr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .home-prog-card { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
  .join-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .join-steps::before { display: none; }
  .locations-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .eoi-wrap { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { flex-wrap: wrap; }
  .stats-grid .stat-item { flex: 1 1 40%; }
  .social-games-highlight { grid-template-columns: 1fr; margin: 0 16px; }

  /* Topbar: hide tagline, centre social icons */
  .topbar-tagline { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-social { justify-content: center; }

  /* Header: centre logo, hamburger pinned right */
  .header-inner { position: relative; justify-content: center; }
  .nav-toggle   { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { min-height: 420px; }
  .programs-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-track-wrap { padding: 0 44px; }
  .testimonial-card { flex: 0 0 calc(50% - 10px); }
@media (max-width: 600px) {
  .testimonials-track-wrap { padding: 0 36px; }
  .testimonial-card { flex: 0 0 calc(100% - 0px); }
}
  .footer-social-icons a { width: 56px; height: 56px; }
  .footer-social-icons svg { width: 28px; height: 28px; }
  .home-prog-card { flex: 0 0 100%; max-width: 100%; }
  .locations-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .join-steps { grid-template-columns: 1fr; }
  .stats-grid { flex-wrap: wrap; }
  .stats-grid .stat-item { flex: 1 1 40%; }
  .countdown { gap: 12px; }
  .cd-num { font-size: 2rem; min-width: 60px; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ========================================
   LOGIN MODAL
   ======================================== */
.lm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(2px);
}
.lm-overlay[hidden] { display: none; }

.lm-box {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  animation: lm-in 0.2s ease;
}
@keyframes lm-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.lm-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-gray-3);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.lm-close:hover { color: var(--color-dark); background: var(--color-gray); }

.lm-logo {
  text-align: center;
  margin-bottom: 20px;
}
.lm-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 12px rgba(89,36,129,0.15);
}

.lm-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}
.lm-subtitle {
  text-align: center;
  color: var(--color-gray-3);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.lm-field {
  margin-bottom: 16px;
}
.lm-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.lm-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-gray-2);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color 0.2s;
  background: var(--color-white);
}
.lm-field input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(89,36,129,0.1);
}

.lm-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-gray-3);
  cursor: pointer;
  margin-bottom: 20px;
}
.lm-remember input { width: auto; margin: 0; }

.lm-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #dc2626;
  font-size: 0.85rem;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.lm-error[hidden] { display: none; }

.lm-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.lm-submit:hover { background: var(--color-accent2); }
.lm-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ========================================
   MEU PAINEL — Dashboard
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--color-accent2) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  padding: 56px 0 40px;
  text-align: center;
}
.page-banner h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-banner p { font-size: 0.95rem; opacity: 0.85; }

.painel-card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  margin-bottom: 28px;
  overflow: hidden;
}
.painel-card__header {
  background: var(--color-gray);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--color-gray-2);
}
.painel-card__header h2 {
  font-size: 1.05rem;
  font-weight: 700;
  flex: 1;
}
.painel-card__body { padding: 24px; }

.painel-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
}
.painel-badge--ok   { background: #16a34a; }
.painel-badge--warn { background: #d97706; }

.painel-form-row {
  border: 1px solid var(--color-gray-2);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
.painel-form-row__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-gray);
}
.painel-form-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.92rem;
}
.painel-toggle-form {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  background: var(--color-accent);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.15s;
}
.painel-toggle-form:hover { background: var(--color-accent2); }

.painel-form-body { padding: 20px 16px; }
.painel-form-body[hidden] { display: none; }

.painel-form-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.painel-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.painel-field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
}
.painel-field input,
.painel-field textarea {
  padding: 9px 12px;
  border: 1px solid var(--color-gray-2);
  border-radius: 5px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: border-color 0.2s;
}
.painel-field input:focus,
.painel-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(89,36,129,0.1);
}
.painel-field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  background: #faf7fd;
  border-radius: 6px;
  cursor: pointer;
  grid-column: 1 / -1;
}
.painel-field--check input { width: auto; margin-top: 2px; flex-shrink: 0; }
.painel-field--check span { font-size: 0.88rem; font-weight: 400; line-height: 1.5; }

.painel-alert {
  padding: 12px 18px;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.painel-alert--ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.painel-info-box {
  background: #f5f0fa;
  border-left: 4px solid var(--color-accent);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  color: #444;
  margin-top: 4px;
  line-height: 1.6;
}

/* btn-aluno logout state — inherits .btn-aluno base, just adds gap */
.btn-aluno--logout {
  gap: 6px;
}

/* btn-aluno logged-in state (legacy, kept for reference) */
.btn-aluno--logado {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  color: var(--color-white);
  font-size: 0.83rem;
  font-weight: 600;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-aluno--logado:hover { background: rgba(255,255,255,0.28); }
.btn-aluno-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .lm-box { padding: 32px 20px 28px; }
  .painel-form-fields { grid-template-columns: 1fr; }
  .painel-form-row__top { flex-wrap: wrap; gap: 8px; }
}

/* =========================================
   EOI FORM PAGES
   ========================================= */
.eoi-page-wrap { max-width: 780px; margin: 0 auto; }
.eoi-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.eoi-success {
  background: #d4edda;
  border: 1px solid #b8dac2;
  color: #1a4731;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-weight: 500;
}
.eoi-field { margin-bottom: 22px; }
.eoi-field > label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--color-dark); margin-bottom: 8px; }
.eoi-field .required { color: var(--color-accent); }
.eoi-field input[type="text"],
.eoi-field input[type="email"],
.eoi-field input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  background: #fafafa;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.eoi-field input[type="text"]:focus,
.eoi-field input[type="email"]:focus,
.eoi-field input[type="tel"]:focus,
.eoi-field textarea:focus { outline: none; border-color: var(--color-accent); background: #fff; }
.eoi-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  resize: vertical;
  min-height: 100px;
  background: #fafafa;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.eoi-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.eoi-radio-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.eoi-radio-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 7px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}
.eoi-radio-label input { accent-color: var(--color-accent); }
.eoi-radio-label:has(input:checked) { border-color: var(--color-accent); background: #f5f0fa; }
.eoi-divider { border: none; border-top: 1px solid #eee; margin: 28px 0; }
.eoi-conditional { display: none; margin-top: 20px; }
.eoi-conditional.visible { display: block; }
.eoi-submit {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.2s;
  width: 100%;
  margin-top: 12px;
}
.eoi-submit:hover { background: var(--color-accent2); }
@media (max-width: 640px) {
  .eoi-card { padding: 24px 20px; }
  .eoi-field-row { grid-template-columns: 1fr; }
}

/* ---- Event Registration Modal ---- */
.ev-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; }
.ev-modal[hidden] { display:none; }
.ev-modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.55); }
.ev-modal-box { position:relative; background:#fff; border-radius:14px; padding:36px 40px; width:100%; max-width:460px; box-shadow:0 8px 40px rgba(0,0,0,.2); z-index:1; }
.ev-modal-close { position:absolute; top:14px; right:16px; background:none; border:none; font-size:1.6rem; line-height:1; cursor:pointer; color:#888; }
.ev-modal-close:hover { color:#333; }
.ev-modal-box h3 { margin:0 0 22px; font-size:1.2rem; color:var(--color-accent); }
.ev-field { margin-bottom:16px; }
.ev-field label { display:block; font-weight:600; font-size:.875rem; margin-bottom:6px; }
.ev-field input { width:100%; padding:10px 14px; border:1px solid #d0c8e0; border-radius:8px; font-size:.95rem; font-family:var(--font-main); box-sizing:border-box; }
.ev-field input:focus { outline:2px solid var(--color-accent); border-color:transparent; }
.ev-submit { width:100%; background:var(--color-accent); color:#fff; border:none; padding:13px; border-radius:8px; font-size:1rem; font-weight:600; cursor:pointer; font-family:var(--font-main); margin-top:8px; transition:background .2s; }
.ev-submit:hover { background:var(--color-accent2); }
.ev-submit:disabled { opacity:.6; cursor:default; }
.ev-modal-success { background:#d4edda; border:1px solid #b8dac2; color:#1a4731; border-radius:8px; padding:16px; margin-bottom:8px; font-weight:500; }
.ev-modal-error { background:#fdecea; border:1px solid #f5c6c6; color:#c0392b; border-radius:8px; padding:12px; margin-bottom:12px; font-size:.9rem; }
@media (max-width:500px) { .ev-modal-box { padding:28px 20px; margin:0 12px; } }

/* ── Anchor nav: prevent sticky header from covering target sections ── */
#eoi-form,
#our-locations,
#ready-to-play {
  scroll-margin-top: calc(var(--total-h) + 16px);
}

/* ── Under Construction Modal ── */
.uc-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.uc-modal[hidden] { display: none; }
.uc-backdrop { position: absolute; inset: 0; background: rgba(20,0,40,0.65); backdrop-filter: blur(4px); }
.uc-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px 40px;
  max-width: 460px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: 0 24px 80px rgba(89,36,129,0.28);
  animation: uc-pop .4s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes uc-pop {
  from { opacity: 0; transform: scale(.82) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.uc-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.6rem; line-height: 1;
  color: #aaa; cursor: pointer;
  padding: 4px 8px; border-radius: 6px;
  transition: color .15s, background .15s;
}
.uc-close:hover { color: var(--color-dark); background: rgba(0,0,0,0.06); }
.uc-icon { margin-bottom: 20px; display: flex; justify-content: center; }
.uc-icon img { border-radius: 50%; }
.uc-modal-title { font-size: 1.5rem; font-weight: 700; color: var(--color-dark); margin: 0 0 12px; }
.uc-modal-body { color: #555; font-size: .95rem; line-height: 1.72; margin: 0; }
@media (max-width: 500px) { .uc-box { padding: 36px 24px 32px; } }

/* ── Hide nav items without dedicated pages ── */
.site-nav .nav-item:nth-child(2) { display: none; }
.mobile-nav a[href*="/about"] { display: none; }

/* ========================================
   EOI DYNAMIC FORM
   ======================================== */
.eoi-field { margin-bottom: 16px; }
.eoi-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.eoi-field input[type="text"],
.eoi-field input[type="email"],
.eoi-field input[type="tel"],
.eoi-field input[type="date"],
.eoi-field input[type="number"],
.eoi-field select,
.eoi-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d0c8e0;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: var(--font-main);
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color .2s;
}
.eoi-field input:focus,
.eoi-field select:focus,
.eoi-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}
.eoi-field textarea { resize: vertical; min-height: 80px; }
.eoi-required { color: #c0392b; margin-left: 2px; }
.eoi-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.eoi-radio-group { display: flex; gap: 20px; padding: 8px 0; }
.eoi-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 400;
  color: #444;
  cursor: pointer;
}
.eoi-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
}
.eoi-club-fields {
  background: #f8f5fd;
  border-radius: 8px;
  padding: 16px;
  margin-top: -8px;
  margin-bottom: 16px;
}
.eoi-group { margin-top: 8px; }
.eoi-social-msg {
  color: var(--color-gray-3);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.eoi-wa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
/* Odd last child spans both columns (handles 1, 3 or 5 buttons) */
.eoi-wa-grid .eoi-wa-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.eoi-wa-grid[hidden] { display: none !important; }
.eoi-wa-btn {
  background: #25D366 !important;
  border-color: #25D366 !important;
  width: 100% !important;
  text-align: center;
  display: block;
}
.eoi-wa-btn:hover { background: #1da851 !important; border-color: #1da851 !important; }

@media (max-width: 600px) {
  .eoi-field-row { grid-template-columns: 1fr; }
}

/* EOI modal — wider and scrollable for long forms */
.eoi-modal-box {
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 36px;
}
@media (max-width: 660px) {
  .eoi-modal-box { max-height: 95vh; padding: 24px 16px; margin: 0 8px; }
}
