/* =============================================================
   OSTÉOPATHES DES MONTS — Feuille de style
   Charte graphique tirée du logo (palette terreuse des Monts)
   ============================================================= */

/* ---------- POLICES AUTO-HÉBERGÉES (RGPD : aucune requête Google) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('./assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('./assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('./assets/fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('./assets/fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- VARIABLES (issues de l'analyse du logo) ---------- */
:root {
  /* Couleurs principales du logo */
  --c-terracotta: #C66432;   /* monts orange / chaîne brûlée */
  --c-terracotta-deep: #A85428;   /* contraste AA sur crème et en fond de bouton */
  --c-terracotta-darker: #8F4622; /* survol des boutons / liens */
  --c-ocre: #C8964B;         /* ocre doré */
  --c-gold: #C89632;         /* colonne vertébrale */
  --c-olive: #7D7D4B;        /* mont vert mousse */
  --c-green-bottle: #2E4633; /* vert bouteille (dérivé du vert du logo) */
  --c-green-bottle-deep: #223527;
  --c-brown: #5C4A35;        /* terre profonde */
  --c-ink: #2A241F;          /* texte principal (anthracite chaud) */
  --c-ink-soft: #5C544D;     /* texte secondaire */

  /* Fonds */
  --c-cream: #FAF7F2;        /* fond principal — pierre du Lyonnais */
  --c-cream-warm: #F4EEE3;   /* variation chaude */
  --c-cream-deep: #EBE3D3;   /* surface foncée subtile */
  --c-white: #FFFFFF;

  /* Ombres très douces (jamais agressives) */
  --shadow-sm: 0 2px 8px rgba(92, 74, 53, 0.06);
  --shadow-md: 0 8px 28px rgba(92, 74, 53, 0.08);
  --shadow-lg: 0 24px 60px rgba(92, 74, 53, 0.10);

  /* Typographie */
  --ff-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --ff-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Mesures */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: min(2100px, 94vw);
  --gutter: clamp(1.25rem, 2.5vw, 2.5rem);

  /* Transitions */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 180ms var(--ease);
  --t-mid:  320ms var(--ease);
  --t-slow: 600ms var(--ease);
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Base fluide : reste à 16px sur laptop, grandit sur écrans larges (2K+) */
  font-size: clamp(16px, 0.5vw + 8px, 22px);
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "ss01";
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-terracotta-deep); }
button { font-family: inherit; cursor: pointer; }

/* Accessibilité clavier : anneau de focus visible et cohérent */
:focus-visible {
  outline: 2px solid var(--c-terracotta);
  outline-offset: 2px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--c-terracotta); color: var(--c-cream); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- TYPOGRAPHIE ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 36;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-terracotta);
  font-variation-settings: "opsz" 144;
}

p { margin: 0 0 1em; color: var(--c-ink-soft); }
p strong { color: var(--c-ink); font-weight: 500; }

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brown);
  margin-bottom: 1.25rem;
}
.eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--c-terracotta);
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-terracotta);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.075rem;
  max-width: 75ch;
  color: var(--c-ink-soft);
}

.section-header {
  margin-bottom: 2.75rem;
  max-width: 1080px;
}

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

.btn-primary {
  background: var(--c-terracotta-deep);
  color: var(--c-cream);
  box-shadow: 0 4px 14px rgba(168, 84, 40, 0.25);
}
.btn-primary:hover {
  background: var(--c-terracotta-darker);
  color: var(--c-cream);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(198, 100, 50, 0.30);
}

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: rgba(92, 74, 53, 0.20);
}
.btn-ghost:hover {
  border-color: var(--c-terracotta-deep);
  color: var(--c-terracotta-deep);
  background: rgba(198, 100, 50, 0.04);
}

.btn-link {
  padding: 0.4rem 0;
  background: none;
  color: var(--c-brown);
  border-radius: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}
.btn-link:hover {
  color: var(--c-terracotta);
  border-bottom-color: var(--c-terracotta);
}

