:root {
  --blue-dark: #314195;
  --blue-main: #29367A;
  --blue-light: #f7f8fc;
  --blue-hover: #29367A;
  --blue-lightest: #f7f8fc;
}

/* =====================
   Réinitialisation de base
===================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #333;
}

/* =====================
   Top Bar
===================== */
.top-bar {
  background-color: var(--blue-light);
  width: 100%;
  text-align: center;
  padding: 5px 0;
}
.top-info {
  font-size: 0.9em;
  color: #333;
  opacity: 0.9;
}

/* =====================
   Header Sticky (bureau uniquement)
===================== */
.sticky-header {
  background-color: #fff;
}
@media (min-width: 900px) {
  .sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}

/* =====================
   Main Header
===================== */
.main-header {
  padding: 15px 5%;
  border-bottom: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

/* Logo */
.header-left .header-logo {
  height: 40px;
  width: auto;
  border-radius: none;
}

/* =====================
   Menu
===================== */
.header-menu ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.header-menu ul li a {
  text-decoration: none;
  font-weight: bold;
  color: var(--blue-dark);
  transition: color 0.2s;
}
.header-menu ul li a:hover {
  color: var(--blue-main);
}

/* =====================
   Bouton Contact
===================== */
.btn-contact {
  display: inline-block;
  background-color: var(--blue-main);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn-contact:hover {
  background-color: #3648a4;
}

/* =====================
   Hamburger Menu (Mobile/Tablette)
===================== */
.menu-toggle {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}
.hamburger .bar {
  width: 100%;
  height: 3px;
  background-color: var(--blue-dark);
  border-radius: 2px;
}

/* =====================
   Conteneur du Hero
===================== */
.header-container {
  max-width: 1200px;
  margin: 20px auto;
  overflow: visible;
}

/* =====================
   Section Hero
===================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 5%;
  background-color: #fff;
  position: relative;
}

.hero-texts {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 536 / 548;
  max-width: 536px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-texts {
    min-height: 300px; /* adapte selon ton contenu visible */
  }
}


/* Ajout spécifique pour mobile */
@media screen and (max-width: 768px) {
  .hero-texts {
    min-height: 260px; /* Plus grand car le texte prend plus de lignes sur mobile */
  }
}

.hero-texts h1 {
  font-size: 2.6em;
  color: var(--blue-dark);
  margin-bottom: 15px;
  line-height: 1.2;
}
.hero-texts p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
}
.btn-decollage {
  display: inline-block;
  background-color: var(--blue-main);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn-decollage:hover {
  background-color: #3648a4;
}
.satisfaction {
  margin-top: 15px;
  color: #666;
  font-size: 0.95em;
}
.hero-images {
  flex: 0 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
}
.hero-images .hero-img {
  display: block;
  border-radius: 8px;
}

/* =====================
   Section Alternating Services
===================== */
.alternating-services {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
.service-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
}
.service-block.reversed {
  flex-direction: row-reverse;
}
.service-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  display: block;
}
.service-text {
  flex: 1 1 200px;
  text-align: left;
}
.service-text h3 {
  font-size: 1.6em;
  color: var(--blue-dark);
  margin-bottom: 15px;
}
.service-text p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #333;
}
.service-button {
  display: inline-block;
  background-color: var(--blue-main);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.service-button:hover {
  background-color: #3648a4;
}

/* Responsive Alternating Services */
@media (max-width: 900px) {
  .service-block {
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
    gap: 20px;
  }
  .service-block.reversed {
    flex-direction: column;
  }
  .service-image,
  .service-text {
    width: 100%;
  }
  .service-image img {
    max-width: 100%;
    height: auto;
  }
  .service-text {
    padding: 0 10px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .service-block {
    margin-bottom: 20px;
    gap: 15px;
  }
  .service-text h3 {
    font-size: 1.4em;
  }
  .service-text p {
    font-size: 0.95em;
  }
  .service-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }
}

/* =====================
   Section Testimonials (Avis)
===================== */
.testimonials {
  width: 100%;
  background-color: var(--blue-lightest);
  padding: 40px 0;
}
.testimonials-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.testimonials-container h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: var(--blue-dark);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.testimonial-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
}
.testimonial-card h3 {
  margin-top: 5px;
  margin-bottom: 2px;
  font-size: 1em;
  color: var(--blue-dark);
}
.domain {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
}
.stars {
  font-size: 1em;
  margin-bottom: 5px;
}
.testimonial-text {
  font-size: 0.95em;
  line-height: 1.4;
  color: #333;
  margin-top: 10px;
  clear: both;
}
.more-reviews {
  margin-top: 10px;
}
.btn-avis {
  display: inline-block;
  background-color: var(--blue-main);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn-avis:hover {
  background-color: #3648a4;
}

/* ===== Section "Équipe passionnée" ===== */
.passion-section {
  max-width: 1200px;
  margin: 40px auto;       /* Espace avant/après la section */
  padding: 40px 20px;      /* Padding interne */
}

.passion-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;               /* Espace horizontal entre texte et image */
}

