/* ================================================================
   Lukana Créations — Composants UI
   Dépend de tokens.css (chargé avant)
   ================================================================ */

/* ---- Conteneur centré ---- */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Overline / eyebrow ---- */
.eyebrow {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--violet-soft);
  font-weight: 600;
  display: block;
}

/* ================================================================
   TEXTE SEO ÉVÉNEMENT — section « Pourquoi … »
   Blocs core (titre + sous-titres + paragraphes). Le blockGap global
   vaut 0 : on rétablit ici le rythme vertical et on aligne le titre sur
   le style des autres sections (highlight violet, non italique).
   ================================================================ */
.evenement-prose .eyebrow {
  /* Aligne l'eyebrow (paragraphe core) sur celui des blocs Lukana
     (.gallery-slider__eyebrow, etc.) : même token de taille + graisse 700.
     La couleur est rétablie ici car « .evenement-prose p » (spécificité 0,1,1)
     écrase sinon le violet de .eyebrow avec --ink-soft. */
  font-size: var(--t-over);
  font-weight: 700;
  color: var(--violet-soft);
  margin-bottom: var(--space-m);
}
.evenement-prose h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.15;
  margin: 0 0 var(--space-xl);
}
.evenement-prose h2 em {
  font-style: normal;
  color: var(--violet);
}
.evenement-prose h3 {
  margin: var(--space-2xl) 0 var(--space-m);
}
.evenement-prose p {
  font-size: clamp(16px, 1.5vw, 18px);
  margin: 0 0 var(--space-l);
  color: var(--ink-soft);
}
.evenement-prose p:last-child {
  margin-bottom: 0;
}

/* ---- Logo dot ---- */
.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  margin-bottom: 8px;
  flex-shrink: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: var(--r-l);
  border: 2px solid transparent;
  transition:
    background .35s var(--ease),
    transform  .35s var(--ease),
    box-shadow .35s var(--ease),
    color      .35s var(--ease),
    border-color .35s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--violet);
  color: #fff;
  padding: 15px 32px;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: var(--violet-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -8px rgba(167, 75, 188, .45);
}
.btn--secondary {
  background: transparent;
  color: var(--violet);
  border-color: var(--violet);
  padding: 14px 30px;
}
.btn--secondary:hover {
  background: var(--violet-pale);
  border-color: var(--violet-deep);
  color: var(--violet-deep);
}
.btn--white {
  background: #fff;
  color: var(--violet-dark);
  padding: 15px 32px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .25);
}
.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, .32);
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  padding: 14px 30px;
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
}

/* ================================================================
   BANDEAU CTA — « Donnons vie à votre idée »
   ================================================================ */

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 60%, var(--violet-soft) 100%);
  padding: 76px 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.cta-band .eyebrow {
  color: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-band h2 em {
  font-style: normal;
}
.cta-band p {
  font-size: var(--t-lead);
  color: rgba(255, 255, 255, .78);
  margin-bottom: 34px;
  font-weight: 300;
}
.cta-band-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ================================================================
   RÉASSURANCE
   ================================================================ */

.reassurance {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.reass-row {
  display: flex;
  gap: 14px;
  padding: 26px 0;
}
.reass-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 4px;
}
.reass-item + .reass-item {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.reass-ico {
  font-size: 24px;
  flex-shrink: 0;
}
.reass-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  line-height: 1.3;
}
.reass-sub {
  font-size: 11.5px;
  color: var(--ink-xsoft);
  line-height: 1.35;
}

/* ================================================================
   FOOTER — corps sombre
   ================================================================ */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  padding: 64px 0 28px;
  font-family: var(--font-text);
}

/* 4 colonnes : brand large + 3 cols égales */
.footer-grid {
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Colonne brand */
.footer-brand .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 18px;
}

/* NAP */
.footer-nap {
  font-size: 13px;
  line-height: 1.9;
  font-style: normal;
  margin-bottom: 16px;
}
.footer-nap a {
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
}
.footer-nap a:hover {
  color: #fff;
}

/* Colonnes nav */
.footer-col h5 {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  margin-bottom: 18px;
  font-weight: 600;
  font-family: var(--font-text);
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
  padding: 5px 0;
  transition: color .25s var(--ease);
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
}

/* Icônes réseaux sociaux */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.footer-social a:hover {
  background: var(--violet);
  color: #fff;
}
.footer-social a svg {
  display: block;
}

/* Barre légale */
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}
.footer-legal-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  text-decoration: none;
}
.footer-legal-links a:hover {
  color: rgba(255, 255, 255, .7);
}

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