/* ---------- HEADER (État de départ : Géant) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 220px;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  display: flex;
  align-items: center;
  transition: height 0.7s var(--ease), background 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.site-header.is-scrolled {
  height: 76px;
  box-shadow: 0 1px 0 rgba(92, 74, 53, 0.08), 0 4px 20px rgba(92, 74, 53, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  gap: 1.5rem;
  transition: all 0.7s var(--ease);
}
.site-header.is-scrolled .header-inner {
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}

.brand-logo { 
  height: 140px; 
  width: auto; 
  display: block; 
  transition: height 0.7s var(--ease), transform 0.7s var(--ease);
}
.site-header.is-scrolled .brand-logo {
  height: 46px;
}

.brand-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-terracotta);
}

/* Éléments cachés au démarrage pour laisser place au logo */
.primary-nav, 
.header-cta,
.nav-toggle {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

/* Réapparition des éléments au scroll */
.site-header.is-scrolled .primary-nav, 
.site-header.is-scrolled .header-cta {
  opacity: 1;
  visibility: visible;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  gap: 2rem;
}
.primary-nav a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--c-ink-soft);
  position: relative;
  padding: 0.4rem 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--c-terracotta);
  transition: width var(--t-mid);
}
.primary-nav a:hover {
  color: var(--c-ink);
}
.primary-nav a:hover::after { width: 100%; }

.header-cta { padding: 0.65rem 1.2rem; font-size: 0.88rem; }

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.site-header.is-scrolled .header-socials {
  opacity: 1;
  visibility: visible;
}
.header-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c-ink-soft);
  transition: color var(--t-fast), background var(--t-fast);
}
.header-social-link:hover {
  color: var(--c-terracotta);
  background: rgba(198, 100, 50, 0.07);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform var(--t-mid), opacity var(--t-fast);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 16rem 0 clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
  
  /* Ajout de la photo avec un voile "crème" pour la lisibilité */
  /* Repli JPEG pour les navigateurs sans WebP, puis WebP via image-set(). */
  background:
    linear-gradient(to bottom, rgba(250, 247, 242, 0.70) 0%, rgba(250, 247, 242, 0.95) 100%),
    url('./assets/monts-lyonnais.jpg') center center / cover no-repeat;
  background:
    linear-gradient(to bottom, rgba(250, 247, 242, 0.70) 0%, rgba(250, 247, 242, 0.95) 100%),
    image-set(
      url('./assets/monts-lyonnais.webp') type('image/webp'),
      url('./assets/monts-lyonnais.jpg') type('image/jpeg')
    ) center center / cover no-repeat;
}

.hero-inner { position: relative; z-index: 1; }

.hero-content { max-width: 1100px; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 75ch;
  color: var(--c-ink-soft);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 820px;
  padding-top: 2rem;
  border-top: 1px solid rgba(92, 74, 53, 0.12);
}
.hero-meta li { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta strong {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  color: var(--c-ink);
  font-weight: 400;
  font-variation-settings: "opsz" 36;
}
.hero-meta span {
  font-size: 0.85rem;
  color: var(--c-ink-soft);
}

/* ---------- SECTIONS GÉNÉRIQUES ---------- */
.section {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
  position: relative;
}

/* ---------- CABINET (deux lieux) ---------- */
.cabinet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  width: 100%;
}

.cabinet-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.cabinet-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- CARROUSEL CABINET ---------- */
.cabinet-carousel {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #2a241f;
}
.carousel-track {
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #2a241f;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  z-index: 2;
}
.cabinet-carousel:hover .carousel-btn,
.carousel-btn:focus-visible { opacity: 1; }
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0;
  z-index: 2;
}
/* La pastille reste visuellement à 9px, mais la zone cliquable fait 24x24
   (recommandation WCAG 2.2 « Target Size »). */
.carousel-dot {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}
.carousel-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.is-active::before {
  background: #fff;
  transform: scale(1.25);
}
@media (max-width: 640px) {
  .cabinet-carousel { height: 240px; }
  .carousel-btn { opacity: 1; }
}

.cabinet-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem;
}

.cabinet-name {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  font-variation-settings: "opsz" 48;
}

.cabinet-address {
  font-size: 0.95rem;
  color: var(--c-ink-soft);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.cabinet-address em { font-style: italic; }

.cabinet-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 1.5rem;
  line-height: 0;
}
.cabinet-map-wrap iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.map-consent {
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  background:
    linear-gradient(135deg, var(--c-cream-warm) 0%, var(--c-cream-deep) 100%);
  line-height: 1.5;
}
.map-consent p {
  margin: 0;
  max-width: 26rem;
  font-size: 0.85rem;
  color: var(--c-ink-soft);
}
.map-consent a {
  font-size: 0.82rem;
  color: var(--c-ink-soft);
  text-decoration: underline;
}
.map-consent a:hover { color: var(--c-terracotta-deep); }

