/*
Theme Name: Craquenet Academy
Theme URI: https://www.craquenetacademy.com.br
Author: Craquenet Academy
Description: Tema custom fiel ao HTML estático original da Craquenet Academy (index.html, sobre.html, unidades.html, camposdojordao.html). CSS consolidado a partir das 4 folhas de estilo inline duplicadas do site original.
Version: 1.0.0
Text Domain: craquenet
*/

/* ==========================================================
   NOTA DE CONSOLIDAÇÃO (leia antes de editar)
   ==========================================================
   Este arquivo une o CSS que existia duplicado (com pequenas
   divergências) em index.html, sobre.html, unidades.html e
   camposdojordao.html. Onde as 4 páginas usavam a MESMA classe
   com valores DIFERENTES, a resolução foi:

   1. .hero-section / .header-nav (padding-bottom / margin-bottom)
      e .logo / .section-title / .section-desc / .hero-bg-overlay
      (tamanho desktop): valor-base = sobre.html/unidades.html
      (maioria), com overrides via classes NATIVAS do WordPress
      `.home` (home) e `.single-unidade` (CPT unidade / camposdojordao).
   2. .btn no contexto de unidades.html tinha tamanho/sombra menores:
      resolvido escopando via ancestral já existente no markup
      (`.unit-info-content .btn`, `.cta-banner-units .btn`), sem
      precisar de classe de body nova.
   3. .dot-icon tinha tamanho/cor diferentes na home (dentro de
      `.unit-address`) e em unidades.html (dentro de
      `.unit-address-row`): resolvido escopando por esses
      ancestrais, que já são distintos no HTML original.
   4. .coaches-grid tinha layout diferente em sobre.html (3 col
      desktop) e camposdojordao.html (4 col desktop, 2 col mobile):
      RENOMEADO o container usado no template da unidade para
      `.unit-coaches-grid` (o card em si continua `.coach-card`,
      que já era um nome distinto de `.coach-card-about` do sobre).
      single-unidade.php deve usar `.unit-coaches-grid`, não
      `.coaches-grid`.
*/

/* ==========================================================
   1. RESETS & VARIÁVEIS GLOBAIS
   ========================================================== */
:root {
  --green-primary: #0e4c27;
  --green-dark: #10331a;
  --yellow-accent: #dff916;
  --yellow-light: #f1ff8a;
  --yellow-glow: #f2ff80;
  --white: #ffffff;
  --gray-light: #f4f5f0;
  --gray-border: #e0e2d5;
  --bg-gradient-light: linear-gradient(180deg, rgba(247, 248, 237, 1) 0%, rgba(239, 243, 213, 1) 100%);

  --font-proxima: "proxima-nova", sans-serif;
  --font-owners: "owners", sans-serif;
  --font-mongoose: "mongoose", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  list-style: none;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--white);
  color: var(--green-primary);
  font-family: var(--font-proxima);
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Utilitários */
.tag-badge {
  background: var(--yellow-glow);
  color: var(--green-primary);
  border-radius: 22px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: var(--font-owners);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  text-align: center;
  font-size: 2.2rem;
}

.section-title span.light { color: var(--green-primary); }
.section-title span.dark { color: var(--green-dark); }

.section-desc {
  font-size: 1.05rem;
  line-height: 1.4;
  text-align: center;
  max-width: 720px;
  margin: 14px auto 0;
}

