/* ==========================================
   CONFIGURATIONS GÉNÉRALES ET RESET
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  color: #333333;
  overflow-x: hidden;
}

/* ==========================================
   EN-TÊTE VIOLET (NAVIGATION)
   ========================================== */
.main-header {
  width: 100%;
  background-color: #9c51e0;
  padding: 16px 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* ==========================================
   SECTION HERO
   ========================================== */
.hero-section {
  padding: 90px 20px 80px 20px; /* Aumentado o topo para 90px */
  text-align: center;
  background-color: #ffffff;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrapper {
  width: 100%;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #9c51e0;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #a072d6;
  line-height: 1.6;
  max-width: 720px;
}

/* ==========================================
   SECTION ACTUALITÉS (CARROUSEL ENCADRÉ PARFAIT)
   ========================================== */
.news-section {
  background-color: #e76f51;
  padding: 50px 0;
  width: 100%;
}

.news-header {
  text-align: center;
  color: #ffffff;
  margin-bottom: 36px;
}

.news-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.news-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.95;
}

/* Dimensionamento exato: (3 cards de 320px) + (2 lacunas de 24px) = 1008px */
.carousel-wrapper {
  max-width: 1008px;
  margin: 0 auto;
  position: relative;
  overflow: hidden; 
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 15px 0 25px 0; /* Zerado o padding lateral para travar os vazamentos */
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* ==========================================
   CARTES RECTANGULAIRES
   ========================================== */
.news-card {
  background-color: #ffffff;
  border-radius: 20px;
  flex: 0 0 320px;
  height: 310px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.card-media {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f8fafc;
  border-radius: 12px;
  border: 2px dashed #cbd5e1;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #302f2f;
  line-height: 1.4;
  margin-bottom: 8px;
}

.card-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #302f2f;
  line-height: 1.4;
  text-decoration: underline;
  display: inline-block;
  transition: color 0.2s ease
}

.card-link:hover {
  color: #9c4edd;
}

/* INDICATEURS (DOTS) */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background-color: #ffffff;
}

/* ==========================================
   SECTION LE PROJET
   ========================================== */
.projet-section {
  width: 100%;
  background-color: #ffffff;
  padding-top: 60px;
}

/* Alignment à gauche conforme protótipo */
.projet-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 50px 20px;
  text-align: left;
}

.projet-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #9c4edd;
  margin-bottom: 24px;
}

.projet-intro {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: #302f2f;
  line-height: 1.6;
  margin-bottom: 20px;
}

.projet-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 24px;
}

.projet-list li {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  color: #302f2f;
  line-height: 1.6;
  margin-bottom: 10px;
}

.projet-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #302f2f;
  text-decoration: underline;
  display: inline-block;
  transition: color 0.2s ease;
}

.projet-link:hover {
  color: #9c4edd;
}

/* Banner no rodapé da seção com máscara de degradação corrigida */
.projet-banner-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
}

.projet-banner-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  /* Degradê de transparência visível do topo para a base */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 70%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 70%);
}

/* ==========================================
   SECTION TURBINE (#3ebcb8)
   ========================================== */
.turbine-section {
  width: 100%;
  background-color: #3ebcb8; /* Couleur de fond turquoise */
  padding: 80px 0;
}

.turbine-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 48px;
}


/* Carte blanche englobant le schéma */
.turbine-media {
  flex: 0 0 420px;
}

.turbine-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.turbine-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Zone de texte à droite */
.turbine-content {
  flex: 1;
  color: #ffffff;
  text-align: left;
}

.turbine-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.turbine-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.65;
  margin-bottom: 24px;
}

.turbine-text strong {
  font-weight: 600;
}

.turbine-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 24px;
}

.turbine-list li {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 10px;
}

.turbine-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: underline;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.turbine-link:hover {
  opacity: 0.8;
}

