/*
Theme Name: Cabinet J&Rgothérapie
Theme URI: https://jrgotherapie.fr
Author: Cabinet J&Rgothérapie
Author URI: https://jrgotherapie.fr
Description: Thème custom pour le Cabinet d'ergothérapie J&Rgothérapie à Montivilliers, à 10 min du Havre. Spécialisé en pédiatrie, neurologie, fauteuil roulant, MDPH.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jergotherapie
*/

/* ============================================================
   CABINET J&RGOTHÉRAPIE — Feuille de style principale
   Pour modifier les couleurs : cherchez la section :root
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --blue:        #1B4B8A;   /* Bleu principal (logo) */
  --blue-mid:    #2E6FC0;   /* Bleu moyen */
  --blue-light:  #EBF3FC;   /* Fond bleu très clair */
  --blue-dark:   #0F3060;   /* Bleu foncé */
  --orange:      #E07B2A;   /* Orange (mains logo) */
  --green-hand:  #3DAA6E;   /* Vert (mains logo) */
  --yellow-hand: #F5C100;   /* Jaune (mains logo) */
  --text:        #1a2940;
  --text-light:  #5a6a80;
  --white:       #ffffff;
  --bg:          #f5f8ff;
  --border:      #dce8f5;
  --shadow-sm:   0 2px 12px rgba(27,75,138,.08);
  --shadow-md:   0 8px 32px rgba(27,75,138,.12);
  --shadow-lg:   0 20px 60px rgba(27,75,138,.18);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  .3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary  { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,75,138,.35); }
.btn-white    { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-ghost    { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-full     { width: 100%; justify-content: center; }

/* ===== SECTION HEADER ===== */
.section-tag {
  display: inline-block; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue-mid); background: var(--blue-light);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.18; margin-bottom: 16px; color: var(--text); }
.section-header p { color: var(--text-light); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.section-header.light .section-tag { background: rgba(255,255,255,.18); color: var(--white); }
.section-header.light h2 { color: var(--white); }

/* ===== HEADER ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(27,75,138,.1);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: center; gap: 20px; position: relative; }
.header-title-bar {
  text-align: center;
  padding: 6px 0 10px;
}
.header-cabinet-name {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: .01em;
  transition: color var(--transition);
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}
#header.scrolled .header-cabinet-name { color: var(--blue); }

nav ul { display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 8px 16px; border-radius: 50px;
  font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.92);
  transition: var(--transition);
}
nav a:hover { color: var(--white); background: rgba(255,255,255,.15); }
nav a.nav-active { background: rgba(255,255,255,.2); color: var(--white); font-weight: 600; }
#header.scrolled nav a { color: var(--text); }
#header.scrolled nav a:hover { color: var(--blue); background: var(--blue-light); }
#header.scrolled nav a.nav-active { background: var(--blue-light); color: var(--blue); font-weight: 600; }

.btn-rdv {
  background: var(--white); color: var(--blue) !important;
  font-weight: 700 !important; border-radius: 50px !important;
  padding: 9px 22px !important; font-size: .88rem !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-rdv:hover { background: var(--blue-light) !important; transform: translateY(-1px); }
#header.scrolled .btn-rdv { background: var(--blue) !important; color: var(--white) !important; }
#header.scrolled .btn-rdv:hover { background: var(--blue-dark) !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1001; position: absolute; right: 0; }
.burger span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
#header.scrolled .burger span { background: var(--text); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--text); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--text); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='1' fill='rgba(255,255,255,0.06)'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; }
.shape { position: absolute; border-radius: 50%; }
.shape-1 { width: 600px; height: 600px; background: rgba(255,255,255,.04); top: -200px; right: -150px; }
.shape-2 { width: 400px; height: 400px; background: rgba(255,255,255,.04); bottom: -100px; left: -100px; }
.shape-3 { width: 200px; height: 200px; background: rgba(224,123,42,.15); top: 30%; right: 35%; }

.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 40px; align-items: center;
  padding-top: 110px; padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  padding: 7px 18px; border-radius: 50px; font-size: .82rem; font-weight: 500;
  margin-bottom: 22px; border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800;
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.hero-text h1 .highlight {
  position: relative; display: inline-block;
  color: var(--yellow-hand);
}
.hero-text p { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 500px; margin-bottom: 36px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.8rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat span { font-size: .75rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* Hero visual */
.hero-visual {
  display: flex; align-items: center; justify-content: flex-end;
  position: relative; margin-right: -400px;
}
.logo-orbit {
  position: relative;
  width: 1000px; height: 1000px;
  flex-shrink: 0;
}
.hero-logo-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 620px; height: 620px; border-radius: 50%;
  background: rgba(255,255,255,.12); backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.hero-logo-circle img { width: 540px; height: 540px; object-fit: contain; }

/* Cartes flottantes — équidistantes du logo, pentagone R=210px */
.hero-card-float {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--white); border-radius: 14px;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: .82rem; font-weight: 600; color: var(--text);
  white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: box-shadow var(--transition);
  animation: float 3s ease-in-out infinite;
}
.hero-card-float:hover { box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.hero-card-float i { font-size: 1.2rem; }

/* Animation via CSS translate pour ne pas écraser transform: translate(-50%,-50%) */
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* Hexagone : R=350px, départ haut (-90°) sens horaire toutes les 60° */
.card-1 { top: calc(50% - 350px); left: 50%;               animation-delay: 0s;   } /* haut          */
.card-2 { top: calc(50% - 175px); left: calc(50% + 303px); animation-delay: .3s;  } /* haut-droite   */
.card-3 { top: calc(50% + 175px); left: calc(50% + 303px); animation-delay: .6s;  } /* bas-droite    */
.card-4 { top: calc(50% + 350px); left: 50%;               animation-delay: .9s;  } /* bas           */
.card-5 { top: calc(50% + 175px); left: calc(50% - 303px); animation-delay: 1.2s; } /* bas-gauche    */
.card-6 { top: calc(50% - 175px); left: calc(50% - 303px); animation-delay: 1.5s; } /* haut-gauche   */

.card-1 i { color: var(--blue); }
.card-2 i { color: var(--green-hand); }
.card-3 i { color: var(--orange); }
.card-4 i { color: #b86bb6; }
.card-5 i { color: var(--blue-mid); }
.card-6 i { color: var(--yellow-hand); filter: brightness(.75); }

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 70px; }

/* ===== BANDEAU ===== */
.bandeau { background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 0; }
.bandeau-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 0; }
.bandeau-item { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text-light); padding: 0 28px; }
.bandeau-item i { color: var(--blue); font-size: .9rem; }
.bandeau-item a { color: var(--text-light); font-weight: 500; }
.bandeau-item a:hover { color: var(--blue); }
.bandeau-sep { width: 1px; height: 20px; background: var(--border); }

