/* [MODIFICADO] HERO PADRONIZADO COM BORDAS ARREDONDADAS E TEXTO À ESQUERDA */
/* Parallax somente em telas grandes para evitar bugs em mobile/iOS */
@media (min-width: 992px) {
  .hero--esportes .hero__image-bg {
    background-attachment: fixed;
  }
  .modality-card__icon { font-size: 3.5rem; }
}
.hero--esportes {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-white);
    height: auto;
    min-height: 520px;
    padding: 40px 20px;
    background-color: var(--color-text-dark);
    margin-bottom: 0;
    z-index: 10;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
 }

 /* Imagem de fundo com efeito parallax */
 .hero--esportes .hero__image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-esportes.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Parallax só em telas grandes */
    z-index: 1;
 }

 /* Overlay escuro padrão */
 .hero--esportes .hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 10%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
 }

 /* Conteúdo de texto do hero alinhado à esquerda */
 .hero--esportes .hero__content {
    position: relative;
    z-index: 3;
    text-align: left;
    margin-left: 8%;
    margin-right: auto;
    max-width: 700px;
 }

.hero--esportes .hero__title {
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: none;
}
.hero--esportes .hero__content > .hero__subtitle:first-of-type {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
    text-shadow: none;
    max-width: none;
    margin: 0;
}
.hero--esportes .hero__content > .hero__subtitle:last-of-type {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: none;
    max-width: none;
    margin: 0;
}

 /* [MODIFICADO] Seção seguinte com sobreposição ajustada */
 .first-section {
    margin-top: -70px;
    padding-top: 120px;
    position: relative;
    z-index: 5;
    background-color: var(--color-white);
 }


 /* TÍTULOS DE SEÇÃO PADRONIZADOS */
 .section-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
 .section-header h2, .section-title { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--color-primary-dark); margin-bottom: 20px; }
 .section-header p { font-size: 1.1rem; line-height: 1.8; color: var(--color-text); }
 .section-title::after { content: ''; display: block; width: 80px; height: 4px; background-color: var(--color-primary); border-radius: 2px; margin-top: 15px; }
 .text-image__content .section-title::after { margin-left: 0; }

 /* 1. SESSÃO TEXTO COM IMAGEM */
 .text-image-section { padding-bottom: 100px; background-color: var(--color-white); }
 .text-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
 .text-image__image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
 .text-image__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
 .text-image__image:hover img { transform: scale(1.05); }
 .text-image__content .section-title { text-align: left; }
 .text-image__content p { font-size: 1.1rem; line-height: 1.8; color: var(--color-text); margin-bottom: 15px; }
 .text-image__content p:last-of-type { margin-bottom: 0; }

 /* 2. SESSÃO MODALIDADES - COR PRIMÁRIA */
 .modalities-section { padding: 80px 0; background-color: var(--color-white); }
 .modalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}
 .modality-card {
     background-color: var(--color-primary);
     color: var(--color-white);
     border-radius: var(--radius);
     padding: 40px 20px;
     text-align: center;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: var(--shadow-sm);
     width: 100%;
 }
 .modality-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
 }
 .modality-card__icon {
     font-size: 3rem;
     color: var(--color-white);
     margin-bottom: 20px;
     transition: transform 0.3s ease;
     display: inline-block;
 }
 .modality-card:hover .modality-card__icon { transform: scale(1.15) rotate(5deg); }
 .modality-card__title {
     font-size: 1.5rem;
     font-weight: 600;
     color: var(--color-white);
 }

 /* 3. SESSÃO BENEFÍCIOS */
 .benefits-section { padding: 80px 0; background-color: var(--color-white); }
 .benefits-section .section-header h2 { color: var(--color-primary-dark); }
 .benefits-section .section-header p { color: var(--color-text); }
 .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
 .benefit-card {
     background: linear-gradient(135deg, #495057, #212529);
     color: var(--color-white);
     padding: 40px;
     border-radius: var(--radius);
     text-align: center;
     box-shadow: var(--shadow-md);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     width: 100%;
 }
 .benefit-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
 }
 .benefit-card__icon {
     font-size: 3rem;
     margin-bottom: 25px;
     background: linear-gradient(45deg, #FFA07A, #F16137);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     color: transparent;
 }
 .benefit-card__title {
     font-size: 1.6rem;
     margin-bottom: 15px;
     font-weight: 600;
 }
 .benefit-card__text {
     font-size: 1rem;
     line-height: 1.7;
     color: var(--color-white);
     opacity: 0.85;
 }

 /* 4. SESSÃO CARROSSEL DE TROFÉUS */
 .trophy-carousel-section { padding: 80px 0; background-color: var(--color-bg-alt); }
 .trophy-slider-wrapper { position: relative; padding: 0 50px; }
 .trophy-slider .swiper-slide {
    position: relative; /* Adicionado para posicionar a legenda */
    height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    /* background-color: var(--color-white); REMOVIDO */
    /* box-shadow: var(--shadow-sm); REMOVIDO */
}
 .trophy-slide-image {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    display: flex; /* ADICIONADO */
    align-items: center; /* ADICIONADO */
    justify-content: center; /* ADICIONADO */
}
 .trophy-slider .swiper-slide:hover .trophy-slide-image { transform: scale(1.08); }
.trophy-nav-button { 
  color: var(--color-primary);
  background-color: transparent; 
  border: 1px solid rgba(0,0,0,0.12); 
  border-radius: 9999px; 
  width: 44px; height: 44px; 
  display: flex; align-items: center; justify-content: center;
  box-shadow: none; 
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; 
  /* Esconde texto 'Previous/Next' padrão do Swiper */
  font-size: 0; line-height: 0; overflow: hidden; padding: 0;
}
.trophy-nav-button:hover { 
  background-color: var(--color-primary); 
  color: var(--color-white); 
  border-color: var(--color-primary); 
  transform: translateY(-1px);
}
/* Ícones Font Awesome nos controles Prev/Next */
.trophy-nav-button::after { 
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  font-size: 16px; 
}
.swiper-button-prev.trophy-nav-button::after { content: "\f053"; }
.swiper-button-next.trophy-nav-button::after { content: "\f054"; }
.trophy-pagination .swiper-pagination-bullet-active { background-color: var(--color-primary); }

 /* 5. SESSÃO CARROSSEL DE DESENVOLVIMENTO */
 .dev-carousel-section { padding: 80px 0; background-color: var(--color-bg-alt); }
 .dev-slider-wrapper { position: relative; }
 .dev-slider .swiper-slide { padding: 10px 0; }
 .dev-card {
     background: linear-gradient(135deg, #D9512C, #866093);
     color: var(--color-white);
     padding: 30px;
     border-radius: 16px;
     text-align: center;
     height: 100%;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: 0 4px 15px rgba(0,0,0,0.1);
 }
 .dev-slider .swiper-slide:hover .dev-card {
     transform: translateY(-8px);
     box-shadow: 0 10px 25px rgba(0,0,0,0.2);
 }
 .dev-card__title {
     font-size: 1.5rem;
     font-weight: 600;
     margin-bottom: 15px;
     color: var(--color-white);
 }
 .dev-card__text {
     font-size: 1rem;
     line-height: 1.7;
     color: var(--color-white);
     opacity: 0.9;
 }
 .dev-pagination .swiper-pagination-bullet-active { background-color: var(--color-primary); }

 /* 6. SESSÃO DE CONTATO */
 .contact-section { position: relative; display: flex; align-items: center; min-height: 600px; padding: 60px 0; overflow: hidden; }
 .contact-section__bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
 .contact-section__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 2; }
 .contact-section .container { position: relative; z-index: 3; width: 100%; display: flex; justify-content: flex-end; align-items: center; }
 .contact-card { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 500px; margin-left: auto; margin-right: 0; text-align: left; color: var(--color-text-dark); }
 .contact-card__super-title { font-size: 1.2rem; font-weight: 500; color: var(--color-text); margin-bottom: 5px; }
 .contact-card__title { font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 30px; }
 .contact-card__text-group p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 25px; }
 .contact-card .btn--primary { margin-top: 10px; }

 /* --- RESPONSIVIDADE --- */
 @media (max-width: 992px) {
    .hero--esportes .hero__content {
        margin-left: 10%;
    }
     .text-image-grid { grid-template-columns: 1fr; gap: 40px; }
     .trophy-slider-wrapper { padding: 0; }
     .trophy-nav-button { display: none; }
     .contact-section .container { justify-content: center; }
     .contact-card { margin: 0 auto; text-align: center; }
 }

 @media (max-width: 768px) {
    .hero--esportes {
         border-bottom-left-radius: 40px;
         border-bottom-right-radius: 40px;
         height: auto;
    }
    .hero--esportes .hero__content {
        max-width: 90%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .first-section {
         margin-top: -50px;
         padding-top: 100px;
    }

    .text-image-section, .modalities-section, .benefits-section, .trophy-carousel-section, .dev-carousel-section { padding: 60px 20px; }
    .text-image-content { text-align: center; }
    .text-image-content .section-title { text-align: center; }
    .text-image__content .section-title::after { margin: 15px auto 0; }
    .modalities-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; }
    .contact-section { min-height: 400px; padding: 60px 20px; }
    .contact-card { padding: 30px; }
    .contact-card__title { font-size: 1.8rem; }
 }

/* --- ESTILOS ADICIONAIS PARA LEGENDA DOS TROFÉUS --- */

/* Adiciona um contexto de posicionamento para a legenda */
.trophy-slider .swiper-slide {
    position: relative;
}

/* Estilização da legenda (escondida por padrão) */
.trophy-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Fundo preto semi-transparente */
    color: var(--color-white);
    padding: 12px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0; /* Começa invisível */
    transition: opacity 0.3s ease-in-out; /* Efeito de transição suave */
    pointer-events: none; /* Garante que a legenda não interfere no mouse */
    box-sizing: border-box;
}

/* Mostra a legenda ao passar o mouse sobre o slide */
.trophy-slider .swiper-slide:hover .trophy-slide-caption {
    opacity: 1; /* Torna-se visível */
}