/* =========================================================
   Sud Formation Conseil — Feuille de style principale
   Charte graphique : fond principal #002b46 / accent #FD8402
   Police : Arial, Verdana, sans-serif — corps de texte 14px
   ========================================================= */

:root {
  --navy: #002b46;
  --navy-light: #0a3d63;
  --navy-lighter: #0f4a78;
  --orange: #FD8402;
  --orange-dark: #e07600;
  --white: #ffffff;
  --grey-bg: #f4f7f9;
  --grey-border: #e1e6ea;
  --text: #1c2b36;
  --text-light: #55677a;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0, 43, 70, 0.10);
  --shadow-hover: 0 10px 28px rgba(0, 43, 70, 0.18);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: Arial, Verdana, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 16px;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 14px; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section-alt { background: var(--grey-bg); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); text-decoration: none; }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); text-decoration: none; }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-navy-orange {
  background: var(--navy);
  color: var(--orange);
}
.btn-navy-orange:hover { background: var(--navy-light); text-decoration: none; }
.btn-orange-navy {
  background: var(--orange);
  color: var(--navy);
}
.btn-orange-navy:hover { background: var(--orange-dark); color: var(--navy); text-decoration: none; }

/* ---------- Bandeau "Formations phares" (page d'accueil) ---------- */
.phares-section { background: var(--navy); border-radius: var(--radius); padding: 40px 30px; }
.phares-new-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.phares-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.phares-head .eyebrow { display: block; }
.phares-heading { margin: 6px 0; color: var(--white); }
.phares-head p { color: #cfe0ee; font-size: 0.92rem; max-width: 480px; margin: 0; }
.phares-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.phares-card {
  display: block;
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
}
.phares-card:hover { box-shadow: 0 0 0 2px var(--orange) inset; text-decoration: none; }
.phares-badge-slot { min-height: 22px; margin-bottom: 8px; }
.phares-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: bold;
  padding: 3px 9px;
  border-radius: 999px;
}
.phares-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: bold;
  line-height: 1.4;
  min-height: 40px;
}
.phares-duree {
  display: inline-block;
  background: #eef2f5;
  color: #5f6b76;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- Bandeau de confiance (page d'accueil) ---------- */
.trust-strip {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.trust-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: bold;
}

/* ---------- Badges de réassurance (pages catégorie) ---------- */
.cat-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.cat-badge {
  background: #fff3e6;
  color: var(--navy);
  font-weight: bold;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 999px;
}
@media (max-width: 600px) {
  .cat-badge { font-size: 0.88rem; padding: 10px 16px; }
}

/* ---------- Guide gratuit / lead magnet (page d'accueil) ---------- */
.leadmagnet-box {
  background: #fff3e6;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.leadmagnet-text { flex: 1; min-width: 240px; }
.leadmagnet-titre { font-weight: bold; color: var(--navy); font-size: 0.95rem; margin-bottom: 4px; }
.leadmagnet-text p { color: var(--text-light); font-size: 0.85rem; margin: 0; }
.leadmagnet-form form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Icônes réseaux sociaux (pied de page + fiche formation) ---------- */
.social-icons { display: flex; gap: 10px; margin-top: 14px; }
.social-icons a {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.social-icons--footer a { border: 1px solid rgba(255,255,255,0.3); color: #b9cbdb; }
.social-icons--footer a:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.social-icons--sidebar a { border: 1px solid var(--navy); color: var(--navy); margin-top: 4px; }
.social-icons--sidebar a:hover { background: var(--navy); color: var(--white); text-decoration: none; }

/* ---------- Avis Google (page d'accueil) ---------- */
.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3e6;
  color: var(--orange-dark);
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.review-stars { color: var(--orange); font-size: 0.9rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-quote { color: var(--navy); font-size: 0.92rem; line-height: 1.5; margin-bottom: 14px; }
.review-author { font-weight: bold; color: var(--navy); font-size: 0.88rem; }
.review-role { color: #5f6b76; font-size: 0.8rem; }

/* ---------- Étiquette "Top formation" (fiche + listes) ---------- */
.top-formation-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.top-formation-badge-inline {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: bold;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Bandeau du haut de la fiche formation (carte arrondie) ---------- */
.formation-hero-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 32px 30px;
  color: var(--white);
}
.formation-hero-card .breadcrumb { color: #9fb8cf; margin-bottom: 10px; font-size: 0.8rem; }
.formation-hero-card .breadcrumb a { color: #cfe0ee; }
.formation-hero-card h1 { color: var(--orange); margin: 0 0 8px; }
.formation-hero-card p { color: #cfe0ee; max-width: 640px; margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.topbar {
  background: var(--navy);
  color: #cfe0ee;
  font-size: 0.8rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #cfe0ee; }
.topbar .topbar-cta { color: var(--orange); font-weight: bold; }

.navwrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: auto; }
.logo-text {
  font-weight: bold;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.1;
}
.logo-text span { color: var(--orange-dark); }

nav.mainnav { display: flex; align-items: center; gap: 26px; }
nav.mainnav a {
  color: var(--navy);
  font-weight: bold;
  font-size: 0.92rem;
}
nav.mainnav a:hover { color: var(--orange-dark); text-decoration: none; }
nav.mainnav a.active { color: var(--orange-dark); }
nav.mainnav a.btn-navy,
nav.mainnav a.btn-navy:hover { color: var(--white); }

/* ---------- Mega-menu "Nos formations" ---------- */
.has-mega { position: relative; }
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--navy);
  font-weight: bold;
  font-size: 0.92rem;
  font-family: inherit;
}
.mega-trigger:hover, .has-mega.open .mega-trigger, .mega-trigger.active { color: var(--orange-dark); }
.mega-trigger .caret {
  font-size: 0.65em;
  transition: transform 0.2s ease;
  display: inline-block;
}
.has-mega.open .mega-trigger .caret { transform: rotate(180deg); }

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-42%);
  width: 760px;
  max-width: 90vw;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 28px;
  z-index: 200;
  text-align: left;
}
.has-mega.open .mega-menu { display: block; }

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 14px;
}
.mega-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 10px;
  text-align: left;
  color: inherit;
}
.mega-col:hover { background: rgba(253,132,2,0.08); text-decoration: none; }
.mega-icon { font-size: 1.6rem; }
.mega-title { font-weight: bold; color: var(--navy); font-size: 0.86rem; line-height: 1.25; }
.mega-desc { color: var(--text-light); font-size: 0.75rem; line-height: 1.35; font-weight: normal; }

.mega-menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-border);
  flex-wrap: wrap;
  gap: 12px;
}
.mega-menu-footer > a { font-weight: bold; font-size: 0.85rem; color: var(--navy); }
.mega-menu-footer > a:hover { color: var(--orange-dark); }
.mega-highlight {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
}
.mega-highlight:hover { background: var(--orange-dark); text-decoration: none; }

