/* ==========================================================================
   CARINE GIEMZA - GRAPHOTHÉRAPIE METZ
   Direction Artistique : Respect scrupuleux de la DA originale
   - Fond lin/écru naturel (#fcf9f4)
   - Bleu encre profond (#1f4874)
   - Bleu cyan signature (#0369a1 - optimisé contraste WCAG AA 4.85:1)
   - Typographie : EB Garamond (titres & citations) & Fira Sans (textes)
   
   TABLE DES MATIÈRES :
   1. VARIABLES & PALETTES THÉMATIQUES
   2. RESET DE BASE & ACCESSIBILITÉ (SKIP LINK, FOCUS, PREFERS-REDUCED-MOTION)
   3. TYPOGRAPHIE & ÉLÉMENTS GLOBAUX
   4. HEADER, NAVIGATION DESKTOP & SUBNAV
   5. MENU MOBILE & TIROIR LATÉRAL
   6. SECTIONS HÉRO, CITATIONS & SEYÈS
   7. ZIGZAGS ÉDITORIAUX & CARTES CONTENU
   8. CARROUSELS INFINIS & CARTES POLAROIDS
   9. ACCORDÉONS, FAQ & DÉMARCHES EN ÉTAPES
   10. GRILLES TARIFS, PACKS & MODALITÉS MUTUELLES
   11. FORMULAIRE DE CONTACT & BOUTONS CTA
   12. FOOTER & CRÉDITS
   13. LIGHTBOX MODALE & ZOOM IMAGES
   14. MODE CONFORT DE LECTURE (A+)
   15. MODE IMPRESSION (@media print)
   16. MEDIA QUERIES STANDARDISÉES (MOBILE / TABLETTE / DESKTOP)
   ========================================================================== */

:root {
  /* Couleurs de la DA cliente (Harmonie beige rosé doux & lin poudré + Bleu Encre & Pastels du bandeau) */
  --bg-body: #fbf5f2;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f6ece7;
  --bg-green-full: #1f4874; /* Harmonisé en Bleu Encre profond et chaleureux */
  --bg-primary-full: #1f4874;
  --bg-cyan-soft: #f0f9ff;

  /* Couleur primaire : Bleu Encre soutenu et gai, assorti au logo et au texte du bandeau */
  --color-primary: #1f4874;
  --color-primary-dark: #132f4c;
  --color-primary-hover: #2b5c92;
  --color-primary-light: #3a6ea5;
  --color-primary-tint: #ebf3fa;

  /* Accent bleu cyan lumineux */
  --color-accent: #0369a1;
  --color-accent-hover: #075985;
  --color-accent-cyan: #0284c7;

  /* Teintes pastels extraites du bandeau d'en-tête */
  --pastel-mint-border: #7cb9a8;
  --pastel-mint-bg: #e5f5f0;
  --pastel-mint-text: #1a6554;

  --pastel-peach-border: #e5a496;
  --pastel-peach-bg: #fdf0eb;
  --pastel-peach-text: #a04938;

  --pastel-lavender-border: #bfa0cf;
  --pastel-lavender-bg: #f4ecf8;
  --pastel-lavender-text: #6c3b82;

  --color-text-main: #2b3437;
  --color-text-muted: #5c6b68;
  --color-text-inverse: #ffffff;

  --color-border: #e4d8d2;
  --color-border-light: #ece2dc;

  /* Typographie */
  --font-serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --font-sans: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rayons & Ombres */
  --radius-sm: 6px;
  --radius-img: 10px;
  --radius-full: 9999px;

  --shadow-soft: 0 4px 16px rgba(31, 72, 116, 0.08);
  --shadow-hover: 0 8px 24px rgba(31, 72, 116, 0.14);

  --transition: all 0.25s ease-in-out;
}

/* Reset de base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Lien d'évitement (« Skip Link ») pour l'accessibilité clavier (WCAG 2.1 AA)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: top 0.2s ease-in-out;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid #38bdf8;
  outline-offset: 2px;
}

/* Classes d'accessibilité pour masquer visuellement tout en préservant pour les lecteurs d'écran / SEO */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Indicateurs de focus clavier visibles (WCAG 2.1 AA) */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Prise en compte du mode de réduction des mouvements (prefers-reduced-motion) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .infinite-carousel-item,
  .polaroid-card-item,
  .polaroid-photo-frame {
    transform: none !important;
    transition: none !important;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

/* Évite que la barre de navigation double fixe ne masque le titre de la section lors du clic */
section[id], main[id], div[id] {
  scroll-margin-top: 125px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--color-text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 104px; /* Compense la barre de navigation fixe double (Tier 1 + Tier 2) */
  padding-bottom: 72px; /* Pour la barre d'action mobile */
  overflow-x: hidden;
  max-width: 100%;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

b, strong {
  font-weight: 700;
}

i, em {
  font-style: italic;
}

u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   STRUCTURES & CONTENEURS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Conteneur éditorial centré (comme sur le site original) */
.editorial-container {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Titres de section au style de la DA cliente */
.section-title-cyan {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .section-title-cyan {
    font-size: 2.5rem;
  }
}

/* Séparateur horizontal signature avec 3 petits points pastel centrés (discret et raffiné) */
.content-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 20%, var(--color-border) 80%, transparent 100%);
  max-width: 820px;
  margin: 4.5rem auto;
  position: relative;
  overflow: visible;
}

.content-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 14px;
  background-color: var(--bg-body);
  z-index: 1;
}

.content-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--pastel-peach-border);
  box-shadow: -13px 0 0 var(--pastel-mint-border), 13px 0 0 var(--pastel-lavender-border);
  z-index: 2;
}

/* ==========================================================================
   NAVIGATION BAR (STICKY & RESPONSIVE SANS RETOUR À LA LIGNE CASSÉ)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  background-color: rgba(252, 249, 244, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 46px;
  height: auto;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.15;
}

.brand-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Menu desktop avec white-space: nowrap pour empêcher le wrapping chaotique */
.desktop-nav {
  display: none;
}

@media (min-width: 1040px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.65rem;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 0.4rem 0.55rem;
  white-space: nowrap; /* Empêche les césures à la ligne */
  position: relative;
  transition: color 0.2s ease;
  display: inline-block;
}

/* Barre de survol et active s'allongeant sur TOUTE la largeur du texte */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.25s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

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

/* Accents pastel de survol selon le pôle */
.nav-item[data-subnav="graphotherapie"] .nav-link:hover,
.nav-item[data-subnav="graphotherapie"] .nav-link.active {
  color: var(--pastel-mint-text);
}
.nav-item[data-subnav="graphotherapie"] .nav-link:hover::after,
.nav-item[data-subnav="graphotherapie"] .nav-link.active::after {
  background-color: var(--pastel-mint-border);
}

.nav-item[data-subnav="accompagnement"] .nav-link:hover,
.nav-item[data-subnav="accompagnement"] .nav-link.active {
  color: var(--pastel-peach-text);
}
.nav-item[data-subnav="accompagnement"] .nav-link:hover::after,
.nav-item[data-subnav="accompagnement"] .nav-link.active::after {
  background-color: var(--pastel-peach-border);
}

.nav-item[data-subnav="formations"] .nav-link:hover,
.nav-item[data-subnav="formations"] .nav-link.active {
  color: var(--pastel-lavender-text);
}
.nav-item[data-subnav="formations"] .nav-link:hover::after,
.nav-item[data-subnav="formations"] .nav-link.active::after {
  background-color: var(--pastel-lavender-border);
}

