@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800;900&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --black: #070707;
  --dark: #0d0d0d;
  --surface: #141414;
  --surface-2: #1e1e1e;
  --border: rgba(255,255,255,0.07);
  --red: #E31E24;
  --red-dark: #991016;
  --red-light: #ff3d44;
  --red-alpha: rgba(227,30,36,0.12);
  --red-glow: rgba(227,30,36,0.4);
  --white: #ffffff;
  --w70: rgba(255,255,255,0.7);
  --w40: rgba(255,255,255,0.4);
  --w10: rgba(255,255,255,0.07);
  --ff-display: 'Bebas Neue', cursive;
  --ff-heading: 'Oswald', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --ease: 0.3s cubic-bezier(0.4,0,0.2,1);
  --ease-spring: 0.5s cubic-bezier(0.34,1.56,0.64,1);
  --glow: 0 0 30px rgba(227,30,36,0.5), 0 0 60px rgba(227,30,36,0.2);
  --shadow: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.7), 0 0 30px rgba(227,30,36,0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }
body { background: var(--black); color: var(--white); font-family: var(--ff-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; width: 100%; max-width: 100vw; }

/* GLOBAL PARTICLES CANVAS */
#global-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ensure page sections render above the global particles canvas (z-index: 0) */
#hero, #stats, #sobre, #estrutura, #equipe, #modalidades, #eventos, #servicos,
#planos, #cta-banner, #contato, footer {
  position: relative;
  z-index: 1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* INTRO SPLASH */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #070707;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introFade 1.3s ease forwards;
  pointer-events: none;
}
#intro svg {
  width: clamp(80px, 14vw, 140px);
  animation: introBolt 1.3s ease forwards;
}
@keyframes introFade {
  0%   { opacity: 1; }
  72%  { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes introBolt {
  0%   { opacity: 0; transform: scale(0.5) translateY(10px); filter: drop-shadow(0 0 0px #E31E24); }
  18%  { opacity: 1; transform: scale(1.15) translateY(0);   filter: drop-shadow(0 0 30px #E31E24); }
  36%  { opacity: 1; transform: scale(1);                    filter: drop-shadow(0 0 60px #E31E24); }
  52%  { opacity: 1; transform: scale(1.08);                 filter: drop-shadow(0 0 100px #ff3d44) brightness(1.8); }
  68%  { opacity: 1; transform: scale(1);                    filter: drop-shadow(0 0 30px #E31E24); }
  100% { opacity: 0; transform: scale(1.3);                  filter: drop-shadow(0 0 0px #E31E24); }
}

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(40px);} to { opacity:1; transform:translateY(0);} }
@keyframes fadeIn { from { opacity:0;} to { opacity:1;} }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 15px rgba(227,30,36,0.4);} 50% { box-shadow: 0 0 40px rgba(227,30,36,0.8), 0 0 80px rgba(227,30,36,0.3);} }
@keyframes scrollLine { 0% { transform:translateY(0); opacity:1;} 100% { transform:translateY(12px); opacity:0;} }
@keyframes gradBorder { 0%,100% { background-position:0% 50%;} 50% { background-position:100% 50%;} }
@keyframes spark { 0% { transform:translateY(0) scale(1); opacity:0.8;} 100% { transform:translateY(-100px) scale(0); opacity:0;} }
@keyframes bgShift { 0%,100% { background-position: 0% 50%;} 50% { background-position: 100% 50%;} }

/* UTILITIES */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px,5vw,80px); }
.section { padding: clamp(60px,8vw,120px) 0; }
.text-red { color: var(--red); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-heading); font-size: 12px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-label::before { content:''; width:30px; height:2px; background:var(--red); display:block; }

.section-title {
  font-family: var(--ff-heading); font-size: clamp(32px,4.5vw,64px);
  font-weight: 700; text-transform: uppercase; line-height: 1.1;
}

.section-body { color: var(--w70); font-size: 17px; line-height: 1.8; max-width: 560px; }

/* PARALLAX UTILITY */
.parallax {
  transform: translateY(var(--py, 0));
  will-change: transform;
}

/* REVEAL */
.reveal { opacity:0; transform:translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-l { opacity:0; transform:translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-l.visible { opacity:1; transform:translateX(0); }
.reveal-r { opacity:0; transform:translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-r.visible { opacity:1; transform:translateX(0); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-heading); font-weight: 600; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase; padding: 14px 32px;
  border-radius: 4px; border: 2px solid transparent; cursor: pointer;
  position: relative; overflow: hidden; transition: all var(--ease);
}
.btn::after { content:''; position:absolute; inset:0; background:rgba(255,255,255,0.1); transform:translateX(-100%); transition: transform var(--ease); }
.btn:hover::after { transform:translateX(100%); }
.btn-primary { background:var(--red); color:var(--white); border-color:var(--red); }
.btn-primary:hover { background:var(--red-light); border-color:var(--red-light); box-shadow:0 4px 25px rgba(227,30,36,0.5); transform:translateY(-2px); }
.btn-outline { background:transparent; color:var(--white); border-color:rgba(255,255,255,0.35); }
.btn-outline:hover { border-color:var(--white); background:rgba(255,255,255,0.07); transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--red); border-color:var(--red); }
.btn-ghost:hover { background:var(--red); color:var(--white); box-shadow:0 4px 25px rgba(227,30,36,0.5); }
.btn-lg { padding: 18px 44px; font-size: 15px; }
.btn-full { width:100%; }

/* NAVBAR */
#navbar {
  position: fixed; top:0; left:0; right:0; z-index: 100;
  padding: 24px 0; transition: all var(--ease);
}
#navbar.scrolled {
  padding: 14px 0; background: rgba(7,7,7,0.92);
  backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap: 20px; }
.nav-logo { display:flex; align-items:center; flex-shrink: 0; }
.nav-logo-img { height: 38px; width: auto; filter: drop-shadow(0 0 6px rgba(227,30,36,0.5)); transition: filter var(--ease); }
.nav-logo:hover .nav-logo-img { filter: drop-shadow(0 0 14px rgba(227,30,36,0.85)); }
.nav-links { display:flex; align-items:center; gap: clamp(18px, 1.6vw, 28px); flex-wrap: nowrap; }
.nav-links a {
  font-family:var(--ff-heading); font-size: 12px; font-weight:500;
  letter-spacing: 1.5px; text-transform:uppercase; color:var(--w70);
  position:relative; transition:color var(--ease); white-space: nowrap;
}
.nav-links a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px; background:var(--red); transition:width var(--ease); }
.nav-links a:hover { color:var(--white); }
.nav-links a:hover::after { width:100%; }
#nav-auth-item a { white-space: nowrap; }
.nav-cta { padding: 10px 20px; font-size: 12px; letter-spacing: 1.5px; white-space: nowrap; flex-shrink: 0; }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; }
.hamburger span { display:block; width:24px; height:2px; background:var(--white); transition:all var(--ease); }
.hamburger.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position:fixed; top:0; right:-100%; width:80%; max-width:380px; height:100vh;
  background:var(--dark); z-index:99; padding:100px 40px 40px;
  display:flex; flex-direction:column; gap:28px; transition:right 0.5s ease;
  border-left:1px solid var(--border);
}
.mobile-menu.open { right:0; }
.mobile-menu a { font-family:var(--ff-display); font-size:28px; color:var(--w70); transition:color var(--ease); }
.mobile-menu a:hover { color:var(--red); }
.mobile-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.7); opacity:0; pointer-events:none; z-index:98; transition:opacity var(--ease); }
.mobile-overlay.open { opacity:1; pointer-events:all; }

/* HERO */
#hero {
  position:relative; min-height:100vh; display:flex; align-items:center;
  justify-content:flex-start; overflow:hidden;
}
#hero-canvas { position:absolute; inset:0; z-index:0; }
.hero-glow {
  position:absolute; inset:0; z-index:0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(227,30,36,0.15) 0%, transparent 70%),
              radial-gradient(ellipse 30% 40% at 15% 60%, rgba(227,30,36,0.07) 0%, transparent 60%);
}
.hero-grid {
  position:absolute; inset:0; z-index:0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: left;
  max-width: 45%;
  padding: 120px 20px 80px 6vw;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(227,30,36,0.1); border:1px solid rgba(227,30,36,0.3); color:var(--red);
  font-family:var(--ff-heading); font-size:12px; font-weight:500; letter-spacing:4px;
  text-transform:uppercase; padding:7px 20px; border-radius:50px; margin-bottom:24px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge-dot { width:6px; height:6px; background:var(--red); border-radius:50%; animation:glowPulse 2s infinite; }
.hero-eyebrow {
  font-family:var(--ff-heading); font-size:clamp(14px,2vw,22px);
  font-weight:400; letter-spacing:10px; text-transform:uppercase; color:var(--red);
  margin-bottom:4px; animation:fadeUp 0.8s 0.1s ease both;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(76px, 13.6vw, 178px); /* -15% from original clamp(90,16vw,210) */
  line-height: 0.88; color: var(--white); letter-spacing: 6px;
  text-shadow: 0 0 100px rgba(227,30,36,0.15);
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-tagline {
  font-size: clamp(14px, 1.62vw, 18px); /* -10% from original clamp(16,1.8vw,20) */
  color: var(--w70); font-weight: 300;
  margin-top: 20px; line-height: 1.6;
  animation: fadeUp 0.8s 0.35s ease both;
}
.hero-tagline strong { color:var(--white); font-weight:700; }
.hero-cta {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 16px; margin-top: 40px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}
.hero-cta .btn-lg {
  /* -15% from .btn-lg base padding (18px 44px) */
  padding: 15px 37px;
  font-size: 14px;
}
.hero-scroll {
  position:absolute; bottom:32px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  color:var(--w40); font-size:10px; letter-spacing:3px; text-transform:uppercase;
  font-family:var(--ff-heading); animation:fadeIn 1s 1.2s ease both;
}
.scroll-bar { width:1px; height:48px; background:linear-gradient(to bottom, var(--red), transparent); animation:scrollLine 2s ease infinite; }

/* MARQUEE */
.marquee-section {
  background: var(--surface-2);
  padding: 24px 0;
  overflow: hidden;
  display: flex;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-inner {
  display: flex;
  white-space: nowrap;
}
.marquee-inner:hover .marquee-content {
  animation-play-state: paused;
}
.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 40px;
  padding-right: 40px;
  animation: scrollMarquee 30s linear infinite;
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.marquee-content span {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--white);
  letter-spacing: 4px;
}
.marquee-content svg {
  width: 24px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(227,30,36,0.6));
}

/* STATS */
#stats { background:var(--surface); border-bottom:1px solid var(--border); padding:48px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stat-item { padding:28px 32px; text-align:center; border-right:1px solid var(--border); }
.stat-item:last-child { border-right:none; }
.stat-top { display:flex; align-items:baseline; justify-content:center; gap:2px; }
.stat-num { font-family:var(--ff-display); font-size:clamp(44px,5vw,72px); color:var(--red); line-height:1; }
.stat-suf { font-family:var(--ff-display); font-size:clamp(24px,3vw,42px); color:var(--red); }
.stat-label { font-family:var(--ff-heading); font-size:12px; letter-spacing:2px; text-transform:uppercase; color:var(--w40); margin-top:8px; }

/* ABOUT */
#sobre { background: var(--dark); }

.about-text-block { display: flex; flex-direction: column; gap: 64px; }

.about-headline {
  font-family: var(--ff-heading);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-top: 16px;
}

.about-text-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-col-body { display: flex; flex-direction: column; }
.about-col-body .section-body { max-width: 100%; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-pillar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.about-pillar:first-child { border-top: 1px solid var(--border); }
.pillar-bar {
  width: 3px;
  height: 44px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-pillar strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
}
.about-pillar p {
  font-size: 14px;
  color: var(--w70);
  line-height: 1.6;
}

/* ESTRUTURA — FEATURE GRID */
#estrutura { background: var(--black); }
.structure-header { text-align: center; margin-bottom: 64px; }
.structure-header .section-body { margin: 16px auto 0; text-align: center; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--ease);
}
.feat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.feat-card:hover {
  border-color: rgba(227,30,36,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.feat-card:hover::after { transform: scaleX(1); }
.feat-num {
  font-family: var(--ff-display);
  font-size: 48px;
  color: rgba(227,30,36,0.18);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.feat-title {
  font-family: var(--ff-heading);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 12px;
}
.feat-body {
  font-size: 14px;
  color: var(--w70);
  line-height: 1.75;
}

/* MODALIDADES */
#modalidades { background:var(--dark); }
.modal-header { text-align:center; margin-bottom:64px; }
.modal-header .section-body { margin:16px auto 0; text-align:center; }
.modal-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.modal-grid.row2 { grid-template-columns:repeat(2,1fr); max-width:720px; margin:20px auto 0; }
.modal-card {
  background:var(--surface); border:1px solid var(--border); border-radius:14px;
  padding:36px 28px; position:relative; overflow:hidden; transition:all var(--ease); cursor:default;
}
.modal-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--red); transform:scaleX(0); transition:transform var(--ease); }
.modal-card:hover { border-color:rgba(227,30,36,0.25); transform:translateY(-8px); box-shadow:var(--shadow-hover); }
.modal-card:hover::before { transform:scaleX(1); }
.modal-title { font-family:var(--ff-heading); font-size:20px; font-weight:600; text-transform:uppercase; letter-spacing:1px; margin-bottom:10px; }
.modal-desc { color:var(--w70); font-size:14px; line-height:1.7; }
.modal-tag { display:inline-block; margin-top:18px; font-family:var(--ff-heading); font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--red); opacity:0.8; }

/* PLANS */
#planos { background:var(--dark); }
.plans-header { text-align:center; margin-bottom:64px; }
.plans-header .section-body { margin:16px auto 0; text-align:center; }
.plans-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; max-width:1000px; margin:0 auto; }
.plans-grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:720px; margin:0 auto; }
.plan-card { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:36px 28px; position:relative; transition:all var(--ease); }
.plan-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.plan-featured { z-index:1; transform:scale(1.04); }
.plan-featured::before {
  content:''; position:absolute; inset:-1px; border-radius:21px; z-index:-1;
  background:linear-gradient(135deg, var(--red), var(--red-dark), var(--red-light), var(--red));
  background-size:300% 300%; animation:gradBorder 3s ease infinite;
}
.plan-featured:hover { transform:scale(1.04) translateY(-4px); }
.plan-badge { display:inline-block; background:var(--red); color:var(--white); font-family:var(--ff-heading); font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; padding:4px 14px; border-radius:50px; margin-bottom:20px; }
.plan-name { font-family:var(--ff-heading); font-size:18px; font-weight:600; text-transform:uppercase; letter-spacing:1px; color:var(--w70); margin-bottom:4px; }
.plan-sub { font-size:12px; color:var(--w40); font-family:var(--ff-heading); letter-spacing:2px; text-transform:uppercase; margin-bottom:20px; }
.plan-price { display:flex; align-items:baseline; gap:4px; margin-bottom:6px; }
.plan-currency { font-size:18px; color:var(--w70); font-weight:300; }
.plan-value { font-family:var(--ff-display); font-size:68px; color:var(--white); line-height:1; }
.plan-featured .plan-value { color:#fff; }
.plan-cents { font-size:32px; vertical-align:super; }
.plan-period { font-size:12px; color:var(--w40); margin-bottom:28px; }
.plan-divider { height:1px; background:var(--border); margin-bottom:20px; }
.plan-features { display:flex; flex-direction:column; gap:10px; margin-bottom:28px; }
.plan-feat { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--w70); }
.plan-feat-dot { width:6px; height:6px; background:var(--red); border-radius:50%; flex-shrink:0; }
.plan-consult { font-family:var(--ff-display); font-size:36px; color:var(--w70); margin-bottom:8px; }