/* home usa tamanho levemente menor (era assim no index.html original) */
.home .section-desc {
  font-size: 1rem;
  line-height: 1.3;
  margin: 12px auto 0;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  padding: 14px 36px;
  font-family: var(--font-mongoose);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary { background: var(--white); color: var(--green-primary); }
.btn-dark { background: var(--green-primary); color: var(--white); }
.btn-accent { background: var(--yellow-accent); color: var(--green-dark) !important; font-weight: 900; }
.btn-outline { background: transparent; color: var(--green-primary); border: 2px solid var(--green-primary); }
.btn-outline:hover { background: var(--green-primary); color: var(--white); }
.btn-ghost { background: transparent; color: var(--green-primary); box-shadow: none; }
.btn-ghost:hover { background: var(--gray-light); box-shadow: none; }

/* Modificadores de tamanho (base .btn acima é pensada pro CTA grande do
 * hero institucional; loja/carrinho/checkout usam variantes menores). */
.btn-sm { padding: 10px 22px; font-size: 0.95rem; box-shadow: none; }
.btn-lg { padding: 20px 40px; font-size: 1.1rem; }
.btn-full { width: 100%; }
.btn:disabled,
.btn-disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; transform: none !important; }

/* unidades.html usava botão levemente menor (escopado pelo ancestral, sem precisar de classe de body) */
.unit-info-content .btn,
.cta-banner-units .btn {
  padding: 12px 32px;
  font-size: 2rem;
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.2);
}

.unit-info-content .btn:hover,
.cta-banner-units .btn:hover {
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================
   2. EFEITOS DE SCROLL (REVEAL)
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================================
   3. HEADER & HERO (compartilhado)
   ========================================================== */
.hero-section {
  background: var(--yellow-accent);
  padding-top: 20px;
  padding-bottom: 70px; /* valor de sobre.html/unidades.html */
  position: relative;
  overflow: hidden;
}

.home .hero-section { padding-bottom: 0; }
.single-unidade .hero-section { padding-bottom: 50px; }

.hero-bg-overlay {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 140%;
  max-width: 900px;
  height: auto;
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px; /* valor de sobre.html/unidades.html */
  position: relative;
  z-index: 9999;
}

.home .header-nav,
.single-unidade .header-nav { margin-bottom: 30px; }

.logo { width: 240px; height: auto; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: none;
}

.nav-backdrop.active { display: block; }

body.menu-open .hero-content,
body.menu-open main,
body.menu-open .site-footer {
  filter: blur(8px);
  transition: filter 0.3s ease;
  pointer-events: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  cursor: pointer;
  padding: 5px;
  z-index: 9999;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--green-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--yellow-accent);
  width: 100%;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  gap: 12px;
  z-index: 9999;
}

.nav-links.active { display: flex; }

.nav-item a {
  display: block;
  background: #e9ff43;
  border: 1px solid #f1ff86;
  border-radius: 22px;
  padding: 10px 24px;
  color: var(--green-primary);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

.nav-item a:hover { background: var(--white); transform: translateY(-2px); }

/* Ícone de carrinho no header. Agrupado com hambúrguer/nav dentro de
   .hdr-actions (em vez de solto como 3º filho de .header-nav) pra não
   quebrar o justify-content:space-between de 2 itens que já existe -
   ver template-parts/nav-menu.php. */
.hdr-actions { display: flex; align-items: center; gap: 10px; }

.ic-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ic-btn svg { stroke: var(--green-dark); }

.ic-btn:hover { background: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }

.cart-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--yellow-accent);
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

/* ==========================================================
   3a. HERO DA HOME (index.html)
   ========================================================== */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  transition: filter 0.3s ease;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.hero-title {
  font-family: var(--font-owners);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: -10px;
}

.hero-media img.hero-main-img {
  width: 100%;
  max-width: 680px;
  height: auto;
  object-fit: contain;
}

.hero-media .hero-floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  animation: floatEffect 3s ease-in-out infinite alternate;
}

