/* =========================
   VARIABLES & RESET
   ========================= */

:root {
  --blue-qualio: #00458A;
  --blue-soft:   #E3EDF9;
  --red-qualio:  #E02626;

  --beige-main:  #F5E5D4;
  --beige-soft:  #F9F1E7;
  --beige-mid:   #E4D5C6;

  --text-main:   #26252A;
  --text-soft:   #5A5860;

  --accent:      #E45A3C;
  --accent-dark: #C9482F;

  --radius-card: 18px;
  --shadow-soft: 0 12px 30px rgba(18, 33, 58, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Mulish", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 4rem 0; }

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  letter-spacing: .02em;
  margin-bottom: .75rem;
  text-align: center;
  color: var(--text-main);
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-soft);
}

.link-inline {
  color: var(--blue-qualio);
  font-weight: 500;
}
.link-inline:hover { text-decoration: underline; }

/* =========================
   HEADER & NAV
   ========================= */

.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(90deg, #00244E 0%, var(--blue-qualio) 40%, #0060B3 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO + TEXTE */

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #ffffff;
}

/* LOGO EN-TÊTE : fond crème + contour dégradé (Option 2+3) */
.brand-mark {
  background:
    linear-gradient(#FFF7EF, #FFF7EF) padding-box,
    linear-gradient(135deg, #F6E7D3, #E3EDF9, #FDE7D8) border-box;
  border-radius: 22px;
  border: 1px solid transparent;
  padding: 0.45rem 0.9rem;
  box-shadow:
     0 10px 22px rgba(0, 0, 0, .28),
     0 0 0 1px rgba(255,255,255,.35);

  display: flex;
  align-items: center;
  justify-content: center;

  transform-origin: left center;
  opacity: 0;
  animation: logoIntro 0.8s ease-out forwards;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.brand-mark:hover {
  transform: scale(1.05);
  box-shadow:
    0 17px 36px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.55);
  filter: brightness(1.05);
}

.brand-mark img {
  height: 45px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 700;
  font-size: .95rem;
}

.brand-tagline {
  font-size: .78rem;
  opacity: .85;
}

/* NAV */

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .95rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.1rem;
  color: #ffffff;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  opacity: .85;
  transition: width .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* BURGER */

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-left: 1rem;
}

.burger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

/* =========================
   HERO ACCUEIL
   ========================= */

.hero {
  padding: 4.2rem 0 3.5rem;
}
.hero-retail {
  background: radial-gradient(circle at top left, var(--blue-soft) 0%, var(--beige-main) 40%, #FDF8F2 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 3rem;
  align-items: center;
}

/* =========================
   RÉVEAL ANIMATIONS
   ========================= */

/* État initial : caché */
.reveal,
.reveal-left,
.reveal-right,
.reveal-delay {
  opacity: 0;
  transform: translateY(18px);
}

/* Quand IntersectionObserver ajoute .in-view */
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.reveal-delay.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

/* Effets directionnels */
.reveal-left.in-view {
  animation: fadeInLeft .7s ease-out forwards;
}

.reveal-right.in-view {
  animation: fadeInRight .7s ease-out forwards;
}

/* HERO TEXTE */

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .3rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 90, 60, 0.4);
  background: rgba(255, 248, 241, .96);
  color: #AA5935;
  margin-bottom: 1.1rem;
}
.hero-label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.7rem;
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 1rem;
  color: #2C2421;
}

.hero-subtitle {
  font-size: .98rem;
  color: #5D4A40;
  max-width: 520px;
  margin-bottom: 1.7rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.3rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hero-tags span {
  font-size: .8rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: #F2DFD0;
  color: #764834;
}

/* HERO droite */

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-qualiopi-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.2rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(22, 35, 58, 0.18);
}

.hero-qualiopi-logo img {
  width: 110px;
  height: auto;
}
.qualiopi-title {
  font-weight: 600;
  margin-bottom: .2rem;
}
.qualiopi-sub {
  font-size: .86rem;
  color: var(--text-soft);
}

/* Photo hero */