/* ===== ACTUALITÉS DANS LE HERO ===== */
.hero-actus {
  position: absolute;
  top: 50%;
  left: 120px;
  transform: translateY(-50%);
  width: 300px;
  display: flex; flex-direction: column; gap: 14px;
  z-index: 2;
}
.actu-empty {
  font-size: .82rem; color: rgba(255,255,255,.55);
  font-style: italic; text-align: center; padding: 22px 14px;
}
.actu-window {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: background var(--transition);
}
.actu-window:hover { background: rgba(255,255,255,.13); }
.actu-window summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  color: var(--white); font-weight: 600; font-size: .95rem;
  user-select: none;
}
.actu-window summary::-webkit-details-marker { display: none; }
.actu-window summary > i:first-child {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.actu-window summary > span { flex: 1; }
.actu-window summary .chev {
  transition: transform var(--transition); font-size: .75rem; opacity: .7;
}
.actu-window[open] summary .chev { transform: rotate(180deg); }

.actu-feed {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 10px 10px;
}
.actu-feed::-webkit-scrollbar { width: 6px; }
.actu-feed::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 4px; }

.actu-item {
  display: block;
  border-radius: 10px;
  transition: background var(--transition);
}
.actu-item:hover { background: rgba(255,255,255,.08); }
.actu-item-link, .actu-item > div, .actu-item > .actu-thumb {
  display: flex;
}
.actu-item-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  text-decoration: none; color: inherit;
}
.actu-item:not(:has(.actu-item-link)) {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
}
.actu-thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.actu-thumb--icon {
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.4rem;
}
.actu-body { flex: 1; min-width: 0; }
.actu-body time {
  display: block; font-size: .68rem;
  color: rgba(255,255,255,.6); font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 2px;
}
.actu-body h4 {
  font-size: .9rem; font-weight: 600;
  color: var(--white); line-height: 1.3;
  margin-bottom: 3px;
}
.actu-body p {
  font-size: .77rem; color: rgba(255,255,255,.7);
  line-height: 1.5;
}