.header-cta-btn {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2b6099 100%);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  margin-left: 0.5rem;
  box-shadow: 0 3px 10px rgba(31, 72, 116, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-cta-btn:hover {
  background: linear-gradient(135deg, #2b6099 0%, #1a4d7d 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(31, 72, 116, 0.32);
}

/* ==========================================================================
   BARRE HORIZONTALE SECONDAIRE (TIER 2 - SOUS-MENU CONTEXTUEL)
   ========================================================================== */
.site-subnav {
  background-color: #f7f4ed;
  border-top: 1px solid rgba(31, 72, 116, 0.08);
  border-bottom: 1px solid var(--color-border);
  box-shadow: inset 0 1px 3px rgba(31, 72, 116, 0.03);
  position: relative;
  z-index: 998;
  height: 40px;
  display: flex;
  align-items: center;
}

.subnav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.subnav-group {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  animation: subnavFade 0.2s ease forwards;
}

@keyframes subnavFade {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subnav-group.active {
  display: flex;
}

.subnav-link {
  font-size: 0.81rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.subnav-group li:not(:first-child) .subnav-link::before {
  content: "•";
  color: var(--color-accent);
  font-size: 0.9rem;
  opacity: 0.45;
  margin-right: 0.35rem;
}

.subnav-link:hover,
.subnav-link.active {
  color: var(--color-primary);
}

.subnav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.2s ease;
}

.subnav-link:hover::after,
.subnav-link.active::after {
  width: 100%;
}

/* Couleurs de survol et puces pastel par groupe de sous-menus */
#subnav-graphotherapie .subnav-link:hover,
#subnav-graphotherapie .subnav-link.active {
  color: var(--pastel-mint-text);
}
#subnav-graphotherapie .subnav-link::after {
  background-color: var(--pastel-mint-border);
}
#subnav-graphotherapie li:not(:first-child) .subnav-link::before {
  color: var(--pastel-mint-border);
  opacity: 0.8;
}

#subnav-accompagnement .subnav-link:hover,
#subnav-accompagnement .subnav-link.active {
  color: var(--pastel-peach-text);
}
#subnav-accompagnement .subnav-link::after {
  background-color: var(--pastel-peach-border);
}
#subnav-accompagnement li:not(:first-child) .subnav-link::before {
  color: var(--pastel-peach-border);
  opacity: 0.8;
}

#subnav-formations .subnav-link:hover,
#subnav-formations .subnav-link.active {
  color: var(--pastel-lavender-text);
}
#subnav-formations .subnav-link::after {
  background-color: var(--pastel-lavender-border);
}
#subnav-formations li:not(:first-child) .subnav-link::before {
  color: var(--pastel-lavender-border);
  opacity: 0.8;
}

@media (max-width: 1039px) {
  .site-subnav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    height: 40px;
    padding: 0 0.5rem;
  }
  .site-subnav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
  }
  .subnav-inner {
    justify-content: flex-start;
    width: max-content;
  }
  .subnav-group {
    gap: 1rem;
  }
}

/* Sections & Services Overview Cards */
.services-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .services-overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-overview-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-img);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.service-card-text {
  font-size: 0.93rem;
  color: var(--color-text-main);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1.5px solid var(--color-accent);
  padding-bottom: 2px;
  width: fit-content;
  transition: all 0.2s ease;
}

.service-card-cta:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* ==========================================================================
   DÉCLINAISONS COLORÉES DES CARTES D'ACCOMPAGNEMENT (PALETTE DU BANDEAU)
   ========================================================================== */
/* Thème 1 : Menthe d'eau pastel (Pôle Rééducation - Graphothérapie) */
.service-card-theme-mint {
  border-top: 4px solid var(--pastel-mint-border) !important;
  background: linear-gradient(180deg, #f4faf7 0%, #ffffff 28%);
}
.service-card-theme-mint .service-card-badge {
  background-color: var(--pastel-mint-bg);
  color: var(--pastel-mint-text);
  border: 1px solid #bfe3d8;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-full);
}
.service-card-theme-mint:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(124, 185, 168, 0.28);
}

/* Thème 2 : Pêche / Poudré rosé pastel (Pôle Scolaire - Apprendre Autrement) */
.service-card-theme-peach {
  border-top: 4px solid var(--pastel-peach-border) !important;
  background: linear-gradient(180deg, #fdf6f4 0%, #ffffff 28%);
}
.service-card-theme-peach .service-card-badge {
  background-color: var(--pastel-peach-bg);
  color: var(--pastel-peach-text);
  border: 1px solid #f2ceca;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-full);
}
.service-card-theme-peach:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(229, 164, 150, 0.32);
}

/* Thème 3 : Lavande / Lilas pastel (Pôle Transmission - Formations Écoles & Pro) */
.service-card-theme-lavender {
  border-top: 4px solid var(--pastel-lavender-border) !important;
  background: linear-gradient(180deg, #faf5fc 0%, #ffffff 28%);
}
.service-card-theme-lavender .service-card-badge {
  background-color: var(--pastel-lavender-bg);
  color: var(--pastel-lavender-text);
  border: 1px solid #dec9e7;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-full);
}
.service-card-theme-lavender:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(191, 160, 207, 0.32);
}

/* --------------------------------------------------------------------------
   Utilitaires & Composants sémantiques (remplacement des styles inline)
   -------------------------------------------------------------------------- */