@keyframes floatEffect {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================
   3b. HERO CENTRALIZADA (sobre.html / unidades.html)
   ========================================================== */
.about-hero-centered,
.units-hero-centered {
  max-width: 860px;
  margin: 20px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.units-hero-centered { max-width: 820px; }

.about-hero-title,
.units-hero-title {
  font-family: var(--font-owners);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

/* ==========================================================
   3c. HERO DA UNIDADE (camposdojordao.html / single-unidade.php)
   ========================================================== */
.unit-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 20px;
  align-items: center;
}

.hero-unit-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
}

.unit-title-main {
  font-family: var(--font-owners);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.unit-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 51, 26, 0.1);
  border: 1px solid rgba(16, 51, 26, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  background-color: #27ae60;
  border-radius: 50%;
  box-shadow: 0 0 8px #27ae60;
}

.hero-unit-photo {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(16, 51, 26, 0.15);
  object-fit: cover;
}

/* ==========================================================
   4. LAYOUT DE SEÇÃO / CARDS GENÉRICOS
   ========================================================== */
main { transition: filter 0.3s ease; }

.section-padding { padding: 70px 0; }
.bg-gradient { background: var(--bg-gradient-light); }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.card,
.home-product-card,
.unit-card,
.player-card {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, box-shadow;
}

.card:hover,
.home-product-card:hover,
.unit-card:hover,
.player-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 16px 30px rgba(14, 76, 39, 0.2);
}

.card {
  background: rgba(223, 249, 22, 0.5);
  border-radius: 28px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 4px 4px 12px rgba(231, 225, 104, 0.55);
}

.card-title {
  font-family: var(--font-owners);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.card-icon { width: 60px; height: auto; }
.card-text { font-size: 1rem; line-height: 1.2; }

.center-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ==========================================================
   4a. HISTÓRIA (home)
   ========================================================== */
.history-section { padding-bottom: 0; }

.history-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-end;
}

.history-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.history-media img { display: block; margin-bottom: -5px; }
.history-content { padding-bottom: 40px; text-align: left; }

.history-box {
  background: var(--yellow-light);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 4px 4px 12px rgba(231, 225, 104, 0.55);
}

.history-box .box-title {
  font-family: var(--font-mongoose);
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.avatar-group { display: flex; align-items: center; margin-top: 10px; }

.avatar-group img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  border: 5px solid #f1ff86;
  margin-left: -12px;
  object-fit: cover;
  box-shadow: none;
  transition: transform 0.3s ease, z-index 0.3s ease;
  cursor: pointer;
  position: relative;
}

.avatar-group img:hover { transform: scale(1.15) translateY(-5px); z-index: 5; }
.avatar-group img:first-child { margin-left: 0; }

/* ==========================================================
   4b. CONEXÃO INTERNACIONAL (home)
   ========================================================== */
.intl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.intl-text-block { text-align: left; }

.intl-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.intl-image-wrapper video {
  width: 100%;
  max-width: 696px;
  height: auto;
  border-radius: 20px;
  display: block;
}

/* ==========================================================
   4c. PRODUTOS (preview estático da home, front-page.php - NÃO é o
   card real do WooCommerce da /loja/, que usa .product-card definido
   em assets/css/woocommerce.css. Nome próprio pra evitar colisão de
   classe entre as duas seções.)
   ========================================================== */
