/* ============================================================
   BREADCRUMB — commun à toutes les pages internes
   ============================================================ */
.breadcrumb-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 5%;
  margin-top: 1.5rem;
}

.breadcrumb-wrap.breadcrumb-wrap--hero-cta,
.breadcrumb-wrap.breadcrumb-wrap--hero-large,
.breadcrumb-wrap.breadcrumb-wrap--hero-mini {
  margin-top: 6rem;
}

.breadcrumb-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 5%;
  margin-top: 1rem;
}

.breadcrumb.section {
  padding-bottom: 0;
  padding-top: 0;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-wrap: nowrap;
  overflow: hidden;
  min-width: 0;
}

.breadcrumb__item {
  font-size: 0.8rem;
  color: var(--grey44);
  white-space: nowrap;
}

.breadcrumb__link {
  color: var(--grey44);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.breadcrumb__link:hover {
  color: var(--purple-mid);
}

.breadcrumb__item--sep {
  color: var(--grey44);
}

.breadcrumb__item--current {
  color: var(--purple-mid);
  font-weight: 450;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  /* indispensable pour que text-overflow fonctionne dans un flex */
}

/* ============================================================
   PAGE GÉNÉRIQUE (page.php)
   ============================================================ */

/* Debug */
/*.section {
  border: 1px solid #f0a;
}

.row {
  border: 1px solid #000;
}

.row>div {
  border: 1px solid red;
}

.prose {
  background: #ffaa0021;
}*/


.page-wrap {
  padding-top: 1.5rem;
}

.page-wrap--hero-large {
  padding-top: 5.5rem;
}

.page-wrap .page-content>.section:first-child {
  padding-top: 1.5rem;
}

@media (min-width: 1024px) {
  .page-wrap {
    padding-top: 2.5rem;
  }

  .page-wrap .page-content>.section:first-child {
    padding-top: 2.5rem;
  }
}

main.page-infos .page-wrap .inner {
  max-width: 880px;
}

/* ============================================================
   PROSE — styles pour le contenu éditorial
   Usage : <div class="prose">contenu WP</div>
   ============================================================ */

.prose {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Titres */
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--f-display);
  font-weight: 450;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.6em;
  letter-spacing: -0.03em;
}

.prose h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.prose h2 {
  font-size: clamp(2.2rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.prose h3 {
  font-size: clamp(1.6rem, 2.5vw, 1.6rem);
}

.prose h4 {
  font-size: var(--t-md);
  font-weight: 500;
}

/* Premier élément — pas de marge top */
.prose>*:first-child {
  margin-top: 0;
}

.prose>*:last-child {
  margin-bottom: 0;
}

/* Paragraphes */
.prose p {
  margin-bottom: 1em;
}

/* Liens */
.prose a:not(.btn) {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease),
    text-decoration-color var(--dur) var(--ease);
}

.prose a:not(.btn):hover {
  color: var(--c-accent-dk);
}

.prose .btn {
  margin-top: 1rem
}


/* Listes */
.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.prose ul {
  list-style: none;
  padding-left: 0;
}

.prose ol {
  list-style: decimal;
}

.prose ul li {
  padding-left: 1.3em;
  position: relative;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-mid);
}

.prose ol li {
  padding-left: 0.4em;
}

/* Listes imbriquées */
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

/* Citation */
.prose blockquote {
  margin: 1.5rem 0;
  padding: .5rem 1.5rem;
  border-left: 3px solid var(--text-soft);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 400;
}

.prose blockquote p {
  margin-bottom: 0;
}

/* Code */
.prose code {
  font-family: var(--f-mono, monospace);
  font-size: 0.875em;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  padding: 0.15em 0.4em;
}

.prose pre {
  background: var(--c-ink);
  color: #f8f8f2;
  border-radius: var(--radius-md);
  padding: 1.25em 1.5em;
  overflow-x: auto;
  margin-bottom: 1.4em;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--t-sm);
  color: inherit;
}

/* Séparateur */
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* Images */
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  margin: 1.5em auto;
}

.prose figure {
  margin: 1.5em 0;
}

.prose figcaption {
  font-size: var(--t-xs);
  color: var(--c-subtle);
  text-align: center;
  margin-top: 0.5em;
}

/* Tableau */
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
  margin-bottom: 1.4em;
}

.prose th {
  background: var(--c-surface);
  font-weight: 600;
  text-align: left;
  padding: 0.6em 1em;
  border-bottom: 2px solid var(--c-line);
}

.prose td {
  padding: 0.6em 1em;
  border-bottom: 1px solid var(--c-line);
}

.prose tr:last-child td {
  border-bottom: none;
}

/* Texte mis en valeur */
.prose strong {
  font-weight: 450;
}

.prose em {
  font-style: italic;
}

.prose mark {
  background: color-mix(in srgb, var(--c-cta) 15%, transparent);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* Variantes de largeur */
.prose--wide {
  max-width: 80ch;
}

.prose--full {
  max-width: none;
}

.prose--tight {
  max-width: 55ch;
}

/* Prose Medias */
.prose figure,
.prose img {
  max-width: 100%;
}

main.page-infos .page-wrap .prose h2 {
  font-size: clamp(2rem, 2vw, 2rem);
}

/* ============================================================
   Google Badge
   ============================================================ */

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: .6rem 1rem;
  margin-bottom: 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.google-badge__logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.google-badge__label {
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
  white-space: nowrap;
}

.google-badge__sep {
  width: 1px;
  height: 20px;
  background: #dadce0;
}

.google-badge__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ============================================================
   Divers > Page qui-suis-je
   ============================================================ */
.formation-imgs {
  display: flex;
  flex-direction: row;
  /* côte à côte sur mobile */
  gap: var(--sp-4);
  align-items: center;
  justify-content: center;
}

.formation-imgs img {
  width: 50%;
  height: auto;
  /* ratio conservé */
  max-width: 160px;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .formation-imgs {
    flex-direction: column;
    /* l'un au-dessus de l'autre sur desktop */
    gap: var(--sp-12);
  }

  .formation-imgs img {
    width: 100%;
    max-width: 180px;
  }
}

/* ============================================================
   Divers > Page infos pratiques
   ============================================================ */
.seance-lieu {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.seance-lieu img {
  margin: 0;
  border-radius: 0;
}

.seance-lieu-body {
  padding: 1.5rem
}

@media (min-width: 1024px) {
  .seance-lieu-body {
    padding: 2rem
  }
}

.seance-lieu-body h2 {
  margin-top: 0
}