.page-title-compact {
  font-size: 2.2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.editorial-lead-text {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
}

.callout-title-serif {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-lead-center {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.notice-text-italic {
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.youtube-external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
}
.youtube-external-link:hover {
  text-decoration: underline;
}

.cabinet-express-card {
  background-color: var(--bg-surface-alt, #f6ece7);
  border-top: 1px solid var(--color-border-light, #ece2dc);
  border-bottom: 1px solid var(--color-border-light, #ece2dc);
  padding: 3.25rem 1.5rem;
  text-align: center;
  margin-top: 4.5rem;
}

.cabinet-express-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-accent) !important;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.cabinet-express-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 1.75rem;
}

/* Boutons d'action du bandeau cabinet avec le bleu d'accentuation */
.cabinet-express-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: #ffffff !important;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.2);
}

.cabinet-express-btn-primary:hover {
  background-color: #075985;
  border-color: #075985;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.3);
}

.cabinet-express-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-accent) !important;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cabinet-express-btn-secondary:hover {
  background-color: var(--color-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.2);
}

/* ==========================================================================
   LIEN D'INVITATION AUX AVIS GOOGLE (DISCRET ET VALORISANT)
   ========================================================================== */
.google-reviews-invite-bar {
  margin-top: 1.6rem;
}

.google-reviews-invite-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #fffcf8 100%);
  color: var(--color-primary) !important;
  border: 1.5px solid rgba(229, 164, 150, 0.55);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.35rem 0.5rem 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(229, 164, 150, 0.16);
  transition: all 0.25s ease;
}

.google-reviews-invite-link:hover {
  background: #ffffff;
  color: var(--color-primary-hover) !important;
  border-color: var(--pastel-peach-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 164, 150, 0.32);
}

.google-reviews-invite-link .google-stars {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  background: #fef8ee;
  border: 1px solid #fed7aa;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: inset 0 1px 2px rgba(251, 146, 60, 0.12);
  display: inline-flex;
  align-items: center;
}

.google-reviews-invite-link .google-reviews-arrow {
  color: var(--pastel-peach-text);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.google-reviews-invite-link:hover .google-reviews-arrow {
  transform: translateX(4px);
}

/* Accompagnement Scolaire Components */
.school-support-hero-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fbf9f5;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.school-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .school-benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.school-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 2px 8px rgba(31, 72, 116, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.school-star-icon {
  color: #b48a3c;
  font-size: 1.2rem;
  line-height: 1.2;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.school-benefit-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.45;
}

/* Déclinaisons pastel pour les 9 points d'accompagnement scolaire */
.school-benefit-card.theme-mint {
  border-left: 4px solid var(--pastel-mint-border) !important;
  background: linear-gradient(90deg, #f4faf7 0%, #ffffff 45%);
}
.school-benefit-card.theme-mint .school-star-icon {
  color: var(--pastel-mint-text);
}
.school-benefit-card.theme-mint:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(124, 185, 168, 0.24);
}
.school-benefit-card.theme-mint:hover .school-star-icon {
  transform: scale(1.2) rotate(10deg);
}

.school-benefit-card.theme-peach {
  border-left: 4px solid var(--pastel-peach-border) !important;
  background: linear-gradient(90deg, #fdf6f4 0%, #ffffff 45%);
}
.school-benefit-card.theme-peach .school-star-icon {
  color: var(--pastel-peach-text);
}
.school-benefit-card.theme-peach:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(229, 164, 150, 0.26);
}
.school-benefit-card.theme-peach:hover .school-star-icon {
  transform: scale(1.2) rotate(10deg);
}

.school-benefit-card.theme-lavender {
  border-left: 4px solid var(--pastel-lavender-border) !important;
  background: linear-gradient(90deg, #faf5fc 0%, #ffffff 45%);
}
.school-benefit-card.theme-lavender .school-star-icon {
  color: var(--pastel-lavender-text);
}
.school-benefit-card.theme-lavender:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(191, 160, 207, 0.26);
}
.school-benefit-card.theme-lavender:hover .school-star-icon {
  transform: scale(1.2) rotate(10deg);
}

.flyer-polaroid-frame {
  max-width: 440px;
  margin: 2.5rem auto;
}

/* Formations Components */
.formation-quote-box {
  background: #fbf9f5;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--color-primary);
}

.formation-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.formation-audience-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.formation-audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 72, 116, 0.08);
}

.formation-audience-card h3,
.formation-audience-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.formation-audience-card p {
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.55;
  margin: 0;
}

/* Déclinaisons pastel pour les 3 publics cibles des formations */
.formation-audience-card.theme-mint {
  border-top: 4px solid var(--pastel-mint-border) !important;
  background: linear-gradient(180deg, #f4faf7 0%, #ffffff 35%);
}
.formation-audience-card.theme-mint h3 {
  color: var(--pastel-mint-text);
}
.formation-audience-card.theme-mint:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(124, 185, 168, 0.24);
}

.formation-audience-card.theme-peach {
  border-top: 4px solid var(--pastel-peach-border) !important;
  background: linear-gradient(180deg, #fdf6f4 0%, #ffffff 35%);
}
.formation-audience-card.theme-peach h3 {
  color: var(--pastel-peach-text);
}
.formation-audience-card.theme-peach:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(229, 164, 150, 0.26);
}

.formation-audience-card.theme-lavender {
  border-top: 4px solid var(--pastel-lavender-border) !important;
  background: linear-gradient(180deg, #faf5fc 0%, #ffffff 35%);
}
.formation-audience-card.theme-lavender h3 {
  color: var(--pastel-lavender-text);
}
.formation-audience-card.theme-lavender:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(191, 160, 207, 0.26);
}

.formation-quote-callout {
  background: #f1f8f6;
  border: 1px solid #cce5df;
  border-radius: var(--radius-img);
  padding: 2.25rem 2rem;
  text-align: center;
  margin: 3rem 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.formation-quote-callout.card-theme-lavender {
  background: linear-gradient(135deg, #faf5fc 0%, #ffffff 50%, #f4ecf8 100%);
  border: 1.5px solid var(--pastel-lavender-border);
  box-shadow: 0 6px 20px rgba(191, 160, 207, 0.18);
}
.formation-quote-callout.card-theme-lavender h3 {
  color: var(--pastel-lavender-text) !important;
}

.formation-quote-callout h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-accent) !important;
  margin-bottom: 0.75rem;
}

.formation-quote-callout p {
  max-width: 640px;
  margin: 0 auto 1.5rem auto;
  font-size: 0.98rem;
  color: var(--color-text-main);
}

.formation-quote-callout .header-cta-btn {
  background-color: var(--color-accent) !important;
  border: 1.5px solid var(--color-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.22);
}

.formation-quote-callout .header-cta-btn:hover {
  background-color: #075985 !important;
  border-color: #075985 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.3);
}

.formation-quote-callout .service-card-cta {
  color: var(--color-accent) !important;
  border-bottom: 1.5px solid var(--color-accent) !important;
}

/* Select Formulaire & Feedback Alert */
.form-select-vintage {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--color-text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2314453d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.form-select-vintage:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-feedback-alert {
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-feedback-alert.success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback-alert.error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Tarifs Synthesis Section */
.tarifs-synthesis-block {
  margin-bottom: 3rem;
}

.tarifs-category-header {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-primary);
  border-bottom: 2px solid rgba(31, 72, 116, 0.15);
  padding-bottom: 0.45rem;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tarifs-category-header span {
  color: var(--color-accent);
  font-size: 1.1rem;
}

/* Mobile Drawer Links with Sub-links */
.mobile-menu-group {
  border-bottom: 1px solid rgba(31, 72, 116, 0.08);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}

.mobile-menu-main-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.35rem;
}

.mobile-menu-sublinks {
  list-style: none;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-menu-sublinks a {
  font-size: 0.88rem;
  color: #64748b;
}

.mobile-menu-sublinks a:hover {
  color: var(--color-accent);
}

/* Burger Mobile */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  background-color: #fcf9f4;
  padding: 1.5rem 1.25rem 4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 10001;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 1040px) {
  .mobile-nav-toggle,
  .mobile-menu-drawer {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu-links a {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}

.mobile-menu-footer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

/* ==========================================================================
   BARRE MOBILE FLOTTANTE (APPEL, CONTACT, ITINÉRAIRE)
   ========================================================================== */
.mobile-quick-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background-color: var(--color-primary);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
  .mobile-quick-actions {
    display: none;
  }
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.2rem;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.mobile-action-btn:last-child {
  border-right: none;
}

.mobile-action-btn svg {
  width: 18px;
  height: 18px;
  margin-bottom: 2px;
}

.mobile-action-btn.accent {
  background-color: var(--color-accent);
}

/* ==========================================================================
   EN-TÊTE DU SITE / MARQUE (IDENTIQUE AU LOGO DU SITE ORIGINAL)
   ========================================================================== */
.site-brand-intro {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.main-brand-logo {
  max-width: 320px;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .main-brand-logo {
    max-width: 380px;
  }
}

.site-main-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.site-main-tagline {
  font-size: 0.95rem;
  color: var(--color-text-main);
  max-width: 820px;
  line-height: 1.55;
}

/* ==========================================================================
   EN-TÊTE DU SITE / GRAND BANDEAU HERO PLEINE LARGEUR (SANS EFFET 3D)
   ========================================================================== */
.hero-banner-fullwidth {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f7f6f2;
  border-bottom: 1px solid var(--color-border);
}

.hero-banner-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none !important;
  border: none !important;
  background: transparent;
  transition: none;
}

.hero-banner-frame:hover {
  transform: none !important;
  box-shadow: none !important;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.hero-banner-tagline {
  text-align: center;
  margin: 1.5rem auto 2.5rem auto;
  max-width: 860px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-main);
}

@media (max-width: 767px) {
  .site-brand-intro {
    padding-top: 1.25rem !important;
    padding-bottom: 1.5rem !important;
  }
  .hero-banner-frame {
    border-radius: 0 !important;
    margin-bottom: 0 !important;
  }
  .hero-banner-tagline {
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
}

/* ==========================================================================
   ENCART RÉSEAUX SOCIAUX DANS "QUI SUIS-JE ?"
   ========================================================================== */
.qui-suis-je-social-card {
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-img);
  padding: 1.5rem 2rem;
  margin: 2.5rem auto 1.5rem auto;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.qui-suis-je-social-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.qui-suis-je-social-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.qui-suis-je-social-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.qui-suis-je-social-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  flex-shrink: 0;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.facebook-btn {
  background-color: #1877f2;
}
.facebook-btn:hover {
  background-color: #1464cc;
}

.instagram-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.instagram-btn:hover {
  filter: brightness(1.08);
}

@media (max-width: 640px) {
  .qui-suis-je-social-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .qui-suis-je-social-actions {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   HERO ROW : CITATION & ILLUSTRATION 3D
   ========================================================================== */
.hero-editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero-editorial-row {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.hero-quote-text {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .hero-quote-text {
    font-size: 2.25rem;
  }
}

.hero-editorial-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   BANDEAU VERT PROFOND PLEINE LARGEUR (SIGNATURE DE LA DA CLIENTE)
   ========================================================================== */
.full-green-statement-banner {
  background-color: var(--bg-green-full);
  color: #ffffff;
  padding: 4.5rem 1.5rem;
  text-align: center;
  margin-bottom: 4.5rem;
}

.statement-quote-heading {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 850px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .statement-quote-heading {
    font-size: 2.3rem;
  }
}

/* ==========================================================================
   SECTION : QUAND CONSULTER ? (DISPOSITION ZIG-ZAG DE L'ORIGINAL)
   ========================================================================== */
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .zigzag-row {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.zigzag-row.reverse {
  direction: ltr;
}

@media (min-width: 768px) {
  .zigzag-row.reverse .zigzag-content {
    order: 1;
  }
  .zigzag-row.reverse .zigzag-media {
    order: 2;
  }
}

.zigzag-media img {
  border-radius: var(--radius-img);
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-soft);
}

.zigzag-content h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.manifestations-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.manifestations-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.96rem;
  color: var(--color-text-main);
  line-height: 1.55;
  transition: transform 0.2s ease, color 0.2s ease;
}

.manifestations-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

/* Pastilles pastel en alternance harmonieuse (Menthe, Pêche, Lavande) */
.manifestations-list li:nth-child(3n+1)::before {
  background-color: var(--pastel-mint-border);
  box-shadow: 0 2px 5px rgba(124, 185, 168, 0.4);
}

.manifestations-list li:nth-child(3n+2)::before {
  background-color: var(--pastel-peach-border);
  box-shadow: 0 2px 5px rgba(229, 164, 150, 0.45);
}

.manifestations-list li:nth-child(3n)::before {
  background-color: var(--pastel-lavender-border);
  box-shadow: 0 2px 5px rgba(191, 160, 207, 0.45);
}

.manifestations-list li:hover {
  transform: translateX(3px);
  color: var(--color-primary-dark);
}

.manifestations-list li:hover::before {
  transform: scale(1.4);
}

/* ==========================================================================
   SECTION : QUI SUIS-JE ? (DISPOSITION CENTRÉE & FLUIDE SANS VIDES)
   ========================================================================== */
.qui-suis-je-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badges de compétences / expertises complémentaires */
.qui-suis-je-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin: 0 auto 2.25rem auto;
  max-width: 960px;
}

.qui-suis-je-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.42rem 1.05rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.qui-suis-je-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.qui-suis-je-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.qui-suis-je-pill.pill-mint {
  background-color: var(--pastel-mint-bg);
  color: var(--pastel-mint-text);
  border: 1px solid #bfe3d8;
}
.qui-suis-je-pill.pill-mint .pill-dot {
  background-color: var(--pastel-mint-border);
}

.qui-suis-je-pill.pill-peach {
  background-color: var(--pastel-peach-bg);
  color: var(--pastel-peach-text);
  border: 1px solid #f2ceca;
}
.qui-suis-je-pill.pill-peach .pill-dot {
  background-color: var(--pastel-peach-border);
}

.qui-suis-je-pill.pill-lavender {
  background-color: var(--pastel-lavender-bg);
  color: var(--pastel-lavender-text);
  border: 1px solid #dec9e7;
}
.qui-suis-je-pill.pill-lavender .pill-dot {
  background-color: var(--pastel-lavender-border);
}

@media (max-width: 767px) {
  .qui-suis-je-pills-row {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .qui-suis-je-pill {
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
  }
}

.carine-portrait-frame {
  max-width: 620px;
  width: 100%;
  margin-bottom: 2.5rem;
}

.carine-portrait-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-soft);
}

.editorial-paragraphs {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-main);
  margin-bottom: 2rem;
}

.editorial-paragraphs p {
  margin-bottom: 1.35rem;
}

.editorial-paragraphs strong,
.editorial-paragraphs b {
  color: var(--color-primary);
  font-weight: 700;
}

.editorial-paragraphs em,
.editorial-paragraphs i {
  font-style: italic;
}

.editorial-paragraphs u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grafem-centered-badge,
.affiliations-logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.affiliation-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
}

.affiliation-logo-item img,
.grafem-centered-badge img {
  max-height: 320px;
  width: auto;
  max-width: 400px;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.affiliation-logo-item:hover img,
.affiliation-logo-item img:hover,
.grafem-centered-badge:hover img,
.grafem-centered-badge img:hover {
  transform: translateY(-4px) scale(1.02) !important;
}

@media (max-width: 768px) {
  .affiliations-logos-wrapper {
    gap: 2.5rem;
    flex-direction: column;
  }
  .affiliation-logo-item img,
  .grafem-centered-badge img {
    max-height: 220px;
    max-width: 280px;
  }
}

/* ==========================================================================
   SECTION : LA GRAPHOTHÉRAPIE
   ========================================================================== */
.youtube-video-container {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 2rem auto;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  height: 0;
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.youtube-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   BANDE HORIZONTALE DE DÉFILEMENT POUR LES GALERIES D'IMAGES
   (Préserve 100% des images sans encombrer la page)
   ========================================================================== */
.horizontal-gallery-wrapper {
  margin: 2.5rem 0 3.5rem;
  position: relative;
}

.horizontal-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.gallery-caption-hint {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.gallery-scroll-nav {
  display: flex;
  gap: 0.5rem;
}

/* ==========================================================================
   MENTION DES HORAIRES DANS LA SECTION TARIFS (RESPECT STRICT DE LA DA)
   ========================================================================== */
.tarifs-schedule-notice {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-top: -1.25rem;
  margin-bottom: 2.25rem;
}

.tarifs-schedule-notice em {
  font-style: italic;
  font-weight: 500;
  display: inline-block;
  border-radius: 3px;
}

.tarifs-schedule-notice .schedule-link {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition);
}

.tarifs-schedule-notice .schedule-link:hover {
  color: var(--color-accent-hover);
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   CARROUSELS PLEINE LARGEUR À DÉFILEMENT INFINI CONTINU (100vw)
   Images grandes (340px), étirées de gauche à droite, cyclant à l'infini
   ========================================================================== */
.full-width-carousel-wrapper {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 1rem 0 2.5rem;
  box-sizing: border-box;
}

.carousel-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 820px;
  margin: 0 auto 1.25rem;
  padding: 0 1.5rem;
}

.carousel-nav-hint {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.carousel-nav-controls {
  display: flex;
  gap: 0.6rem;
}

.carousel-nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--bg-surface);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.carousel-nav-arrow:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: scale(1.08);
}

.infinite-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Masque la scrollbar Firefox */
  -ms-overflow-style: none; /* Masque IE/Edge */
  cursor: grab;
  position: relative;
  padding: 0.5rem 0;
}

.infinite-carousel-viewport::-webkit-scrollbar {
  display: none; /* Masque Chrome/Safari */
}

.infinite-carousel-viewport:active {
  cursor: grabbing;
}

.infinite-carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  user-select: none;
  padding: 0 1.5rem;
}

/* Les cartes du carrousel infini adoptent le style Polaroid officiel défini en section 8 */
.infinite-carousel-item {
  cursor: pointer;
}

.infinite-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cas des fiches écrites d'élèves : fond propre sans rogner les bords */
.infinite-carousel-item.sample-writing img {
  object-fit: contain;
  background-color: #fafcfb;
  padding: 0.6rem;
}

.infinite-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 72, 116, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none; /* Laisse le clic passer à l'élément */
}

.infinite-carousel-item:hover .infinite-item-overlay {
  opacity: 1;
}

.zoom-badge {
  background: #fbf9f5;
  color: var(--color-primary);
  border: 1px solid rgba(31, 72, 116, 0.28);
  padding: 0.38rem 0.85rem;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(31, 72, 116, 0.16), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  pointer-events: none;
}

.zoom-badge .zoom-icon {
  stroke: #b48a3c;
  stroke-width: 2.2;
  flex-shrink: 0;
  transition: stroke 0.25s ease;
}

.zoom-badge .zoom-text {
  line-height: 1;
}

/* ==========================================================================
   SECTION : LES TARIFS (REFONTE ESTHÉTIQUE & HAUTE LISIBILITÉ)
   ========================================================================== */
.tarifs-container-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .tarifs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tarif-card {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarif-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(31, 72, 116, 0.08);
}

.tarif-card-header {
  margin-bottom: 1.25rem;
}

.tarif-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.tarif-card-subtitle {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.tarif-pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-surface-alt);
  padding: 1.15rem 1.25rem;
  border-radius: 8px;
}

