/* ======================
   BASE
====================== */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* ======================
   HEADER
====================== */
header {
  background-color: #003060;
  color: #efcd78;
  text-align: center;
  padding: 1.5rem 1rem 3rem 1rem;
  position: relative;
  overflow: hidden;
}

header::before {
  display: none;
}

header h1,
header p {
  color: #efcd78;
}

header h1,
header p,
header .cta-button {
  position: relative;
  z-index: 2;
}

/* Spécifique au CTA du header (jaune sur fond bleu) */
header a.cta-button {
  color: #003060;
  background-color: #efcd78;
  border: none;
  padding: 1rem 2rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 2rem;
  border-radius: 50px;
  font-weight: bold;
}

/* ======================
   CTA GLOBAL (centrage + styles communs)
====================== */

/* Tous les wrappers CTA et sections concernées */
.cta-wrap,
header,
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;    /* centre horizontalement */
  justify-content: center;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background: #003060;
  color: #efcd78;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  margin: 1rem 0;
  transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
  background: #001e3e;
  color: #fff;
}

.cta-button.xl {
  font-size: 1.2rem;
  padding: 1.2rem 2.5rem;
}

.cta-note {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #555;
}


/* ======================
   SECTIONS & TITRES
====================== */

/* Par défaut : sections visibles */
section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
  opacity: 1;
  transform: none;
}

/* Effet d’apparition uniquement pour les sections qui ont data-aos */
section[data-aos] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Quand AOS déclenche l’anim */
section[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

section img {
  transition: transform 0.3s ease;
}

section img:hover {
  transform: scale(1.05);
}

h2 {
  text-align: center;
  color: #003060;
  margin-bottom: 1rem;
}

p, li {
  font-size: 1.1rem;
}

ul {
  list-style-type: disc;
  margin-left: 2rem;
}

/* ======================
   SECTION WORLD (espacements réduits)
====================== */
#world .grid.worlds {
  gap: 1.5rem; /* au lieu de gap-lg (tu peux descendre à 1rem si tu veux) */
}

#world .card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem; /* resserre l’écart avec le texte */
}

#world .card p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5; /* plus compact mais toujours lisible */
}

/* ======================
   FORMULAIRE SPONSOR
====================== */
.formulaire-sponsor {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.formulaire-sponsor label {
  display: block;
  margin-top: 1rem;
}

.formulaire-sponsor input,
.formulaire-sponsor textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.formulaire-sponsor button {
  background: #003060;
  color: #efcd78;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.formulaire-sponsor button:hover {
  background: #001e3e;
  color: #fff;
}

/* ======================
   MEMBRES
====================== */
.membre {
  text-align: center;
  flex: 1 1 200px;
  max-width: 250px;
  min-width: 200px;
}

/* Nouveau wrapper pour positionner librement l'image dans le cercle */
.photo-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem auto;
  position: relative;
}

/* Photo ronde — remplissage propre + recadrage */
.photo-wrapper img {
  position: absolute;
  width: 100%;
  height: 100%;          /* important pour activer object-fit correctement */
  object-fit: cover;     /* remplit le cercle sans déformation */
  object-position: 50% 20%; /* valeur par défaut (centrée un peu plus haut) */
  top: 0;
  left: 0;
  transform: translate(0, 0);
}

/* Positionnements personnalisés (affinent object-position si besoin) */
.position-kyzz img { object-position: 50% 0%; }
.position-ines img { object-position: 50% 30%; }

/* Romuald — image “remontée” un peu plus haut */
.position-romuald img { object-position: 50% 50%; }

.position-may img { object-position: 50% 0%; }
.position-gregory img { object-position: 50% 20%; }
.position-florence img { object-position: 50% 0%; }
.position-phil img { object-position: 50% 0%; }
.position-alexandre img { object-position: 50% 25%; }

.membre p {
  margin: 0.5rem 0;
}

.membre .bio {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
  max-width: 220px;
  margin: 0.5rem auto 0 auto;
  text-align: center;
}

/* ======================
   NAVBAR
====================== */
.navbar {
  background-color: #001e3e;
  padding: 1rem 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.navbar a {
  color: #efcd78;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #fff;
}

.reseaux-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ======================
   RESEAUX SOCIAUX
====================== */
.social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s;
}

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

.reseaux {
  margin-bottom: 1rem;
}

.reseaux a {
  margin: 0 0.5rem;
  display: inline-block;
}

.reseaux .social-icon {
  width: 32px;
  height: 32px;
}

/* ======================
   FOOTER
====================== */
footer {
  background: #001e3e;
  color: #efcd78;
  text-align: center;
  padding: 1rem;
}

/* ======================
   TARIFS
====================== */
#tarifs h2 {
  text-align: center;
  color: #003060;
  margin-bottom: 2rem;
}

.formule-card {
  background: linear-gradient(135deg, #f5e6ff 0%, #ffffff 100%);
  border: 2px solid #003060;
  border-radius: 12px;
  padding: 2rem;
  max-width: 300px;
  flex: 1 1 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  position: relative;
  overflow: hidden;
}

.formule-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #ebd4ff 0%, #ffffff 100%);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.formule-card h3 {
  color: #003060;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.formule-card .tarif {
  display: block;
  text-align: center;
  color: #efcd78;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0.5rem 0 1rem;
}

.formule-card ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.formule-card li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.formule-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ======================
   FILIGRANE VENDUE
====================== */
.filigrane-vendue {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  font-size: 4rem;
  color: rgba(255, 0, 0, 0.6);
  font-weight: 800;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 5;
}
