/* ==========================================================================
   THEO BALLALAI - LANDING PAGE ATLETA DE ESGRIMA
   Design System & Styling (Cyber-Athlete Premium)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  src: url('../font/Inter_24pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter_24pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter_24pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../font/Inter_28pt-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-deep: #050914;
  --bg-dark: #0a1128;
  --bg-card: rgba(13, 23, 48, 0.75);
  --bg-card-hover: rgba(18, 32, 66, 0.85);
  
  --cyan-glow: #00f0ff;
  --blue-bright: #1c6eff;
  --blue-deep: #0f398a;
  
  --silver-light: #f1f5f9;
  --silver-muted: #94a3b8;
  --silver-border: rgba(226, 232, 240, 0.15);
  
  --gold-accent: #ffd700;

  --glow-cyan-box: 0 0 25px rgba(0, 240, 255, 0.25);
  --glow-cyan-btn: 0 0 30px rgba(0, 240, 255, 0.5);
  --glow-blue-box: 0 0 35px rgba(28, 110, 255, 0.3);
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BODY
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  font-size: 16px !important;
  background-color: var(--bg-deep);
  color: var(--silver-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Tamanho mínimo absoluto de 16px para absolutamente qualquer texto no site */
* {
  min-font-size: 16px;
}

small, .small {
  font-size: 16px !important;
}

/* Background gradient overlay across the entire page */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(28, 110, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(0, 240, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(15, 57, 138, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & REUSABLE COMPONENTS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.section-title::after {
  content: none !important;
  display: none !important;
}

.subtitle {
  color: var(--silver-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--silver-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-cyan-box);
  transform: translateY(-4px);
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--blue-bright) 0%, #00b4d8 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  box-shadow: var(--glow-cyan-btn);
  transition: var(--transition-fast);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary-glow:hover {
  background: linear-gradient(135deg, var(--cyan-glow) 0%, var(--blue-bright) 100%);
  color: #050914;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION (100% FULL-WIDTH COVER BACKGROUND)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
  background-color: #060b19;
  background-image: url("../../imagens/headers/header%20desk%203.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.fencers-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.9;
}

@media (max-width: 767.98px) {
  .hero-section {
    background-image: url("../../imagens/headers/header%20mob%204.webp");
    background-position: center top;
    min-height: 80vh;
    padding: 3rem 0 2rem;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.25) 0%, rgba(5, 9, 20, 0.7) 75%, var(--bg-deep) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  left: auto;
  right: auto;
  margin-left: auto;
  margin-right: auto;
  transform: none;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-title.section-title {
  font-weight: 900;
  text-shadow: none;
}

@media (min-width: 768px) {
  .hero-title.section-title {
    text-align: left;
  }

}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cyan-glow);
  font-weight: 400;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--silver-light);
  max-width: 520px;
  line-height: 1.5;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 767.98px) {
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.5);
  color: var(--cyan-glow);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

/* --------------------------------------------------------------------------
   5. VIDEO SECTION (SEÇÃO 2)
   -------------------------------------------------------------------------- */
.video-section {
  padding: 30px 0;
  position: relative;
}

.video-container-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-blue-box);
  transition: var(--transition-fast);
}

.video-container-box:hover {
  border-color: var(--cyan-glow);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.4);
}

.ratio-16x9 {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.ratio-16x9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   6. BIOGRAFIA SECTION (SEÇÃO 3)
   -------------------------------------------------------------------------- */
.biografia-section {
  padding: 30px 0;
  position: relative;
}

.bio-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--glow-blue-box);
  border: 1px solid var(--silver-border);
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.15), transparent 70%);
}

.bio-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: var(--transition-fast);
}

.bio-img-wrapper:hover img {
  transform: scale(1.03);
}

.bio-text {
  font-size: 1.05rem;
  color: var(--silver-light);
  margin-bottom: 1.25rem;
}

.bio-highlight {
  color: var(--cyan-glow);
  font-weight: 600;
}

.highlight-box {
  background: rgba(0, 240, 255, 0.05);
  border-left: 4px solid var(--cyan-glow);
  padding: 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
}

/* --------------------------------------------------------------------------
   7. PRÓXIMOS CAMPEONATOS (SEÇÃO 4)
   -------------------------------------------------------------------------- */
.campeonatos-section {
  padding: 30px 0;
  position: relative;
}