/* ===== ACTUALITÉS (page accueil) — anciens styles conservés au cas où ===== */
.actualites { padding: 70px 0; background: var(--bg); }
.actu-header { text-align: center; margin-bottom: 36px; }
.actu-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 10px 0 8px; }
.actu-header p { color: var(--text-light); }

.actu-tabs {
  display: flex; gap: 10px; justify-content: center;
  margin-bottom: 36px; flex-wrap: wrap;
}
.actu-tab {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--text-light);
  border: 2px solid var(--border); border-radius: 50px;
  padding: 10px 22px; font-family: 'Poppins', sans-serif;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.actu-tab:hover { border-color: var(--blue); color: var(--blue); }
.actu-tab.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

.actu-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.actu-card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px 24px; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  transition: var(--transition);
}
.actu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.actu-tag {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 10px; border-radius: 50px;
}
.actu-tag--cabinet { background: var(--blue-light); color: var(--blue); }
.actu-tag--anfe    { background: #fff3e6; color: var(--orange); }
.actu-tag--has     { background: #e8f5ee; color: var(--green-hand); }
.actu-date { font-size: .78rem; color: var(--text-light); font-weight: 500; }
.actu-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.actu-card p { font-size: .87rem; color: var(--text-light); line-height: 1.65; flex: 1; }
.actu-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; color: var(--blue); font-size: .82rem; font-weight: 600;
}
.actu-link:hover { color: var(--blue-dark); }

/* ===== SÉANCES TND ===== */
.seances-tnd { background: var(--white); }
.seances-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 70px 0 60px; text-align: center;
}
.seances-banner .section-tag { background: rgba(255,255,255,.18); color: var(--white); }
.seances-banner h2 { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.seances-banner p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; line-height: 1.7; font-size: 1rem; }

.seances-body { padding: 60px 0 90px; display: flex; flex-direction: column; gap: 50px; }

.seances-intro {
  display: flex; gap: 22px; align-items: center;
  background: var(--blue-light); border-radius: var(--radius);
  padding: 26px 32px; border-left: 4px solid var(--blue);
}
.seances-intro i { font-size: 2rem; color: var(--blue); flex-shrink: 0; }
.seances-intro p { color: var(--text); font-size: .95rem; line-height: 1.7; }

.domaines-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.domaine {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px 26px; border: 1px solid var(--border);
  transition: var(--transition);
}
.domaine:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.dom-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.dom-head i {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.domaine--apprentissages .dom-head i { background: var(--blue); }
.domaine--cognition .dom-head i { background: var(--blue-mid); }
.domaine--perception .dom-head i { background: var(--orange); }
.domaine--motricite .dom-head i { background: var(--green-hand); }
.domaine--autonomie .dom-head i { background: #b86bb6; }
.domaine--social .dom-head i { background: #d4a017; }

.dom-head h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.domaine ul { display: flex; flex-direction: column; gap: 10px; }
.domaine li { font-size: .87rem; color: var(--text-light); line-height: 1.6; padding-left: 16px; position: relative; }
.domaine li::before { content: '▸'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.domaine strong { color: var(--text); font-weight: 600; }

/* Déroulé d'une séance */
.seance-deroule {
  background: var(--bg); border-radius: var(--radius); padding: 40px;
}
.seance-deroule h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 26px; }
.seance-deroule h3 i { color: var(--blue); margin-right: 10px; }
.deroule-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.deroule-step { display: flex; flex-direction: column; gap: 12px; }
.ds-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.deroule-step strong { display: block; font-size: .95rem; margin-bottom: 6px; }
.deroule-step p { font-size: .85rem; color: var(--text-light); line-height: 1.6; }

/* Outils */
.seances-outils h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 22px; text-align: center; }
.seances-outils h3 i { color: var(--blue); margin-right: 10px; }
.outils-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.outil-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  padding: 10px 18px; border-radius: 50px;
  font-size: .87rem; font-weight: 600;
  border: 1px solid rgba(27,75,138,.15);
}
.outil-chip i { font-size: .9rem; }

/* Famille */
.seances-famille {
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  background: linear-gradient(135deg, #fff8f0, #fff3e6);
  border-radius: var(--radius); padding: 38px;
  border-left: 4px solid var(--orange);
}
.famille-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}
.seances-famille h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.seances-famille p { color: var(--text-light); font-size: .92rem; line-height: 1.75; }

/* ===== ERGOTHÉRAPIE ===== */
.ergo-section { background: var(--white); }

.ergo-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 80px 0 70px; text-align: center;
}
.ergo-banner .section-tag { background: rgba(255,255,255,.18); color: var(--white); }
.ergo-banner h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.ergo-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 620px; margin: 0 auto; line-height: 1.75; }
.ergo-banner strong { color: var(--white); }