/* CTA BANNER */
#cta-banner { position:relative; overflow:hidden; padding: clamp(80px,10vw,140px) 0; }
.cta-bg {
  position:absolute; top:-30%; bottom:-30%; left:0; right:0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(227,30,36,0.22) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 80% 0%, rgba(227,30,36,0.08) 0%, transparent 60%);
}
.cta-inner { position:relative; z-index:1; text-align:center; }
.cta-title { font-family:var(--ff-display); font-size:clamp(40px,7vw,100px); line-height:0.95; margin-bottom:20px; }
.cta-title span { color:var(--red); }
.cta-sub { font-size:18px; color:var(--w70); max-width:480px; margin:0 auto 40px; }
.cta-btns { display:flex; align-items:center; justify-content:center; gap:16px; flex-wrap:wrap; }

/* CONTACT */
#contato { background:var(--dark); }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.contact-info { display:flex; flex-direction:column; gap:28px; }
.contact-info-item { display:flex; align-items:flex-start; gap:18px; }
.contact-icon { width:46px; height:46px; background:var(--red-alpha); border:1px solid rgba(227,30,36,0.25); border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-icon svg { width:20px; height:20px; color:var(--red); }
.contact-label { font-family:var(--ff-heading); font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--w40); margin-bottom:4px; }
.contact-value { font-size:15px; color:var(--w70); line-height:1.5; }
.wpp-buttons { display:flex; flex-direction:column; gap:12px; margin-top:8px; }
.wpp-btn {
  display:flex; align-items:center; gap:12px; padding:14px 20px;
  background:var(--surface); border:1px solid var(--border); border-radius:10px;
  font-family:var(--ff-heading); font-size:13px; font-weight:500; letter-spacing:1px;
  text-transform:uppercase; color:var(--white); transition:all var(--ease);
}
.wpp-btn:hover { border-color:rgba(34,197,94,0.4); background:rgba(34,197,94,0.06); color:#22c55e; transform:translateX(4px); }
.wpp-btn svg { width:20px; height:20px; flex-shrink:0; }
.map-wrap { border-radius:14px; overflow:hidden; border:1px solid var(--border); height:100%; min-height:400px; }
.map-wrap iframe { width:100%; height:100%; min-height:400px; border:0; filter:grayscale(100%) invert(92%) contrast(90%); }

/* FOOTER */
footer { background:var(--black); border-top:1px solid var(--border); padding:60px 0 30px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:60px; margin-bottom:48px; }
.footer-brand .nav-logo { margin-bottom:16px; }
.footer-tagline { font-size:14px; color:var(--w40); line-height:1.6; max-width:280px; }
.footer-social { display:flex; gap:12px; margin-top:20px; }
.social-link { width:36px; height:36px; background:var(--surface); border:1px solid var(--border); border-radius:8px; display:flex; align-items:center; justify-content:center; transition:all var(--ease); }
.social-link:hover { border-color:var(--red); background:var(--red-alpha); }
.social-link svg { width:16px; height:16px; color:var(--w70); }
.footer-col-title { font-family:var(--ff-heading); font-size:13px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--white); margin-bottom:20px; }
.footer-links { display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:14px; color:var(--w40); transition:color var(--ease); }
.footer-links a:hover { color:var(--red); }
.footer-bottom { border-top:1px solid var(--border); padding-top:24px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-copy { font-size:13px; color:var(--w40); }
.footer-copy span { color:var(--red); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .about-text-bottom { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns:1fr; gap:48px; }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1100px) {
  /* Nav has too many items to fit comfortably under 1100px — switch to mobile menu */
  .nav-links, .nav-cta { display:none; }
  .hamburger { display:flex; }
}
@media (max-width: 1024px) and (min-width: 769px) {
  /* Tablet — hero text up to 55% width, still left-aligned */
  .hero-content { max-width: 55%; padding-left: 5vw; }
}
@media (max-width: 768px) {
  .feat-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stat-item { padding: 20px 16px; }
  .stat-item:nth-child(2) { border-right:none; }
  .stat-item:nth-child(3) { border-right:1px solid var(--border); }
  .modal-grid { grid-template-columns:1fr; }
  .modal-grid.row2 { grid-template-columns:1fr; }
  .plan-featured { transform:none; }
  .plan-featured:hover { transform:translateY(-4px); }
  .footer-grid { grid-template-columns:1fr; gap:36px; }
  /* Mobile — hero text recentered, full width, original mobile font sizes */
  #hero { justify-content: center; }
  .hero-content {
    text-align: center;
    max-width: 100%;
    padding: 80px 20px 60px;
  }
  .hero-cta { justify-content: center; }
  .hero-title { font-size: clamp(90px, 16vw, 210px); }
  .hero-tagline { font-size: clamp(16px, 1.8vw, 20px); }
  .hero-cta .btn-lg { padding: 18px 44px; font-size: 15px; }
  /* Mobile overlay: full darkening since text is centered, no lateral split */
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7,7,7,0.55) 0%, rgba(7,7,7,0.35) 35%, rgba(7,7,7,0.85) 100%),
      radial-gradient(ellipse 70% 50% at 50% 0%, rgba(7,7,7,0.4) 0%, transparent 60%);
  }
  .map-wrap { min-height: 260px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns:1fr 1fr; }
  .hero-cta { flex-direction:column; align-items:stretch; }
  .cta-btns { flex-direction:column; align-items:stretch; }
  .plans-grid,
  .plans-grid-2 { grid-template-columns:1fr; max-width:400px; margin:0 auto; }
  .btn-lg { padding: 14px 28px; font-size: 14px; }
  .wpp-buttons { flex-direction: column; }
}