.hero-photo-card {
  position: relative;
  padding: 4px;
  border-radius: 24px;
  background: linear-gradient(135deg, #F5E5D4, #E3EDF9, #FCE0D2);
  background-size: 200% 200%;
  box-shadow: var(--shadow-soft);
  animation: gradientFlow 12s ease-in-out infinite alternate;
}
.hero-photo-main img {
  border-radius: 20px;
}
.hero-photo-card:hover {
  animation-duration: 6s;
  transform: translateY(-3px);
}
.hero-photo-label {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(15, 27, 46, .9);
  color: #fff;
  font-size: .78rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.hero-photo-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #3DE08A;
}

/* =========================
   BOUTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .18s.ease, color .18s ease,
              transform .18s ease, box-shadow .18s.ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(201, 86, 52, .45);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(157, 67, 40, .6);
}

.btn-outline {
  background: #ffffff;
  color: #6A4635;
  border-color: rgba(228, 90, 60, 0.75);
}
.btn-outline:hover {
  background: #FFF1E8;
  color: #4D2F23;
  box-shadow: 0 10px 22px rgba(191, 93, 59, .35);
}

/* =========================
   BLOC FORMATION PHARE (home)
   ========================= */

.formation-block {
  background: #ffffff;
  padding: 3.2rem 0 3.5rem;
  border-top: 1px solid rgba(228, 213, 198, .8);
}

.formation-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.formation-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: .8rem;
}

.formation-intro {
  color: var(--text-soft);
  margin-bottom: 1.1rem;
}

.formation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}
.formation-tags span {
  font-size: .8rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: #EEF1F6;
  color: #495369;
}

.formation-list {
  margin-bottom: 1.3rem;
  font-size: .95rem;
}
.formation-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: .3rem;
}
.formation-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-qualio);
}

/* Colonne images */