.tarif-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.tarif-pricing-row .price-amount,
.single-price-amount {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.tarif-pricing-row .price-desc,
.single-price-duration {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.tarif-pricing-divider {
  height: 1px;
  background: var(--color-border);
  opacity: 0.55;
  margin: 0.2rem 0;
}

/* Compatibilité ascendante avec les classes existantes */
.tarif-pricing-row .price-badge {
  order: 1;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-primary);
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  line-height: 1;
}

.tarif-pricing-row .label {
  order: 2;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.single-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  background: var(--bg-surface-alt);
  padding: 1.15rem 1.25rem;
  border-radius: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   DÉCLINAISONS COLORÉES DE LA GRILLE DES TARIFS (PALETTE DU BANDEAU)
   ========================================================================== */
/* Pôle 1 : Graphothérapie (Menthe) */
.tarifs-category-theme-mint {
  border-bottom: 2px solid var(--pastel-mint-border) !important;
}
.tarifs-category-theme-mint span {
  color: var(--pastel-mint-text) !important;
}
.tarif-card-theme-mint {
  border-top: 4px solid var(--pastel-mint-border) !important;
  background: linear-gradient(180deg, #f4faf7 0%, #ffffff 24%);
}
.tarif-card-theme-mint:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(124, 185, 168, 0.28), 0 2px 8px rgba(26, 101, 84, 0.08);
}

/* Pôle 2 : Accompagnement Scolaire (Pêche) */
.tarifs-category-theme-peach {
  border-bottom: 2px solid var(--pastel-peach-border) !important;
}
.tarifs-category-theme-peach span {
  color: var(--pastel-peach-text) !important;
}
.tarif-card-theme-peach {
  border-top: 4px solid var(--pastel-peach-border) !important;
  background: linear-gradient(180deg, #fdf6f4 0%, #ffffff 24%);
}
.tarif-card-theme-peach:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(229, 164, 150, 0.3), 0 2px 8px rgba(160, 73, 56, 0.08);
}

/* Pôle 3 : Formations Professionnelles (Lavande) */
.tarifs-category-theme-lavender {
  border-bottom: 2px solid var(--pastel-lavender-border) !important;
}
.tarifs-category-theme-lavender span {
  color: var(--pastel-lavender-text) !important;
}
.tarif-card-theme-lavender {
  border-top: 4px solid var(--pastel-lavender-border) !important;
  background: linear-gradient(180deg, #faf5fc 0%, #ffffff 24%);
}
.tarif-card-theme-lavender:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(191, 160, 207, 0.3), 0 2px 8px rgba(108, 59, 130, 0.08);
}

/* Ligne des interventions complémentaires */
.tarifs-secondary-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .tarifs-secondary-row {
    grid-template-columns: 1fr 1fr;
  }
}

.tarif-secondary-item {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tarif-secondary-item .item-title {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.tarif-secondary-item .item-price {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* Encadré Prise en charge Mutuelles & MDPH & Callouts de section */
.mutuelles-aesthetic-card {
  background: linear-gradient(135deg, #f4f8f7 0%, #edf5f3 100%);
  border: 1px solid #c8e2dc;
  border-radius: 14px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Variante Menthe d'eau (Graphothérapie & Mutuelles) */
.mutuelles-aesthetic-card.card-theme-mint {
  background: linear-gradient(135deg, #f2faf7 0%, #ffffff 50%, #edf8f4 100%);
  border: 1.5px solid var(--pastel-mint-border);
  box-shadow: 0 6px 20px rgba(124, 185, 168, 0.15);
}
.mutuelles-aesthetic-card.card-theme-mint .mutuelles-badge-label {
  background: var(--pastel-mint-text) !important;
}
.mutuelles-aesthetic-card.card-theme-mint .mutuelles-title {
  color: var(--pastel-mint-text) !important;
}
.mutuelles-aesthetic-card.card-theme-mint .header-cta-btn {
  background-color: var(--pastel-mint-text) !important;
  border-color: var(--pastel-mint-text) !important;
  box-shadow: 0 4px 14px rgba(26, 101, 84, 0.22);
}
.mutuelles-aesthetic-card.card-theme-mint .header-cta-btn:hover {
  background-color: #134f41 !important;
  border-color: #134f41 !important;
}

/* Variante Pêche poudrée (Accompagnement scolaire) */
.mutuelles-aesthetic-card.card-theme-peach {
  background: linear-gradient(135deg, #fdf6f3 0%, #ffffff 50%, #faece7 100%);
  border: 1.5px solid var(--pastel-peach-border);
  box-shadow: 0 6px 20px rgba(229, 164, 150, 0.18);
}
.mutuelles-aesthetic-card.card-theme-peach .mutuelles-badge-label {
  background: var(--pastel-peach-text) !important;
}
.mutuelles-aesthetic-card.card-theme-peach .mutuelles-title {
  color: var(--pastel-peach-text) !important;
}
.mutuelles-aesthetic-card.card-theme-peach .header-cta-btn {
  background-color: var(--pastel-peach-text) !important;
  border-color: var(--pastel-peach-text) !important;
  box-shadow: 0 4px 14px rgba(160, 73, 56, 0.22);
}
.mutuelles-aesthetic-card.card-theme-peach .header-cta-btn:hover {
  background-color: #833729 !important;
  border-color: #833729 !important;
}

.mutuelles-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-accent) !important;
  color: #ffffff !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.mutuelles-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-accent) !important;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.mutuelles-aesthetic-card .header-cta-btn {
  background-color: var(--color-accent) !important;
  border: 1.5px solid var(--color-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.22);
}

.mutuelles-aesthetic-card .header-cta-btn:hover {
  background-color: #075985 !important;
  border-color: #075985 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.3);
}

.mutuelles-aesthetic-card .service-card-cta {
  color: var(--color-accent) !important;
  border-bottom: 1.5px solid var(--color-accent) !important;
}

.mutuelles-intro-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

.mutuelles-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.15rem 0;
}

.mutuelle-tag {
  background: #ffffff;
  border: 1px solid #d0e4df;
  color: var(--color-primary);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.mdph-notice {
  background: #ffffff;
  border-left: 3px solid #0f766e;
  padding: 0.9rem 1.15rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
  margin-top: 1rem;
}

/* Bouton Télécharger la fiche PDF */
.pdf-download-action-row {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.btn-download-pdf-tarifs {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--color-primary);
  color: #ffffff !important;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(31, 72, 116, 0.2);
}

.btn-download-pdf-tarifs:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 72, 116, 0.3);
}

/* ==========================================================================
   SECTION : CONTACT ET ADRESSE
   ========================================================================== */
.contact-section-wrapper {
  padding-bottom: 4rem;
}

.contact-icons-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.social-circle-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-circle-link:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.direct-details-box {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.direct-details-box p {
  margin-bottom: 0.75rem;
}

.direct-details-box a {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.direct-details-box a:hover {
  color: var(--color-accent);
}

/* Formulaire simplifié (Nom, Tél, Email, Message) */
.simplified-form-box {
  background: var(--bg-surface);
  border-radius: var(--radius-img);
  padding: 2.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.simplified-form-box h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  text-align: center;
}

.form-field-group {
  margin-bottom: 1.25rem;
}

.form-field-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-field-group input,
.form-field-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: var(--transition);
}

.form-field-group input:focus,
.form-field-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(31, 72, 116, 0.1);
}

.form-field-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.form-submit-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

/* Adresse et carte */
.cabinet-location-block {
  text-align: center;
  margin-bottom: 2rem;
}

.cabinet-location-block blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--color-primary);
  margin: 1.5rem 0;
  border-left: none;
  font-weight: 600;
}

.google-maps-frame {
  max-width: 720px;
  margin: 2rem auto;
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 400px;
}

.google-maps-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.access-details-paragraphs {
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-text-main);
  margin-top: 1.5rem;
}

/* ==========================================================================
   SECTION : HORAIRES
   ========================================================================== */
.horaires-editorial-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-surface);
  border-radius: var(--radius-img);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.horaires-editorial-card .rdv-note {
  font-style: italic;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.horaires-list-clean {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.horaires-list-clean strong {
  color: var(--color-primary);
}

/* ==========================================================================
   PIED DE PAGE (CORRECTION COMPLÈTE DU BLANC SUR BLANC)
   Fond bleu nuit profond (#132f4c) et textes 100% lisibles et contrastés
   ========================================================================== */
.site-footer-custom {
  position: relative;
  background-color: var(--color-primary-dark) !important;
  color: #f1f5f9 !important;
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 5rem;
  border-top: none;
}

.site-footer-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5aa894 0%, #e59c8e 50%, #ab82bf 100%);
}

.footer-content-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
}

