/* ==========================================================================
   CAMILLE — Design tokens
   ========================================================================== */
:root {
  --bg: #fafafa;
  --bg-alt: #f2f4f4;
  --surface: #ffffff;
  --surface-2: #f5f7f7;
  --border: rgba(20, 30, 30, 0.08);
  --border-strong: rgba(20, 30, 30, 0.14);
  --text: #1c2624;
  --text-muted: #6b7876;

  --teal: #4fd1c5;
  --teal-rgb: 79, 209, 197;
  --teal-deep: #2ca89d;
  --teal-deep-rgb: 44, 168, 157;
  --teal-pale: #e6f9f7;
  --danger: #c0503f;

  --font-head: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
  --shadow-sm: 0 8px 24px -12px rgba(20, 30, 30, 0.12);
  --shadow-md: 0 20px 50px -20px rgba(20, 30, 30, 0.16);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button {
  font: inherit; color: inherit; background: none; border: none; padding: 0;
  cursor: pointer; appearance: none; -webkit-appearance: none; -webkit-tap-highlight-color: transparent;
}
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--alt { background: var(--bg-alt); }
.section__lead { max-width: 62ch; color: var(--text-muted); font-size: 1.05rem; margin-top: 0.75rem; }

.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 0.75rem;
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); max-width: 24ch; }

.grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.grid--services { grid-template-columns: 1fr; }
.grid--testimonials { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--testimonials { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { .grid--services { grid-template-columns: repeat(3, 1fr); } }

.accent-text { color: var(--teal-deep); }

/* ==========================================================================
   Accessibility utilities
   ========================================================================== */
.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 10000;
  background: var(--teal-deep); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }

/* ==========================================================================
   Progress bar + custom cursor
   ========================================================================== */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--teal-deep); z-index: 9999; transition: width 0.1s linear; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; transform: translate(-50%, -50%); display: none; }
.cursor-dot { width: 6px; height: 6px; background: var(--teal-deep); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(var(--teal-deep-rgb), 0.4); transition: width 0.2s var(--ease), height 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease); }
.cursor-ring.is-active { width: 54px; height: 54px; background: rgba(var(--teal-deep-rgb), 0.08); border-color: var(--teal-deep); }
@media (hover: hover) and (pointer: fine) {
  .has-custom-cursor .cursor-dot, .has-custom-cursor .cursor-ring { display: block; }
  .has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button { cursor: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--header-h);
  display: flex; align-items: center; background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), height 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--border); height: 64px; box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header__brand { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }

.back-link {
  display: none; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 0.35rem 0.75rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease); white-space: nowrap;
}
.back-link:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
@media (min-width: 900px) { .back-link { display: inline-flex; } }

.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; color: var(--text); }
.logo__mark { width: 20px; height: 20px; color: var(--teal-deep); flex-shrink: 0; }
.logo__tagline { display: none; font-size: 0.78rem; color: var(--text-muted); border-left: 1px solid var(--border-strong); padding-left: 0.85rem; white-space: nowrap; }
@media (min-width: 640px) { .logo__tagline { display: inline; } }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: none; align-items: center; gap: 1.5rem; }
.nav__link { position: relative; font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s var(--ease); white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--teal-deep); transition: width 0.25s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta { display: none; }
@media (min-width: 1180px) { .nav__list { display: flex; } .nav__cta { display: inline-flex; } }

.burger { display: flex; flex-direction: column; justify-content: center; align-items: stretch; flex-shrink: 0; gap: 5px; width: 32px; height: 32px; padding: 0; z-index: 600; touch-action: manipulation; }
.burger span { display: block; height: 2px; width: 100%; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); border-radius: 2px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1180px) { .burger { display: none; } }