@media (min-width: 901px) {
  .has-mega:hover .mega-menu { display: block; }
}

.nav-toggle { display: none; }

@media (max-width: 900px) {
  nav.mainnav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 14px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    display: none;
  }
  nav.mainnav.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 2px solid var(--navy);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: "";
    display: block;
    width: 20px; height: 2px;
    background: var(--navy);
    position: relative;
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }

  .mega-trigger { width: 100%; justify-content: space-between; padding: 2px 0; }
  .mega-menu {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    box-shadow: none;
    padding: 12px 0 0 0;
    margin-top: 6px;
    border-top: 1px dashed var(--grey-border);
  }
  .mega-menu-inner { grid-template-columns: 1fr; gap: 2px; }
  .mega-col { flex-direction: row; align-items: center; padding: 10px 4px; }
  .mega-menu-footer { flex-direction: column; align-items: flex-start; margin-top: 14px; padding-top: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy) 55%, var(--navy-lighter) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p.lead { font-size: 1.1rem; color: #d7e4ef; max-width: 560px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 28px; }
.hero-badge {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }

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

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -55px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 18px;
  text-align: center;
}
.stat-card .num {
  font-size: 2rem;
  font-weight: bold;
  color: var(--orange-dark);
  display: block;
}
.stat-card .label { color: var(--text-light); font-size: 0.85rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); margin-top: 24px; } }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(253,132,2,0.12);
  color: var(--orange-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 1.2rem;
  margin-bottom: 14px;
}