/* ====== FAQ ====== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(227,30,36,0.35); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--w90);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; text-align: left;
  font-family: var(--ff-body); font-size: 15px; font-weight: 600; line-height: 1.4;
  transition: color 0.2s;
}
.faq-q:hover { color: #fff; }
.faq-item.open .faq-q { color: var(--red); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s; color: var(--w40); }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--red); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-a p { color: var(--w60); font-size: 14px; line-height: 1.7; padding-bottom: 20px; }
.faq-a strong { color: var(--w90); }
.faq-item.open .faq-a { max-height: 600px; padding: 0 24px; }

/* ============================================================
   PHOTOS — V3.0 (fotos reais Samera)
   ============================================================ */

/* HERO — foto background com darkening overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg img,
.hero-bg source {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Lateral gradient: dark on left where text sits, transparent on right
     to keep the IMPACTO neon sign on the facade clean.
     Subtle bottom gradient for footer fade. */
  background:
    linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.1) 60%, transparent 80%),
    linear-gradient(180deg, transparent 70%, rgba(7,7,7,0.7) 100%);
}
/* Make the hero canvas particles a touch more subtle over the photo */
#hero-canvas { opacity: 0.65; }
/* Hero title legibility on top of photo */
.hero-title { text-shadow: 0 4px 40px rgba(0,0,0,0.6), 0 0 100px rgba(227,30,36,0.2); }