/* Colonne de gauche : texte */
.passion-text {
  flex: 1 1 200px;
  text-align: left;
}
.passion-text h2 {
  font-size: 2em;
  color: var(--blue-dark);
  margin-bottom: 15px;
  line-height: 1.2;
}
.passion-text p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #333;
}
.authors {
  font-style: italic;
  margin-bottom: 20px;
}
.passion-button {
  display: inline-block;
  background-color: var(--blue-main);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.passion-button:hover {
  background-color: #3648a4;
}

/* Colonne de droite : image */
.passion-image img {
  width: 100%;
  max-width: 400px; /* Ajustez si nécessaire */
  border-radius: 8px;
  display: block;
}

/* ===== Responsive pour la section "passion" ===== */
@media (max-width: 900px) {
  .passion-container {
    flex-direction: column;
    text-align: center;
  }
  .passion-text, .passion-image {
    width: 100%;
  }
  .passion-text {
    text-align: center;
  }
  .passion-image img {
    max-width: 100%;
    margin-top: 20px;
  }
}

/* =====================
   Footer
===================== */
.site-footer {
  width: 100%;
  background-color: #29367A;
  color: #fff;
  margin-top: 40px;
  font-size: 0.95em;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
}
.footer-logo-section {
  flex: 1 1 240px; /* Réduction de la largeur minimale */
  margin-bottom: 20px;
}
.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 15px;
  border-radius: none;
}
.footer-description {
  margin-bottom: 15px;
  line-height: 1.4;
}
.footer-button {
  display: inline-block;
  background-color: #4b5ec3;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-bottom: 15px;
}
.footer-button:hover {
  background-color: #9aa5df;
}
.footer-stars {
  margin-bottom: 10px;
  line-height: 1.4;
}
.footer-links-container {
  display: flex;
  flex: 3 1 720px; /* Plus de place pour les colonnes */
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-column {
  flex: 1 1 220px; /* Larges colonnes qui s'alignent bien */
  min-width: 200px;
}
.footer-column h3 {
  margin-bottom: 10px;
  font-size: 1em;
  color: #fff;
}
.footer-column ul {
  list-style: none;
  line-height: 1.6;
}
.footer-column ul li {
  margin-bottom: 6px;
}
.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}
.footer-column ul li a:hover {
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 15px 20px;
  text-align: center;
  font-size: 0.85em;
}
.footer-bottom a {
  color: #fff;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* =====================
   Responsive
===================== */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }
  .header-menu ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 10px;
  }
  /* Le menu mobile s'affiche grâce au checkbox hack */
  .menu-toggle {
    display: block;
  }
  .hamburger {
    display: flex;
  }
  /* Par défaut, le menu est masqué */
  #nav-menu {
    display: none;
    width: 100%;
    background-color: #fff;
  }
  /* Quand le checkbox est coché, le menu s'affiche en bloc */
  .menu-toggle:checked + .hamburger + #nav-menu {
    display: block;
  }
  .header-right {
    margin-top: 10px;
  }
  /* Le header sticky n'est pas activé sur mobile */
  .sticky-header {
    position: static;
  }
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-texts {
    width: 100%;
    text-align: center;
  }
  .hero-images {
    justify-content: center;
  }
  .alternating-services,
  .testimonials-container,
  .footer-top {
    padding: 20px;
  }
}

@media (max-width: 800px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-links-container {
    justify-content: flex-start;
  }
}

/* ========== Section Intro SSCT ========== */
.intro-ssct {
  padding: 60px 20px;
  background-color: var(--blue-lightest);
  color: var(--blue-dark);
}

