/* ==========================================================================
   Transfroid Services — feuille de style principale (v4)
   Direction : fond clair, grandes marges, cartes sobres aux angles de 4 à 8 px,
   toute la typographie en Verdana. Couleur : nuancier de #0095ff.
   Sommaire : 1. Variables  2. Base  3. Boutons  4. En-tête  5. Hero d'accueil
   6. Hero des pages  7. Sections d'accueil  8. Bandeau photo  9. À propos
   10. Rendez-vous  11. Formulaires  12. Contact  13. Espace client
   14. Pied de page  15. Animations  16. Responsive
   ========================================================================== */

/* 1. Variables ----------------------------------------------------------- */
:root {
  /* Nuancier #0095ff */
  --azure: #0095ff;          /* couleur de référence */
  --azure-200: #99d4ff;
  --azure-700: #0067b0;
  --azure-800: #004d84;
  --navy: #001e33;           /* fonds sombres */
  --paper: #f2f9ff;          /* fond de page */
  --paper-2: #e0f1ff;        /* sections alternées */
  --ink: #00182b;            /* texte principal */
  --ink-muted: #3a5a75;      /* texte secondaire */
  --line: rgba(0, 24, 43, .13);
  --line-light: rgba(255, 255, 255, .18);
  /* États (hors nuancier, réservés aux messages) */
  --success: #146c43;
  --error: #b42318;

  --font-sans: Verdana, Geneva, Tahoma, sans-serif;
  --font-mono: Verdana, Geneva, Tahoma, sans-serif;

  --radius: 8px;
  --radius-s: 4px;
  --gutter: 32px;
  --header-h: 104px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.5; letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; line-height: 1.25; }
em { font-style: normal; }
strong { font-weight: 600; }
.nb { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; border-radius: 2px; }

.container { width: min(100% - var(--gutter) * 2, 1376px); margin-inline: auto; }
.section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.section--frost { background: var(--paper-2); }
.section--tight { padding-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; }
.todo { background: #fff4cc; color: #6b4e00; padding: 1px 5px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Sur-titre : petit carré azur */
.eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; line-height: 1.3;
  letter-spacing: .01em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--azure); }

/* En-tête de section : titre à gauche, texte à droite, filet dessous */
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 48px; align-items: end;
  padding-bottom: 32px; margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line);
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { max-width: 20em; }
.section-head > p:not(.eyebrow), .section-head__side { color: var(--ink-muted); max-width: 34em; }
.section-head__side { display: grid; gap: 20px; justify-items: start; }
.section-head__side p { color: var(--ink-muted); }
.section-head--plain { border-bottom: 0; padding-bottom: 0; align-items: start; }