.home-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.home-product-card {
  background: rgba(241, 255, 134, 0.43);
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.home-product-card img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home-product-card img:hover { transform: scale(1.03); }

/* ==========================================================
   4d. UNIDADES: preview em grid (home)
   ========================================================== */
.units-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.unit-card {
  background: #f0ff81;
  border-radius: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.unit-card img {
  border-radius: 16px;
  width: 100%;
  transition: transform 0.3s ease;
}

.unit-card img:hover { transform: scale(1.03); }

.unit-address { display: flex; align-items: center; gap: 10px; }

.unit-address .dot-icon {
  width: 16px;
  height: 16px;
  background: #d9d9d9;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================
   4e. UNIDADES: lista zigzag (unidades.html)
   ========================================================== */
.units-zigzag-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 20px;
}

.unit-wide-card {
  background: #f0ff81;
  border-radius: 32px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.unit-wide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(14, 76, 39, 0.12);
}

.unit-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.unit-title-head {
  font-family: var(--font-owners);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--green-primary);
  line-height: 0.95;
}

.unit-address-row { display: flex; align-items: center; gap: 12px; }

.unit-address-row .dot-icon {
  width: 14px;
  height: 14px;
  background: rgba(14, 76, 39, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.unit-address-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  opacity: 0.85;
}

.unit-media-wrapper {
  flex: 1.1;
  max-width: 520px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.unit-media-wrapper img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.4s ease;
}

.unit-wide-card:hover .unit-media-wrapper img { transform: scale(1.04); }

/* ==========================================================
   4f. JOGADORES / DESTAQUES (home)
   ========================================================== */
.players-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.player-card {
  background: rgba(223, 249, 22, 0.5);
  border-radius: 28px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.player-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
}

/* ==========================================================
   5. LIDERANÇA / FUNDADORES (sobre.html)
   ========================================================== */
.founders-clean-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.founder-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.founder-column img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 8px;
}

.founder-title-name {
  font-family: var(--font-owners);
  font-size: 48px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  color: var(--green-primary);
  line-height: 0.95;
  margin: 0;
}

.founder-subtitle-role {
  font-family: var(--font-proxima);
  font-size: 18px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

.founder-bio-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #444444;
  margin-top: 4px;
  max-width: 520px;
}

/* ==========================================================
   5a. TÉCNICOS LENDÁRIOS (sobre.html) — .coaches-grid
   ========================================================== */
.coaches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.coach-card-about {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--gray-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.coach-card-about:hover { transform: translateY(-5px); }

.coach-card-header { display: flex; align-items: center; gap: 14px; }

.coach-card-header img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--yellow-accent);
}

.coach-card-header h3 {
  font-family: var(--font-owners);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--green-primary);
}

.coach-card-header span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  display: block;
}

.coach-card-text { font-size: 0.9rem; line-height: 1.35; color: #444; }

/* ==========================================================
   5b. LINHA DO TEMPO (sobre.html)
   ========================================================== */
.timeline-wrapper { position: relative; margin-top: 50px; padding: 20px 0; }

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background: var(--yellow-accent);
  border-radius: 2px;
}

.timeline-item { position: relative; margin-bottom: 40px; padding-left: 55px; }

.timeline-item::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-primary);
  border: 4px solid var(--yellow-accent);
  box-shadow: 0 0 0 4px rgba(14, 76, 39, 0.15);
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-year {
  font-family: var(--font-mongoose);
  font-size: 2.2rem;
  color: var(--green-primary);
  line-height: 1;
  font-weight: 900;
}

.timeline-title {
  font-family: var(--font-owners);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--green-dark);
}

.timeline-desc { font-size: 0.95rem; line-height: 1.4; color: #444; }

.timeline-highlight {
  background: var(--yellow-light);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 6px;
}

/* ==========================================================
   5c. NÚMEROS & LEGADO (sobre.html)
   ========================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
  width: 100%;
}

.stat-card {
  background: rgba(223, 249, 22, 0.45);
  border-radius: 24px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.stat-number {
  font-family: var(--font-owners);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--green-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark);
  text-transform: uppercase;
}

/* Banners de CTA finais (sobre / unidades / unidade individual — regras idênticas no original) */
.cta-banner-about,
.cta-banner-units,
.cta-banner-unit {
  background: var(--green-dark);
  color: var(--white);
  border-radius: 36px;
  padding: 50px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 15px 35px rgba(16, 51, 26, 0.25);
}

/* ==========================================================
   6. UNIDADE INDIVIDUAL (camposdojordao.html / single-unidade.php)
   ========================================================== */
.infra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.infra-card {
  background: rgba(223, 249, 22, 0.4);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.infra-card:hover { transform: translateY(-5px); }

.infra-card h3 {
  font-family: var(--font-owners);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.schedules-wrapper {
  margin-top: 40px;
  background: var(--white);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-border);
  overflow-x: auto;
}

.schedules-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 500px;
}

.schedules-table th {
  background: var(--green-primary);
  color: var(--yellow-accent);
  font-family: var(--font-owners);
  font-size: 1.1rem;
  padding: 16px 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedules-table th:first-child { border-top-left-radius: 16px; border-bottom-left-radius: 16px; }
.schedules-table th:last-child { border-top-right-radius: 16px; border-bottom-right-radius: 16px; }

.schedules-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.95rem;
  color: var(--green-dark);
}

.schedules-table tr:last-child td { border-bottom: none; }
.schedules-table tr:nth-child(even) { background-color: rgba(244, 245, 240, 0.5); }

.badge-category {
  background: var(--yellow-glow);
  color: var(--green-dark);
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
}

/* Quadro de professores da unidade — RENOMEADO de .coaches-grid para evitar
   colisão com o grid de "Mestres do Rubens" de sobre.html (ver nota no topo) */
.unit-coaches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.coach-card {
  background: var(--white);
  border-radius: 28px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-border);
}