.cabinet-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---------- TEAM (carousel) ---------- */
.team { background: var(--c-cream-warm); }

.team-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  align-items: stretch;
  max-width: 1180px;
  margin-inline: auto;
}
.team-list > .team-card {
  flex: 0 1 360px;
  max-width: 400px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo--terracotta {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%),
    linear-gradient(135deg, var(--c-ocre) 0%, var(--c-terracotta) 100%);
}
.team-photo--olive {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%),
    linear-gradient(135deg, #9dac5a 0%, var(--c-olive) 100%);
}
.team-photo--gold {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%),
    linear-gradient(135deg, var(--c-gold) 0%, var(--c-ocre) 100%);
}

.team-initials {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--c-cream);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: 0.02em;
}

.team-body { width: 100%; }
.team-name {
  font-size: 1.4rem;
  margin-bottom: 0.1rem;
  font-variation-settings: "opsz" 48;
  text-align: center;
}
.team-role {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-brown);
  margin-bottom: 1rem;
  text-align: center;
}
.team-bio {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  text-align: left;
}
.team-bio.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-bio.is-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.team-more {
  display: inline-block;
  margin: -0.3rem 0 1.1rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-terracotta-deep);
  transition: color var(--t-fast);
}
.team-more:hover { color: var(--c-terracotta-darker); }

/* ---------- FENÊTRE BIO (MODALE) ---------- */
.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(42, 36, 31, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.26s var(--ease);
}
.bio-modal[hidden] { display: none; }
.bio-modal.is-open { opacity: 1; }

.bio-modal-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.75rem 2.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.26s var(--ease);
}
.bio-modal.is-open .bio-modal-panel { transform: none; }

.bio-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--c-cream-deep);
  color: var(--c-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.bio-modal-close:hover { background: var(--c-terracotta); color: var(--c-white); }

.bio-modal-name {
  font-size: 1.7rem;
  margin: 0 0 0.15rem;
  padding-right: 2.5rem;
  font-variation-settings: "opsz" 48;
}
.bio-modal-role {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-brown);
  margin: 0 0 1.4rem;
}
.bio-modal-text {
  color: var(--c-ink-soft);
  line-height: 1.75;
}
.bio-modal-text em { color: var(--c-ink-soft); }

@media (max-width: 480px) {
  .bio-modal-panel { padding: 2rem 1.5rem; }
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.3rem;
}
.team-tags li {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  background: var(--c-cream-warm);
  color: var(--c-brown);
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}
.team-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- SERVICES ---------- */
.services { position: relative; overflow: hidden; }
.services-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.services .container { position: relative; z-index: 1; }

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.timeline-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 0.4rem;
}

/* Ligne reliant les jalons */
.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--c-cream-deep);
  z-index: 0;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-cream);
  border: 2px solid var(--c-terracotta);
  color: var(--c-terracotta);
  transition: transform var(--t-mid), background var(--t-fast), color var(--t-fast);
}
.timeline-dot svg { width: 28px; height: 28px; }
.timeline-step:hover .timeline-dot {
  transform: translateY(-3px);
  background: var(--c-terracotta);
  color: var(--c-cream);
}
.timeline-label {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--c-ink);
  font-variation-settings: "opsz" 32;
}

/* ---- Jalon mis en avant : troubles de l'oralité ---- */
.timeline-step--featured .timeline-dot {
  background: var(--c-terracotta);
  color: var(--c-cream);
}
.timeline-step--featured:hover .timeline-dot {
  background: var(--c-terracotta-deep);
}

.timeline-sub {
  margin-top: -0.5rem;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-terracotta-deep);
}

.approche-schema {
  margin: 3.5rem auto 0;
  max-width: 900px;
  text-align: center;
}
.approche-schema-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-brown);
  margin: 0 auto 1.75rem;
  max-width: 60ch;
  text-wrap: balance;
}
.approche-schema img {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  margin-inline: auto;
}
@media (max-width: 960px) {
  .approche-schema-intro {
    max-width: 44ch;
  }
}