.ergo-body { padding: 80px 0 100px; display: flex; flex-direction: column; gap: 70px; }

/* Définition */
.ergo-definition {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start;
  background: var(--bg); border-radius: var(--radius); padding: 44px;
  border-left: 4px solid var(--blue);
}
.ergo-def-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white); flex-shrink: 0;
}
.ergo-def-text h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.ergo-def-text p { color: var(--text-light); font-size: .95rem; line-height: 1.8; margin-bottom: 12px; }
.ergo-def-text p:last-child { margin-bottom: 0; }
.ergo-def-text strong { color: var(--blue); font-weight: 600; }

/* Prescription */
.ergo-prescription {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start;
  background: linear-gradient(135deg, #fff8f0, #fff3e6);
  border-radius: var(--radius); padding: 44px;
  border-left: 4px solid var(--orange);
}
.ergo-presc-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--white); flex-shrink: 0;
}
.ergo-prescription h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.ergo-prescription p { color: var(--text-light); font-size: .95rem; line-height: 1.8; margin-bottom: 10px; }
.ergo-prescription p:last-child { margin-bottom: 0; }
.ergo-prescription strong { color: var(--orange); font-weight: 600; }

/* Valeurs */
.ergo-valeurs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.ergo-valeur {
  background: var(--bg); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
  border-bottom: 3px solid transparent; transition: var(--transition);
}
.ergo-valeur:hover { border-bottom-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ergo-valeur i { font-size: 2rem; color: var(--blue); margin-bottom: 14px; display: block; }
.ergo-valeur h4 { font-size: .97rem; font-weight: 700; margin-bottom: 10px; }
.ergo-valeur p { font-size: .85rem; color: var(--text-light); line-height: 1.65; }

/* Parcours */
.ergo-parcours {
  background: var(--bg); border-radius: var(--radius); padding: 50px;
}
.ergo-parcours h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.ergo-parcours h3 i { color: var(--blue); margin-right: 10px; }
.ergo-parcours-intro { color: var(--text-light); font-size: .95rem; margin-bottom: 40px; }

.parcours-timeline { display: flex; flex-direction: column; gap: 0; }
.parcours-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  align-items: start; position: relative; padding-bottom: 32px;
}
.parcours-step:last-child { padding-bottom: 0; }
.parcours-step:not(:last-child) .ps-dot::after {
  content: ''; position: absolute; left: 27px; top: 56px;
  width: 2px; height: calc(100% - 56px);
  background: var(--border);
}
.ps-dot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem; flex-shrink: 0; position: relative; z-index: 1;
}
.ps-content { padding-top: 12px; }
.ps-content strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.ps-content p { font-size: .88rem; color: var(--text-light); line-height: 1.7; }
.ps-dot--alt { background: var(--orange); }
.bifur-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bifur-item { background: var(--white); border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--border); }
.bifur-item strong { color: var(--blue); font-size: .9rem; display: block; margin-bottom: 6px; }
.bifur-item p { font-size: .84rem; color: var(--text-light); line-height: 1.6; }
.bifur-item strong + p strong { color: var(--orange); }
@media (max-width: 600px) { .bifur-grid { grid-template-columns: 1fr; } }

/* Citation */
.ergo-quote {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius); padding: 50px;
  text-align: center; position: relative;
}
.ergo-quote .fa-quote-left {
  font-size: 3rem; color: rgba(255,255,255,.2);
  margin-bottom: 20px; display: block;
}
.ergo-quote p {
  font-size: 1.2rem; font-style: italic; color: var(--white);
  line-height: 1.75; max-width: 680px; margin: 0 auto 18px;
  font-weight: 500;
}
.ergo-quote cite { color: rgba(255,255,255,.65); font-size: .88rem; font-style: normal; }

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--white); }

/* Groupes de services */
.service-group { margin-bottom: 52px; }
.service-group-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue); background: var(--blue-light);
  padding: 7px 18px; border-radius: 50px; margin-bottom: 20px;
  border-left: 3px solid var(--blue);
}
.service-group-label i { font-size: .9rem; }