/* SOBRE — 2-col com foto */
.about-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 2 / 3;
  max-height: 640px;
  margin: 0 auto;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1.2s ease;
}
.about-photo:hover img { transform: scale(1.03); }
.about-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(227,30,36,0.15));
  pointer-events: none;
}

/* ESTRUTURA — foto destaque */
.structure-hero {
  position: relative;
  margin: 48px auto 64px;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
}
.structure-hero img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 1.4s ease;
}
.structure-hero:hover img { transform: scale(1.04); }

/* EQUIPE — carrossel */
#equipe { background: var(--black); }
.equipe-carrossel {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 78px; /* room for the prev/next buttons, pushed further out */
  outline: none;
}
.equipe-carrossel:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 12px;
}
.carrossel-viewport {
  overflow: hidden;
  /* Fade the side "peeks" of the neighbouring cards into the black background. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.carrossel-track {
  display: flex;
  gap: 28px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--ease), border-color var(--ease), opacity var(--ease);
}
.carrossel-btn svg { width: 22px; height: 22px; }
.carrossel-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.85);
  border-color: var(--red);
}
.carrossel-btn:disabled,
.carrossel-btn[aria-disabled="true"] {
  opacity: 0.3;
  cursor: not-allowed;
}
.carrossel-prev { left: 0; }
.carrossel-next { right: 0; }
@media (max-width: 1024px) {
  .equipe-carrossel { padding: 0 52px; }
  .carrossel-btn { width: 40px; height: 40px; }
  .carrossel-btn svg { width: 18px; height: 18px; }
}
@media (max-width: 480px) {
  .equipe-carrossel { padding: 0 44px; }
  .carrossel-track { gap: 16px; }
}

.team-card {
  flex: 0 0 calc((100% - 28px - 148px) / 2); /* 2 cards + larger side peeks of the neighbours */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--ease);
  position: relative;
}
@media (max-width: 1023px) {
  .team-card { flex-basis: calc(100% - 104px); } /* 1 card + larger side peeks on mobile */
}
.team-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.team-card:hover {
  border-color: rgba(227,30,36,0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.team-card:hover::after { transform: scaleX(1); }
.team-card picture {
  display: block;
  aspect-ratio: 9 / 16; /* Instagram story format — academy's pre-designed instructor cards */
  overflow: hidden;
  background: var(--surface-2);
}
.team-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 1s ease;
}
.team-card:hover img { transform: scale(1.04); }
/* figcaption / team-name / team-role kept as legacy hooks but unused now —
   the instructor card images carry name + CREF baked in. */
.team-note {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--w40);
  font-style: italic;
}