.category-card {
  display: block;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.category-card h3 { color: var(--white); margin-top: 30px; margin-bottom: 6px; }
.category-card p { color: #cfe0ee; font-size: 0.88rem; margin-bottom: 18px; }
.category-card .cnt {
  position: absolute; top: 18px; right: 20px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: bold;
}
.category-card .go { color: var(--orange); font-weight: bold; font-size: 0.85rem; }
.category-card:hover { text-decoration: none; box-shadow: var(--shadow-hover); }

/* ---------- Formation cards (accordion) ---------- */
.formation {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden;
}
.formation summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.formation summary::-webkit-details-marker { display: none; }
.formation summary .f-title { font-weight: bold; color: var(--navy); font-size: 1.05rem; }
.formation summary .f-ref { color: var(--text-light); font-size: 0.78rem; font-weight: normal; }
.formation summary .f-meta {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.tag {
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-price { background: rgba(253,132,2,0.12); color: var(--orange-dark); font-weight: bold; border-color: transparent; }
.f-view-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.f-view-btn:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.chevron {
  border: 2px solid var(--navy);
  border-radius: 50%;
  width: 26px; height: 26px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-weight: bold;
  transition: transform 0.2s ease;
}
details[open] .chevron { transform: rotate(45deg); background: var(--orange); color: var(--white); border-color: var(--orange); }

.formation .f-body {
  padding: 0 24px 26px;
  border-top: 1px solid var(--grey-border);
  padding-top: 20px;
}
.f-columns { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
@media (max-width: 760px) { .f-columns { grid-template-columns: 1fr; } }
.f-columns h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--navy); }
.f-columns ul { margin: 0 0 16px; padding-left: 18px; }
.f-columns li { margin-bottom: 4px; }
.f-side {
  background: var(--grey-bg);
  border-radius: 8px;
  padding: 18px;
  align-self: start;
}
.f-side-photo { margin: 0 0 16px; border-radius: 8px; overflow: hidden; max-width: 330px; }
.f-side-photo img { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 8px; }
.f-side dl { margin: 0; }
.f-side dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-light); margin-top: 12px; }
.f-side dt:first-child { margin-top: 0; }
.f-side dd { margin: 2px 0 0; font-weight: bold; color: var(--navy); }
.f-price { font-size: 1.3rem; color: var(--orange-dark); }

/* ---------- Accordéons Qualiopi (dans la colonne principale d'une fiche formation) ---------- */
.qualiopi-accordions { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.qualiopi-block {
  border: 1px solid var(--grey-border);
  border-radius: 8px;
  background: var(--white);
}
.qualiopi-block summary {
  padding: 12px 16px;
  font-weight: bold;
  color: var(--navy);
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.qualiopi-block summary::-webkit-details-marker { display: none; }
.qualiopi-block summary::after {
  content: '+';
  flex: none;
  color: var(--orange);
  font-size: 1.1rem;
}
.qualiopi-block[open] summary::after { content: '−'; }
.qualiopi-block-body {
  padding: 0 16px 16px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.55;
}
.qualiopi-block-body p { margin: 0 0 8px; }
.qualiopi-block-body strong { color: var(--navy); }

/* ---------- Category filter nav on formations page ---------- */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  position: sticky;
  top: 92px;
  background: var(--white);
  padding: 10px 0;
  z-index: 10;
}
.cat-filter a {
  border: 2px solid var(--grey-border);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: bold;
  font-size: 0.85rem;
}
.cat-filter a:hover, .cat-filter a.active { border-color: var(--orange); background: rgba(253,132,2,0.10); text-decoration: none; }

.cat-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 50px 0 22px;
  padding-top: 20px;
  border-top: 1px solid var(--grey-border);
}
.cat-heading:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.cat-heading .cat-count { color: var(--text-light); font-size: 0.85rem; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.quote-card p { font-style: italic; color: var(--text); }
.quote-card .who { font-weight: bold; color: var(--navy); font-style: normal; margin-top: 10px; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; margin-bottom: 28px; }
.step .num {
  counter-increment: step;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: bold;
  display: flex; align-items: center; justify-content: center;
}
.step .num::before { content: counter(step); }

/* ---------- Info blocks / placeholders to fill ---------- */
.notice {
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 18px 0;
  border: 1px solid var(--grey-border);
  background: var(--grey-bg);
}
.notice-todo {
  border-color: #ffd39a;
  background: #fff6ea;
}
.notice-todo strong { color: var(--orange-dark); }

/* ---------- Forms ---------- */
form.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
label { font-weight: bold; font-size: 0.85rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--grey-border);
  font-family: Arial, Verdana, sans-serif;
  font-size: 0.92rem;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #b9cbdb;
  padding: 56px 0 20px;
  font-size: 0.85rem;
}
footer.site-footer h4 { color: var(--white); font-size: 0.95rem; }
footer.site-footer a { color: #b9cbdb; }
footer.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
}
.footer-cert { display: flex; gap: 14px; align-items: center; }
.footer-cert img { height: 40px; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 46px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: #cfe0ee; max-width: 640px; }
.breadcrumb { font-size: 0.8rem; color: #9fb8cf; margin-bottom: 10px; }
.breadcrumb a { color: #cfe0ee; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--orange); color: white; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Compatibilité WordPress (éditeur de blocs) ---------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.entry-content { max-width: 820px; }
.entry-content img { border-radius: 8px; height: auto; }
.entry-content .alignleft { float: left; margin: 0 20px 14px 0; }
.entry-content .alignright { float: right; margin: 0 0 14px 20px; }
.entry-content .aligncenter { display: block; margin: 0 auto 14px; }
.entry-content figcaption, .wp-caption-text { color: var(--text-light); font-size: 0.82rem; margin-top: 6px; }
.entry-content ul, .entry-content ol { padding-left: 20px; }
.entry-content blockquote {
  border-left: 4px solid var(--orange);
  margin: 20px 0; padding: 4px 20px;
  color: var(--text-light);
  font-style: italic;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.entry-content table th, .entry-content table td { border: 1px solid var(--grey-border); padding: 10px; text-align: left; }
.wp-block-button__link { display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: bold; background: var(--orange); color: var(--white); }