@media (max-width: 1179px) {
  .nav {
    position: fixed; inset: 0; z-index: 550; background: var(--bg);
    flex-direction: column; justify-content: center; align-items: center; gap: 2.2rem;
    overflow-y: auto; padding-block: 2rem; transform: translateX(100%); transition: transform 0.35s var(--ease);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { display: flex; flex-direction: column; gap: 1.8rem; text-align: center; }
  .nav__link { font-size: 1.3rem; }
  .nav__cta { display: inline-flex; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.2s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--teal-deep); color: #fff; }
.btn--primary:hover { box-shadow: 0 12px 30px -10px rgba(var(--teal-deep-rgb), 0.5); transform: translateY(-2px); }
.btn--primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn--ghost:disabled { opacity: 0.35; cursor: not-allowed; }
.btn--outline { border: 1px solid var(--border-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--teal-deep); color: var(--teal-deep); background: var(--teal-pale); }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 4rem; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background: radial-gradient(650px circle at var(--mx, 50%) var(--my, 30%), rgba(var(--teal-rgb), 0.18), transparent 62%);
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: 3rem; }
.hero__title { font-size: clamp(2.2rem, 5.5vw, 3.6rem); display: flex; flex-direction: column; gap: 0.15rem; margin-top: 0.75rem; }
.hero__subtitle { margin-top: 1.25rem; max-width: 50ch; color: var(--text-muted); font-size: 1.05rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.badge { font-family: var(--font-mono); font-size: 0.76rem; border: 1px solid var(--border-strong); border-radius: 999px; padding: 0.4rem 0.9rem; color: var(--text-muted); background: var(--surface); }

@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }

.hero__showcase { display: none; }
@media (min-width: 1024px) { .hero__showcase { display: block; } }
.hero__showcase-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(circle at 50% 40%, var(--teal-pale), #ffffff 70%);
  border: 1px solid var(--border); box-shadow: var(--shadow-md); aspect-ratio: 5 / 6;
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.hero__showcase-frame .hair-art { width: 80%; height: 80%; }
.hero__showcase-tag { margin-top: 1rem; text-align: center; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }

.scroll-indicator { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--border-strong); border-radius: 999px; z-index: 1; }
.scroll-indicator span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: var(--teal-deep); border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { top: 8px; opacity: 1; } 70% { top: 22px; opacity: 0; } 100% { top: 22px; opacity: 0; } }

/* ==========================================================================
   Eligibility — vérificateur de code postal
   ========================================================================== */
.eligibility { margin-top: 2.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); max-width: 480px; }
.eligibility__label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.75rem; }
.eligibility__row { display: flex; gap: 0.75rem; }
.eligibility__row.is-shaking { animation: shake 0.4s; }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); }
}
#postalInput {
  flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; font-size: 1rem; transition: border-color 0.2s var(--ease);
}
#postalInput:focus { border-color: var(--teal-deep); }