.championship-card {
  background: linear-gradient(135deg, rgba(13, 23, 48, 0.8) 0%, rgba(20, 36, 75, 0.9) 100%);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.championship-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-glow);
  box-shadow: var(--glow-cyan-box);
  background: linear-gradient(135deg, rgba(20, 36, 75, 0.95) 0%, rgba(28, 110, 255, 0.3) 100%);
}

.championship-name {
  font-size: 1.1rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.championship-location {
  font-size: 0.95rem;
  color: var(--cyan-glow);
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   8. DESAFIOS E METAS (SEÇÃO 5)
   -------------------------------------------------------------------------- */
.desafios-section {
  padding: 30px 0;
  position: relative;
}

.goal-card {
  background: var(--bg-card);
  border: 1px solid var(--silver-border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: var(--transition-fast);
}

.goal-card:hover {
  border-color: var(--cyan-glow);
  transform: translateY(-8px);
  box-shadow: var(--glow-cyan-box);
}

.goal-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(28, 110, 255, 0.4) 100%);
  border: 1px solid var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.goal-title {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.goal-desc {
  font-size: 0.95rem;
  color: var(--silver-muted);
  line-height: 1.5;
}

.motivational-banner {
  background: linear-gradient(90deg, rgba(28, 110, 255, 0.15) 0%, rgba(0, 240, 255, 0.2) 50%, rgba(28, 110, 255, 0.15) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: var(--glow-blue-box);
}

/* --------------------------------------------------------------------------
   9. VAKINHA / AJUDE O THEO (SEÇÃO 6)
   -------------------------------------------------------------------------- */
.vakinha-section {
  padding: 30px 0;
  position: relative;
}

.vakinha-card-wrapper {
  background: linear-gradient(135deg, rgba(10, 17, 40, 0.9) 0%, rgba(15, 30, 65, 0.95) 100%);
  border: 2px solid rgba(0, 240, 255, 0.3);
  border-radius: 28px;
  padding: 3rem 2rem;
  box-shadow: var(--glow-blue-box);
}

.vakinha-img-box {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--silver-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.vakinha-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   10. DEPOIMENTOS (SEÇÃO 7)
   -------------------------------------------------------------------------- */
.depoimentos-section {
  padding: 30px 0;
  position: relative;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--silver-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.testimonial-card:hover {
  border-color: var(--cyan-glow);
  box-shadow: var(--glow-cyan-box);
  transform: translateY(-4px);
}

.testimonial-video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--silver-border);
  cursor: pointer;
}

.play-icon-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050914;
  font-size: 1.5rem;
  box-shadow: var(--glow-cyan-btn);
  transition: var(--transition-fast);
  padding-left: 4px;
}

.testimonial-card:hover .play-icon-btn {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--cyan-glow), #ffffff);
}

/* --------------------------------------------------------------------------
   11. FOOTER & PRIVACY POLICY
   -------------------------------------------------------------------------- */
.site-footer {
  background: #03060f;
  border-top: 1px solid var(--silver-border);
  padding: 4rem 0 2rem;
  color: var(--silver-muted);
  position: relative;
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #ffffff, var(--cyan-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--silver-border);
  color: #ffffff;
  font-size: 1.4rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: linear-gradient(135deg, #e1306c, #f77737);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
  transform: translateY(-3px);
}

.footer-links a {
  color: var(--silver-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan-glow);
  text-decoration: underline;
}

.developer-credit {
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.developer-credit a {
  color: var(--cyan-glow);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.developer-credit a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px var(--cyan-glow);
}

/* Privacy Policy Page Specific Styles */
.policy-header {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, rgba(13, 23, 48, 0.8) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--silver-border);
}

.policy-content {
  padding: 4rem 0;
  font-size: 1.05rem;
  color: var(--silver-light);
}

.policy-content h2 {
  font-size: 1.5rem;
  color: var(--cyan-glow);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p, .policy-content ul {
  margin-bottom: 1.25rem;
  color: var(--silver-muted);
}

/* --------------------------------------------------------------------------
   12. MOBILE SPECIFIC RULES (MOBILE CENTRALIZATION)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .text-mobile-center {
    text-align: center !important;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .hero-section {
    padding: 3rem 1rem;
    min-height: auto;
  }
  
  .glass-card, .vakinha-card-wrapper {
    padding: 1.75rem 1.25rem;
  }

  .btn-primary-glow {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }

  .championship-card {
    padding: 1.25rem;
  }

  .motivational-banner {
    padding: 1.5rem 1rem;
    font-size: 1rem;
  }

  /* Center all flex children on mobile if class is present */
  .center-mobile-flex {
    justify-content: center !important;
    align-items: center !important;
  }
}