/* 3. Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius-s);
  font: inherit; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--azure); color: var(--ink); }
.btn--primary:hover { background: #33aaff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper-2); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: #fff; border-color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 4. En-tête -------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: var(--paper); border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; width: min(100% - var(--gutter) * 2, 1376px); margin-inline: auto; }
.brand { flex: none; }
.brand img { height: 84px; width: auto; padding: 4px 8px; background: #fff; border-radius: var(--radius-s); }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; font-size: .9375rem; }
.nav a:not(.btn) { text-decoration: none; padding: 8px 0; color: var(--ink-muted); transition: color .2s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--azure); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.header-actions .btn { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; place-items: center; background: transparent; color: inherit; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s var(--ease); }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Accueil : en-tête transparent au-dessus de la photo */
.page-home .site-header:not(.is-scrolled) { background: transparent; color: #fff; }
.page-home .site-header:not(.is-scrolled) .header-actions .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.page-home .site-header:not(.is-scrolled) .header-actions .btn--outline:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
@media (min-width: 961px) {
  .page-home .site-header:not(.is-scrolled) .nav a:not(.btn) { color: #fff; text-shadow: 0 1px 3px rgba(0, 24, 43, .8), 0 0 14px rgba(0, 24, 43, .5); }
  .page-home .site-header:not(.is-scrolled) .nav a:not(.btn):hover, .page-home .site-header:not(.is-scrolled) .nav a[aria-current="page"] { color: #fff; }
}
.page-home .site-header:not(.is-scrolled) .menu-toggle { border-color: rgba(255, 255, 255, .55); }

.page-home .site-header:has(.nav.is-open) { background: var(--paper); color: var(--ink); }
.page-home .site-header:has(.nav.is-open) .menu-toggle { border-color: var(--line); }
.mobile-cta { display: none; }

/* 5. Hero d'accueil ------------------------------------------------------- */
.hero-home { position: relative; isolation: isolate; display: flex; min-height: max(680px, 100svh); color: #fff; overflow: hidden; }
.hero-home__scene {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 24, 43, .32) 0%, rgba(0, 24, 43, 0) 20%, rgba(0, 24, 43, 0) 62%, rgba(0, 24, 43, .42) 100%),
    url("../img/banniere-accueil.webp") center 55% / cover no-repeat;
}
.snow-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-home__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: calc(var(--header-h) + 40px) 32px; }
.hero-home h1 { margin-top: 16px; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em; text-shadow: 0 2px 6px rgba(0, 24, 43, .55), 0 1px 28px rgba(0, 24, 43, .45); }
.hero-home .eyebrow { text-shadow: 0 1px 4px rgba(0, 24, 43, .7); }
.hero-home .eyebrow::before { background: #fff; }
.hero-home__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero-home__lead { max-width: 26em; margin-bottom: 18px; padding: 12px 16px; font-size: 1.0625rem; line-height: 1.45; border-radius: var(--radius-s);
  background: rgba(0, 24, 43, .42); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
/* Badge vitré des partenaires, en bas à droite */
.hero-badge {
  display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-radius: var(--radius);
  background: rgba(0, 24, 43, .42); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-badge ul { display: flex; gap: 14px; }
.hero-badge li { display: flex; flex-direction: column; gap: 8px; }
.hero-badge p { font-size: .8125rem; line-height: 1.25; font-weight: 700; }
.hero-badge__logo { display: grid; place-items: center; height: 64px; padding: 6px 12px; background: #fff; border-radius: var(--radius-s); }
.hero-badge img { max-height: 50px; width: auto; }

/* 6. Hero des pages ------------------------------------------------------- */
.page-hero { position: relative; isolation: isolate; padding-top: calc(var(--header-h) + clamp(32px, 4vw, 56px)); overflow: hidden; }
.page-hero .snow-canvas { z-index: 2; }
.breadcrumb { margin-bottom: 20px; font-size: .875rem; color: var(--ink-muted); }
.breadcrumb a { color: inherit; }
.page-hero__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero__head .eyebrow { grid-column: 1 / -1; }
.page-hero__lead { color: var(--ink-muted); max-width: 34em; }
.page-hero__img { height: clamp(280px, 42vw, 600px); border-radius: var(--radius); background: url("../img/banniere-accueil-1600.webp") 50% 35% / cover no-repeat; }
.page-hero--rule .page-hero__head { border-bottom: 1px solid var(--line); }

/* 7. Sections d'accueil --------------------------------------------------- */
/* À propos : déclaration + chiffres */
.about-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 72px); }
.about-top .eyebrow { align-self: start; padding-top: 10px; }
.about-top__text { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; margin-bottom: 28px; max-width: 28em; }
.about-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.about-card, .stat-card { min-height: clamp(260px, 25vw, 360px); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.about-card {
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 24, 43, .3), rgba(0, 24, 43, .72)), url("../img/banniere-accueil-1600.webp") 92% 8% / auto 170% no-repeat;
}
.about-card h3 { font-size: 1.25rem; }
.about-card p { font-size: .9375rem; }
.stat-card { background: #fff; border: 1px solid var(--line); }
.stat-card b { font-size: clamp(2.75rem, 4.4vw, 3.75rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--azure-700); }
.stat-card p { color: var(--ink); }

/* Services : texte à gauche, image à droite ; les lignes s'empilent au défilement */
.svc-rows { display: grid; }
.svc-row {
  position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding-block: 32px; background: var(--paper); border-bottom: 1px dashed var(--line);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.svc-row p { color: var(--ink-muted); max-width: 30em; font-size: 1.0625rem; }
.svc-row img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: var(--radius); }

/* Partenaires : deux cartes blanches */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.partners li { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.partner-logo { display: flex; align-items: center; height: 130px; }
.partner-logo img { max-height: 120px; width: auto; }
.partners p { font-size: 1.125rem; line-height: 1.3; font-weight: 500; max-width: 26em; }

/* Prise en charge : quatre étapes */
.process { background: var(--paper-2); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.process-card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.process-card svg { width: 40px; height: 40px; color: var(--azure-700); }
.process-card p { font-size: 1.125rem; line-height: 1.25; font-weight: 500; }

/* 8. Bandeau photo -------------------------------------------------------- */
.cta-photo-wrap { padding-block: clamp(48px, 6vw, 80px) 32px; }
.cta-photo {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff;
  min-height: clamp(440px, 52vw, 720px); padding: 48px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0, 24, 43, .62), rgba(0, 30, 51, .72)), url("../img/banniere-accueil-1600.webp") center 60% / cover no-repeat;
}
.cta-photo > div { display: grid; justify-items: center; gap: 20px; max-width: 760px; }
.cta-photo h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; }
.cta-photo p:not(.eyebrow) { max-width: 32em; font-size: 1.0625rem; }
.cta-photo .eyebrow::before { background: #fff; }

/* 9. À propos ------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.prose > * + * { margin-top: 18px; }
.prose p { color: var(--ink-muted); }
.prose .btn { margin-top: 28px; }
.split .eyebrow + h2 { margin-top: 16px; }
.split h2 + p { margin-top: 20px; color: var(--ink-muted); }
.legal { max-width: 860px; }
.legal h2 { margin-top: 48px; font-size: 1.75rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { list-style: disc; padding-left: 20px; color: var(--ink-muted); }
.card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card p { color: var(--ink-muted); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.grid-4 .card { display: flex; flex-direction: column; min-height: 280px; }
.grid-4 .icon { margin-bottom: auto; padding-bottom: 32px; }
.grid-4 .icon svg { width: 40px; height: 40px; color: var(--azure-700); }
.grid-4 h3 { margin-bottom: 10px; }
.section--frost .card { background: var(--paper); }
/* Frise */
.timeline { display: grid; gap: 0; padding: 12px 32px; }
.timeline li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px dashed var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .year { font-family: var(--font-mono); font-size: .875rem; font-weight: 500; color: var(--azure-700); padding-top: 2px; }
.timeline p { color: var(--ink); }
/* Menus déroulants (details/summary : fonctionnent sans JavaScript) */
.accordion { display: grid; gap: 8px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.acc-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 14px 16px 14px 24px; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-num { font-family: var(--font-mono); font-size: .875rem; color: var(--ink-muted); }
.acc-title { flex: 1; font-size: 1.125rem; font-weight: 500; }
.acc-toggle { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--radius-s); background: var(--paper-2); transition: transform .25s var(--ease), background .2s var(--ease); }
.acc-toggle svg { width: 18px; height: 18px; }
.acc-item summary:hover .acc-toggle { background: var(--azure-200); }
.acc-item[open] .acc-toggle { transform: rotate(180deg); background: var(--azure); }
.acc-body { padding: 0 24px 24px; display: grid; gap: 12px; }
.acc-body p { color: var(--ink-muted); }
.acc-cta { justify-self: start; margin-top: 12px; }
/* Galerie */
.gallery { display: grid; grid-template-columns: minmax(0, 16fr) minmax(0, 9fr) minmax(0, 9fr); gap: 12px; }
.gallery picture { display: block; }
.gallery img { width: 100%; height: auto; border-radius: var(--radius); }
.gallery .photo-slot { min-height: 260px; }
.gallery .photo-slot:last-child { grid-column: span 2; }
.photo-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.section--frost .photo-slot { background: var(--paper); }
.photo-slot svg { width: 28px; height: 28px; color: var(--azure-700); }

/* 10. Rendez-vous --------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: "( 0" counter(step) " )"; margin-bottom: auto; padding-bottom: 32px; font-family: var(--font-mono); font-size: .875rem; color: var(--ink-muted); }
.steps p { color: var(--ink-muted); }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.booking-main { display: grid; gap: 24px; min-width: 0; }
.panel { min-width: 0; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.panel-title h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.step-num { display: grid; place-items: center; width: 32px; height: 32px; flex: none; font-family: var(--font-mono); font-size: .875rem; font-weight: 500; background: var(--azure); color: var(--ink); border-radius: var(--radius-s); }
.panel-intro { margin-bottom: 20px; color: var(--ink-muted); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-nav .range { font-size: 1.25rem; font-weight: 500; text-align: center; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; }
.icon-btn:hover:not([disabled]) { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.icon-btn svg { width: 18px; height: 18px; }
.month-cal { display: grid; gap: 6px; }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-head span { padding-bottom: 4px; font-family: var(--font-mono); font-size: .75rem; font-weight: 500; text-align: center; text-transform: uppercase; color: var(--ink-muted); }
.cal-head .is-weekend { opacity: .6; }
.cal-day {
  display: grid; place-items: center; min-height: 52px; padding: 0; font: inherit; font-size: .9375rem; font-weight: 500; color: var(--ink);
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-s);
}
.cal-day.is-weekend, .cal-day.is-out { font-weight: 400; color: var(--ink-muted); opacity: .45; }
button.cal-day { cursor: pointer; background: var(--paper); border-color: var(--line); transition: border-color .2s var(--ease), background .2s var(--ease); }
button.cal-day:hover:not([disabled]) { background: var(--paper-2); border-color: var(--ink); }
button.cal-day[aria-pressed="true"] { background: var(--azure); border-color: var(--azure); }
button.cal-day[disabled] { cursor: not-allowed; color: var(--ink-muted); background: transparent; border-style: dashed; }
button.cal-day.is-full { text-decoration: line-through; }
button.cal-day.is-past { opacity: .55; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--azure-700); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: .875rem; color: var(--ink-muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 14px; height: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.legend .l-sel { background: var(--azure); border-color: var(--azure); }
.legend .l-taken { background: transparent; border-style: dashed; border-color: var(--ink-muted); }
.demo-note { margin-top: 12px; font-size: .875rem; }
.selected-slot { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 4px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-s); font-weight: 500; }
.selected-slot svg { width: 22px; height: 22px; flex: none; color: var(--azure-700); }
.selected-slot.is-set { background: var(--paper-2); border-style: solid; border-color: var(--azure); }
.selected-slot.has-error { border-color: var(--error); background: #fff3f2; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card h3 { margin-bottom: 16px; }
.side-list { display: grid; gap: 14px; margin-bottom: 20px; font-size: .9375rem; }
.side-list li { display: flex; gap: 12px; }
.side-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--azure-700); }
.booking-success h2 { margin: 16px 0 12px; }
.booking-success p { color: var(--ink-muted); margin-bottom: 16px; }
.booking-success .ok { display: grid; place-items: center; width: 48px; height: 48px; background: var(--azure); color: var(--ink); border-radius: var(--radius-s); }
.booking-success .ok svg { width: 24px; height: 24px; }
.recap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; padding: 16px; margin-bottom: 16px; background: var(--paper); border-radius: var(--radius-s); }
.recap dt { font-family: var(--font-mono); font-size: .8125rem; color: var(--ink-muted); }
/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { position: relative; min-height: 60px; padding: 18px 56px 18px 24px; font-size: 1.0625rem; font-weight: 500; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--azure-700); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-muted); }

/* 11. Formulaires --------------------------------------------------------- */
.form-grid, .contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 500; }
.field label svg { width: 16px; height: 16px; }
.req { color: var(--error); }
.hint { font-size: .8125rem; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; font: inherit; font-size: .9375rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
}
.panel .field input, .panel .field select, .panel .field textarea { background: var(--paper); }
.field textarea { min-height: 130px; resize: vertical; }
.field ::placeholder { color: #5b7a94; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(0, 149, 255, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { font-size: .875rem; font-weight: 500; color: var(--error); }
.error:empty { display: none; }
.info-box { padding: 16px; background: var(--paper-2); border-radius: var(--radius-s); }
.consent { display: flex !important; align-items: flex-start !important; gap: 12px !important; font-weight: 400 !important; color: var(--ink-muted); }
.consent input { width: 22px; height: 22px; min-height: 0; flex: none; margin: 1px 0 0; accent-color: var(--azure-700); }
.choice-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-group legend { margin-bottom: 6px; padding: 0; font-size: .875rem; font-weight: 500; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.field .choice { gap: 10px; padding: 10px 16px; font-size: 1rem; font-weight: 400; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; }
.field .choice:has(input:checked) { background: var(--paper-2); border-color: var(--azure); }
.field .choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(0, 149, 255, .25); }
.panel .field .choice input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--azure-700); box-shadow: none; }
.form-alert { margin-bottom: 16px; padding: 14px 16px; font-weight: 500; border-radius: var(--radius-s); }
.form-alert--error { color: var(--error); background: #fff3f2; border: 1px solid #f3c4bf; }
.form-alert:empty { display: none; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(0, 24, 43, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label-idle, .btn-label-loading { display: none; }
.is-loading .btn-label-loading { display: inline; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 12. Contact (formulaire + horaires, trois cartes, carte) ---------------- */
.contact-top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: stretch; margin-bottom: 24px; }
.contact-fields { margin-bottom: 18px; }
.contact-sent { margin-top: 16px; padding: 14px 16px; font-weight: 500; color: var(--success); background: #e2f4ea; border-radius: var(--radius-s); }
.hours-panel {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); color: #fff; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0, 45, 77, .84), rgba(0, 30, 51, .92)), url("../img/banniere-accueil-1600.webp") 46% 85% / cover;
}
.hours-panel h3 { font-size: 1.75rem; letter-spacing: -.02em; }
.hours-panel p { color: #dcefff; }
.hours-panel .btn { margin-top: auto; }
.hours { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.hours th, .hours td { padding: 10px 0; text-align: left; vertical-align: top; font-weight: 400; border-bottom: 1px solid var(--line-light); }
.hours th { padding-right: 12px; font-weight: 500; }
.status-pill { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; padding: 6px 12px; font-size: .8125rem; font-weight: 500; border-radius: var(--radius-s); }
.status-pill:empty { display: none; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.open { color: var(--success); background: #e2f4ea; }
.status-pill.closed { color: var(--error); background: #fdecea; }
.contact-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.contact-tile { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.tile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tile-head svg { width: 36px; height: 36px; flex: none; }
.tile-head h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); overflow-wrap: anywhere; }
.tile-head a { text-decoration: none; }
.tile-head a:hover { text-decoration: underline; }
.contact-tile p { font-size: .9375rem; margin-bottom: .5em; }
.contact-tile--deep { background: var(--azure-800); color: #fff; border-color: var(--azure-800); }
.contact-tile--deep p { color: #dcefff; }
.contact-tile--mid { background: var(--paper-2); }
.contact-tile--mid svg, .contact-tile--light svg { color: var(--azure-700); }
.contact-tile--mid p, .contact-tile--light p { color: var(--ink-muted); }
.contact-tile--light { background: #fff; }
.contact-tile--light a { color: var(--azure-800); font-weight: 500; }
.tile-note { margin-top: 10px; font-size: .875rem !important; }
.map-wrap { position: relative; min-height: 460px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: linear-gradient(rgba(0, 45, 77, .35), rgba(0, 45, 77, .35)), url("../img/banniere-accueil-1600.webp") center 70% / cover; }
.map-consent > div { max-width: 460px; padding: 28px; background: #fff; border-radius: var(--radius); }
.map-consent .pin { width: 32px; height: 32px; margin: 0 auto 10px; color: var(--azure-700); }
.map-consent p { margin: 8px 0 18px; font-size: .9375rem; color: var(--ink-muted); }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* 13. Espace client ------------------------------------------------------- */
.login-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.login-card { display: grid; gap: 16px; align-content: start; }
.login-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: .9375rem; }
.login-aside { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 380px; padding: 32px; color: #fff; border-radius: var(--radius); background: linear-gradient(180deg, rgba(0, 45, 77, .35), rgba(0, 30, 51, .92) 75%), url("../img/banniere-accueil-1600.webp") 50% 92% / cover; }
.login-aside p { color: #dcefff; max-width: 30em; }
.aside-list { display: grid; gap: 10px; margin-bottom: 8px; color: #dcefff; }
.aside-list li { position: relative; padding-left: 22px; }
.aside-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--azure); border-radius: 2px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); }
.auth-tabs button { min-height: 42px; font: inherit; font-weight: 500; color: var(--ink-muted); background: none; border: 0; border-radius: 3px; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 1px 4px rgba(0, 24, 43, .1); }
.auth-form { display: grid; gap: 16px; }
.auth-title { font-size: 1.3rem; }
.link-btn { padding: 0; font: inherit; color: var(--azure-700); text-decoration: underline; background: none; border: 0; cursor: pointer; }
.form-alert:empty { display: none; }

/* Espace connecté */
.espace-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.espace-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.espace-addr { margin-top: 4px; color: var(--ink-muted); }
.espace-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.espace-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.espace-side { display: grid; gap: 24px; }
.panel-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 1.2rem; }
.panel-h .count { padding: 2px 9px; font-family: var(--font-mono); font-size: .8rem; color: var(--azure-700); background: var(--paper-2); border-radius: 999px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.kv dt { color: var(--ink-muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.veh-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.veh-card + .veh-card { margin-top: 12px; }
.veh-card h4 { margin-bottom: 10px; font-size: 1rem; }
.veh-card .kv { gap: 6px 16px; font-size: .9375rem; }
.empty-note { color: var(--ink-muted); }
.hist-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.type-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 13px; font: inherit; font-size: .875rem; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.type-chip i { width: 10px; height: 10px; background: var(--c); border-radius: 50%; }
.type-chip[aria-pressed="true"] { color: #fff; background: var(--c); border-color: var(--c); }
.type-chip[aria-pressed="true"] i { background: #fff; }
.hist-group + .hist-group { margin-top: 22px; }
.hist-group h4 { margin-bottom: 10px; font-family: var(--font-mono); font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.hist-item { display: grid; grid-template-columns: 6px minmax(140px, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); }
.hist-item + .hist-item { margin-top: 10px; }
.hist-item .bar { background: var(--c); border-radius: 4px; }
.hist-item .hist-modif { display: inline-flex; margin-top: 10px; }
.hist-item strong { display: block; }
.hist-item .t { color: var(--c); font-weight: 600; }
.hist-item span { display: block; font-size: .9375rem; color: var(--ink-muted); }
.status-tag { display: inline-block !important; width: fit-content; margin-top: 4px; padding: 2px 9px; font-size: .78rem !important; font-weight: 500; color: #8a5a00 !important; background: #fff4cc; border-radius: 999px; }
.edit-veh { position: relative; margin-top: 14px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); }
.edit-veh .remove { position: absolute; top: 10px; right: 10px; }
.edit-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: .875rem; }
.member-box { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; margin-bottom: 4px; background: var(--paper-2); border: 1px solid var(--azure); border-radius: var(--radius-s); }
.member-box svg { width: 22px; height: 22px; flex: none; color: var(--azure-700); }
.member-box p { color: var(--ink-muted); font-size: .9375rem; }
@media (max-width: 900px) {
  .espace-grid { grid-template-columns: minmax(0, 1fr); }
  .hist-item { grid-template-columns: 6px minmax(0, 1fr); }
  .hist-item > div:last-child { grid-column: 2; }
}
@media (max-width: 560px) {
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .espace-actions .btn { flex: 1 1 100%; }
}
#espace-info { margin: 0 0 20px; }

/* 14. Pied de page -------------------------------------------------------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: var(--azure); padding-block: clamp(48px, 6vw, 72px) 28px; }
.site-footer .snow-canvas { z-index: -1; }
.site-footer :focus-visible { outline-color: var(--ink); }
.site-footer .btn--primary { background: var(--navy); color: #fff; }
.site-footer .btn--primary:hover { background: var(--azure-800); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(0, 24, 43, .28); }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-logo { flex: none; padding: 6px 10px; background: #fff; border-radius: var(--radius-s); }
.footer-logo img { height: 72px; width: auto; }
.footer-brand p { max-width: 28em; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 32px; }
.footer-grid h2 { margin-bottom: 14px; font-size: .9375rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0; color: var(--ink); }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid address { font-style: normal; display: grid; gap: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: .875rem; border-top: 1px solid rgba(0, 24, 43, .28); }

/* 15. Animations ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .snow-canvas { display: none; }
  .svc-row { position: static; }
}

/* 16. Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .about-cards, .process-grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 22px; }
  .header-inner { gap: 20px; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 960px) {
  :root { --gutter: 16px; --header-h: 84px; }
  body { padding-bottom: 76px; }
  .brand img { height: 62px; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99; display: none; flex-direction: column; align-items: stretch; gap: 4px;
    margin: 0; padding: 20px var(--gutter); font-size: 1.25rem; color: var(--ink); background: var(--paper); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--azure-700); }
  .nav-extra { display: grid; gap: 10px; margin-top: 16px; }
  .section-head, .page-hero__head, .about-top, .split, .svc-row, .booking-layout, .contact-top, .contact-trio, .login-wrap { grid-template-columns: minmax(0, 1fr); }
  .svc-row { top: calc(var(--header-h) + 8px); gap: 18px; padding-block: 24px; border-bottom: 0; box-shadow: 0 -10px 24px -18px rgba(0, 24, 43, .35); }
  .svc-row:first-child { box-shadow: none; }
  .svc-row img { aspect-ratio: 16 / 9; max-height: 38svh; }
  .side-card { position: static; }
  .mobile-cta {
    position: fixed; inset: auto 0 0; z-index: 90; display: flex; gap: 8px; padding: 10px var(--gutter); padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { flex: 1; padding-inline: 10px; }
  .hero-home__bottom { flex-direction: column; align-items: stretch; }
  .hero-badge { align-self: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-home__scene {
    background:
      linear-gradient(180deg, rgba(0, 24, 43, .38) 0%, rgba(0, 24, 43, .08) 40%, rgba(0, 24, 43, .55) 100%),
      url("../img/banniere-accueil-mobile.webp") 40% 70% / cover no-repeat;
  }
  .hero-home .actions .btn { flex: 1 1 100%; }
  .hero-badge { flex-wrap: wrap; align-self: stretch; }
  .hero-badge ul { width: 100%; }
  .hero-badge li { flex: 1 1 0; min-width: 0; }
  .about-cards, .process-grid, .grid-4, .partners, .steps, .form-grid, .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .about-card, .stat-card { min-height: 200px; }
  .process-card, .grid-4 .card, .steps li { min-height: 0; gap: 24px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .photo-slot, .gallery .photo-slot:last-child { grid-column: auto; min-height: 180px; }
  .timeline { padding: 4px 20px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cal-head, .cal-grid { gap: 3px; }
  .cal-day { min-height: 44px; font-size: .875rem; }
  .partners li { padding: 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --- Référents supplémentaires (formulaire de rendez-vous) --- */
.referents-box { display: grid; gap: 10px; }
.referents-title { margin: 0; font-weight: 600; }
.ref-row { position: relative; margin: 0; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); }
.ref-row legend { padding: 0 6px; font-size: .85rem; font-weight: 600; color: var(--ink-muted); }
.ref-row { display: flex; flex-direction: column; }
.ref-row .ref-remove { order: 2; align-self: flex-end; margin-top: 12px; }
#add-referent { justify-self: start; }

/* --- Réponse du client au rappel (espace client) --- */
.status-tag--confirme { color: #0d6b3a !important; background: #dcf5e7; }
.status-tag--annule { color: #a3213a !important; background: #fde3e8; }
.status-tag--modification_refusee { color: #5b6475 !important; background: #eef1f6; }

/* --- Page « Mon rendez-vous » (boutons de l'e-mail de rappel) --- */
.reply-card { max-width: 720px; margin: 0 auto; }
.reply-recap { margin: 18px 0 22px; padding: 16px 18px; background: var(--paper); border-radius: var(--radius-s); border-left: 4px solid var(--azure); }
.reply-row { margin: 0 0 6px; }
.reply-row:last-child { margin-bottom: 0; }
.reply-row > strong:first-child { color: var(--ink); }
.reply-state { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-s); background: #eef2f7; }
.reply-state--ok { background: #e7f6ee; color: #0b6b35; }
.reply-question { margin: 0 0 10px; font-size: 1.05rem; }
.reply-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.reply-choices .btn { flex: 1 1 200px; justify-content: center; }
.reply-choices .btn[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; }
.btn.btn--confirm { background: #12a150; border-color: #12a150; color: #fff; }
.btn.btn--confirm:hover { background: #0e8a44; border-color: #0e8a44; }
.btn.btn--cancel { background: #c8344f; border-color: #c8344f; color: #fff; }
.btn.btn--cancel:hover { background: #ad2a42; border-color: #ad2a42; }
.reply-step { display: grid; gap: 14px; padding-top: 6px; }
.reply-step .month-cal { max-width: 460px; }
@media (max-width: 560px) { .reply-choices .btn { flex-basis: 100%; } }
