/* ============================================================
   ODE & CRIS — Style page biographe
   À coller dans : Apparence → Personnaliser → CSS additionnel
   Compatible : Twenty Twenty-Four (TT4) — WordPress 6.5+
   ============================================================ */

/* --- TYPOGRAPHIE : titres en serif --- */
.ode-h1,
.ode-h2,
.ode-h3-serif,
.ode-formula-title,
.ode-testimonial-text,
.ode-italic,
.ode-final-quote blockquote p,
.ode-faq summary {
  font-family: 'Cardo', Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

/* --- H1 (Hero) --- */
.ode-h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

/* --- H2 (sections) --- */
.ode-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

/* --- H3 (cartes et sous-titres) --- */
.ode-h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: #4a1b0c;
  line-height: 1.35;
}

.ode-h3-serif {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: #1a1a1a;
  line-height: 1.35;
}

/* --- INTRO HERO --- */
.ode-intro {
  font-family: 'Cardo', Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  color: #555;
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* --- TEXTE LEAD (chapeau de section) --- */
.ode-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

/* --- CARTES CREAM (.ode-card-soft) --- */
.ode-card-soft {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ode-card-soft p {
  color: #4a1b0c;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.ode-card-soft .ode-h3 {
  color: #4a1b0c;
}

/* --- CTA PRINCIPAL --- */
.ode-cta-primary .wp-block-button__link {
  padding: 0.9rem 1.8rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.ode-cta-primary .wp-block-button__link:hover {
  background-color: #7a2f15 !important;
  transform: translateY(-1px);
}

/* --- CTA SECONDAIRE (outline) --- */
.ode-cta-secondary .wp-block-button__link {
  padding: 0.9rem 1.8rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  background: transparent !important;
  transition: background-color 0.2s ease;
}

.ode-cta-secondary .wp-block-button__link:hover {
  background-color: rgba(153, 60, 29, 0.08) !important;
}

/* --- ÉTAPES NUMÉROTÉES (Comment ça se passe) --- */
.ode-step {
  display: flex !important;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ode-step:last-of-type {
  border-bottom: none;
}

.ode-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #FAEEDA;
  color: #4a1b0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cardo', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0;
  line-height: 1;
}

.ode-step .ode-h3-serif {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.ode-step p {
  margin-top: 0;
  margin-bottom: 0;
  color: #444;
  line-height: 1.65;
}

/* --- FORMULES TARIFAIRES --- */
.ode-formulas {
  gap: 1.5rem !important;
  margin-top: 2rem !important;
}

.ode-formula {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ode-formula:hover {
  transform: translateY(-2px);
}

.ode-formula-title {
  font-family: 'Cardo', Georgia, serif !important;
  font-size: 1.4rem !important;
  font-weight: 500 !important;
  margin-top: 0 !important;
  margin-bottom: 0.3rem !important;
  color: #1a1a1a !important;
  text-align: center;
}

.ode-formula-price {
  font-family: 'Cardo', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #993C1D;
  text-align: center;
  margin: 0 0 0.8rem !important;
  line-height: 1.1;
}

.ode-formula-desc {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
  margin: 0 0 1.2rem !important;
  line-height: 1.55;
}

.ode-formula ul {
  font-size: 0.9rem;
  color: #444;
  padding-left: 1.2rem;
  margin: 0;
  line-height: 1.7;
}

.ode-formula ul li {
  margin-bottom: 0.25rem;
}

/* --- FORMULE PHARE (Transmission) --- */
.ode-formula-featured {
  position: relative;
  background-color: #fffaf3 !important;
  box-shadow: 0 4px 24px rgba(153, 60, 29, 0.08);
}

.ode-formula-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #993C1D;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin: 0 !important;
  font-style: normal;
}

/* --- TÉMOIGNAGES --- */
.ode-testimonial {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ode-testimonial-text {
  font-family: 'Cardo', Georgia, serif !important;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4a1b0c !important;
  margin: 0 0 1rem !important;
}

.ode-testimonial-author {
  font-size: 0.85rem;
  color: #712B13 !important;
  font-weight: 500;
  margin: 0 !important;
  font-style: normal;
}

/* --- FAQ (bloc Details) --- */
.ode-faq {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  margin: 0 !important;
}

.ode-faq:first-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ode-faq summary {
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  padding-right: 2rem;
  position: relative;
  list-style: none;
  color: #1a1a1a;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.ode-faq summary:hover {
  color: #993C1D;
}

.ode-faq summary::-webkit-details-marker {
  display: none;
}

.ode-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: #993C1D;
  transition: transform 0.2s ease;
  line-height: 1;
}

.ode-faq[open] summary::after {
  content: '−';
}

.ode-faq[open] summary {
  color: #993C1D;
  margin-bottom: 0.8rem;
}

.ode-faq p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 0.5rem;
  padding-right: 1rem;
}

/* --- CTA INLINE (encart au milieu de la page) --- */
.ode-inline-cta .ode-italic {
  font-size: 1.05rem;
  color: #4a1b0c;
  margin-bottom: 1rem !important;
}

/* --- SECTION FINALE (fond crème pleine largeur) --- */
.ode-section-final .ode-h2 {
  color: #4a1b0c;
  margin-bottom: 1rem;
}

.ode-section-final .ode-italic {
  color: #712B13;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.ode-location {
  margin-top: 1.5rem !important;
  font-size: 0.95rem;
  color: #712B13;
  letter-spacing: 0.02em;
}

/* --- CITATION FINALE (Annie Ernaux) --- */
.ode-final-quote {
  border: none !important;
  padding: 3rem 1rem !important;
  text-align: center;
  background: transparent !important;
}

.ode-final-quote blockquote {
  border: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 640px;
}

.ode-final-quote blockquote p {
  font-size: 1.2rem !important;
  font-style: italic;
  line-height: 1.6;
  color: #333;
  margin: 0 0 1rem !important;
}

.ode-final-quote cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #777;
  text-transform: uppercase;
}

/* --- IMAGES (hero et portrait) --- */
.ode-hero-image img,
.ode-portrait img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ode-portrait img {
  aspect-ratio: 4 / 5;
}

/* --- ESPACEMENTS SECTIONS --- */
.ode-section {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* --- RESPONSIVE : MOBILE --- */
@media (max-width: 768px) {
  .ode-h1 {
    font-size: 1.7rem;
  }

  .ode-h2 {
    font-size: 1.4rem;
  }

  .ode-step {
    gap: 1rem;
  }

  .ode-step-num {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  /* Sur mobile, la formule centrale (la plus choisie) passe en premier */
  .ode-formulas {
    display: flex;
    flex-direction: column;
  }

  .ode-formulas .wp-block-column:nth-child(2) {
    order: -1;
  }

  .ode-section-final {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* --- AJUSTEMENTS POUR TWENTY TWENTY-FOUR --- */
.wp-site-blocks .ode-section,
.wp-site-blocks .ode-hero,
.wp-site-blocks .ode-section-final {
  margin-top: 0;
  margin-bottom: 0;
}




/* ============================================================
   ODE & CRIS — CSS additionnel : page Rédaction de dossiers
   de subvention
   À ajouter à la suite de style-ode-additionnel.css
   dans Apparence → Personnaliser → CSS additionnel
   ============================================================ */

/* --- CARTES DE MAILLAGE INTERNE --- */
/* Utilisées en bas de page pour les liens vers d'autres services */
.ode-internal-link-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ode-internal-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(153, 60, 29, 0.08);
}

.ode-internal-link-card a {
  display: block;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.ode-internal-link-card a:hover {
  color: #7a2f15 !important;
}

/* --- LABEL "LE PLUS FRÉQUENT" (adapté depuis .ode-formula-badge) --- */
/* Le badge dans la formule tarifaire du milieu */
.ode-formula-featured .ode-formula-badge {
  display: inline-block;
  margin-bottom: 1rem !important;
  position: static;
  transform: none;
  /* En mode inline (non absolu) sur cette page, pour éviter
     les conflits de chevauchement avec le padding du groupe */
}

/* --- SECTION MAILLAGE INTERNE : libellé "Aller plus loin" --- */
.ode-internal-links .wp-block-separator {
  margin-bottom: 2rem;
}


/* ============================================================
   LIVRABLE 2 — CSS ADDITIONNEL
   Page : Écrivain public à Strasbourg
   À coller dans : Apparence → Personnaliser → CSS additionnel
   Complète style-ode-additionnel.css (aucune règle redéfinie)
   ============================================================ */


/* --- TABLE TARIFS (.ode-tarifs-table) --- */
/*
   Stylage du tableau des tarifs pour l'intégrer à la charte :
   pas de bordures dures, fond de header en crème, hover subtil.
*/
.ode-tarifs-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.ode-tarifs-table thead tr {
  background-color: #FAEEDA;
}

.ode-tarifs-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #4a1b0c;
  border-bottom: 1px solid rgba(153, 60, 29, 0.25);
}

.ode-tarifs-table thead th:last-child {
  text-align: right;
}

.ode-tarifs-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: background-color 0.15s ease;
}

.ode-tarifs-table tbody tr:last-child {
  border-bottom: none;
}

.ode-tarifs-table tbody tr:hover {
  background-color: #fffaf3;
}

.ode-tarifs-table tbody td {
  padding: 0.75rem 1rem;
  vertical-align: top;
}

.ode-tarifs-table tbody td:last-child {
  text-align: right;
  font-family: 'Cardo', Georgia, serif;
  font-size: 1rem;
  color: #993C1D;
  white-space: nowrap;
  font-weight: 500;
}


/* --- HERO : ORDRE COLONNES SUR MOBILE --- */
/*
   Sur mobile, l'image du hero passe en second (après le texte),
   pour que H1 + CTA restent immédiatement visibles sans scroll.
*/
@media (max-width: 768px) {
  .ode-hero .wp-block-columns {
    flex-direction: column;
  }

  .ode-hero .ode-hero-image {
    order: 1;
  }

  .ode-hero .wp-block-columns > .wp-block-column:first-child {
    order: 0;
  }

  /* Légère réduction du padding hero sur mobile */
  .ode-hero {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* Table tarifs : masquer la colonne "Prestation" sur très petit écran
     et empiler les informations */
  .ode-tarifs-table table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


html {
  scroll-behavior: smooth;
}

/* --- HERO : alignement et respiration --- */
.ode-hero-grid {
  gap: 3rem !important;
}

.ode-hero .ode-h1 {
  margin-top: 0;
}

.ode-hero .ode-intro {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 540px;
}

.ode-hero .ode-cta-row {
  margin-top: 1.5rem !important;
  gap: 0.75rem !important;
}

/* --- TROIS UNIVERS : grille de cartes alignées --- */
.ode-three-univers .ode-h2,
.ode-three-univers .ode-lead {
  text-align: center;
}

.ode-univers-grid {
  gap: 1.5rem !important;
  align-items: stretch !important;
}

.ode-univers-grid .wp-block-column {
  display: flex;
  flex-direction: column;
}

/* Les cartes des 3 univers doivent toutes faire la même hauteur, 
   avec le bouton CTA poussé en bas */
.ode-univers-grid .ode-card-soft {
  height: 100%;
  display: flex !important;
  flex-direction: column;
}

.ode-univers-grid .ode-card-soft p {
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.ode-card-cta {
  margin-top: auto !important;
}

.ode-card-cta .wp-block-button__link {
  font-size: 0.9rem !important;
  padding: 0.6rem 1.2rem !important;
}

/* --- SECTION APPROCHE : fond crème très clair, ancre #approche --- */
.ode-approach {
  scroll-margin-top: 2rem;
}

.ode-approach .ode-h3-serif {
  color: #4a1b0c;
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.ode-approach .wp-block-column p {
  color: #444;
  line-height: 1.65;
  font-size: 0.98rem;
}

.ode-approach .wp-block-columns {
  gap: 2.5rem !important;
}

/* --- SECTION PREUVES : logos et témoignage --- */
.ode-logos-band {
  gap: 2rem !important;
  align-items: center !important;
}

.ode-logos-band .ode-logo {
  margin: 0 !important;
  text-align: center;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.ode-logos-band .ode-logo:hover {
  opacity: 1;
}

.ode-logos-band .ode-logo img {
  max-height: 60px;
  width: auto;
  margin: 0 auto;
  display: block;
  /* Légère désaturation pour cohérence visuelle */
  filter: grayscale(20%);
}

/* Le témoignage hérite déjà de .ode-card-soft et .ode-testimonial 
   définis dans le CSS principal */
.ode-trust .ode-testimonial {
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* --- SECTION ARTICLES (Histoires en lumière) --- */
.ode-articles-grid {
  gap: 2rem !important;
  align-items: stretch !important;
}

.ode-articles-grid .wp-block-column {
  display: flex;
  flex-direction: column;
}

.ode-article-card {
  height: 100%;
  display: flex !important;
  flex-direction: column;
}

.ode-article-image {
  margin: 0 0 1rem !important;
}

.ode-article-image img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ode-article-card .ode-h3-serif {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.ode-article-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.ode-article-card p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

.ode-article-card a {
  color: #993C1D;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.ode-article-card a:hover {
  color: #7a2f15;
}

.ode-articles-link a {
  color: #993C1D;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(153, 60, 29, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.ode-articles-link a:hover {
  border-bottom-color: #993C1D;
}

/* --- SECTION QUI JE SUIS --- */
.ode-about-grid {
  gap: 3rem !important;
  align-items: center !important;
}

.ode-about .ode-h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.ode-about p {
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

.ode-about .wp-block-buttons {
  margin-top: 1.5rem !important;
}

/* --- RESPONSIVE : MOBILE --- */
@media (max-width: 781px) {

  /* Hero : empilement vertical, image dessus */
  .ode-hero-grid {
    flex-direction: column;
    gap: 2rem !important;
  }

  .ode-hero-grid .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  /* Sur mobile, on remet l'image au-dessus pour humaniser dès le 1er scroll */
  .ode-hero-grid .wp-block-column:last-child {
    order: -1;
  }

  .ode-hero .ode-intro {
    text-align: left;
    max-width: 100%;
  }

  .ode-hero .ode-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .ode-hero .ode-cta-row .wp-block-button {
    width: 100%;
  }

  .ode-hero .ode-cta-row .wp-block-button__link {
    width: 100%;
    text-align: center;
    min-height: 48px;
  }

  /* Trois univers : empilement vertical dans l'ordre 
     biographies → écrivain public → structures (déjà l'ordre HTML) */
  .ode-univers-grid {
    flex-direction: column;
    gap: 1.25rem !important;
  }

  /* Approche : 3 colonnes → empilement */
  .ode-approach .wp-block-columns {
    gap: 1.75rem !important;
  }

  /* Bandeau logos : grille 2×2 sur mobile pour la lisibilité */
  .ode-logos-band {
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }

  .ode-logos-band .wp-block-column {
    flex-basis: calc(50% - 0.75rem) !important;
    flex-grow: 0 !important;
  }

  .ode-logos-band .ode-logo img {
    max-height: 50px;
  }

  /* Articles : empilement vertical */
  .ode-articles-grid {
    flex-direction: column;
    gap: 2.5rem !important;
  }

  /* Qui je suis : empilement, photo dessus */
  .ode-about-grid {
    flex-direction: column;
    gap: 1.5rem !important;
  }

  .ode-about-grid .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  /* Section finale : bouton pleine largeur */
  .ode-section-final .wp-block-button {
    width: 100%;
  }

  .ode-section-final .wp-block-button__link {
    width: 100%;
    text-align: center;
    min-height: 48px;
  }

  /* Padding sections full-width un peu plus serrés */
  .ode-hero,
  .ode-approach,
  .ode-section-final {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* --- ACCESSIBILITÉ : focus visible sur les liens et boutons --- */
.ode-card-cta .wp-block-button__link:focus-visible,
.ode-cta-primary .wp-block-button__link:focus-visible,
.ode-cta-secondary .wp-block-button__link:focus-visible,
.ode-article-card a:focus-visible,
.ode-articles-link a:focus-visible {
  outline: 2px solid #993C1D;
  outline-offset: 3px;
}

/* Header sticky - thème WordPress en blocs */
.wp-block-template-part:has(header),
header.wp-block-template-part,
header.wp-block-group,
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  background: #ffffff !important;
	
}

/* Évite que le contenu passe au-dessus */
.wp-site-blocks {
  overflow: visible !important;
}

/* Ombre légère */
.wp-block-template-part:has(header),
header.wp-block-template-part,
header.wp-block-group,
.site-header {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}


/* --- TIMELINE DES REPÈRES DE PARCOURS --- */
/* La structure utilise wp:columns natifs Gutenberg :
   col1 = date (170px fixes), col2 = titre + paragraphe.
   On ne force PAS de display:flex ici, on laisse Gutenberg gérer.
   On ajoute juste : bordure inférieure de séparation,
   espacement compact, et stylage de la date en serif. */

.wp-block-columns.ode-repere {
  margin-bottom: 0 !important;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  gap: 1.5rem;
}

.wp-block-columns.ode-repere.ode-repere-last,
.wp-block-columns.ode-repere:last-of-type {
  border-bottom: none;
}

.ode-repere-date {
  font-family: 'Cardo', Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #993C1D;
  line-height: 1.3;
  margin: 0 !important;
  padding-top: 0.15rem;
  letter-spacing: 0.01em;
}

.ode-repere .wp-block-column > .ode-h3-serif {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  line-height: 1.35;
}

.ode-repere .wp-block-column > p {
  margin-top: 0;
  margin-bottom: 0;
  color: #444;
  line-height: 1.65;
  font-size: 0.98rem;
}

/* --- LIEN "→ DÉCOUVRIR…" DANS LES CARTES DOUCES --- */
/* Stylage des liens internes en bas des cartes "Ce que j'accompagne". */

.ode-card-link-wrap {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

a.ode-card-link {
  display: inline-block;
  font-family: 'Cardo', Georgia, 'Times New Roman', serif;
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 500;
  color: #993C1D !important;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a.ode-card-link:hover,
a.ode-card-link:focus {
  color: #7a2f15 !important;
  border-bottom-color: #993C1D;
}

/* --- LISTE DES 3 ENGAGEMENTS --- */
/* Liste à puces stylée sur fond crème, avec respiration verticale. */

.ode-engagements {
  margin-top: 1.5rem !important;
}

.ode-engagements .ode-engagements-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.ode-engagements .ode-engagements-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
  color: #4a1b0c;
  line-height: 1.7;
  font-size: 1rem;
}

.ode-engagements .ode-engagements-list li:last-child {
  margin-bottom: 0;
}

.ode-engagements .ode-engagements-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: #993C1D;
  font-family: 'Cardo', Georgia, serif;
  font-weight: 500;
}

.ode-engagements .ode-engagements-list li strong {
  color: #4a1b0c;
  font-weight: 600;
}

/* --- GRILLE "POUR QUI J'INTERVIENS" --- */
/* Deux rangées indépendantes de 2 colonnes (wp:columns natifs).
   On force juste les cartes à occuper toute la hauteur pour
   que les 2 cartes d'une même rangée s'alignent visuellement. */

.ode-pour-qui {
  margin-bottom: 0 !important;
  gap: 1.5rem;
}

.ode-pour-qui .wp-block-column {
  display: flex;
  flex-direction: column;
}

.ode-pour-qui .wp-block-column > .ode-card-soft {
  height: 100%;
}

/* --- PULLQUOTE EN EXERGUE (au milieu du parcours) --- */
/* Plus discrète que .ode-final-quote : filet vertical terre brûlée
   à gauche, sans bordure ni fond. */

.ode-inline-quote {
  border: none !important;
  background: transparent !important;
  padding: 1.5rem 1rem !important;
  margin: 0 auto !important;
  max-width: 640px;
}

.ode-inline-quote blockquote {
  border: none !important;
  border-left: 2px solid #993C1D !important;
  padding: 0.5rem 0 0.5rem 1.5rem !important;
  margin: 0 !important;
  text-align: left;
}

.ode-inline-quote blockquote p {
  font-family: 'Cardo', Georgia, 'Times New Roman', serif !important;
  font-size: 1.2rem !important;
  font-style: italic;
  line-height: 1.55;
  color: #4a1b0c !important;
  margin: 0 !important;
  font-weight: 400;
}

/* --- RANGÉE DE CTA EN PIED DE PAGE --- */

.ode-cta-row {
  gap: 1rem !important;
  flex-wrap: wrap;
}

/* --- RESPONSIVE : MOBILE --- */
/* WordPress passe wp:columns en vertical à 781px par défaut.
   On rajuste juste quelques détails : padding plus compact,
   tailles légèrement réduites, et la date qui reste lisible. */

@media (max-width: 781px) {

  .wp-block-columns.ode-repere {
    padding: 1rem 0;
    gap: 0.4rem;
  }

  .ode-repere-date {
    font-size: 1.05rem;
  }

  a.ode-card-link {
    font-size: 0.95rem;
  }

  .ode-inline-quote {
    padding: 1rem 0.5rem !important;
  }

  .ode-inline-quote blockquote p {
    font-size: 1.1rem !important;
  }

  .ode-engagements .ode-engagements-list li {
    padding-left: 1.25rem;
    margin-bottom: 0.8rem;
  }
}