/* MODALIDADES — cards com foto */
.modal-card-photo {
  padding: 0;
  overflow: hidden;
}
.modal-card-photo .modal-card-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.modal-card-photo .modal-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,20,20,0.6));
  pointer-events: none;
}
.modal-card-photo .modal-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 1s ease;
}
.modal-card-photo:hover .modal-card-img img { transform: scale(1.06); }
.modal-card-photo .modal-card-body { padding: 28px 28px 32px; }

/* CTA BANNER — foto background */
.cta-photo {
  position: absolute;
  top: -10%; bottom: -10%; left: 0; right: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.7;
  filter: grayscale(40%) contrast(1.05);
}
#cta-banner {
  background: var(--black);
}
/* CTA bg gradient — keeps text legible over the photo */
#cta-banner .cta-bg {
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(227,30,36,0.28) 0%, transparent 65%),
    linear-gradient(180deg, rgba(7,7,7,0.45) 0%, rgba(7,7,7,0.55) 50%, rgba(7,7,7,0.85) 100%);
}
.cta-inner { position:relative; z-index: 2; }

/* CONTATO — foto fachada-diurna acima */
.contact-photo {
  margin: 0 auto 56px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  max-width: 1100px;
}
.contact-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s ease;
}
.contact-photo:hover img { transform: scale(1.03); }