.intro-ssct .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.intro-ssct .section-title {
  font-size: 2.2em;
  line-height: 1.3;
  margin-bottom: 20px;
}

.intro-ssct .highlight {
  color: var(--blue-main);
  font-weight: bold;
}

.intro-ssct .section-subtitle {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  text-align: left;
}

.feature h3 {
  font-size: 1.1em;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.5;
}

.cta .btn-modern {
  display: inline-block;
  background-color: var(--blue-main);
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.cta .btn-modern:hover {
  background-color: #314195;
}

.loi-section {
  background-color: var(--blue-lightest);
  padding: 60px 20px;
  margin-top: 40px;
}
.loi-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.loi-container h2 {
  font-size: 1.8em;
  color: var(--blue-dark);
  margin-bottom: 20px;
}
.loi-container p {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}
.btn-loi {
  display: inline-block;
  margin-top: 15px;
  background-color: var(--blue-main);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn-loi:hover {
  background-color: #3648a4;
}

/* =====================
   FAQ SECTION
===================== */
.faq-section {
  background-color: #f7f8fc;
  padding: 60px 20px;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: var(--blue-dark);
  text-align: center;
}

/* FAQ Item Style */
.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Toggle invisible */
.faq-toggle {
  display: none;
}

/* Question Label */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #e0e3f4;
  color: var(--blue-dark);
  padding: 18px 20px;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #f7f8fc;
}

/* Icon style */
.faq-icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

/* Rotate icon when open */
.faq-toggle:checked + .faq-question .faq-icon {
  transform: rotate(180deg);
}

/* Answer Style */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
  background-color: #fff;
  border-top: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  margin: 0;
}
.faq-container h2 {
  margin-bottom: 20px;
  font-size: 1.8em;
  font-weight: bold;
  color: var(--blue-dark);
}
.faq-intro {
  margin-bottom: 30px;
}

/* =====================
   Section Actualités en Direct
===================== */
.actualites-section {
  background-color: #fff;
  padding: 60px 20px;
  margin-top: 40px;
}

.actualites-container {
  max-width: 1200px;
  margin: 0 auto;
}

.actualites-title {
  font-size: 1.8em;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 40px;
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.actualite-item {
  background-color: var(--blue-lightest);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.actualite-item:hover {
  transform: translateY(-4px);
}

.actualite-item h3 {
  font-size: 1.2em;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.actualite-item p {
  font-size: 0.95em;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
}

.actualite-item a {
  display: inline-block;
  color: var(--blue-main);
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95em;
}

.actualite-item a:hover {
  text-decoration: underline;
}


.error-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  color: #023047;
}

.error-container {
  max-width: 800px;
  margin: 0 auto;
}

.error-container h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.error-container p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333;
}

.error-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.btn-retour {
  display: inline-block;
  background-color: #29367a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-retour:hover {
  background-color: #3648a4;
}

/* =====================
   Section Mentions légales
===================== */
.legal-main {
  padding: 60px 20px;
  background-color: #fff;
  color: #333;
}

.legal-section .container {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1em;
  color: #333;
}

.legal-section h1 {
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--blue-dark);
  text-align: center;
}

.legal-section h2 {
  font-size: 1.4em;
  color: var(--blue-dark);
  margin-top: 40px;
  margin-bottom: 15px;
}

.legal-section p {
  margin-bottom: 15px;
}

.legal-section a {
  color: var(--blue-main);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* Mise en page générale des pages formations locales */
/* --- STYLE SPÉCIFIQUE AUX PAGES FORMATION VILLES (Strasbourg, Metz, etc.) --- */

.page-content {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #2c2c2c;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

.intro-section {
  background-color: #29367a;
  color: #ffffff;
  padding: 80px 0;
  margin: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.intro-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}


.intro-section h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  position: relative;
  color: #ffffff;
  font-weight: 700;
}

.intro-section h1::after {
  content: '';
  display: block;
  margin: 10px auto 0;
  width: 60px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.intro-section h1:hover::after {
  width: 100px;
}

.intro-section .lead {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
  color: #e2e8f0;
  line-height: 1.6;
}


.content-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 20px;
}

.content-section h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #0f172a;
  border-left: 4px solid #1e40af;
  padding-left: 10px;
}

.content-section p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.content-section ul {
  margin-bottom: 30px;
  padding-left: 20px;
}