.eligibility__result { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.eligibility__result.is-visible { grid-template-rows: 1fr; }
.eligibility__result-inner { overflow: hidden; }
.eligibility__result-inner p {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.9rem;
}
.eligibility__result.is-success .eligibility__result-inner p { background: var(--teal-pale); color: #10564f; }
.eligibility__result.is-fail .eligibility__result-inner p,
.eligibility__result.is-invalid .eligibility__result-inner p { background: #fbe9e6; color: var(--danger); }
.eligibility__icon { width: 20px; height: 20px; flex-shrink: 0; }
.eligibility__cta { font-weight: 700; color: #10564f; text-decoration: underline; margin-left: auto; }

/* ==========================================================================
   Zone d'intervention
   ========================================================================== */
.zone-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.zone-list li {
  display: flex; align-items: center; gap: 0.5rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.6rem 1.1rem; font-size: 0.9rem; font-weight: 500;
}
.zone-list li span { font-family: var(--font-mono); font-size: 0.76rem; color: var(--teal-deep); }

/* ==========================================================================
   Service cards (Prestations)
   ========================================================================== */
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.4rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--teal-pale); color: var(--teal-deep); margin-bottom: 0.75rem; }
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.1rem; }
.service-card__price { font-family: var(--font-mono); font-size: 0.95rem; color: var(--teal-deep); font-weight: 600; }
.service-card__desc { color: var(--text-muted); font-size: 0.88rem; flex-grow: 1; margin-bottom: 0.75rem; }
.service-cta { align-self: flex-start; }

/* ==========================================================================
   Hair art (SVG partagé hero + slider)
   ========================================================================== */
.hair-art { width: 100%; height: 100%; }
.hair-art__shoulders { fill: #e4ded4; }
.hair-art__neck { fill: #e4ded4; }
.hair-art__face { fill: #ece6dc; }
.hair-art__hair--before { fill: #a8a29b; }
.hair-art__hair--faded { fill: #b7ac9e; }
.hair-art__hair--after { fill: #33474a; }
.hair-art__hair--copper { fill: #b5652f; }
.hair-art__shine { fill: none; stroke: #8fd7cf; stroke-width: 3; stroke-linecap: round; opacity: 0.85; }
.hair-art__shine--copper { stroke: #f0b27a; }
.hair-art__strand { stroke: #8f8880; stroke-width: 2.5; stroke-linecap: round; }

/* ==========================================================================
   Avant / Après slider (logique réutilisée du Garage)
   ========================================================================== */
.ba { margin-top: 2.5rem; }
.ba__tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.ba__tab {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 0.55rem 1.1rem; background: var(--surface);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.ba__tab:hover { color: var(--text); }
.ba__tab.is-active { color: #fff; background: var(--teal-deep); border-color: var(--teal-deep); }

.ba__panel { display: none; }
.ba__panel.is-active { display: block; animation: baFade 0.4s var(--ease); }
@keyframes baFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ba-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); --pos: 50%; max-width: 460px; margin-inline: auto; }
.ba-slider__frame { position: relative; aspect-ratio: 5 / 6; background: #fff; }
.ba-slider__layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.ba-slider__layer--after { background: radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb), 0.14), #ffffff 70%); }
.ba-slider__layer--before { background: #f2f2f0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); transition: clip-path 0.35s var(--ease); }
.ba-slider.is-dragging .ba-slider__layer--before { transition: none; }

.ba-slider__tag {
  position: absolute; top: 1rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.ba-slider__tag--after { right: 1rem; background: rgba(var(--accent-rgb), 0.14); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.35); }
.ba-slider__tag--before { left: 1rem; background: rgba(20, 30, 30, 0.06); color: var(--text-muted); border: 1px solid var(--border-strong); }

.ba-slider__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 28px; transform: translateX(-50%);
  z-index: 5; cursor: ew-resize; touch-action: none; transition: left 0.35s var(--ease);
}
.ba-slider.is-dragging .ba-slider__handle { transition: none; }
.ba-slider__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: var(--accent); box-shadow: 0 0 0 3px rgba(255,255,255,0.7); }
.ba-slider__grip {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--accent); color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.ba-slider__handle:hover .ba-slider__grip, .ba-slider__handle:focus-visible .ba-slider__grip { transform: translate(-50%, -50%) scale(1.08); }

/* ==========================================================================
   Steps (Comment ça marche)
   ========================================================================== */
.steps { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.step__number { font-family: var(--font-mono); color: var(--teal-deep); font-size: 0.85rem; display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ==========================================================================
   Booking — stepper, calendrier, créneaux
   ========================================================================== */
.booking { max-width: 720px; margin: 2.5rem auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-md); }

.booking__steps { position: relative; display: flex; justify-content: space-between; margin-bottom: 2.5rem; }
.booking__steps::before { content: ""; position: absolute; top: 15px; left: 15px; right: 15px; height: 2px; background: var(--border-strong); z-index: 0; }
.booking__steps::after { content: ""; position: absolute; top: 15px; left: 15px; height: 2px; width: var(--fill, 0%); background: var(--teal-deep); z-index: 0; transition: width 0.4s var(--ease); }
.booking__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex: 1; }
.booking__step-num {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 2px solid var(--border-strong); font-family: var(--font-mono); font-size: 0.82rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.booking__step-label { font-size: 0.72rem; color: var(--text-muted); text-align: center; }
.booking__step.is-active .booking__step-num { border-color: var(--teal-deep); color: var(--teal-deep); }
.booking__step.is-active .booking__step-label { color: var(--text); }
.booking__step.is-done .booking__step-num { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }

.booking__panel { display: none; border: none; }
.booking__panel.is-active { display: block; animation: baFade 0.35s var(--ease); }
.booking__panel.is-shaking { animation: shake 0.4s; }
.booking__panel-title { font-size: 1.1rem; margin-bottom: 1.25rem; }
.form-error { font-size: 0.85rem; color: var(--danger); min-height: 1.2em; margin-top: 0.75rem; }

.chip-group { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-flex; align-items: center; font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: 0.65rem 1.2rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease); cursor: pointer;
}
.chip input:checked + span { color: #fff; background: var(--teal-deep); border-color: var(--teal-deep); }
.chip input:focus-visible + span { outline: 2px solid var(--teal-deep); outline-offset: 2px; }

.calendar__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.calendar__nav-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.calendar__nav-btn:hover:not(:disabled) { border-color: var(--teal-deep); color: var(--teal-deep); }
.calendar__nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.calendar__label { font-weight: 600; font-size: 1.05rem; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.4rem; }
.calendar__day-label { text-align: center; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); padding-bottom: 0.5rem; }
.calendar__day { aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid transparent; font-size: 0.88rem; display: flex; align-items: center; justify-content: center; color: var(--text); transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease); }
.calendar__day:not(:disabled):hover { border-color: var(--teal-deep); }
.calendar__day:disabled { color: var(--text-muted); opacity: 0.4; cursor: not-allowed; }
.calendar__day.is-closed-day { opacity: 0.55; text-decoration: line-through; }
.calendar__day.is-today { font-weight: 700; }
.calendar__day.is-selected { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.calendar__legend { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem; font-size: 0.78rem; color: var(--text-muted); }
.calendar__legend-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--text-muted); flex-shrink: 0; }

.time-group { margin-bottom: 1.25rem; }
.time-group__title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 0.85rem; }
.time-group__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.time-slot { font-family: var(--font-mono); font-size: 0.85rem; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0.6rem 1.1rem; color: var(--text); transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease); }
.time-slot:hover { border-color: var(--teal-deep); }
.time-slot.is-selected { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.time-empty { color: var(--text-muted); font-size: 0.9rem; font-style: italic; }

.form-row { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; margin-top: 1.5rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.1rem; margin-top: 1.5rem; }
.form-row .form-field { margin: 0; }
.form-field label { font-size: 0.85rem; color: var(--text-muted); }
.form-field input, .form-field textarea {
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; transition: border-color 0.2s var(--ease); resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--teal-deep); }

.booking__summary { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; margin-top: 1.25rem; font-size: 0.88rem; }
.booking__summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
.booking__summary dt { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; }
.booking__summary dd { color: var(--text); }

.booking__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }

.booking__success { text-align: center; padding-block: 1.5rem; }
.booking__success svg { margin: 0 auto 1rem; color: var(--teal-deep); }
.booking__success h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.booking__success p { color: var(--text-muted); font-size: 0.92rem; max-width: 48ch; margin: 0 auto; }
.booking__success-recap {
  text-align: left; white-space: pre-wrap; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.25rem; margin: 1.5rem 0; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted);
  max-height: 260px; overflow-y: auto;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.testimonial-card__stars { color: var(--teal-deep); letter-spacing: 0.1em; margin-bottom: 0.85rem; }
.testimonial-card__quote { color: var(--text); font-size: 0.95rem; margin-bottom: 1rem; }
.testimonial-card__author { color: var(--text-muted); font-size: 0.82rem; font-family: var(--font-mono); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 760px; margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; text-align: left; font-weight: 600; }
.faq-item__icon { font-family: var(--font-mono); color: var(--teal-deep); font-size: 1.2rem; transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item__q[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-item__a > p { overflow: hidden; color: var(--text-muted); font-size: 0.92rem; padding: 0 1.5rem; }
.faq-item__q[aria-expanded="true"] + .faq-item__a { grid-template-rows: 1fr; }
.faq-item__q[aria-expanded="true"] + .faq-item__a > p { padding-bottom: 1.25rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact__email { display: inline-block; margin-top: 1.75rem; font-family: var(--font-mono); font-size: 1.2rem; color: var(--teal-deep); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.contact__email:hover { border-color: var(--teal-deep); }
.contact__note { margin-top: 0.5rem; color: var(--text-muted); font-size: 0.85rem; }

.contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; box-shadow: var(--shadow-sm); }
.contact-info__label { display: block; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal-deep); margin-bottom: 0.35rem; }
.contact-info__row p { color: var(--text-muted); font-size: 0.92rem; }
.contact-info__row a { color: var(--text); transition: color 0.2s var(--ease); }
.contact-info__row a:hover { color: var(--teal-deep); }
.contact-info__socials { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--text-muted); transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { border-color: var(--teal-deep); color: var(--teal-deep); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); padding-block: 3rem; background: var(--surface); }
.site-footer__inner { display: grid; gap: 2rem; }
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer__tagline { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; max-width: 34ch; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s var(--ease); }
.site-footer__links a:hover { color: var(--teal-deep); }
.site-footer__contact a { color: var(--teal-deep); font-family: var(--font-mono); font-size: 0.9rem; }
.site-footer__contact p { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.6rem; }
.site-footer__credit a { color: var(--text-muted); text-decoration: underline; text-decoration-color: var(--border-strong); }
.site-footer__credit a:hover { color: var(--teal-deep); }
.logo--footer { font-size: 1.3rem; font-family: var(--font-head); font-weight: 700; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   QA Mobile — correctifs forcés (n'affectent que <= 768px, desktop inchangé)
   ========================================================================== */
@media (max-width: 768px) {
  /* Nav mobile : header réduit à l'essentiel (logo + burger), comme le site racine */
  .logo__tagline { display: none !important; }

  /* Menu de navigation : écrasement complet de l'état fermé ET de l'état ouvert.
     .nav.is-open porte elle-même la totalité des propriétés de dimensionnement
     (aucune dépendance à inset seul) pour garantir un plein écran réel. */
  .nav {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background-color: var(--bg) !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    overflow-y: auto !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s var(--ease) !important;
  }
  .nav.is-open {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    background-color: var(--bg) !important;
    transform: translateX(0) !important;
  }
  .nav__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  .nav__link { font-size: 1.4rem !important; }
  .nav__cta { display: inline-flex !important; }

  /* Bouton de fermeture (.nav__close = le burger) : sorti du flux standard,
     ancré en haut à droite de l'écran, toujours au-dessus de l'overlay. */
  .burger,
  .nav__close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10000 !important;
  }

  /* Stepper RDV : les boutons Précédent / Suivant / Confirmer débordaient
     du viewport en ligne — structure forcée en colonne, pleine largeur, sans overflow-x */
  .booking__nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .booking__nav .btn {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}