.coach-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--green-primary);
}

.coach-avatar svg { width: 40px; height: 40px; fill: var(--green-primary); }

.coach-name {
  font-family: var(--font-owners);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--green-primary);
}

.coach-role {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: -4px;
  text-transform: uppercase;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
  align-items: center;
}

.location-details { display: flex; flex-direction: column; gap: 20px; }

.location-box-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--yellow-light);
  padding: 20px;
  border-radius: 20px;
}

.location-icon { width: 32px; height: 32px; flex-shrink: 0; fill: var(--green-primary); }

.map-wrapper {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  min-height: 360px;
}

.map-wrapper iframe { width: 100%; height: 360px; border: 0; }

/* ==========================================================
   7. FOOTER (compartilhado, idêntico nas 4 páginas)
   ========================================================== */
.site-footer {
  background: var(--green-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

.footer-col h3 {
  color: var(--yellow-accent);
  font-family: var(--font-owners);
  font-size: 1.2rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--white); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--yellow-accent); }

.social-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  transition: transform 0.3s ease;
}

.social-icon:hover { transform: scale(1.08); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* ==========================================================
   8. REGRAS MOBILE (max-width: 767px)
   ========================================================== */
@media (max-width: 767px) {
  .hero-text .btn-primary {
    font-size: 30px !important;
    padding: 12px 20px;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
  }

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

  .history-section { overflow: visible !important; }
  .history-media { margin-top: -60px; position: relative; z-index: 5; }

  .history-content,
  .intl-text-block {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .history-content .section-title,
  .intl-text-block .section-title { text-align: center !important; }

  .history-box { text-align: center; }
  .history-box .box-title { font-size: calc(2.2rem - 4px) !important; }
  .avatar-group { justify-content: center; }

  .impacto-card-mobile {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    align-items: center;
  }

  .impacto-card-mobile .card-icon { grid-column: 1; grid-row: 1; width: 54px; height: auto; }
  .impacto-card-mobile .card-title { grid-column: 2; grid-row: 1; font-size: 1.35rem; line-height: 1.05; margin: 0; text-align: left; }
  .impacto-card-mobile .card-text { grid-column: 1 / span 2; grid-row: 2; margin-top: 4px; text-align: left; }

  .players-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .player-card { padding: 20px 12px; }
  .player-card img { width: 100px; height: 100px; }
  .player-card h3 { font-size: 1rem !important; }
  .player-card p { font-size: 0.8rem !important; }

  .home-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home-product-card { padding: 12px; border-radius: 20px; gap: 10px; }
  .home-product-card h3 { font-size: 0.9rem; }
  .home-product-card p { font-size: 0.75rem !important; line-height: 1.2; }
  .home-product-card .btn { font-size: 1rem !important; padding: 6px 12px !important; width: 100%; }

  .about-hero-title,
  .units-hero-title { font-size: 2.2rem; }

  .founder-title-name { font-size: 36px !important; }
  .founder-subtitle-role { font-size: 16px !important; }
  .stats-grid { grid-template-columns: 1fr !important; }

  .unit-wide-card {
    flex-direction: column !important;
    padding: 24px 20px;
    gap: 20px;
    border-radius: 28px;
  }

  .unit-info-content { align-items: flex-start; width: 100%; }
  .unit-title-head { font-size: 1.8rem; }
  .unit-media-wrapper { max-width: 100%; order: -1; }
  .unit-media-wrapper img { height: 200px; border-radius: 20px; }
  .unit-info-content .btn { width: 100%; }

  .hero-unit-info { text-align: center; }
  .unit-title-main { font-size: 2.2rem; }
  .coach-avatar { width: 80px; height: 80px; }
  .coach-avatar svg { width: 40px; height: 40px; }

  .site-footer { text-align: center; }
  .footer-grid { justify-items: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .social-icon { margin: 16px auto 0; }
}

/* ==========================================================
   9. REGRAS DESKTOP (min-width: 768px)
   ========================================================== */
@media (min-width: 768px) {
  .section-title { font-size: 3.2rem; }
  .home .section-title { font-size: 3.5rem; }

  .history-content,
  .intl-text-block { text-align: left !important; align-items: flex-start; }

  .history-content .section-title,
  .intl-text-block .section-title { text-align: left !important; }

  .history-box { text-align: left; }
  .avatar-group { justify-content: flex-start; }

  .menu-toggle { display: none; }

  .logo { width: 310px; }
  .home .logo { width: 337px; }

  .hero-bg-overlay {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -40%);
  }

  .home .hero-bg-overlay {
    top: 50%;
    right: calc(-5% + 150px);
    left: auto;
    transform: translateY(-50%);
    width: 60%;
    max-width: 850px;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    width: auto;
    gap: 16px;
    order: 1;
  }

  .ic-btn { order: 2; }

  .hero-content { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .hero-text { flex: 1; align-items: flex-start; text-align: left; padding-bottom: 60px; }
  .hero-media { flex: 1.1; margin-top: 0; }
  .hero-media img.hero-main-img { max-width: 750px; }
  .hero-title { font-size: 4.8rem; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  .history-wrapper { flex-direction: row; align-items: flex-end; }
  .history-media { flex: 1; }
  .history-content { flex: 1; padding-bottom: 60px; }

  .intl-grid { grid-template-columns: 1fr 1fr; }
  .home-products-grid { grid-template-columns: repeat(3, 1fr); }
  .units-grid { grid-template-columns: repeat(2, 1fr); }
  .players-grid { grid-template-columns: repeat(4, 1fr); }

  .about-hero-title,
  .units-hero-title { font-size: 4rem; }

  .founders-clean-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
  .coaches-grid { grid-template-columns: repeat(3, 1fr); }
  .unit-coaches-grid { grid-template-columns: repeat(4, 1fr); }

  .timeline-wrapper::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { width: 50%; padding-left: 0; padding-right: 40px; left: 0; }
  .timeline-item:nth-child(even) { left: 50%; padding-left: 40px; padding-right: 0; }
  .timeline-item::after { left: auto; right: -10px; }
  .timeline-item:nth-child(even)::after { right: auto; left: -10px; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-number { font-size: 2.8rem; }

  .unit-hero-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; }
  .hero-unit-info { text-align: left; align-items: flex-start; }
  .unit-title-main { font-size: 3.6rem; }
  .infra-grid { grid-template-columns: repeat(3, 1fr); }
  .location-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}

/* ==========================================================
   10. REGRAS DESKTOP GRANDE (min-width: 1024px)
   ========================================================== */
@media (min-width: 1024px) {
  .cards-grid.four-cols { grid-template-columns: repeat(4, 1fr); }
  .home-products-grid { grid-template-columns: repeat(5, 1fr); }
  .infra-grid { grid-template-columns: repeat(4, 1fr); }
}