.content-section ul li {
  margin-bottom: 10px;
  list-style-type: disc;
  font-size: 1.05rem;
}

.cta-section {
  text-align: center;
  margin: 50px 0;
}

.cta-section .btn-modern {
  background-color: #29367a;
  color: #fff;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.cta-section .btn-modern:hover {
  background-color: #1d4ed8;
}

.conclusion {
  margin-top: 60px;
  font-weight: 600;
  text-align: center;
  font-size: 1.1rem;
  color: #1f2937;
}

/* ===== FIL D’ARIANE INSÉRÉ DANS LE BANDEAU BLEU ===== */

.breadcrumb-ville {
  margin-top: 40px;
  text-align: center;
  font-size: 0.95rem;
}

.breadcrumb-ville ol {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  color: #ffffff;
}

.breadcrumb-ville li {
  color: #ffffff;
  position: relative;
}

.breadcrumb-ville li::after {
  content: ">";
  margin: 0 8px;
  color: #ffffff;
}

.breadcrumb-ville li:last-child::after {
  content: "";
}

.breadcrumb-ville a {
  color: #ffffff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.breadcrumb-ville a:hover {
  opacity: 0.7;
}
/* --- HERO IMAGE RESPONSIVE --- */
/* HERO GLOBAL */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  background-color: transparent; /* On enlève le fond gris */
  gap: 30px;
}

/* Bloc texte à gauche */
.hero-texts {
  flex: 1 1 50%;
  text-align: left;
}

/* Bloc image à droite */
.hero-images {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image */
.hero-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 40px 15px;
    text-align: center;
  }

  .hero-texts {
    flex: 1 1 100%;
    order: 2;
  }

  .hero-images {
    order: 1;
    flex: 1 1 100%;
    margin-bottom: 20px;
  }

  .hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.formations-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.formation-full-block {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  padding: 40px;
}

.formation-full-block h2 {
  color: #29367a;
  margin-bottom: 20px;
}

.formation-full-block p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.formateur-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.formateur-photo-container {
  flex-shrink: 0;
}

.profile-photo {
  width: 280px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.formateur-bio {
  flex: 1;
}

@media (max-width: 768px) {
  .formateur-profile {
    flex-direction: column;
    text-align: center;
  }

  .formateur-bio h1 {
    font-size: 1.6rem;
    margin-top: 20px;
  }

  .formateur-bio {
    text-align: left;
  }
}

.hero-texts {
  min-height: 180px; /* adapte en fonction de ton contenu */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Supprime l'espace blanc sous la FAQ uniquement sur la page FAQ */
/* Étend la couleur de fond de la FAQ jusqu'en bas */
body.faq-page .faq-section {
  margin-bottom: 0;
  padding-bottom: 60px; /* si tu veux un peu d'air avant le footer, sinon 0 */
  background-color: #fff; /* ou la couleur exacte de fond de ta FAQ */
}

/* Évite les espaces blancs inutiles */
body.faq-page main {
  margin-bottom: 0;
  padding-bottom: 0;
}

body.faq-page .site-footer {
  margin-top: 0;
}

.article-image {
  border-radius: 12px;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
  display: block;
}

body.article-opco .intro-section {
  margin-bottom: 70px !important;
}

body.article-opco .content-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-actualites .intro-section {
  padding-bottom: 80px !important;  /* on garde un petit coussin visuel */
  margin-bottom: 0 !important;
}

body.page-actualites .content-section,
body.page-actualites section:not(.intro-section) {
  margin-top: 50px !important;
  padding-top: 0 !important;
}

main > section.content-section,
main > section.formulaire-contact {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.contact-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.contact-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.contact-container p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

form .form-group {
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #222;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

form input:focus,
form textarea:focus {
  border-color: #005baa;
  outline: none;
}

form textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group label {
  font-weight: normal;
  color: #444;
}

form button {
  background-color: #29367A;
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #3648a4;
}

@media screen and (max-width: 600px) {
  .checkbox-group {
    flex-direction: column;
  }

  form button {
    width: 100%;
  }
}

body.page-contact .contact-section {
  padding-top: 30px !important;
}

body.page-contact .intro-section {
  margin-bottom: 60px !important;  /* ou 40px, à toi de doser */
}











.formateur-profile {
  margin-top: 70px;
}


.passion-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.passion-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.passion-image img {
  height: auto;
  max-width: 100%;
  width: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}