.footer-description-text {
  font-size: 0.95rem;
  color: #cbd5e1 !important;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-links-row a {
  color: #e2e8f0 !important;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-links-row a:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
}

.footer-legal-copy {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: #94a3b8 !important;
}

.footer-legal-copy a {
  color: #cbd5e1 !important;
  text-decoration: underline;
}

/* ==========================================================================
   LIGHTBOX MODALE (POUR DÉFILEMENT ET AGRANDISSEMENT PLEIN ÉCRAN)
   ========================================================================== */
/* ==========================================================================
   LIGHTBOX MODALE (AGRANDISSEMENT HAUTE DÉFINITION)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 43, 38, 0.92);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content-box {
  transform: scale(1);
}

.lightbox-content-box img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  background-color: #ffffff;
}

.lightbox-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0.85rem;
  gap: 1rem;
}

.lightbox-caption-text {
  color: #f1f5f9;
  font-size: 0.95rem;
  text-align: left;
  font-family: var(--font-sans);
  flex: 1;
}

.lightbox-counter-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 3100;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.lightbox-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(31, 72, 116, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 3100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.lightbox-nav-arrow:hover {
  background: var(--color-primary);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.65);
}

.lightbox-nav-arrow.prev {
  left: 2rem;
}

.lightbox-nav-arrow.next {
  right: 2rem;
}

@media (max-width: 768px) {
  .lightbox-close-btn {
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
  }
  .lightbox-nav-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  .lightbox-nav-arrow.prev {
    left: 0.75rem;
  }
  .lightbox-nav-arrow.next {
    right: 0.75rem;
  }
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 2500;
  font-weight: 500;
}

.toast-msg.show {
  display: block;
}

/* ==========================================================================
   MODE D'IMPRESSION SOIGNÉ POUR MÉDECINS, PÉDIATRES & ÉCOLES (@media print)
   Génère une fiche de présentation claire, sans éléments parasites interactifs
   ========================================================================== */
