/* ================================================
   AUDITION DOUILLET - Feuille de styles principale
   ================================================ */

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

:root {
  --primary: #1f5582;
  --primary-light: #4a8ab5;
  --primary-dark: #163e5f;
  --accent: #c9a06b;
  --accent-light: #e0c08d;

  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --bg-section: #eef4f9;

  --text: #1a2e3f;
  --text-soft: #5a6c7d;
  --text-light: #8a9aa6;
  --border: #e0e8ee;

  --success: #5ca87a;
  --error: #c25450;

  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(20, 50, 80, 0.06);
  --shadow-md: 0 4px 16px rgba(20, 50, 80, 0.08);
  --shadow-lg: 0 12px 40px rgba(20, 50, 80, 0.12);

  --container: 1200px;
  --transition: 0.25s ease;

  --header-height: 130px;
  --header-height-mobile: 70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--text-soft); }
ul { list-style: none; }

/* --- Container & utilities --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-tinted { background: var(--bg-section); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-header .eyebrow { display: inline-block; color: var(--accent); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.75rem; }
.section-header h2 { color: var(--primary-dark); }
.section-header p { font-size: 1.05rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #b48a55; color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-ghost { background: white; color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--primary); color: white; }
.btn-large { padding: 1.05rem 2.25rem; font-size: 1rem; }

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
}
.header-top .container { display: flex; justify-content: flex-end; gap: 2rem; padding-top: 0.6rem; padding-bottom: 0.6rem; flex-wrap: wrap; }
.header-top .center-info { display: flex; align-items: center; gap: 0.5rem; }
.header-top .center-info strong { color: var(--accent-light); font-weight: 600; }
.header-top a { color: white; }
.header-top a:hover { color: var(--accent-light); }
.header-top .sep { color: rgba(255,255,255,0.4); }

.header-main { padding: 1rem 0; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name .name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; color: var(--primary-dark); }
.brand-name .role { font-size: 0.78rem; color: var(--text-soft); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.75rem; }
.nav-list a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: var(--primary-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
}
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--primary-dark); transition: all var(--transition); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 6rem 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 30%, rgba(201, 160, 107, 0.18), transparent 50%),
                    radial-gradient(circle at 10% 90%, rgba(74, 138, 181, 0.25), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero-content .eyebrow { display: inline-block; color: var(--accent-light); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 1rem; }
.hero h1 { color: white; margin-bottom: 1.25rem; font-weight: 500; }
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero p.lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); margin-bottom: 2rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image .accent-bar {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}

/* ================================================
   PAGE HEADER (sub-pages)
   ================================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(201, 160, 107, 0.18), transparent 60%);
}
.page-header .container { position: relative; }
.page-header .eyebrow { color: var(--accent-light); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.5rem; display: inline-block; }
.page-header h1 { color: white; margin-bottom: 0.75rem; }
.page-header p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; max-width: 680px; margin: 0 auto; }

.breadcrumb { font-size: 0.85rem; margin-top: 1rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: white; }

/* ================================================
   ACCUEIL - Présentation
   ================================================ */
.about { padding: 5rem 0; }
.about .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.accent-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  color: var(--primary-dark);
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(20, 50, 80, 0.18);
  border-left: 3px solid var(--accent);
}
.about-image .accent-bar {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}
.about-content .eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.75rem; display: inline-block; }
.about-content h2 { color: var(--primary-dark); margin-bottom: 1.5rem; }
.about-content p { font-size: 1.02rem; }

.parcours-list { display: grid; gap: 1rem; margin-top: 2rem; }
.parcours-item { display: flex; gap: 1rem; padding: 1rem; background: var(--bg-soft); border-radius: var(--radius-md); border-left: 3px solid var(--accent); }
.parcours-item strong { display: block; color: var(--primary-dark); margin-bottom: 0.2rem; }
.parcours-item span { font-size: 0.92rem; color: var(--text-soft); }
.parcours-item .icon { color: var(--accent); flex-shrink: 0; }

/* ================================================
   CENTRES (gallery on home)
   ================================================ */
.centres-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.centre-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  position: relative;
}
.centre-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.centre-photo:hover img { transform: scale(1.05); }
.centre-photo .label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(22,62,95,0.85), transparent);
  color: white;
  padding: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ================================================
   CARROUSEL (centres)
   ================================================ */
.carousel {
  position: relative;
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}
.carousel-track-wrap { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-slide .label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(to top, rgba(22, 62, 95, 0.85) 0%, rgba(22, 62, 95, 0.4) 60%, transparent 100%);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}
.carousel-slide .label small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.carousel-arrow:hover { background: white; transform: translateY(-50%) scale(1.08); color: var(--primary); }
.carousel-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.carousel-arrow.prev { left: 1.25rem; }
.carousel-arrow.next { right: 1.25rem; }
.carousel-arrow svg { width: 22px; height: 22px; }

