/* =====================================
   ODYSSEUS – COMPONENTS CSS
   Composants réutilisables (titres, cartes, grilles…)
   ===================================== */

/* === Sections & titres === */
.poles-section {
  margin: 3em 0;
  text-align: center;
}

.section-title {
  font-size: 2em;
  color: var(--bleu-nuit);
  margin-bottom: 0.5em;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 2em;
  color: var(--texte);
}

/* === Grille de cartes de pôles === */
.poles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
}

/* === Carte de pôle (composant réutilisable) === */
.pole-card {
  background: var(--blanc-pur);
  border: 2px solid var(--doré);
  border-radius: 16px;
  padding: 1.5em; /* valeur présente dans ton fichier */
  /* transition et ombre telles qu'elles apparaissent dans ton CSS actuel */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.pole-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.pole-card h3 {
  color: var(--bleu-nuit);
  margin-top: 1em;
}

.pole-card p {
  font-size: 0.95em;
  color: var(--texte);
}

.pole-icon {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

/* =====================================
   BOUTONS CTA – Composants réutilisables
   ===================================== */
.cta-button,
.cta-main-btn {
  display: inline-block;
  background: var(--doré);
  color: var(--blanc-pur);
  padding: 0.8em 1.8em;
  border-radius: 12px;
  font-size: 1.05em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover,
.cta-main-btn:hover {
  background: var(--bleu-nuit);
  color: var(--blanc-pur);
  transform: translateY(-2px);
}

.cta-button:focus,
.cta-main-btn:focus {
  outline: 3px solid var(--focus-outline);
  outline-offset: 3px;
}

/* =====================================
   GRILLES – Composants Layout Réutilisables
   ===================================== */
.cards-grid,
.team-grid,
.generic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  width: 100%;
  margin: 2.5rem 0;
}

/* =====================================
   CARTES – Base réutilisable
   ===================================== */
.od-card {
  background: var(--blanc-pur);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gris-clair);
}

.od-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
}

/* =====================================
   INFO CARD – Carte informative
   ===================================== */
.info-card {
  background: var(--blanc-pur);
  border-radius: 20px;
  padding: 2rem 2.4rem;
  margin: 2.4rem 0;
  border: 2px solid var(--doré);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
}

/* =====================================
   TEAM CARD – Carte intervenant / équipe
   ===================================== */
.team-card {
  background: var(--blanc-pur);
  border: 2px solid var(--doré);
  border-radius: 20px;
  padding: 2rem 2.4rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.team-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 1rem;
}

/* =====================================
   CONTACT CARD
   ===================================== */
.contact-card {
  background: var(--blanc-pur);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  border: 1px solid var(--gris-clair);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.12);
}

/* =====================================
   AXIS CARD – Carte thématique
   ===================================== */
.axis-card {
  background: var(--blanc-pur);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid var(--doré);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.axis-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