@media print {
  /* Masquer les éléments purement web / interactifs */
  .site-header,
  .mobile-quick-actions,
  .carousel-nav-bar,
  .carousel-nav-controls,
  .youtube-video-container,
  .google-maps-frame,
  .simplified-form-box,
  .mobile-menu-drawer,
  .lightbox-modal,
  .toast-msg,
  .pdf-download-action-row,
  .infinite-item-overlay,
  .site-footer-custom .footer-links-row,
  .reassurance-badge-wrapper {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11pt !important;
    line-height: 1.45 !important;
    padding: 0 !important;
  }

  .container, 
  .editorial-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .full-green-statement-banner {
    background: #f1f5f9 !important;
    color: var(--color-primary) !important;
    border-left: 5px solid var(--color-primary) !important;
    padding: 0.75rem 1rem !important;
    margin: 1rem 0 !important;
  }

  .statement-quote-heading {
    font-size: 13pt !important;
    color: var(--color-primary) !important;
  }

  .section-title-cyan {
    color: var(--color-primary) !important;
    font-size: 15pt !important;
    border-bottom: 2px solid #cbd5e1 !important;
    padding-bottom: 4pt !important;
    page-break-after: avoid;
    margin-top: 1.5rem !important;
  }

  /* Affichage propre des tarifs en grille d'impression */
  .tarifs-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12pt !important;
    page-break-inside: avoid;
  }

  .tarif-card, 
  .mutuelles-aesthetic-card {
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    padding: 10pt !important;
    page-break-inside: avoid;
  }

  .full-width-carousel-wrapper {
    width: 100% !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    padding: 0 !important;
  }

  .infinite-carousel-track {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8pt !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .infinite-carousel-item {
    height: 120pt !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    page-break-inside: avoid;
  }

  /* En-tête cabinet imprimé */
  .site-brand-intro {
    border-bottom: 2px solid var(--color-primary) !important;
    padding-bottom: 10pt !important;
    margin-bottom: 12pt !important;
  }

  .site-main-title {
    font-size: 16pt !important;
    color: var(--color-primary) !important;
  }

  .site-footer-custom {
    background: none !important;
    color: #64748b !important;
    border-top: 1px solid #cbd5e1 !important;
    padding: 10pt 0 !important;
  }

  .footer-description-text,
  .footer-legal-copy {
    color: #475569 !important;
    font-size: 9pt !important;
  }
}

/* ==========================================================================
   ÉDITION CRÉATIVE : LES 7 SUGGESTIONS DE DIRECTION ARTISTIQUE
   1. Lignes de cahier Seyès subtiles en filigrane (Watermark)
   2. Guillemets typographiques géants et aériens
   3. Frise de cheminement « En 3 étapes » pour le déroulement des séances
   4. Effet de tirage papier / polaroid sur les photos du cabinet
   5. Curseur loupe personnalisé sur la galerie d'écriture
   6. Jauge de lecture fine « Fil d'encre »
   7. Bouton d'accessibilité « Confort de lecture » discret
   ========================================================================== */

/* 1. JAUGE DE LECTURE FINE « FIL D'ENCRE » (DÉGRADÉ AUX 3 COULEURS DU BANDEAU) */
.ink-reading-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #5aa894 0%, #e59c8e 50%, #ab82bf 100%);
  background-size: 100vw 100%;
  box-shadow: 0 0 10px rgba(90, 168, 148, 0.45);
  transition: width 0.08s linear;
  z-index: 1001;
}

/* 2. LIGNES DE CAHIER SEYÈS SUBTILES EN FILIGRANE (WATERMARK) */
.with-seyes-watermark {
  position: relative;
  overflow: hidden;
}