/* Responsivité pour écrans mobiles */
@media (max-width: 900px) {
  .turbine-container {
    flex-direction: column;
    gap: 32px;
  }

  .turbine-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 380px;
  }
}

/* ==========================================
   SECTION ONTOLOGIE
   ========================================== */
.ontologie-section {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 0;
}

.ontologie-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Zone de texte à gauche */
.ontologie-content {
  flex: 1;
  text-align: left;
}

.ontologie-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #9c4edd;
  line-height: 1.2;
  margin-bottom: 24px;
}

.ontologie-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #302f2f;
  line-height: 1.5;
  margin-bottom: 20px;
}

.ontologie-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: #302f2f;
  line-height: 1.6;
  margin-bottom: 24px;
}

.ontologie-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #302f2f;
  text-decoration: underline;
  display: inline-block;
  transition: color 0.2s ease;
}

.ontologie-link:hover {
  color: #9c4edd;
}

/* Zone d'image à droite */
.ontologie-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ontologie-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Responsivité pour écrans mobiles */
@media (max-width: 900px) {
  .ontologie-container {
    flex-direction: column;
    gap: 40px;
  }

  .ontologie-media {
    width: 100%;
  }
}

/* ==========================================
   SECTION METHODES ET OUTILS
   ========================================== */
.methodes-section {
  width: 100%;
  background-color: #f4d35e; /* Fundo amarelo principal */
  padding: 70px 0 90px 0;
}

.methodes-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* En-tête */
.methodes-header {
  text-align: left;
  max-width: 780px;
  margin-bottom: 40px;
}

.methodes-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #603751; /* Hex do título */
  margin-bottom: 12px;
}

.methodes-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #603751;
  line-height: 1.5;
}

/* Grille 2x2 */
.methodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Card */
.methodes-card {
  background-color: #fcfaf5; /* Preenchimento do card */
  border: 1.5px solid #f4d35e; /* Contorno amarelo */
  border-radius: 20px;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.methodes-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.methodes-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #302f2f;
  line-height: 1.25;
}

.methodes-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.methodes-card-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: #302f2f;
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}

/* Boutons ovales */
.methodes-btn {
  display: inline-block;
  align-self: center;
  padding: 10px 32px;
  border: 1.5px solid #9c4edd; /* Contorno roxo */
  border-radius: 25px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9c4edd;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.2s ease;
}

.methodes-btn:hover {
  background-color: #9c4edd;
  color: #ffffff;
}

/* Responsividade para telas menores */
@media (max-width: 850px) {
  .methodes-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   SECTION FORMATION
   ========================================== */
.formation-section {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 0;
}

.formation-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Zone de texte à gauche */
.formation-content {
  flex: 1.2;
  text-align: left;
}

.formation-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #9c4edd;
  margin-bottom: 24px;
}

.formation-intro {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: #302f2f;
  line-height: 1.6;
  margin-bottom: 24px;
}

.formation-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 28px;
}

.formation-list li {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: #302f2f;
  line-height: 1.6;
  margin-bottom: 14px;
}

.formation-list li strong {
  font-weight: 600;
  color: #302f2f;
}

.formation-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #302f2f;
  text-decoration: underline;
  display: inline-block;
  transition: color 0.2s ease;
}

.formation-link:hover {
  color: #9c4edd;
}

/* Zone d'image à droite */
.formation-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.formation-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

/* Responsivité pour écrans mobiles */
@media (max-width: 900px) {
  .formation-container {
    flex-direction: column;
    gap: 40px;
  }

  .formation-media {
    width: 100%;
  }
}

/* ==========================================
   SECTION RESSOURCES (#4c6edb)
   ========================================== */
.ressources-section {
  width: 100%;
  background-color: #4c6edb; /* Fundo azul da seção */
  padding: 90px 0;
  overflow: hidden;
}

.ressources-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* Zone de texte à gauche */
.ressources-content {
  flex: 1;
  color: #ffffff;
  text-align: left;
}