/* ---------- L'OSTÉOPATHIE (DÉFINITION) ---------- */
.approche { background: var(--c-cream-warm); }

.approche-content {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.approche-content > p {
  font-size: 1.075rem;
  line-height: 1.85;
  color: var(--c-ink-soft);
  margin: 0 0 1.5rem;
}

.approche-quote {
  max-width: 900px;
  margin: 2.75rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(92, 74, 53, 0.14);
}
.approche-quote + .approche-quote {
  margin-top: 2rem;
  padding-top: 2rem;
}
.approche-quote blockquote {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--c-brown);
  margin: 0 0 0.75rem;
  font-variation-settings: "opsz" 40;
}
.approche-quote figcaption {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-terracotta-deep);
}

/* ---------- INSTAGRAM ---------- */
.instagram-section { background: var(--c-cream-warm); }

.instagram-inner {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.instagram-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 28px rgba(238, 42, 123, 0.28);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.instagram-icon-wrap:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 36px rgba(238, 42, 123, 0.36);
}

.instagram-inner .section-label { margin-bottom: 0.75rem; }
.instagram-inner .section-title { margin-bottom: 1rem; }

.instagram-lead {
  font-size: 1.075rem;
  color: var(--c-ink-soft);
  max-width: 70ch;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.btn-insta {
  background: linear-gradient(135deg, #ee2a7b 0%, #6228d7 100%);
  color: var(--c-cream);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(238, 42, 123, 0.28);
}
.btn-insta:hover {
  color: var(--c-cream);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(238, 42, 123, 0.38);
  filter: brightness(1.08);
}

/* ---------- CONTACT ---------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(92, 74, 53, 0.10);
  border-bottom: 1px solid rgba(92, 74, 53, 0.10);
  margin-bottom: 1.5rem;
}
.contact-info li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.25rem 1rem;
  align-items: baseline;
  font-size: 0.92rem;
  line-height: 1.5;
}
.contact-info span { color: var(--c-ink-soft); }
.contact-info strong { font-weight: 500; color: var(--c-ink); text-align: left; }

/* CTA Banner */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--c-brown) 0%, var(--c-ink) 100%);
  border-radius: var(--radius-lg);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 50%, rgba(198, 100, 50, 0.35), transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(200, 150, 75, 0.20), transparent 50%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h3 {
  color: var(--c-cream);
  font-size: 1.6rem;
  margin: 0 0 0.25rem;
  font-variation-settings: "opsz" 48;
}
.cta-banner p {
  margin: 0;
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.98rem;
}

/* ---------- FORMULAIRE DE CONTACT (repliable) ---------- */
.contact-disclosure {
  max-width: 720px;
  margin-inline: auto;
  background: var(--c-white);
  border: 1px solid var(--c-cream-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--t-mid), border-color var(--t-mid);
}
.contact-form-disclosure { margin-top: 2.5rem; }
.contact-disclosure[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--c-ocre);
}
.contact-disc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  list-style: none;
  transition: background var(--t-fast);
}
.contact-disc-summary::-webkit-details-marker { display: none; }
.contact-disc-summary:hover { background: var(--c-cream-warm); }
.contact-disc-summary-text { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-disc-summary-text strong {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--c-ink);
}
.contact-disc-summary-text span {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
}
.contact-disc-summary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-terracotta-deep);
}
.contact-disc-summary-cta .faq-chevron { transition: transform var(--t-mid); }
.contact-disclosure[open] .faq-chevron { transform: rotate(180deg); }
.contact-disc-summary .label-open { display: none; }
.contact-disclosure[open] .label-closed { display: none; }
.contact-disclosure[open] .label-open { display: inline; }