.with-seyes-watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/watermark-seyes.svg");
  background-repeat: repeat;
  background-size: 48px 48px;
  opacity: 0.85;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.with-seyes-watermark > * {
  position: relative;
  z-index: 1;
}

.zigzag-content.with-seyes-watermark {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-img);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zigzag-content.with-seyes-watermark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Déclinaisons pastel pour les cadres Méthodes & Outils Pédagogiques */
.zigzag-content.theme-mint {
  border-top: 4px solid var(--pastel-mint-border) !important;
}
.zigzag-content.theme-mint h3 {
  color: var(--pastel-mint-text) !important;
}
.zigzag-content.theme-mint:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(124, 185, 168, 0.22);
}

.zigzag-content.theme-peach {
  border-top: 4px solid var(--pastel-peach-border) !important;
}
.zigzag-content.theme-peach h3 {
  color: var(--pastel-peach-text) !important;
}
.zigzag-content.theme-peach:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(229, 164, 150, 0.25);
}

.zigzag-content.theme-lavender {
  border-top: 4px solid var(--pastel-lavender-border) !important;
}
.zigzag-content.theme-lavender h3 {
  color: var(--pastel-lavender-text) !important;
}
.zigzag-content.theme-lavender:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(191, 160, 207, 0.25);
}

/* 3. GUILLEMETS TYPOGRAPHIQUES GÉANTS ET AÉRIENS */
.quote-with-giant-marks {
  position: relative;
  padding: 2.2rem 2.5rem;
  text-align: center;
}

.giant-quote-mark {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  opacity: 0.38;
  user-select: none;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease, color 0.4s ease;
}

.giant-quote-mark.open {
  top: -0.6rem;
  left: 0.2rem;
  color: var(--pastel-peach-border);
}

.giant-quote-mark.close {
  bottom: -2.2rem;
  right: 0.5rem;
  color: var(--pastel-lavender-border);
}

.quote-with-giant-marks:hover .giant-quote-mark.open,
.hero-editorial-row:hover .giant-quote-mark.open {
  transform: translate(-5px, -5px) rotate(-5deg) scale(1.06);
  opacity: 0.75;
  color: var(--pastel-peach-text);
}

.quote-with-giant-marks:hover .giant-quote-mark.close,
.hero-editorial-row:hover .giant-quote-mark.close {
  transform: translate(5px, 5px) rotate(5deg) scale(1.06);
  opacity: 0.75;
  color: var(--pastel-lavender-text);
}

@media (max-width: 768px) {
  .quote-with-giant-marks {
    padding: 1.5rem 1.8rem;
  }
  .desktop-quote-br {
    display: none;
  }
  .hero-quote-text {
    font-size: 1.55rem;
    line-height: 1.45;
  }
  .giant-quote-mark {
    font-size: 4rem;
  }
  .giant-quote-mark.open {
    top: -0.8rem;
    left: 0.1rem;
  }
  .giant-quote-mark.close {
    bottom: -1.6rem;
    right: 0.1rem;
  }
}

.quote-text-body {
  position: relative;
  z-index: 1;
  display: inline-block;
}

/* 4. FRISE DE CHEMINEMENT « EN 3 ÉTAPES » POUR LE DÉROULEMENT DES SÉANCES */
.demarche-journey-frise {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  margin: 2.5rem 0 3.5rem 0;
}

@media (min-width: 900px) {
  .demarche-journey-frise {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
  }
}

.journey-track-line {
  display: none;
}

@media (min-width: 900px) {
  .journey-track-line {
    display: block;
    position: absolute;
    top: 36px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-accent) 0, var(--color-accent) 8px, transparent 8px, transparent 16px);
    opacity: 0.35;
    z-index: 0;
  }
}

.journey-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-img);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 1;
}

.journey-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.journey-step-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 10px rgba(31, 72, 116, 0.25);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.journey-step-card:hover .journey-step-badge {
  transform: scale(1.1);
  background: var(--color-accent);
}

.journey-step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.journey-step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.journey-step-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-main);
  margin: 0;
}

/* Déclinaisons pastel pour les 3 phases de la Démarche */
.journey-step-card.step-theme-mint {
  border-top: 4px solid var(--pastel-mint-border) !important;
  background: linear-gradient(180deg, #f4faf7 0%, #ffffff 28%);
}
.journey-step-card.step-theme-mint .journey-step-badge {
  background: var(--pastel-mint-border);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(124, 185, 168, 0.4);
}
.journey-step-card.step-theme-mint .journey-step-tag {
  color: var(--pastel-mint-text);
}
.journey-step-card.step-theme-mint:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(124, 185, 168, 0.26);
  border-color: var(--pastel-mint-border);
}
.journey-step-card.step-theme-mint:hover .journey-step-badge {
  background: var(--pastel-mint-text);
}

.journey-step-card.step-theme-peach {
  border-top: 4px solid var(--pastel-peach-border) !important;
  background: linear-gradient(180deg, #fdf6f4 0%, #ffffff 28%);
}
.journey-step-card.step-theme-peach .journey-step-badge {
  background: var(--pastel-peach-border);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(229, 164, 150, 0.4);
}
.journey-step-card.step-theme-peach .journey-step-tag {
  color: var(--pastel-peach-text);
}
.journey-step-card.step-theme-peach:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(229, 164, 150, 0.28);
  border-color: var(--pastel-peach-border);
}
.journey-step-card.step-theme-peach:hover .journey-step-badge {
  background: var(--pastel-peach-text);
}

.journey-step-card.step-theme-lavender {
  border-top: 4px solid var(--pastel-lavender-border) !important;
  background: linear-gradient(180deg, #faf5fc 0%, #ffffff 28%);
}
.journey-step-card.step-theme-lavender .journey-step-badge {
  background: var(--pastel-lavender-border);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(191, 160, 207, 0.4);
}
.journey-step-card.step-theme-lavender .journey-step-tag {
  color: var(--pastel-lavender-text);
}
.journey-step-card.step-theme-lavender:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(191, 160, 207, 0.28);
  border-color: var(--pastel-lavender-border);
}
.journey-step-card.step-theme-lavender:hover .journey-step-badge {
  background: var(--pastel-lavender-text);
}