@media (max-width: 960px) {
  .wrap {
    padding: 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  /* Garde-fou : aucun débordement horizontal en mobile
     (clip ne crée pas de conteneur de défilement → header sticky conservé) */
  html,
  body {
    overflow-x: clip;
  }

  /* Réassurance — grille 2 par ligne au lieu du bandeau défilant */
  .reass-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    padding: 20px 0;
  }
  .reass-item {
    min-width: 0;
    padding: 4px 2px;
    gap: 10px;
  }
  .reass-item + .reass-item {
    border-left: none;
    padding-left: 2px;
  }
  .reass-ico {
    font-size: 20px;
  }

  /* Footer — espacements resserrés en mobile */
  .site-footer {
    padding: 44px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .footer-col h5 {
    margin-bottom: 12px;
  }
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 20px;
  }

  /* Bandeau CTA */
  .cta-band {
    padding: 52px 0;
  }
  .cta-band-btns {
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .cta-band-btns .btn {
    width: auto;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

/* ================================================================
   PAGE 404
   ================================================================ */

.page-404-hero {
  background: var(--degrade-hero-clair);
  text-align: center;
  padding: 88px 0 72px;
}

.page-404-hero__inner {
  max-width: 580px;
  margin: 0 auto;
}

.page-404-hero__number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(72px, 11vw, 128px);
  line-height: 1;
  color: var(--violet);
  display: block;
  margin: 10px 0 4px;
}

.page-404-hero__title {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 14px 0 16px;
}

.page-404-hero__title em {
  color: var(--violet);
  font-style: italic;
}

.page-404-hero__desc {
  font-size: var(--t-lead);
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* Barre de recherche */
.page-404-hero__search {
  display: flex;
  align-items: center;
  max-width: 440px;
  margin: 0 auto 28px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 16px -8px rgba(35, 31, 32, .10);
  overflow: hidden;
  transition:
    border-color .25s var(--ease),
    box-shadow   .25s var(--ease);
}

.page-404-hero__search:focus-within {
  border-color: var(--violet-soft);
  box-shadow: 0 4px 20px -8px rgba(167, 75, 188, .20);
}

.page-404-hero__search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 18px;
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--ink);
}

.page-404-hero__search input::placeholder {
  color: var(--ink-xsoft);
}

.page-404-hero__search button {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 5px;
  border: none;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease-bounce);
}

.page-404-hero__search button:hover {
  background: var(--violet-deep);
  transform: scale(1.08);
}

/* Boutons CTA */
.page-404-hero__btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Section liens rapides ---- */

.page-404-links {
  background: var(--surface-2);
  padding: 72px 0 80px;
  text-align: center;
}

.page-404-links__title {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 40px;
}

.page-404-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

/* ---- Cartes ---- */

.page-404-card {
  background: var(--surface);
  border-radius: var(--r-m);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-404-card__icon {
  font-size: 26px;
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.page-404-card__title {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.page-404-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}

.page-404-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ================================================================
   GALERIE ARCHIVE — Mode grille paginée (gallery-slider--archive)
   ================================================================ */

/* Supprime le padding/background du bloc en mode archive
   (la section wrapper du template gère le contexte visuel) */
.wp-block-lukana-gallery-slider.gallery-slider--archive {
  padding-block: var(--space-2xl, 48px) var(--space-5xl, 96px);
  background: var(--bg, #faf7fc);
}

/* Grille 3 colonnes identique au layout du slider */
.gallery-slider__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l, 24px);
  padding-inline: var(--space-l, 24px);
}

@media (max-width: 1023px) {
  .gallery-slider__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .gallery-slider__grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.gallery-slider__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-s, 8px);
  margin-top: var(--space-4xl, 80px);
  padding-inline: var(--space-l, 24px);
}

.gallery-slider__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease);
  color: var(--ink-soft);
  background: transparent;
}