.contact-form-panel {
  padding: 0 1.75rem 2rem;
  border-top: 1px solid var(--c-cream-deep);
}
.contact-disclosure[open] .contact-form-panel {
  animation: contactFormReveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes contactFormReveal {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .contact-disclosure[open] .contact-form-panel { animation: none; }
  .contact-disc-summary-cta .faq-chevron { transition: none; }
}

/* ---------- COORDONNÉES À LA DEMANDE (2 boutons icônes) ---------- */
.contact-quick {
  margin-top: 1.5rem;
  text-align: center;
}
.contact-quick-hint {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--c-ink-soft);
}
.contact-quick-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.contact-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--c-cream-deep);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.contact-quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-ocre);
  color: var(--c-ink);
}
.contact-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c-cream-warm);
  color: var(--c-terracotta);
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.contact-quick-btn.is-revealed {
  border-color: var(--c-terracotta);
  background: var(--c-cream-warm);
}
.contact-quick-btn.is-revealed .contact-quick-icon {
  background: var(--c-terracotta-deep);
  color: var(--c-cream);
}
.contact-quick-text { white-space: nowrap; }
@media (max-width: 420px) {
  .contact-quick-row { flex-direction: column; align-items: stretch; }
  .contact-quick-btn { justify-content: center; }
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.75rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-brown);
}
.form-label abbr { color: var(--c-terracotta); text-decoration: none; }
.form-label small { text-transform: none; letter-spacing: 0; color: var(--c-ink-soft); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-cream);
  border: 1px solid var(--c-cream-deep);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-terracotta);
  box-shadow: 0 0 0 3px rgba(198, 100, 50, 0.15);
}
.contact-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.contact-form button[disabled] { opacity: 0.6; pointer-events: none; }
.form-status {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.form-status.is-pending { color: var(--c-ink-soft); }
.form-status.is-success { color: var(--c-green-bottle); }
.form-status.is-error { color: var(--c-terracotta-deep); }
.form-consent {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--c-ink-soft);
}
.form-consent a { color: var(--c-terracotta-deep); text-decoration: underline; }

/* Widget hCaptcha (anti-spam) */
.contact-form .h-captcha {
  min-height: 78px;
  max-width: 100%;
  overflow-x: auto;
}
.contact-form .h-captcha iframe { max-width: 100%; }

@media (max-width: 560px) {
  .contact-disc-summary { padding: 1.25rem; gap: 0.85rem; }
  .contact-disc-summary-cta .label-closed,
  .contact-disc-summary-cta .label-open { display: none; }
  .contact-disclosure[open] .contact-disc-summary-cta .label-open { display: none; }
  .contact-form-panel { padding-left: 1rem; padding-right: 1rem; padding-bottom: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form button[type="submit"] { align-self: stretch; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(250, 247, 242, 0.7);
  padding: 4rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 247, 242, 0.10);
}
.footer-brand .brand-name {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--c-cream);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand .brand-name em {
  color: var(--c-ocre);
  font-style: italic;
}
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.55);
  margin: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.footer-cols h4 {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ocre);
  margin: 0 0 1.1rem;
  font-weight: 500;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-cols a {
  font-size: 0.95rem;
  color: rgba(250, 247, 242, 0.7);
}
.footer-cols a:hover { color: var(--c-cream); }

.footer-base {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(250, 247, 242, 0.45);
}

/* ---------- BOUTON FLOTTANT MOBILE ---------- */
/* Masqué tant qu'on est dans le héros (les CTA y sont déjà visibles) et
   pendant la saisie du formulaire, pour ne jamais recouvrir un bouton. */
.floating-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  background: var(--c-terracotta-deep);
  color: var(--c-cream);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(168, 84, 40, 0.40);
  font-weight: 500;
  font-size: 0.92rem;
  z-index: 90;
  transition: transform var(--t-fast), background var(--t-fast);
}
.floating-cta:hover {
  transform: translateY(-2px);
  background: var(--c-terracotta-deep);
  color: var(--c-cream);
}

/* ---------- BOUTON RETOUR EN HAUT ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--c-green-bottle);
  color: var(--c-cream);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(46, 70, 51, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-mid), transform var(--t-mid), background var(--t-fast), visibility var(--t-mid);
  z-index: 95;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--c-green-bottle-deep);
  transform: translateY(-3px);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--c-green-bottle);
  outline-offset: 3px;
}

/* ---------- BANDEAU COOKIES ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 640px;
  margin-inline: auto;
  background: var(--c-white);
  border: 1px solid var(--c-cream-deep);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.25rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.cookie-banner p {
  flex: 1 1 16rem;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--c-ink-soft);
}
.cookie-banner p a { color: var(--c-terracotta-deep); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}
/* Décale les boutons flottants tant que le bandeau est affiché */
body:has(.cookie-banner:not([hidden])) .back-to-top { bottom: 8rem; }
@media (max-width: 640px) {
  body:has(.cookie-banner:not([hidden])) .floating-cta { bottom: 11rem; }
  body:has(.cookie-banner:not([hidden])) .back-to-top { bottom: 15rem; }
}