/* 5. EFFET DE TIRAGE PAPIER / POLAROID SUR LES PHOTOS DU CABINET */
.cabinet-polaroid-gallery {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   5. CURSEUR LOUPE PERSONNALISÉ SUR TOUTES LES IMAGES CLIQUABLES (DA DU SITE)
   ========================================================================== */
.infinite-carousel-item,
.infinite-carousel-item img,
.polaroid-card-item,
.polaroid-card-item img,
.polaroid-photo-frame,
.polaroid-photo-frame img,
.carine-portrait-frame,
.carine-portrait-frame img,
.zigzag-media,
.zigzag-media img,
.cabinet-polaroid-gallery .polaroid-card-item,
.infinite-carousel-viewport {
  cursor: url("images/cursor-loupe.svg") 11 11, zoom-in !important;
}

.infinite-carousel-item:hover .zoom-badge,
.zigzag-media:hover .zoom-badge,
.carine-portrait-frame:hover .zoom-badge,
.polaroid-card-item:hover .zoom-badge,
.flyer-polaroid-frame:hover .zoom-badge {
  background: var(--color-primary) !important;
  color: #fbf9f5 !important;
  border-color: var(--color-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 72, 116, 0.28) !important;
}

.infinite-carousel-item:hover .zoom-badge .zoom-icon,
.zigzag-media:hover .zoom-badge .zoom-icon,
.carine-portrait-frame:hover .zoom-badge .zoom-icon,
.polaroid-card-item:hover .zoom-badge .zoom-icon,
.flyer-polaroid-frame:hover .zoom-badge .zoom-icon {
  stroke: #f3d489 !important;
}

.infinite-carousel-item:hover .infinite-item-overlay,
.polaroid-card-item:hover .infinite-item-overlay,
.carine-portrait-frame:hover .infinite-item-overlay,
.zigzag-media:hover .infinite-item-overlay,
.flyer-polaroid-frame:hover .infinite-item-overlay {
  opacity: 1 !important;
}

/* ==========================================================================
   6. EFFET DE TIRAGE PAPIER / POLAROID SUR LES IMAGES
   Exceptions définies par l'utilisateur :
   1. Graphem : PAS d'effet
   2. Logo principal et image hero illustration : PAS d'effet
   3. Carine Giemza lors d'une séance avec un élève : effet polaroid SANS titre
   4. Étudiante et adulte : effet polaroid SANS titre
   5. Enfant dessinant : effet polaroid SANS titre
   Toutes les autres : effet de tirage papier / polaroid (carrousels et cabinet)
   ========================================================================== */

/* EXCEPTION 1 & 2 : Aucune altération pour logo GRAFEM, logo GraphiDYS, logo principal et image hero */
.grafem-centered-badge,
.grafem-centered-badge img,
.affiliations-logos-wrapper,
.affiliations-logos-wrapper img,
.affiliation-logo-item,
.affiliation-logo-item img,
.main-brand-logo,
.brand-logo-img,
.hero-editorial-img,
.hero-editorial-img img {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Photos éditoriales avec effet polaroid */
.carine-portrait-frame,
.zigzag-media {
  background: #ffffff;
  padding: 10px 10px 14px 10px;
  border-radius: 4px;
  border: 1px solid #ede8df;
  box-shadow: 0 4px 18px rgba(31, 72, 116, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  display: block;
}

.carine-portrait-frame {
  max-width: 620px;
  width: 100%;
  margin-bottom: 2.5rem;
  transform: rotate(-0.7deg);
}

.carine-portrait-frame:hover {
  transform: rotate(0deg) scale(1.035) translateY(-8px);
  box-shadow: 0 20px 42px rgba(31, 72, 116, 0.2), 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.zigzag-row:nth-child(odd) .zigzag-media {
  transform: rotate(-1.1deg);
}

.zigzag-row:nth-child(even) .zigzag-media {
  transform: rotate(1deg);
}

.zigzag-media:hover {
  transform: rotate(0deg) scale(1.035) translateY(-8px);
  box-shadow: 0 20px 42px rgba(31, 72, 116, 0.2), 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.carine-portrait-frame img,
.zigzag-media img {
  border-radius: 2px;
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.carine-portrait-frame:hover img,
.zigzag-media:hover img {
  transform: scale(1.04);
}

/* Photo démarche (matériel séance) avec titre */
.zigzag-media.polaroid-card-item {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 16px 10px;
}

.zigzag-media.polaroid-card-item .polaroid-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  width: 100%;
  height: auto;
}

.zigzag-media.polaroid-card-item .polaroid-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.zigzag-media.polaroid-card-item .polaroid-handwritten-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--color-primary);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.015em;
}

/* Effet Polaroid sur TOUTES les photos des carrousels (Activités & Exemples) AVEC TITRES */
.infinite-carousel-item {
  flex: 0 0 340px;
  height: 380px;
  background: #ffffff;
  padding: 10px 10px 16px 10px;
  border-radius: 4px;
  border: 1px solid #ede8df;
  box-shadow: 0 4px 18px rgba(31, 72, 116, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

@media (min-width: 992px) {
  .infinite-carousel-item {
    flex: 0 0 380px;
    height: 410px;
  }
}

@media (max-width: 768px) {
  .infinite-carousel-item {
    flex: 0 0 280px;
    height: 320px;
  }
}

.infinite-carousel-track > .infinite-carousel-item:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.infinite-carousel-track > .infinite-carousel-item:nth-child(even) {
  transform: rotate(0.8deg);
}

.infinite-carousel-track > .infinite-carousel-item:hover,
.infinite-carousel-item:hover {
  transform: rotate(0deg) scale(1.035) translateY(-8px);
  box-shadow: 0 20px 42px rgba(31, 72, 116, 0.2), 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.infinite-carousel-item .polaroid-photo-frame {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  width: 100%;
  height: calc(100% - 38px);
}

.infinite-carousel-item .polaroid-photo-frame img {
  border-radius: 2px !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.infinite-carousel-item.sample-writing .polaroid-photo-frame img {
  object-fit: contain;
  background-color: #fafcfb;
  padding: 0.6rem;
}

.infinite-carousel-item:hover .polaroid-photo-frame img {
  transform: scale(1.05);
}

.infinite-carousel-item .polaroid-handwritten-caption {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--color-primary);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: text;
  position: relative;
  z-index: 5;
}

/* Photos du cabinet (avec légendes écrites sous les tirages) */
.polaroid-card-item {
  flex: 1 1 270px;
  max-width: 340px;
  background: #ffffff;
  padding: 10px 10px 18px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(31, 72, 116, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid #ede8df;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: auto;
}

.polaroid-card-item:nth-child(1) {
  transform: rotate(-1.3deg);
}

.polaroid-card-item:nth-child(2) {
  transform: rotate(1deg);
}

.polaroid-card-item:nth-child(3) {
  transform: rotate(-0.9deg);
}

.polaroid-card-item:hover {
  transform: rotate(0deg) scale(1.035) translateY(-8px);
  box-shadow: 0 20px 42px rgba(31, 72, 116, 0.2), 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.polaroid-photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  height: 220px;
}

.polaroid-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.polaroid-card-item:hover .polaroid-photo-frame img {
  transform: scale(1.05);
}

.polaroid-handwritten-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.02em;
  cursor: text;
  position: relative;
  z-index: 5;
}

/* ==========================================================================
   7. BOUTON D'ACCESSIBILITÉ « CONFORT DE LECTURE » DISCRET
   ========================================================================== */
.reading-comfort-toggle {
  position: fixed;
  bottom: 84px;
  right: 18px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 14px rgba(31, 72, 116, 0.12);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all 0.25s ease;
}

@media (min-width: 992px) {
  .reading-comfort-toggle {
    bottom: 22px;
    right: 22px;
  }
}

.reading-comfort-toggle:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 72, 116, 0.2);
}

.reading-comfort-toggle.active {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.25);
}

.comfort-icon {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.comfort-icon sup {
  font-size: 0.7em;
  font-weight: 800;
}

/* Mode Confort de lecture agrandi */
body.reading-comfort-active {
  font-size: 1.125rem;
}

body.reading-comfort-active p,
body.reading-comfort-active li,
body.reading-comfort-active .tarif-card-subtitle,
body.reading-comfort-active .journey-step-desc {
  font-size: 1.15rem !important;
  line-height: 1.85 !important;
}

body.reading-comfort-active .section-title-cyan {
  font-size: 2.75rem !important;
}

body.reading-comfort-active .hero-quote-text {
  font-size: 1.85rem !important;
}

/* ==========================================================================
   SOUS-SECTIONS PERSONNALISÉES CRÉÉES PAR L'ADMIN (CLIENT-CUSTOM-SECTION)
   ========================================================================== */
.client-custom-section {
  margin-top: 4.5rem;
  margin-bottom: 4.5rem;
  position: relative;
}

.custom-section-content {
  background: #ffffff;
  border: 1px solid rgba(31, 72, 116, 0.12);
  border-radius: 8px;
  padding: 2.2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(31, 72, 116, 0.04);
  position: relative;
  overflow: hidden;
}

.custom-section-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-main);
  margin-bottom: 0;
}

.custom-section-carousel-wrapper {
  margin-top: 2.5rem;
}

/* ==========================================================================
   ANIMATIONS D'APPARITION FLUIDES AU DÉFILEMENT (SCROLL REVEAL)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