.ressources-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.ressources-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 24px;
}

.ressources-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: underline;
  display: inline-block;
  transition: opacity 0.2s ease;
}

/* Zone des cartes à droite */
.ressources-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}

/* Container do empilhamento vertical */
.cards-stack {
  position: relative;
  width: 420px;
  height: 320px;
}

/* Formato vertical original do protótipo */
.res-card {
  position: absolute;
  width: 180px;
  height: 260px;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  background-color: #ffffff;
  cursor: pointer;

  /* Transição suave de movimento mantendo o z-index fixo */
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.35s ease;
}

.res-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- POSIÇÕES E CAMADAS FIXAS (PADRÃO PROTO) --- */

/* Carte 1 (Frente / Esquerda) - Camada 3 Fixa */
.res-card.card-1 {
  background-color: #5d51e0;
  z-index: 3;
  top: 35px;
  left: 20px;
  transform: rotate(-14deg);
}

/* Carte 2 (Meio / Prancha) - Camada 2 Fixa */
.res-card.card-2 {
  z-index: 2;
  top: 0px;
  left: 125px;
  transform: rotate(1deg);
}

/* Carte 3 (Fundo / Direita) - Camada 1 Fixa */
.res-card.card-3 {
  z-index: 1;
  top: 25px;
  left: 215px;
  transform: rotate(14deg);
}

/* --- HOVER LIMPO: ELEVAÇÃO INDIVIDUAL SEM ALTERAR AS CAMADAS --- */

.res-card.card-1:hover {
  transform: rotate(-14deg) translateY(-12px) scale(1.03);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
}

.res-card.card-2:hover {
  transform: rotate(1deg) translateY(-12px) scale(1.03);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
}

.res-card.card-3:hover {
  transform: rotate(14deg) translateY(-12px) scale(1.03);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
}

/* Responsividade mobile */
@media (max-width: 900px) {
  .ressources-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .cards-stack {
    transform: scale(0.85);
  }
}

/* ==========================================
   SECTION L'ÉQUIPE (CALIBRAÇÃO DE EIXOS X e Y)
   ========================================== */
.equipe-section {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 0 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.equipe-header {
  margin-bottom: 60px;
  padding: 0 20px;
}

.equipe-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #9c4edd;
  margin-bottom: 8px;
}

.equipe-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 300;
  color: #7e57c2;
  line-height: 1.5;
}

/* Containers Centrados (Eixo X) */
.equipe-container {
  max-width: 1100px;
  margin: 0 auto 100px auto;
  padding: 0 20px;
  position: relative;
}

/* Container dos antigos: expandido ligeiramente para 890px para afastar os 4 membros no eixo X */
.equipe-container.anciens-block {
  max-width: 890px;
  margin-bottom: 30px;
}

/* Base das Ondas de Fundo */
.wave-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  z-index: 1;
}

/* Onda Verde (Équipe Actuelle) */
.wave-actuelle {
  max-width: 1050px;
  height: 180px;
  top: -10px;
  background-image: url('images/wave_actuelle.svg');
}

/* Onda Cinza (Anciens Membres) */
.wave-anciens {
  max-width: 890px;
  height: 155px;
  top: -5px;
  background-image: url('images/wave_anciens.svg');
}

/* Grids do Flexbox */
.team-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  gap: 15px;
}

/* Fechamento do Eixo X conforme as linhas amarelas (Reduzido de 920px para 800px) */
.team-grid.grid-5-cols {
  max-width: 800px;
  margin: 0 auto;
}