/* ---------- ANIMATIONS REVEAL ---------- */
/* Le masquage n'est appliqué QUE si JS est actif (classe .js posée très tôt).
   Sans JS — ou si main.js ne se charge pas — le contenu reste visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

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

/* Tablette */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Mobile */
@media (max-width: 720px) {
  .header-cta { display: none; }
  
  /* Ajout pour faire réapparaitre le toggle menu sur mobile au scroll */
  .site-header.is-scrolled .nav-toggle {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--c-cream);
    border-top: 1px solid rgba(92, 74, 53, 0.10);
    padding: 1.5rem var(--gutter);
    transform: translateY(calc(-100% - 80px));
    transition: transform var(--t-mid);
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav ul {
    flex-direction: column;
    gap: 1.25rem;
  }
  .primary-nav a {
    font-size: 1.05rem;
    color: var(--c-ink);
  }

  .floating-cta { display: inline-flex; }
  .back-to-top { bottom: 5.25rem; }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cabinet-grid { grid-template-columns: 1fr; }

  .team-list { max-width: 480px; margin-inline: auto; }
  .team-list > .team-card { flex-basis: 100%; max-width: none; }
  .team-photo { width: 88px; height: 88px; }
  .team-initials { font-size: 1.6rem; }

  .timeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 340px;
    padding-top: 0.5rem;
  }
  .timeline-step {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.1rem;
    padding: 0;
  }
  .timeline-step:not(:last-child)::after {
    top: 64px;
    bottom: -1.5rem;
    left: 31px;
    width: 2px;
    height: auto;
  }
  .timeline-label { font-size: 1.1rem; }

  .timeline-sub {
    margin-top: 0;
    margin-left: calc(64px + 1.1rem);
    flex-basis: 100%;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.75rem;
    gap: 1.5rem;
  }

  .footer-cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-base {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas .btn-lg { width: 100%; justify-content: center; }
  .service-card,
  .team-card { padding: 1.75rem; }
}

/* ============== FAQ ============== */
.faq { background: var(--c-cream-warm); }

.faq-list {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-cream-deep);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--t-mid);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-ink);
  user-select: none;
}

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

.faq-chevron {
  flex-shrink: 0;
  color: var(--c-terracotta);
  transition: transform var(--t-mid);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--c-ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CENTRAGE GLOBAL DES TEXTES
   ============================================================ */
.hero-content,
.hero-lead,
.hero-meta li,
.section-header,
.cabinet-body,
.team-body,
.service-card,
.faq-answer,
.faq-question,
.footer-brand,
.footer-cols > div {
  text-align: center;
}

.hero-ctas,
.team-tags,
.team-actions,
.cabinet-actions {
  justify-content: center;
}

.footer-cols ul {
  align-items: center;
}

.faq-question {
  justify-content: center;
  gap: 0.75rem;
}

.hero-content,
.hero-lead,
.hero-meta,
.section-header,
.section-lead {
  margin-left: auto;
  margin-right: auto;
}


/* =============================================================
   BOUTONS FLOTTANTS — ANTI-CHEVAUCHEMENT
   ============================================================= */

/* Le CTA flottant n'apparaît qu'une fois le héros dépassé : il ne recouvre
   plus « Découvrir le cabinet ». */
.floating-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.floating-cta.is-visible:hover { transform: translateY(-2px); }

/* Formulaire de contact ouvert : on retire les pastilles flottantes pour
   dégager « Envoyer le message ». */
body.form-is-open .floating-cta,
body.form-is-open .back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Marge de sécurité sous le bouton d'envoi sur petits écrans. */
@media (max-width: 720px) {
  .contact-form { padding-bottom: 1rem; }
}

/* Sans JavaScript, on garde le comportement d'origine (toujours visible). */
html:not(.js) .floating-cta {
  opacity: 1;
  visibility: visible;
  transform: none;
}