/* RESPONSIVE — fotos v3.0 */
@media (max-width: 1024px) {
  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-photo { aspect-ratio: 16 / 9; max-height: 480px; }
  .team-grid { gap: 20px; }
  .structure-hero { aspect-ratio: 16 / 10; }
}
@media (max-width: 768px) {
  /* keep 9/16 on mobile too — pictures stay consistent across breakpoints */
  .structure-hero {
    margin: 32px 0 48px;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
  .structure-hero figcaption {
    left: 16px;
    bottom: 14px;
    font-size: 11px;
    letter-spacing: 2px;
  }
  .about-photo { aspect-ratio: 4 / 3; }
  .contact-photo {
    aspect-ratio: 16 / 9;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  /* On mobile, CTA photo + overlay is heavier to keep text readable */
  .cta-photo img { opacity: 0.35; }
  .modal-card-photo .modal-card-img { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .about-photo,
  .contact-photo { border-radius: 10px; }
}

/* Reduced motion — turn off image hover zoom */
@media (prefers-reduced-motion: reduce) {
  .about-photo img,
  .structure-hero img,
  .team-card img,
  .modal-card-photo .modal-card-img img,
  .contact-photo img {
    transition: none;
  }
  .about-photo:hover img,
  .structure-hero:hover img,
  .team-card:hover img,
  .modal-card-photo:hover .modal-card-img img,
  .contact-photo:hover img {
    transform: none;
  }
}

/* Texto que só o buscador e o leitor de tela enxergam. Serve para completar o
   <h1>: na tela fica só "IMPACTO", que é a marca, mas o Google e quem usa
   leitor de tela recebem o nome inteiro com a cidade — que é o que responde a
   busca por "academia em Barras". Não usar display:none nem visibility:hidden
   aqui: os dois escondem o texto do leitor de tela também. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