.formation-media {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

/* Cadre dégradé autour de la grande photo */

.formation-media-top {
  padding: 6px;
  border-radius: 22px;
  background: linear-gradient(135deg, #F6E7D3, #E3EDF9, #FDE7D8);
  background-size: 200% 200%;
  animation: gradientFlow 12s ease-in-out infinite;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.formation-media-top img {
  width: 100%;
  border-radius: 18px;
}

/* =========================
   PÉDAGOGIE – CARTES
   ========================= */

.why-us {
  background: var(--beige-soft);
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--beige-mid);
  border-bottom: 1px solid var(--beige-mid);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Carte avec bordure dégradée et fond blanc à l’intérieur */
.card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 1.35rem 1.25rem;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #F6E7D3, #E3EDF9, #FDE7D8) border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 40px rgba(24, 38, 50, 0.16);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: .55rem;
  color: var(--text-main);
}

.card p {
  font-size: .9rem;
  color: var(--text-soft);
}

/* Effet au survol : légère remontée + glow */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(22, 32, 40, 0.30);
  filter: brightness(1.02);
}

/* =========================
   QUALIOPI & QUALITÉ
   ========================= */

.quality {
  background: #ffffff;
  padding: 3rem 0 3.2rem;
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.quality-text p {
  margin-bottom: .7rem;
  color: var(--text-soft);
}
.quality-text .small-text {
  font-size: .85rem;
  color: #7f8790;
}

.quality-image .qualio-block {
  padding: 1.6rem 1.8rem;
  border-radius: 24px;
  background: radial-gradient(circle at top left,#F1F6FF 0,#ffffff 55%);
  box-shadow: var(--shadow-soft);
  display:flex;
  align-items:center;
  justify-content:center;
}
.quality-image .qualio-block img {
  width: 210px;
}

/* =========================
   PARTENAIRES
   ========================= */

.partners {
  background: var(--beige-main);
  padding-top: 3rem;
  padding-bottom: 3.2rem;
  border-top: 1px solid var(--beige-mid);
}

/* Carte autour de chaque logo + texte */
.partner-circles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 1.8rem;
}

/* carte globale du financeur */
.partner-circle {
  position: relative;
  text-align: center;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 1.6rem 1.2rem 1.8rem;
  border-radius: 28px;
  background:
    linear-gradient(#FFF8F1, #FFFFFF) padding-box,
    linear-gradient(145deg, #F6E7D3, #E3EDF9, #FDE7D8) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 20px 45px rgba(15, 24, 35, 0.25),
    0 0 0 1px rgba(255,255,255,0.8);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.partner-circle:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 30px 70px rgba(15, 24, 35, 0.35),
    0 0 0 1px rgba(255,255,255,1);
  filter: brightness(1.03);
}

/* rond du logo */
.partner-logo-round {
  width: 130px;
  height: 130px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0%, #FFF3E3 0%, #F6E1CE 40%, #E3EDF9 100%);
  border: 1px solid rgba(214, 189, 160, 0.7);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 18px 40px rgba(22, 34, 42, 0.35);
  padding: .9rem;
  animation: floatSoft 6s ease-in-out infinite;
}

.partner-logo-round img {
  max-width: 90%;
  max-height: 90%;
}

/* décalage de l’animation pour ne pas qu’ils bougent tous pareil */
.partner-circle:nth-child(2) .partner-logo-round {
  animation-delay: .7s;
}
.partner-circle:nth-child(3) .partner-logo-round {
  animation-delay: 1.3s;
}
.partner-circle:nth-child(4) .partner-logo-round {
  animation-delay: 2s;
}

/* =========================
   CTA
   ========================= */

.cta {
  background: linear-gradient(135deg,#001A3A 0%,var(--blue-qualio) 45%,#C51E27 100%);
  color: #ffffff;
  padding: 3rem 0;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  margin-bottom: .6rem;
}
.cta-inner p {
  color: #EDEFF7;
  margin-bottom: 1.3rem;
}

/* =========================
   HERO PAGE (Formations, Contact)
   ========================= */

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg,#F8FBFF 0,#E7EFFA 45%,#F9F1E7 100%);
  border-bottom: 1px solid rgba(114,134,159,.25);
}
.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  margin-bottom: .6rem;
}
.page-hero p {
  max-width: 640px;
  color: var(--text-soft);
}

/* =========================
   FORMATIONS – PAGE DÉTAIL
   ========================= */

.training-detail {
  padding: 3rem 0 4rem;
  background: radial-gradient(circle at top left, #F8FBFF 0, #FFFFFF 55%, #F9F1E7 100%);
}

.training-detail > .container {
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    linear-gradient(135deg, #F6E7D3, #E3EDF9, #FDE7D8) border-box;
  border-radius: 30px;
  border: 1px solid transparent;
  box-shadow: 0 24px 60px rgba(15, 24, 35, 0.30);
  padding: 2.2rem 2rem 2.6rem;
}

.training-grid {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
  gap: 2.2rem;
}

.training-main h2 {
  font-family:"Playfair Display",serif;
  font-size:1.8rem;
  margin-bottom:.6rem;
}
.training-main .tagline {
  color:var(--text-soft);
  margin-bottom:1rem;
  font-size:.95rem;
}
.training-meta {
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  font-size:.88rem;
  margin-bottom:1.4rem;
  color:var(--text-soft);
}
.training-meta span::before { content:"• "; }

/* Liste formation (objectifs) */

.training-main .formation-list {
  margin-bottom: 1.2rem;
}

/* PUCE PREMIUM POUR PROGRAMME (ul.programme-list) */

.programme-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.programme-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.45rem;
  font-size: .93rem;
  color: var(--text-soft);
}

.programme-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #FFB27C);
  box-shadow: 0 0 4px rgba(0,0,0,0.18);
}

/* Bouton téléchargement programme (image ou pdf) */
.programme-download {
  margin-top: 2rem;
  text-align: center;
}
.programme-download .btn {
  font-size: 1rem;
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  display: inline-flex;
}

/* Encadré infos pratiques à droite */

.training-aside {
  background:#F5F7FB;
  border-radius:22px;
  padding:1.5rem 1.6rem 1.7rem;
  box-shadow:var(--shadow-soft);
}
.training-aside img {
  width:100%;
  border-radius:16px;
  margin-bottom:1rem;
}
.training-aside h3 {
  font-size:1rem;
  margin-bottom:.5rem;
}
.training-aside p {
  font-size:.9rem;
  color:var(--text-soft);
}
.training-aside p strong { color:var(--text-main); }

/* Accordéon programme */

.accordion-item {
  margin-bottom:.8rem;
  border-radius:12px;
  border:1px solid #D5DDE4;
  background:#F4F7FA;
  overflow:hidden;
}
.accordion-header {
  width:100%;
  text-align:left;
  padding:.85rem 1rem;
  font-weight:600;
  font-size:.95rem;
  background: #EAF0F7;
}
.accordion-header:hover { background:#DFE7F2; }
.accordion-body {
  padding:.8rem 1.1rem 1rem;
  font-size:.9rem;
  color:var(--text-soft);
}

/* =========================
   CONTACT
   ========================= */

.contact-section {
  background:#ffffff;
  padding:2.8rem 0 4rem;
  border-top:1px solid var(--beige-mid);
}
.contact-grid {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr);
  gap:2.5rem;
}
.contact-info p {
  margin-bottom:.8rem;
  color:var(--text-soft);
}
.contact-photo img {
  border-radius:18px;
  margin-top:1.2rem;
}

/* Formulaire encadré */

.contact-form {
  background:linear-gradient(135deg,#F5F7FB 0%,#FFFFFF 55%,#F9F1E7 100%);
  padding:1.8rem 1.7rem;
  border-radius:20px;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(188,199,214,.7);
}
.contact-form h2 {
  margin-bottom:1rem;
}
.form-group { margin-bottom:.9rem; }
.form-group label {
  display:block;
  font-size:.9rem;
  margin-bottom:.25rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width:100%;
  padding:.55rem .65rem;
  border-radius:10px;
  border:1px solid #C2CED9;
  font:inherit;
  background:#ffffff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline:2px solid rgba(0,69,138,.25);
  border-color:var(--blue-qualio);
}

/* =========================
   MERCI
   ========================= */

.thankyou-section {
  min-height:calc(100vh - 190px);
  display:flex;
  align-items:center;
  background:radial-gradient(circle at top left,#F8FBFF 0,#E7EFFA 45%,#F9F1E7 100%);
}
.thankyou-card {
  max-width:520px;
  margin:0 auto;
  background:#ffffff;
  padding:2rem 2.2rem;
  border-radius:20px;
  box-shadow:var(--shadow-soft);
  text-align:center;
}

/* =========================
   FOOTER
   ========================= */

.main-footer {
  background:linear-gradient(135deg,#001A3A 0%,var(--blue-qualio) 45%,#C51E27 100%);
  color:#E7EDF1;
  padding:2.3rem 0 1rem;
}
.footer-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.8rem;
  font-size:.9rem;
}
.main-footer h3,
.main-footer h4 { margin-bottom:.4rem; }
.main-footer a { color:#E7EDF1; }
.main-footer a:hover { text-decoration:underline; }
.footer-bottom {
  margin-top:1.4rem;
  padding-top:.85rem;
  border-top:1px solid rgba(199,210,219,.35);
  text-align:center;
  font-size:.8rem;
  color:#D0DAE2;
}

/* =========================
   ANIMATIONS KEYFRAMES
   ========================= */

@keyframes logoIntro {
  0% { opacity:0; transform:translateY(-8px) scale(.9); }
  60%{ opacity:1; transform:translateY(0) scale(1.03); }
  100%{ opacity:1; transform:translateY(0) scale(1); }
}
@keyframes gradientFlow {
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}
@keyframes floatSoft {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
@keyframes fadeInLeft {
  0%   { opacity: 0; transform: translateX(-24px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  0%   { opacity: 0; transform: translateX(24px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width:1000px){
  .hero-grid,
  .formation-grid,
  .quality-grid,
  .training-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns:1fr;
  }
  .partner-circles {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .hero-right { order:-1; }
  .training-aside { max-width:480px; }
  .training-detail > .container {
    padding:1.8rem 1.5rem 2.2rem;
  }
}

@media (max-width:768px){
  .nav-container { padding-inline:1rem; }

  /* Logo un peu plus compact */
  .brand-mark {
    padding: 0.35rem 0.75rem;
    border-radius: 18px;
  }
  .brand-mark img {
    height: 40px;
  }
  .brand-text { display:none; }

  /* Menu déroulant */
  .main-nav ul{
    position:absolute;
    top:64px;
    right:1rem;
    background:#ffffff;
    padding:.9rem 1.2rem 1.1rem;
    flex-direction:column;
    align-items:flex-start;
    gap:.4rem;
    transform-origin:top right;
    transform:scaleY(0);
    opacity:0;
    transition:transform .18s ease-out, opacity .18s ease-out;
    box-shadow:0 16px 32px rgba(0,0,0,.12);
    border-radius:14px;
    z-index:30;
    width: 210px;
  }
  .main-nav ul.open{
    transform:scaleY(1);
    opacity:1;
  }
  .main-nav a { color:var(--text-main); font-size:1rem; padding:.35rem 0; }

  .burger { display:flex; }

  /* Hero plus compact, centré */
  .hero {
    padding: 3rem 0 2.6rem;
  }
  .hero-grid { grid-template-columns:1fr; gap:2.2rem; }

  .hero-text {
    text-align:center;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    margin-left:auto;
    margin-right:auto;
  }
  .hero-buttons {
    justify-content:center;
  }
  .hero-tags {
    justify-content:center;
  }

  .hero-right {
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-qualiopi-card {
    margin-top: 0.3rem;
  }

  section { padding:3rem 0; }

  .cards-grid { grid-template-columns:1fr 1fr; }
  .partner-circles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .training-aside { margin-top:1rem; }
  .page-hero {
    text-align: center;
    padding: 3rem 0 2.2rem;
  }
  .page-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-section { padding-top: 2.4rem; }
}

@media (max-width:600px){
  .programme-download .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.03rem;
  }
}

@media (max-width:540px){
  .cards-grid { grid-template-columns:1fr; }
  .partner-circles{ grid-template-columns:1fr 1fr; }
  .hero h1 { font-size:2.05rem; }
  .partner-logo-round{
    width:120px;
    height:120px;
    padding:.9rem;
  }
  .training-detail > .container {
    padding:1.5rem 1.2rem 2rem;
  }
}
/* Colonne droite formation : plus homogène */
.training-aside {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    justify-content: flex-start;
}

/* Bouton prix HT */
.btn-price {
    background: #ffffff;
    color: #C9482F;
    border: 1px solid rgba(201, 72, 47, 0.45);
    box-shadow: none;
    cursor: default;
    width: 100%;
    justify-content: center;
    margin-top: 0.6rem;
}
.btn-price:hover {
    background: #fff;
    transform: none;
    box-shadow: none;
}

/* Bouton devis aligné et bien large */
.aside-cta {
    width: 100%;
    margin-top: 0.25rem;
}
/* --- Mise en page spécifique page Formations --- */

.training-detail {
    padding: 3rem 0 4rem;
}

.training-grid {
    display: grid;
    gap: 2.5rem;
    align-items: flex-start;           /* évite la grande zone vide dans la colonne droite */
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
}

/* Colonne droite : carte plus compacte et homogène */
.training-aside {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: flex-start;
}

/* Bouton prix HT */
.btn-price {
    background: #ffffff;
    color: #C9482F;
    border: 1px solid rgba(201, 72, 47, 0.45);
    box-shadow: none;
    cursor: default;
    width: 100%;
    justify-content: center;
    margin-top: 0.6rem;
}
.btn-price:hover {
    background: #ffffff;
    transform: none;
    box-shadow: none;
}

/* Bouton devis large et bien aligné */
.aside-cta {
    width: 100%;
    margin-top: 0.25rem;
}

/* Organisation de la formation : 2 colonnes sur desktop */
.organisation-grid {
    margin-top: 1rem;
    display: grid;
    gap: 1.75rem;
}

.organisation-bottom {
    margin-top: 1.5rem;
}

.organisation-col p {
    margin-bottom: 0.75rem;
}

/* Sur écrans larges, 2 colonnes; sur mobile, ça reste en une seule */
@media (min-width: 900px) {
    .organisation-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* Sur mobile : colonne droite passe en dessous, tout reste lisible */
@media (max-width: 768px) {
    .training-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .training-aside {
        margin-top: 1.5rem;
    }
}
/* Mise en page section détail formation */
.training-detail {
    padding: 3rem 0 4rem;
}

.training-grid {
    display: grid;
    gap: 2.5rem;
    align-items: flex-start;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
}

/* Colonne droite compacte */
.training-aside {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Bouton prix HT */
.btn-price {
    background: #ffffff;
    color: #C9482F;
    border: 1px solid rgba(201, 72, 47, 0.45);
    box-shadow: none;
    cursor: default;
    width: 100%;
    justify-content: center;
    margin-top: 0.6rem;
}
.btn-price:hover {
    background: #ffffff;
    transform: none;
    box-shadow: none;
}

/* Bouton devis large */
.aside-cta {
    width: 100%;
    margin-top: 0.25rem;
}

/* Cartes "Organisation de la formation" */
.organisation-cards {
    margin-top: 1.5rem;
    display: grid;
    gap: 1.5rem;
}

.org-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.org-card h4 {
    font-size: 1.02rem;
    margin-bottom: 0.7rem;
    color: #143b5c;
}

/* Grille responsive des cartes */
@media (min-width: 900px) {
    .organisation-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Sur mobile : une seule colonne, aside en dessous */
@media (max-width: 768px) {
    .training-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .training-aside {
        margin-top: 1.5rem;
    }
}
/* --- Mise en page section détail formation --- */

.training-detail {
    padding: 3rem 0 4rem;
}

.training-grid {
    display: grid;
    gap: 2.5rem;
    align-items: flex-start;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
}

/* Colonne droite compacte */
.training-aside {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Bouton prix HT */
.btn-price {
    background: #ffffff;
    color: #C9482F;
    border: 1px solid rgba(201, 72, 47, 0.45);
    box-shadow: none;
    cursor: default;
    width: 100%;
    justify-content: center;
    margin-top: 0.6rem;
}
.btn-price:hover {
    background: #ffffff;
    transform: none;
    box-shadow: none;
}

/* Bouton devis large */
.aside-cta {
    width: 100%;
    margin-top: 0.25rem;
}

/* GROS BLOC programme (S1 + S2 + PDF) */
.programme-block-card {
    margin-top: 2rem;
    background: #ffffff;
    border-radius: 22px;
    padding: 1.6rem 1.8rem 1.8rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

/* GROS BLOC modalités + organisation */
.modalites-block-card {
    margin-top: 2rem;
    background: #ffffff;
    border-radius: 22px;
    padding: 1.6rem 1.8rem 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.modalites-block-card .org-title {
    margin-top: 1.4rem;
}

/* Grille des 6 cartes : 3 x 2 sur écran large */
.organisation-cards {
    margin-top: 1.5rem;
    display: grid;
    gap: 1.3rem;
}

.org-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.org-card h4 {
    font-size: 1.02rem;
    margin-bottom: 0.7rem;
    color: #143b5c;
}

/* 3 colonnes sur grand écran (3 + 3) */
@media (min-width: 1100px) {
    .organisation-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* 2 colonnes sur tablette paysage */
@media (min-width: 768px) and (max-width: 1099px) {
    .organisation-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 1 colonne sur mobile + aside en dessous */
@media (max-width: 768px) {
    .training-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .training-aside {
        margin-top: 1.5rem;
    }

    .programme-block-card,
    .modalites-block-card {
        padding: 1.4rem 1.2rem 1.6rem;
    }
}
/* --- Centre le bloc Modalités + Organisation --- */
.modalites-block-card {
    max-width: 900px;            /* largeur centrale maîtrisée */
    margin-left: auto;
    margin-right: auto;
}

/* Centre les titres dans ce bloc */
.modalites-block-card h3,
.modalites-block-card .org-title {
    text-align: center;
}

/* --- Centre la grille des 3 colonnes --- */
.organisation-cards {
    justify-content: center;     /* centre toutes les colonnes */
    align-items: flex-start;
}

/* Largeur contrôlée de chaque carte pour un rendu équilibré */
.org-card {
    width: 100%;
    max-width: 260px;            /* contrainte idéale pour 3 colonnes */
    margin-left: auto;
    margin-right: auto;
}

/* 3 colonnes centrées sur PC */
@media (min-width: 1100px) {
    .organisation-cards {
        grid-template-columns: repeat(3, 260px);
        gap: 1.6rem 2rem;
    }
}

/* 2 colonnes centrées sur tablette */
@media (min-width: 768px) and (max-width: 1099px) {
    .organisation-cards {
        grid-template-columns: repeat(2, 260px);
        gap: 1.6rem 2rem;
        justify-content: center;
    }
}

/* 1 colonne centrée sur mobile */
@media (max-width: 768px) {
    .organisation-cards {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}
/* ===== DÉTAIL FORMATION – MISE EN PAGE GLOBALE ===== */

.training-detail {
    padding: 3rem 0 4rem;
}

.training-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.training-main {
    flex: 2;
    background: #ffffff;
    border-radius: 22px;
    padding: 2.4rem 2.6rem 2.6rem;
    box-shadow: 0 18px 45px rgba(15, 30, 60, 0.10);
}

.training-aside {
    flex: 1;
    background: #f9fbff;
    border-radius: 22px;
    padding: 1.8rem 1.8rem 2.2rem;
    box-shadow: 0 18px 45px rgba(15, 30, 60, 0.10);
}

.training-main h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.training-main .tagline {
    color: #777b86;
    margin-bottom: 1.4rem;
}

.training-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
}

/* ===== PROGRAMME BLOCK ===== */

.programme-block-card {
    margin-top: 2rem;
    padding: 1.8rem 1.9rem 2rem;
    border-radius: 18px;
    background: #fdf7f0;
    border: 1px solid rgba(215, 180, 140, 0.35);
}

.programme-block-card h3 {
    margin-bottom: 1rem;
}

.accordion-item {
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 30, 60, 0.06);
    margin-bottom: 0.9rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 0.9rem 1.3rem;
    border: none;
    background: transparent;
    font-weight: 600;
    cursor: default;
}

.accordion-body {
    padding: 0.4rem 1.4rem 1rem;
    border-top: 1px solid #f1f1f5;
}

.programme-list {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0.4rem 0 0;
    font-size: 0.94rem;
}

.programme-download {
    text-align: center;
    margin-top: 1.2rem;
}

/* ===== MODALITÉS + ORGANISATION ===== */

.modalites-section {
    margin-top: 2.6rem;
    padding-top: 2.3rem;
    border-top: 1px solid #f0e0d2;
}

.modalites-intro {
    max-width: 780px;
    margin: 0 auto 1.4rem;
    text-align: center;
}

.modalites-intro p {
    margin-top: 0.4rem;
}

.org-title {
    text-align: center;
    margin-top: 1.6rem;
    margin-bottom: 1.2rem;
}

/* grille des 6 cartes – 3 x 2 sur desktop, auto adaptatif */
.organisation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem 1.5rem;
    margin-top: 0.5rem;
}

.org-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.4rem 1.5rem 1.5rem;
    box-shadow: 0 14px 35px rgba(15, 30, 60, 0.07);
    font-size: 0.94rem;
}

.org-card h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.org-card p {
    margin-bottom: 0.6rem;
}

.org-card .programme-list {
    margin-top: 0.3rem;
}

/* ===== ASIDE ===== */

.training-photo img {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 1.1rem;
    display: block;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {
    .training-layout {
        flex-direction: column;
    }

    .training-aside {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .training-main {
        padding: 1.8rem 1.4rem 2rem;
    }

    .programme-block-card {
        padding: 1.4rem 1.3rem 1.8rem;
    }

    .organisation-cards {
        grid-template-columns: 1fr;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.10);
}

.equal {
    height: 100%;
}
/* HERO FORMATION – STYLE ACCUEIL */
.hero-formation {
    padding-top: 60px;
    padding-bottom: 40px;
}

.hero-formation-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-formation-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.hero-formation-card {
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.hero-formation-card p {
    margin-bottom: 12px;
}

.price-box {
    background: #f5f5f5;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 16px;
    margin: 18px 0;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .hero-formation-grid {
        grid-template-columns: 1fr;
    }
}
/* === PAGE FORMATION – Mise en page type FC Compétence === */

.hero-formation {
  padding: 2.5rem 0 3.5rem;
}

.hero-formation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-formation-photo {
  position: relative;
}

.hero-formation-img {
  display: block;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(6, 36, 86, 0.18);
}

.hero-formation-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 0 20px 55px rgba(10, 39, 80, 0.15);
  border: 1px solid rgba(12, 103, 196, 0.06);
}

.hero-formation-card p {
  margin-bottom: 0.75rem;
}

/* Section principale formation */

.formation-page-main {
  padding: 0 0 4.5rem;
}

.formation-main {
  max-width: 1100px;
  margin: 0 auto;
}

.formation-section-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 0 16px 40px rgba(6, 36, 86, 0.08);
  border: 1px solid rgba(12, 103, 196, 0.05);
  margin-bottom: 2rem;
}

.formation-summary-card {
  margin-top: -2rem; /* léger chevauchement sous le hero, comme sur FC Compétence */
}

.formation-summary-card h2 {
  margin-top: 0;
}

.formation-key-data {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 2rem;
  padding-left: 1.1rem;
}

/* Cartes info en bas */

.organisation-block .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.formation-info-card {
  background: #f7f9ff;
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  height: 100%;
}

/* Responsives */

@media (max-width: 960px) {
  .hero-formation-grid {
    grid-template-columns: 1fr;
  }

  .hero-formation-card {
    order: 2;
  }

  .hero-formation-photo {
    order: 1;
  }

  .formation-section-card {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .formation-summary-card {
    margin-top: 0;
  }

  .formation-key-data {
    grid-template-columns: 1fr;
  }
}
/* ===== Bandeau haut pages (Formations) – style comme l'accueil ===== */

.page-intro {
    /* même logique que le hero de l'accueil : grande zone claire + léger dégradé */
    background: linear-gradient(
        to bottom,
        #f3f8ff 0%,
        #f6f9ff 45%,
        #fdf6ee 100%
    );
    padding: 3.5rem 0 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.page-intro .container {
    max-width: 1100px;
    margin: 0 auto;
}

.page-intro-card {
    max-width: 780px;
    margin: 0 auto;
}

.page-intro-label {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(0, 61, 130, 0.75);
}

.page-intro h1 {
    margin: 0 0 0.5rem;
    font-family: "Playfair Display", serif;
    font-size: 2.1rem;
    font-weight: 700;
}

.page-intro-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #1b3555;
}

/* un peu moins de padding sur mobile */
@media (max-width: 768px) {
    .page-intro {
        padding: 2.5rem 0 2.25rem;
    }

    .page-intro-card {
        padding: 0 1rem;
    }

    .page-intro h1 {
        font-size: 1.8rem;
    }
}
/* Bandeau haut de la page FORMATIONS : même style que la page Contact */
.formations-page .page-hero {
    /* on réutilise le gradient existant de .page-hero,
       on ajuste juste les espacements pour cette page */
    padding: 3.5rem 0 3rem;
}

.formations-page .page-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero-kicker {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: rgba(0, 51, 102, 0.7);
}

.page-hero--formations h1 {
    margin-bottom: 0.4rem;
}

.page-hero-text {
    max-width: 680px;
    line-height: 1.7;
}

/* Texte plus aéré dans la page formation */
.formations-page .formation-main p,
.formations-page .formation-main li {
    line-height: 1.7;
}

.formations-page .formation-main ul {
    margin-bottom: 1.2rem;
}

.formation-section-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem 2.5rem;
    box-shadow: 0 14px 40px rgba(6, 36, 86, 0.08);
    border: 1px solid rgba(12, 103, 196, 0.05);
    margin-bottom: 2rem;
}

/* Grille infos organisation */
.organisation-block .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.formation-info-card {
    background: #f7f9ff;
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    height: 100%;
}

/* HERO formation (image + carte) */
.hero-formation {
    padding: 2.5rem 0 3.5rem;
}

.hero-formation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-formation-img {
    width: 100%;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 18px 45px rgba(6, 36, 86, 0.18);
}

.hero-formation-card p {
    margin-bottom: 0.75rem;
}

/* Aération spéciale mobile */
@media (max-width: 900px) {
    .hero-formation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-formation {
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 640px) {
    .formations-page .page-hero {
        padding: 2.5rem 0 2.25rem;
    }

    .formation-section-card {
        padding: 1.6rem 1.4rem;
    }
}
/* --- Aération spécifique du bloc principal formation --- */

.formation-main {
    padding: 2.5rem !important; /* augmente le padding interne */
}

/* Plus d'espace entre les paragraphs */
.formation-main p {
    margin-bottom: 1.1rem !important;
    line-height: 1.75;
}

/* Plus d'espace entre les éléments de liste */
.formation-main ul li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

/* Espace après chaque sous-titre */
.formation-main h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Espace entre les blocs programme */
.programme-block {
    margin-bottom: 2rem;
}

/* Espace autour du bouton PDF */
.formation-download,
.programme-block + .formation-download {
    margin-top: 1.8rem;
}

/* Sur mobile, encore plus aéré */
@media (max-width: 768px) {
    .formation-main {
        padding: 1.8rem !important;
    }

    .formation-main p,
    .formation-main ul li {
        line-height: 1.8;
    }
}

/* --- Aération bloc principal formation --- */

.formation-main {
    padding: 2.5rem;
}

.formation-subtitle {
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.formation-key-data {
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem 2rem;
}

/* Objectifs : liste avec puces stylées */
.objectifs-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.objectifs-list li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Titre de section un peu aéré */
.formation-main h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

/* Accordéons programme */
.programme-accordion {
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.programme-toggle {
    width: 100%;
    text-align: left;
    border: none;
    background: #f6f8ff;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.programme-toggle-icon {
    margin-left: 0.75rem;
    font-size: 1.1rem;
}

.programme-toggle:hover {
    background: #edf1ff;
    box-shadow: 0 10px 25px rgba(20, 64, 145, 0.12);
    transform: translateY(-1px);
}

.programme-toggle.is-open {
    background: #e5edff;
}

.programme-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    padding-left: 0.4rem;
}

.programme-panel ul {
    list-style: disc;
    padding-left: 1.8rem;
    margin: 0.75rem 0 0.25rem;
}

.programme-panel li {
    margin-bottom: 0.45rem;
    line-height: 1.7;
}

/* Espace avant le bouton PDF */
.formation-download {
    margin-top: 2rem;
}

/* Un peu plus d'air sur mobile */
@media (max-width: 768px) {
    .formation-main {
        padding: 1.7rem;
    }

    .formation-subtitle {
        margin-bottom: 1.5rem;
    }

    .formation-key-data {
        grid-template-columns: 1fr;
    }
}