.team-member {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* --- ALINHAMENTO MILIMÉTRICO (ONDA VERDE) --- */

/* Ana-Maria: alinhada à Lou (linha amarela) + puxada para dentro em X */
.pos-act-1 { 
  margin-top: 68px; 
  margin-left: 12px;
} 

/* Jarbas: subido para a linha violeta */
.pos-act-2 { 
  margin-top: 22px; 
} 

/* Lou: referência da linha amarela */
.pos-act-3 { 
  margin-top: 68px; 
} 

/* Ophélie: subida para a linha violeta */
.pos-act-4 { 
  margin-top: 22px; 
} 

/* Tasnîme: alinhada à Lou (linha amarela) + puxada para dentro em X */
.pos-act-5 { 
  margin-top: 68px; 
  margin-right: 12px;
}

/* Expansion no Eixo X: alarga o container de 840px para 940px */
.equipe-container.anciens-block {
  max-width: 940px;
  margin-bottom: 30px;
}

.wave-anciens {
  max-width: 940px;
  height: 150px;
  top: 0px;
  background-image: url('images/wave_anciens.svg');
}

/* --- EIXO Y DO GRUPO CINZA (SUBINDO TODOS PARA 20px) --- */
.pos-anc-1 { margin-top: 20px; } /* Fériel */
.pos-anc-2 { margin-top: 20px; } /* Lisa */
.pos-anc-3 { margin-top: 20px; } /* Cécile */
.pos-anc-4 { margin-top: 20px; } /* Eliott */

/* Avatares (72px) */
.avatar-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.border-purple { border: 2.5px solid #9c4edd; }
.border-dark   { border: 2.5px solid #2d3748; }

.team-member:hover .avatar-wrapper {
  transform: scale(1.1);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hastes Conectoras e Tipografia */
.stem-line {
  width: 2px;
  height: 38px;
  margin: 8px 0;
}

.stem-purple { background-color: #9c4edd; }
.stem-dark   { background-color: #2d3748; }

.member-info {
  text-align: center;
  max-width: 180px;
}

.member-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.member-role {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.4;
}

.color-purple       { color: #9c4edd; }
.color-purple-light { color: #7e57c2; }
.color-dark         { color: #2d3748; }
.color-dark-light   { color: #4a5568; }

/* Brackets de Agrupamento */
.group-bracket {
  margin: 40px auto 0 auto;
  border-left: 2px solid;
  border-right: 2px solid;
  border-bottom: 2px solid;
  height: 25px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.bracket-purple { 
  border-color: #9c4edd; 
  width: 720px; /* Encurtado para a Équipe actuelle */
}

.bracket-dark { 
  border-color: #2d3748; 
  width: 80%; /* Mantido para Anciens membres */
}

.bracket-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: #ffffff;
  padding: 0 16px;
  position: absolute;
  bottom: -12px;
}

/* Responsividade Mobile */
@media (max-width: 850px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .team-member {
    margin-top: 0 !important;
  }
  
  .wave-bg, .group-bracket {
    display: none;
  }
}

/* ==========================================
   SITE FOOTER (DESIGN INSTITUTIONNEL TEAL)
   ========================================== */
.site-footer {
  width: 100%;
  background-color: #ffffff;
  position: relative;
  font-family: 'Outfit', sans-serif;
}

/* Onda de Transição com SVG Tile Responsivo */
.footer-wave-bg {
  width: 100%;
  height: 60px;
  background-image: url('images/footer_wave_tile.svg');
  background-repeat: repeat-x;
  background-size: 256px 60px;
  margin-bottom: -1px;
}

/* Bloco Principal Teal */
.footer-main {
  background-color: #3EBCB8;
  color: #ffffff;
  padding: 40px 20px 60px 20px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 8px;
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a, 
.footer-contact-item a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 300;
  transition: opacity 0.2s ease;
}

.footer-links a:hover, 
.footer-contact-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-contact-item {
  font-size: 0.92rem;
  margin-bottom: 6px;
}

/* Faixa externa inferior de fundo branco */
.footer-bottom {
  background-color: #ffffff;
  padding: 45px 20px 25px 20px; /* Margem superior de 45px para dar o respiro visual */
  border-top: 1px solid #e2e8f0;
}

/* Container Inferior em Grid Sincronizada com o Topo */
.footer-bottom-container {
  max-width: 1100px; /* Mesma largura máxima do container principal acima */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Bloco dos Logos ocupando as 2 primeiras colunas */
.footer-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 2; /* Ocupa a largura correspondente às colunas 1 e 2 */
}

.footer-logos {
  display: flex;
  align-items: center; /* Alinha o centro de todos os logos na mesma linha */
  gap: 32px;
  flex-wrap: wrap;
}

/* Regra Geral de Harmonização Óptica */
.partner-logo {
  height: auto;
  max-height: 48px; /* Limite de altura */
  max-width: 160px; /* Limite de largura para não esticar logos horizontais */
  width: auto;
  object-fit: contain;
  filter: grayscale(10%) contrast(95%);
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* Regra Geral para todas as marcas */
.partner-logo {
  height: auto;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%) contrast(95%);
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* --- COLE O NOVO BLOCO AQUI (ENTRE A REGRA GERAL E O HOVER) --- */

/* República Francesa: ganha mais altura por ser um bloco vertical/empilhado */
.partner-logo[src*="logo_rf"] {
  max-height: 68px;
}

/* ANR: reduz a altura para compensar o peso das letras grossas */
.partner-logo[src*="logo_anr"] {
  max-height: 30px;
}

/* France 2030 */
.partner-logo[src*="logo_france2030"] {
  max-height: 46px;
}

/* Université Gustave Eiffel */
.partner-logo[src*="logo_eiffel"] {
  max-height: 36px;
}

/* CNRS */
.partner-logo[src*="logo_cnrs"] {
  max-height: 42px;
}

/* Efeito Hover ao passar o mouse */
.partner-logo:hover {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.03);
}


/* Bloco dos Ícones Sociais perfeitamente alinhado com a Coluna 3 (Contact) */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1; /* Ocupa a largura correspondente à coluna 3 */
  justify-content: flex-start; /* Força o alinhamento à esquerda, na borda da coluna Contact */
}

.social-icon {
  width: 26px;
  height: 26px;
  color: #3EBCB8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  color: #2b9894;
  transform: translateY(-2px);
}

.footer-copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: #64748b;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .footer-container, 
  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col-title {
    display: block;
  }

  .footer-logos {
    justify-content: center;
  }
}

/* ==========================================
   STYLES SPÉCIFIQUES AUX SOUS-SECTIONS (MÉTHODES)
   ========================================== */

/* Respiro amplo no topo para descer todo o conteúdo */
.projet-section-method {
  width: 100%;
  background-color: #ffffff;
  padding-top: 140px; /* Aumentado para empurrar o bloco para baixo */
}

.projet-container-method {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px 20px;
}

.projet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

/* Coluna de texto (Esquerda): 65% de largura para empurrar o divisor para a direita */
.projet-column-left {
  flex: 0 0 65%;
  padding-right: 60px; /* Espaço generoso da esquerda até a linha */
  text-align: left;
}

/* Coluna do líder (Direita): 35% de largura com o divisor alinhado à guia */
.projet-column-right {
  flex: 0 0 35%;
  border-left: 2px solid #80D4A3; /* Linha divisória vertical verde */
  padding-left: 60px; /* Espaço igual da linha até a foto */
  display: flex;
  justify-content: center;
  align-items: center;
}

.projet-leader-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.projet-title-method {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #80D4A3;
  margin-bottom: 24px;
}

.color-green {
  color: #80D4A3;
}

.border-white {
  border: 2.5px solid #ffffff;
}

/* Seção verde inferior */
.turbine-section-method {
  width: 100%;
  background-color: #80D4A3;
  padding: 80px 0;
}

.turbine-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 20px;
}

.ontologie-title-method {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #80D4A3;
  line-height: 1.2;
  margin-bottom: 24px;
}