.carousel-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.carousel-dot:hover { background: rgba(255, 255, 255, 0.85); }
.carousel-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-arrow.prev { left: 0.75rem; }
  .carousel-arrow.next { right: 0.75rem; }
  .carousel-slide { aspect-ratio: 4 / 3; }
  .carousel-slide .label { padding: 2rem 1.25rem 1rem; font-size: 1.1rem; }
}

/* ================================================
   SERVICES GRID (home)
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.service-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid; place-items: center;
  color: white;
  margin-bottom: 0.5rem;
}
.service-card h3 { color: var(--primary-dark); font-size: 1.15rem; }
.service-card p { font-size: 0.95rem; margin: 0; }

/* ================================================
   AUDITION PAGE - Anatomie / Sons / Acouphènes
   ================================================ */
.anatomy { padding: 5rem 0; }
.anatomy .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.anatomy-image { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 2rem; aspect-ratio: 4/3; display: grid; place-items: center; }
.anatomy-image img { width: 100%; }
.anatomy-content h2 { color: var(--primary-dark); }
.anatomy-parts { margin-top: 1.5rem; display: grid; gap: 1rem; }
.anatomy-part { padding: 1rem 1.25rem; background: var(--bg-soft); border-radius: var(--radius-md); border-left: 3px solid var(--primary-light); }
.anatomy-part strong { color: var(--primary-dark); display: block; margin-bottom: 0.2rem; }
.anatomy-part p { margin: 0; font-size: 0.95rem; }

/* Signs of hearing loss */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.sign-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.sign-card .check { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.sign-card span { font-size: 0.95rem; color: var(--text); }

/* Decibel scale */
.db-scale { background: white; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); margin-top: 2rem; }
.db-bar { height: 14px; border-radius: var(--radius-pill); background: linear-gradient(to right, #5ca87a 0%, #c9a06b 50%, #c25450 100%); margin: 1rem 0 0.5rem; position: relative; }
.db-marks { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-soft); margin-bottom: 1.5rem; }
.db-examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.db-example { text-align: center; padding: 1rem; background: var(--bg-soft); border-radius: var(--radius-md); }
.db-example .db-value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--primary-dark); display: block; }
.db-example .db-label { font-size: 0.85rem; color: var(--text-soft); }

/* Acouphènes block */
.acouphenes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.acouphenes-card { background: white; padding: 1.75rem; border-radius: var(--radius-md); border-top: 3px solid var(--accent); box-shadow: var(--shadow-sm); }
.acouphenes-card h3 { color: var(--primary-dark); }

/* ================================================
   ACCOMPAGNEMENT - Timeline
   ================================================ */
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 31px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-step:last-child { margin-bottom: 0; }
.timeline-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary-dark);
  display: grid; place-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.timeline-step:hover .timeline-number { background: var(--primary); color: white; transform: scale(1.05); }
.timeline-content {
  background: white;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
}
.timeline-content h3 { color: var(--primary-dark); margin-bottom: 0.4rem; }
.timeline-content p { margin: 0; font-size: 0.95rem; }

/* ================================================
   SERVICES PAGE - types of devices
   ================================================ */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.device-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--accent);
}
.device-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.device-card .body { padding: 1.75rem; }
.device-card h3 { color: var(--primary-dark); }
.device-card p { font-size: 0.95rem; margin: 0; }

/* Photo d'illustration pleine largeur (services, accompagnement) */
.photo-feature {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2 / 1;
  box-shadow: var(--shadow-md);
}
.photo-feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-feature .accent-bar { position: absolute; bottom: 1.25rem; left: 1.25rem; }
@media (max-width: 768px) {
  .photo-feature { aspect-ratio: 4 / 3; margin-bottom: 2rem; }
}

/* Infographie modèles */
.infographic {
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}
.infographic img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
.infographic-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}
.infographic-credit img { width: auto; height: 32px; display: inline-block; border-radius: 0; }

@media (max-width: 768px) {
  .infographic { padding: 0.5rem; }
  .infographic-credit { font-size: 0.8rem; }
  .infographic-credit img { height: 26px; }
}

/* Accessoires */
.accessoires-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.accessoire-card { background: white; border-radius: var(--radius-md); padding: 1.5rem; text-align: center; border: 1px solid var(--border); transition: all var(--transition); }
.accessoire-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.accessoire-card .icon-wrap { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--primary); }
.accessoire-card h4 { color: var(--primary-dark); margin-bottom: 0.3rem; }
.accessoire-card p { font-size: 0.9rem; margin: 0; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: flex-start; }