/* Services mis en avant */
.services-highlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 0;
}
.services-highlight.single { grid-template-columns: 1fr; max-width: 600px; }
.service-featured {
  display: flex; gap: 22px; align-items: flex-start;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius); padding: 32px 28px;
  color: var(--white); box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.service-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sf-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white); flex-shrink: 0;
}
.sf-badge {
  display: inline-block; background: rgba(255,255,255,.2);
  padding: 3px 12px; border-radius: 50px; font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 8px; color: rgba(255,255,255,.9);
}
.sf-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.sf-body p { font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.65; }
.sf-body strong { color: var(--white); font-weight: 700; }
.sf-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.sf-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: .85rem; color: rgba(255,255,255,.92); line-height: 1.55; }
.sf-list li > i { width: 28px; height: 28px; background: rgba(255,255,255,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .8rem; margin-top: 1px; }
.sf-list li span { display: block; }

/* Grille services */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 0;
}
.services-grid.duo { grid-template-columns: repeat(2, 1fr); }
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; background: var(--white); }
.service-card:hover::after { transform: scaleX(1); }
.sc-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--blue); margin-bottom: 18px;
  transition: var(--transition);
}
.service-card:hover .sc-icon { background: var(--blue); color: var(--white); }
.service-card h3 { font-size: .97rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: .86rem; color: var(--text-light); line-height: 1.65; }
.card-list {
  list-style: none; margin-top: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.card-list li {
  display: grid; grid-template-columns: 26px 1fr; gap: 10px;
  font-size: .82rem; color: var(--text-light); line-height: 1.55;
  align-items: start;
}
.card-list li > i {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; margin-top: 1px;
}
.card-list li strong { color: var(--text); font-weight: 600; }
.service-card:hover .card-list li > i { background: var(--blue); color: var(--white); }

/* Bouton reset filtre */
.btn-reset-services {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 10px 22px;
  background: var(--blue-light); color: var(--blue);
  border: 2px solid var(--blue); border-radius: 50px;
  font-family: 'Poppins', sans-serif; font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.btn-reset-services:hover { background: var(--blue); color: var(--white); }

/* Carte flottante active */
.hero-card-float.card-active {
  background: var(--blue); color: var(--white);
  box-shadow: 0 10px 30px rgba(27,75,138,.4);
}
.hero-card-float.card-active i { color: var(--white) !important; filter: none !important; }

.pco-badge {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 14px; padding: 12px 16px;
  background: var(--blue-light); border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue);
  font-size: .85rem; color: var(--text-light); line-height: 1.5;
}
.pco-badge i { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.pco-badge strong { color: var(--blue); }

.services-lieux {
  text-align: center; background: var(--blue-light); border-radius: var(--radius-sm);
  padding: 16px 24px; font-size: .9rem; color: var(--text-light);
}
.services-lieux i { color: var(--blue); margin-right: 6px; }
.services-lieux strong { color: var(--blue); }

/* ===== ÉQUIPE ===== */
.equipe {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}
.equipe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.thera-card {
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition);
}
.thera-card:hover { background: rgba(255,255,255,.14); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.thera-photo {
  display: block;
  font-size: 4rem; font-weight: 800; color: var(--white);
  overflow: hidden;
}
.thera-photo.jn { background: rgba(255,255,255,.06); min-height: 220px; display: flex; align-items: center; justify-content: center; }
.thera-photo.rg { background: rgba(255,255,255,.06); min-height: 220px; display: flex; align-items: center; justify-content: center; }
.thera-photo img {
  height: 380px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.thera-body { padding: 28px; }
.thera-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.thera-top h3 { font-size: 1.3rem; font-weight: 700; color: var(--white); }
.thera-badge {
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  padding: 4px 14px; border-radius: 50px; font-size: .75rem; font-weight: 600;
}
.thera-conventions {
  margin: 16px 0 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,.08);
  border-left: 3px solid var(--accent, #5bb88a);
  border-radius: 8px;
}
.conv-title {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.75);
  margin: 0 0 8px;
  display: flex; align-items: center; gap: 7px;
}
.conv-title i { color: var(--yellow-hand, #f5c100); }
.thera-conventions ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.thera-conventions li {
  background: rgba(255,255,255,.12); color: var(--white);
  padding: 4px 12px; border-radius: 50px;
  font-size: .78rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.15);
}

.thera-contacts { display: flex; flex-direction: column; gap: 10px; }

/* Encadré parcours professionnel */
.thera-parcours {
  margin-top: 18px;
  padding: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-left: 3px solid var(--yellow-hand, #f5c100);
  border-radius: 10px;
}
.parcours-title {
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.parcours-title i { color: var(--yellow-hand, #f5c100); }
.parcours-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.parcours-list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 14px;
  align-items: start;
}
.parc-year {
  font-size: .76rem; font-weight: 700;
  color: var(--yellow-hand, #f5c100);
  padding-top: 1px;
}
.parc-desc {
  font-size: .82rem; color: rgba(255,255,255,.78);
  line-height: 1.55;
}
.parc-desc strong { color: var(--white); font-weight: 600; }

/* Bouton vidéo inline */
.video-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px;
  padding: 3px 10px; border-radius: 50px;
  background: var(--yellow-hand, #f5c100);
  color: var(--blue-dark, #0f3060);
  border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem; font-weight: 700;
  transition: var(--transition);
}
.video-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(245,193,0,.3); }
.video-btn i { font-size: .85rem; }

/* Modal vidéo */
.video-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.video-modal.open { display: flex; }
.video-modal-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
}
.video-modal-content {
  position: relative; z-index: 1;
  max-width: 800px; width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.video-modal-content video {
  display: block; width: 100%; height: auto; max-height: 80vh;
}
.video-close {
  position: absolute; top: -12px; right: -12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); color: var(--text, #1a2940);
  border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transition: var(--transition);
}
.video-close:hover { transform: rotate(90deg); background: var(--blue); color: var(--white); }
@media (max-width: 600px) {
  .parcours-list li { grid-template-columns: 1fr; gap: 4px; }
}
.thera-contacts a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75); font-size: .88rem;
  transition: var(--transition);
}
.thera-contacts a i { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: .85rem; flex-shrink: 0; }
.thera-contacts a:hover { color: var(--white); }
.thera-contacts a:hover i { background: rgba(255,255,255,.25); }

/* ===== INFOS ===== */
.infos { padding: 100px 0; background: var(--bg); }
.infos-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.infos-left .section-tag { display: block; margin-bottom: 10px; }
.infos-left h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 36px; }
.info-list { display: flex; flex-direction: column; gap: 24px; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-light); display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1rem; flex-shrink: 0;
}
.info-item strong { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 5px; }
.info-item p { font-size: .88rem; color: var(--text-light); line-height: 1.65; }
.info-item em { color: var(--blue); font-style: normal; font-weight: 500; }
.info-item a { color: var(--text-light); }
.info-item a:hover { color: var(--blue); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--white);
}
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: center; }
.contact-left .section-tag { display: block; margin-bottom: 10px; }
.contact-left h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.18; margin-bottom: 18px; }
.contact-left p { color: var(--text-light); font-size: .95rem; margin-bottom: 30px; line-height: 1.7; }
.contact-ctas { display: flex; flex-direction: column; gap: 12px; }
.cta-call {
  display: flex; align-items: center; gap: 12px;
  background: var(--blue-light); color: var(--blue);
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; transition: var(--transition);
}
.cta-call:hover { background: var(--blue); color: var(--white); transform: translateX(4px); }
.cta-call i { width: 40px; height: 40px; background: var(--blue); color: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition); }
.cta-call:hover i { background: rgba(255,255,255,.25); }
.cta-call-text { display: flex; flex-direction: column; line-height: 1.2; }
.cta-call-text strong { font-size: .82rem; font-weight: 700; }
.cta-call-text em { font-size: .95rem; font-weight: 600; font-style: normal; margin-top: 2px; }