.gallery-slider__pagination .page-numbers:hover {
  background: var(--violet-pale, #e8d9f5);
  color: var(--violet-deep, #7a2e8e);
}

.gallery-slider__pagination .page-numbers.current {
  background: var(--violet, #a74bbc);
  color: #fff;
  pointer-events: none;
}

.gallery-slider__pagination .page-numbers.dots {
  pointer-events: none;
}

/* ================================================================
   GALERIE ARCHIVE — Cartes réalisations (archive-realisation.html)
   Reproduit le visuel des cartes du bloc gallery-slider
   ================================================================ */

.galerie-card {
  background: var(--surface, #fff);
  border-radius: 28px;
  box-shadow: 0 8px 32px -16px rgba(167, 75, 188, .14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Zone image — même ratio et comportement que .gallery-slider__card-image */
.galerie-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: repeating-linear-gradient(135deg,
    var(--violet-pale, #e8d9f5) 0,
    var(--violet-pale, #e8d9f5) 12px,
    var(--surface-2, #f2ebf8) 12px,
    var(--surface-2, #f2ebf8) 24px
  );
}

.galerie-card__image-wrap .wp-block-post-featured-image,
.galerie-card__image-wrap .wp-block-post-featured-image a {
  display: block;
  height: 100%;
}

.galerie-card__image-wrap .wp-block-post-featured-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tags technique — overlay en haut à gauche comme dans gallery-slider */
.galerie-card__image-wrap .wp-block-post-terms {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 0; /* masque les séparateurs texte */
}

.galerie-card__image-wrap .wp-block-post-terms a {
  display: inline-block;
  background: rgba(255, 255, 255, .95);
  border-radius: 999px;
  color: var(--violet-deep, #7a2e8e);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  padding: 4px 10px;
  text-decoration: none;
  text-transform: uppercase;
}

/* Corps de la carte */
.galerie-card__body {
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.galerie-card__body .wp-block-post-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.galerie-card__body .wp-block-post-title a {
  color: var(--ink, #231f20);
  text-decoration: none;
  transition: color .3s var(--ease, ease);
}

.galerie-card__body .wp-block-post-title a:hover {
  color: var(--violet, #a74bbc);
}

.galerie-card__body .wp-block-post-excerpt__excerpt {
  color: var(--ink-soft, #5c4f62);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.galerie-card__body .wp-block-post-excerpt__more-link {
  display: none;
}

/* ---- Responsive ---- */

@media (max-width: 860px) {
  .page-404-links__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .page-404-hero {
    padding: 64px 0 56px;
  }
  .page-404-links {
    padding: 56px 0 64px;
  }
  .page-404-hero__btns {
    flex-direction: column;
    align-items: center;
  }
  .page-404-hero__btns .btn {
    width: 100%;
    justify-content: center;
  }
}

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

/* ── Fil d'Ariane ──────────────────────────────────────── */

.page-contact-breadcrumb {
  background:    var(--surface);
  border-bottom: 1px solid var(--line);
}

/* Yoast SEO breadcrumb reset */
.page-contact-breadcrumb .yoast-breadcrumbs,
.page-contact-breadcrumb .yoast-breadcrumbs span {
  font-family: var(--font-text);
  font-size:   13px;
  color:       var(--ink-xsoft);
  line-height: 1.5;
}

.page-contact-breadcrumb .yoast-breadcrumbs a {
  color:           var(--ink-xsoft);
  text-decoration: none;
  transition:      color .2s ease;
}

.page-contact-breadcrumb .yoast-breadcrumbs a:hover {
  color: var(--violet);
}

.page-contact-breadcrumb .yoast-breadcrumbs .breadcrumb_last {
  color: var(--ink-soft);
}

/* Hero contact — géré par blocks/hero-accueil/style-index.css (.has-no-media) */

/* ================================================================
   SECTION HEADER — style identique à faq__header (galerie, etc.)
   ================================================================ */

.lukana-section-header {
	text-align:    center;
	max-width:     600px;
	margin-inline: auto;
}

.lukana-section-header__eyebrow {
	display:        block;
	font-size:      var(--wp--preset--font-size--overline, 11px);
	font-weight:    700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color:          var(--wp--preset--color--violet, #A74BBC);
	margin:         0 0 var(--wp--preset--spacing--m, 16px);
}

.lukana-section-header__title {
	font-family: var(--wp--preset--font-family--display, 'Playfair Display', serif);
	font-size:   var(--wp--preset--font-size--h-2, clamp(26px, 4vw, 42px));
	font-weight: 600;
	line-height: 1.15;
	color:       var(--wp--preset--color--ink, #231f20);
	margin:      0 0 var(--wp--preset--spacing--m, 16px);
}

.lukana-section-header__highlight {
	color:      var(--wp--preset--color--violet, #A74BBC);
	font-style: normal;
}

.lukana-section-header__subtitle {
	font-size:     var(--wp--preset--font-size--base, 16px);
	color:         var(--wp--preset--color--ink-xsoft, #8C7E96);
	line-height:   1.65;
	max-width:     480px;
	margin-inline: auto;
	margin-top:    0;
	margin-bottom: 0;
}

/* ================================================================
   PAGE ÉVÉNEMENT (body.single-evenement)
   Le bloc post-content hérite d'un layout « constrained » qui bride
   ses sections à la largeur de contenu. On libère le conteneur et
   ses sections (toutes en align full/wide) en pleine largeur.
   Le contenu interne de chaque bloc reste recentré par son .__inner,
   et le texte SEO reste borné dans son propre groupe constrained.
   ================================================================ */
.single-evenement .wp-block-post-content {
	max-width: none;
}

.single-evenement .wp-block-post-content.is-layout-constrained > .alignwide,
.single-evenement .wp-block-post-content.is-layout-constrained > .alignfull {
	max-width: 100%;
}

/* ================================================================
   PAGES LÉGALES — modèle « page-legal » + composition lukana/page-legal
   Fil d'ariane, en-tête, sommaire auto (bloc lukana/sommaire-legal) + prose.
   Le sommaire est généré depuis les titres H2 ; les ancres sont posées
   automatiquement (filtre render_block_core/heading dans functions.php).
   ================================================================ */
.legal-breadcrumb {
	border-bottom: 1px solid var(--line);
}

.legal-page > .eyebrow {
	margin-bottom: var(--space-s);
}

.legal-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size:   var(--t-h2);
	color:       var(--ink);
	margin:      0 0 var(--space-2xl);
}

/* ---- Colonnes sommaire / corps ---- */
.legal-columns {
	align-items: flex-start;
	gap: 40px;
}

/* ---- Sommaire auto (bloc lukana/sommaire-legal) ---- */
.legal-sommaire {
	position:      sticky;
	top:           110px;
	background:    var(--surface);
	border:        1px solid var(--line);
	border-radius: var(--r-m);
	padding:       var(--space-l) var(--space-xl);
	box-shadow:    var(--shadow-card);
}

.legal-sommaire__title {
	font-size:      var(--t-over);
	letter-spacing: .28em;
	text-transform: uppercase;
	color:          var(--violet-soft);
	font-weight:    700;
	margin-bottom:  var(--space-m);
}

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

.legal-sommaire__list li {
	margin: 0;
}

.legal-sommaire__list a {
	display:         block;
	padding:         8px 0;
	color:           var(--ink-soft);
	text-decoration: none;
	font-size:       var(--t-small);
	line-height:     1.35;
	border-bottom:   1px solid var(--line);
	transition:      color .2s var(--ease);
}

.legal-sommaire__list li:last-child a {
	border-bottom: 0;
}

.legal-sommaire__list a:hover,
.legal-sommaire__list a.is-active {
	color:       var(--violet-deep);
	font-weight: 600;
}

/* Aperçu éditeur (placeholder — le sommaire réel est côté serveur) */
.legal-sommaire--editor .legal-sommaire__list span {
	display:       block;
	padding:       8px 0;
	color:         var(--ink-xsoft);
	font-size:     var(--t-small);
	border-bottom: 1px solid var(--line);
}

.legal-sommaire__hint {
	margin:    var(--space-m) 0 0;
	font-size: var(--t-small);
	color:     var(--violet-soft);
	font-style: italic;
}

/* ---- Corps légal (prose) ---- */
.legal-updated {
	font-size:  var(--t-small);
	color:      var(--ink-xsoft);
	font-style: italic;
	margin:     0 0 var(--space-xl);
}

.legal-prose h2 {
	scroll-margin-top: 120px;
	font-family:       var(--font-display);
	font-weight:       600;
	font-size:         var(--t-h3);
	color:             var(--ink);
	margin:            var(--space-2xl) 0 var(--space-m);
}

.legal-prose h2:first-of-type {
	margin-top: 0;
}

.legal-prose h3 {
	font-weight: 600;
	font-size:   var(--t-h4);
	color:       var(--ink);
	margin:      var(--space-xl) 0 var(--space-s);
}

.legal-prose p,
.legal-prose li {
	color:       var(--ink-soft);
	line-height: 1.75;
	font-size:   var(--t-body);
}

.legal-prose p {
	margin: 0 0 var(--space-m);
}

.legal-prose ul {
	margin:       0 0 var(--space-m);
	padding-left: 1.25em;
}

.legal-prose li {
	margin: 0 0 var(--space-xs);
}

.legal-prose strong {
	color: var(--ink);
}

.legal-prose a {
	color: var(--violet-deep);
}

/* Le contenu éditable (post-content) occupe toute la colonne de droite. */
.legal-prose .wp-block-post-content {
	max-width: none;
}

/* Défilement doux vers les ancres du sommaire (hors reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* ---- Responsive : le sommaire repasse dans le flux quand les colonnes s'empilent ---- */
@media (max-width: 781px) {
	.legal-sommaire {
		position: static;
	}
}