.centre-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border-top: 3px solid var(--primary);
}
.centre-card h3 { color: var(--primary-dark); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.centre-card .info-row { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; align-items: flex-start; }
.centre-card .info-row .icon { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.centre-card .info-row a { color: var(--text); }
.centre-card .info-row a:hover { color: var(--primary); }

.contact-form {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { color: var(--primary-dark); margin-bottom: 0.5rem; font-size: 1.5rem; }
.contact-form > p { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form-group label .required { color: var(--error); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: all var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 85, 130, 0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-feedback.show { display: block; }
.form-feedback.success { background: rgba(92, 168, 122, 0.12); color: var(--success); border: 1px solid rgba(92, 168, 122, 0.3); }

/* ================================================
   CTA Block
   ================================================ */
.cta-block {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 3rem auto;
  max-width: var(--container);
  position: relative;
  overflow: hidden;
}
.cta-block::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(201,160,107,0.2), transparent 50%); }
.cta-block > * { position: relative; }
.cta-block h2 { color: white; margin-bottom: 0.75rem; }
.cta-block p { color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; font-size: 1.1rem; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-col h4 { color: white; font-family: var(--font-heading); margin-bottom: 1.25rem; font-size: 1.1rem; }
.footer-col p, .footer-col li { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--accent-light); }

.footer-brand .brand { color: white; margin-bottom: 1rem; }
.footer-brand .brand-name .name { color: white; }
.footer-brand .brand-name .role { color: rgba(255,255,255,0.7); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.hours-list { display: grid; gap: 0.4rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px dashed rgba(255,255,255,0.15); }
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { color: white; font-weight: 500; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .hero .container, .about .container, .anatomy .container, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image, .about-image { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .centres-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0; }

  .header-top { display: none; }

  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-top: 1px solid var(--border);
  }
  .main-nav.is-open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 0.25rem; }
  .nav-list a { padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
  .nav-list a:last-child { border-bottom: none; }
  .nav-list a::after { display: none; }
  .main-nav .btn { width: 100%; }

  .header-main { padding: 0.75rem 0; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name .name { font-size: 1.1rem; }
  .brand-name .role { font-size: 0.7rem; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .centres-gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }

  .timeline::before { left: 23px; }
  .timeline-number { width: 48px; height: 48px; font-size: 1.15rem; }
  .timeline-step { grid-template-columns: 48px 1fr; gap: 1rem; }
  .timeline-content { padding: 1.25rem; }

  .cta-block { padding: 3rem 1.5rem; margin: 2rem 1rem; }
  .cta-block .btn { width: 100%; }

  .page-header { padding: 3rem 0 2.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section-header { margin-bottom: 2rem; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
  .btn-large { padding: 0.95rem 1.75rem; }
  .accessoires-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================
   LEGAL PAGES (mentions, confidentialité)
   ================================================ */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content section { margin-bottom: 2.5rem; }
.legal-content h2 {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-section);
}
.legal-content h3 { color: var(--primary); font-size: 1.1rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.legal-content p, .legal-content li { color: var(--text-soft); line-height: 1.75; font-size: 0.98rem; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content ul li { list-style: disc; margin-bottom: 0.4rem; }
.legal-content a { text-decoration: underline; }
.legal-content .placeholder {
  display: inline-block;
  background: #fff8e1;
  color: #8a6f1d;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px dashed #d4b95a;
}
.legal-content .last-update { font-size: 0.85rem; color: var(--text-light); font-style: italic; margin-bottom: 2.5rem; }

/* ================================================
   Reveal animation (subtle on scroll)
   ================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================
   SEO ADDITIONS : FAQ, liens centres, pages centre, 404
   ================================================ */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-feedback.is-error { color: var(--error); }
.centre-links { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border-left: 3px solid var(--accent); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.5rem; position: relative;
  font-family: var(--font-heading); font-weight: 600; color: var(--primary-dark); font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 1.5rem 1.25rem; margin: 0; color: var(--text-soft); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-md); }

.centre-page { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
.centre-page .centre-card { margin-bottom: 1.25rem; }
.centre-page .centre-photo-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.centre-page .centre-photo-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.centre-intro { max-width: 820px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.centre-intro p + p { margin-top: 1rem; }
.centre-access { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.centre-access div { background: white; padding: 1.25rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); }
.centre-access strong { display: block; color: var(--primary-dark); margin-bottom: 0.3rem; }
.centre-access span { font-size: 0.93rem; color: var(--text-soft); }
.centre-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.centre-gallery figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 5; }
.centre-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

.error-page { text-align: center; padding: 6rem 0; }
.error-page .code { font-family: var(--font-heading); font-size: 6rem; color: var(--primary-light); line-height: 1; margin-bottom: 1rem; }
.error-page h1 { color: var(--primary-dark); }
.error-page p { max-width: 520px; margin: 0.75rem auto 2rem; }
.error-page .links { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .centre-page { grid-template-columns: 1fr; }
  .centre-page .centre-photo-main { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .centre-gallery { grid-template-columns: 1fr 1fr; }
}

.footer-col h4 a { color: inherit; text-decoration: none; }
.footer-col h4 a:hover { color: var(--accent-light); }