.contact-form {
  background: var(--white); border-radius: 20px; padding: 44px 40px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: .82rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .05em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif; font-size: .9rem; color: var(--text);
  background: var(--bg); outline: none; width: 100%; transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 4px rgba(27,75,138,.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  margin-top: 16px; padding: 14px 20px;
  background: #e8f5ee; color: #1f6b43; border-radius: var(--radius-sm);
  font-size: .9rem; display: flex; align-items: center; gap: 10px;
}

/* ===== FOOTER (compact) ===== */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.7); padding: 36px 0 18px; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; }

.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--white); text-decoration: none;
}
.footer-brand .footer-logo { height: 44px; width: auto; }
.footer-brand span { font-size: 1rem; font-weight: 700; }

.footer-nav {
  display: flex; gap: 4px; flex-wrap: wrap; justify-content: center;
}
.footer-nav a {
  font-size: .85rem; color: rgba(255,255,255,.65);
  padding: 6px 12px; border-radius: 50px;
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }

/* Bouton Instagram dans le hero (au-dessus des actualités) */
.insta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 11px 18px; border-radius: 14px;
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #515bd4);
  color: var(--white); font-size: .88rem; font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(221,42,123,.35);
  border: 1px solid rgba(255,255,255,.2);
}
.insta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(221,42,123,.5); }
.insta-btn i { font-size: 1.2rem; }

.footer-meta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 14px;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer-meta a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-meta a:hover { color: var(--white); }
.footer-meta i { color: var(--blue-mid); margin-right: 5px; }
.footer-meta .dot { color: rgba(255,255,255,.25); }

.footer-bottom { text-align: center; font-size: .76rem; color: rgba(255,255,255,.3); }
.footer-bottom p { margin: 0; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(27,75,138,.4);
  opacity: 0; pointer-events: none; transition: var(--transition);
  font-size: .9rem;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-row { flex-direction: column; gap: 18px; }
}

@media (max-width: 1024px) {
  .ergo-valeurs { grid-template-columns: repeat(2, 1fr); }
  .actu-grid { grid-template-columns: repeat(2, 1fr); }
  .deroule-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1500px) {
  .hero-actus { display: none; }
}
@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .services-highlight { grid-template-columns: 1fr; }
  .equipe-grid { grid-template-columns: 1fr; }
  .infos-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-row { flex-direction: column; gap: 18px; }
  nav {
    display: none; position: fixed; inset: 0;
    background: var(--white); z-index: 999;
    flex-direction: column; align-items: center; justify-content: center;
  }
  nav.open { display: flex; }
  nav ul { flex-direction: column; gap: 12px; }
  nav a { color: var(--text) !important; font-size: 1.1rem; }
  .btn-rdv { background: var(--blue) !important; color: var(--white) !important; }
  .burger { display: flex; }
}

@media (max-width: 600px) {
  .ergo-definition, .ergo-prescription { grid-template-columns: 1fr; padding: 28px; }
  .ergo-valeurs { grid-template-columns: 1fr; }
  .ergo-parcours { padding: 28px; }
  .ergo-quote { padding: 32px 24px; }
  .ergo-quote p { font-size: 1rem; }
  .actu-grid { grid-template-columns: 1fr; }
  .domaines-grid { grid-template-columns: 1fr; }
  .deroule-steps { grid-template-columns: 1fr; }
  .seance-deroule { padding: 28px; }
  .seances-famille { grid-template-columns: 1fr; padding: 28px; }
}
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .bandeau-sep { display: none; }
  .bandeau-item { padding: 6px 16px; }
  .footer-meta { font-size: .78rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}

/* ============================================================
   AJOUTS VERSION WORDPRESS
   ============================================================ */

/* SEO : phrase de zone d'intervention dans le footer */
.footer-zone {
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 4px;
}
.footer-zone i { color: var(--blue-mid); margin-right: 6px; }
.footer-zone strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* Phrase SEO Montivilliers / Le Havre dans Infos pratiques */
.infos-seo {
  background: var(--blue-light);
  color: var(--blue);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.infos-seo i { font-size: 1.1rem; }
.infos-seo strong { color: var(--blue-dark); font-weight: 700; }

/* Bloc itinéraire depuis Le Havre */
.itineraire {
  margin-top: 32px;
  padding: 26px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}
.itineraire h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.itineraire h3 i { color: var(--orange); margin-right: 8px; }
.itineraire > p {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.itineraire-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
.itineraire-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .87rem;
  color: var(--text-light);
  line-height: 1.55;
}
.itineraire-list li i {
  width: 28px; height: 28px;
  background: var(--orange);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  margin-top: 1px;
}
.itineraire-list li strong { color: var(--text); font-weight: 600; }

/* Message d'erreur formulaire (PHP) */
.form-error {
  margin-top: 16px;
  padding: 14px 20px;
  background: #fdecea;
  color: #a92924;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 3px solid #a92924;
}
.form-error i { font-size: 1.1rem; }

/* Page contact autonome : un peu plus d'espace en haut */
.contact--page { padding-top: 130px; }
