/* ==========================================================================
   Multitek Solutions — Location de borne photo (Oise)
   Feuille de style unique. Aucune dépendance externe.
   1.Police 2.Jetons 3.Reset 4.Typo 5.Layout 6.Boutons 7.En-tête 8.Hero
   9.Étapes 10.Tarifs 11.Zone 12.Bandeau 13.Galerie 14.FAQ 15.Formulaires
   16.Pied 17.Barre mobile 18.Espace client 19.Utilitaires
   ========================================================================== */

/* 1. Police -------------------------------------------------------------- */
/* ==== TYPO-DEBUT — bloc géré par outils/changer-typo.js, ne pas éditer ====
   Pour changer la typographie des titres :
       node outils/changer-typo.js manrope|space-grotesk|archivo|bricolage|fraunces
   Le script remplace ce bloc, copie la police et met à jour le preload des
   pages. Police actuelle : Manrope, sous licence SIL Open Font License 1.1. */
@font-face {
  font-family: 'Multitek Titre';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --f-titre-secours: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --titre-graisse: 700;
  --titre-approche: -.03em;
}
/* ==== TYPO-FIN ==== */

/* Titres : Syne. Corps : Plus Jakarta Sans. Toutes deux SIL Open Font
   License 1.1 (voir assets/fonts/). Choix aligné sur la référence retenue :
   moderne, rond, lumineux. Accents français dans le sous-ensemble latin. */
@font-face {
  font-family: 'Multitek Titres';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/assets/fonts/syne-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Multitek Corps';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

/* 2. Jetons de design ---------------------------------------------------- */
:root {
  /* Palette claire et lumineuse : bleu du logo en couleur principale, une
     touche rouge pour l'énergie, sur fond blanc. Formes rondes, esprit festif
     mais net — dans l'esprit de la référence retenue. */
  --bg:          #FFFFFF;
  --surface:     #FFFFFF;
  --soft-bg:     #F3F6FC;   /* sections claires bleutées */
  --ink:         #101828;   /* presque noir bleuté — 16:1 sur blanc */
  --ink-soft:    #566072;   /* 6.3:1 sur blanc */
  --accent:      #1A6BFF;   /* bleu vif et lumineux */
  --accent-dark: #0F52D6;
  --accent-lite: #9FC2FF;   /* sur fonds sombres */
  --accent-wash: #EAF1FF;   /* fond bleu très pâle */
  --pop:         #F5333F;   /* rouge chaud — petites touches, énergie */
  --pop-dark:    #DA1E2B;
  --navy:        #0C1C3D;   /* bleu nuit pour le pied de page / blocs sombres */
  --navy-soft:   #17284E;
  --rule:        #E4E9F2;
  --rule-dark:   #263560;
  --sand:        #F3F6FC;
  --ok:          #17694A;
  --warn:        #8A5A00;

  --f-display: 'Multitek Titres', var(--f-titre-secours);
  --f-title: 'Multitek Corps', var(--f-titre-secours);
  --f-body: 'Multitek Corps', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --gap: 1.5rem;
  --section-y: clamp(3.5rem, 8vw, 8rem);
  --wrap: 1160px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.10);
}

/* 3. Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.section--navy :focus-visible, .site-footer :focus-visible,
.hero :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: .75rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.15rem;
  border-radius: var(--radius); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: .75rem; }

/* 4. Typographie --------------------------------------------------------- */
/* L'axe optique éventuel de la police est piloté par le navigateur
   (font-optical-sizing), plutôt que réglé à la main niveau par niveau. */
/* Titres : Syne, gras mais en casse normale (pas de capitales), arrondis. */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h4 {
  font-family: var(--f-body); font-weight: 700;
  line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 4rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.1; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.15em; max-width: 64ch; }
a  { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 2px; font-weight: 600; }
a:hover { color: var(--accent-dark); }
strong, b { font-weight: 700; }
small { font-size: .875rem; }

.lede { font-size: clamp(1.08rem, 2.4vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; font-weight: 400; max-width: 60ch; }
.eyebrow {
  font-family: var(--f-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 .9rem; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent-wash); padding: .4rem .85rem; border-radius: 999px;
}
.eyebrow--light { color: #fff; background: rgba(255,255,255,.14); }

/* Filet « onde » — rappel du signal du logo */
.rule-wave { display: none; }
.rule-wave--light { color: var(--accent-lite); }
.rule-wave--center { margin-inline: auto; }

/* 5. Layout -------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap--narrow { max-width: 760px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--sand { background: var(--soft-bg); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p, .section--navy li { color: #C9D2E6; }
.section--navy a { color: var(--accent-lite); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head p { color: var(--ink-soft); }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* 6. Boutons ------------------------------------------------------------- */
/* Boutons ronds, lumineux, en casse normale. Le bleu = l'action principale. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; min-height: 50px;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(26,107,255,.28); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 24px rgba(26,107,255,.34); }
.btn--ghost { background: var(--surface); color: var(--accent); border-color: var(--rule); }
.btn--ghost:hover { background: var(--accent-wash); color: var(--accent-dark); border-color: var(--accent-lite); }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: var(--accent-wash); color: var(--accent-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: #fff; color: var(--accent); }
.btn--block { width: 100%; }
.btn--sm { padding: .55rem 1.15rem; min-height: 40px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* 7. En-tête ------------------------------------------------------------- */
/* Fond blanc : c'est ce que le logo Multitek exige. Ses bleus les plus
   sombres (#02143C) sont à 1.1:1 du bleu nuit du site — sur fond navy, le
   bandeau du logo disparaît purement et simplement. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface); color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; position: relative; }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; padding-block: .5rem; }
.brand-mark { width: 38px; height: 38px; flex: none; }
/* Marque seule en image (pied de page, fond bleu nuit) : ratio 2.3, pas carré.
   On utilise la version claire du logo — sur le bleu nuit, le flanc gauche du
   M, presque noir dans le logo d'origine, disparaissait dans le fond. */
img.brand-mark { width: auto; height: 42px; }
.brand-logo { height: 38px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--f-title); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; }
.brand-name b { font-weight: 400; color: #A9B6D4; }
.brand-tag { font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: #93A2C6; }

/* Baseline de l'en-tête : garde le mot-clé « borne photo » visible, puisque
   le logo seul ne dit pas le métier. Masquée sous 620 px, faute de place. */
.brand-baseline {
  display: none; align-self: center; white-space: nowrap;
  padding-left: .9rem; margin-left: .2rem;
  border-left: 1px solid var(--rule);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); line-height: 1.35;
}
@media (min-width: 700px) { .brand-baseline { display: block; } }
@media (min-width: 1000px) { .brand-logo { height: 44px; } .brand-baseline { font-size: .75rem; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--ink);
  color: var(--ink); border-radius: var(--radius); padding: .55rem .8rem;
  min-height: 44px; cursor: pointer; font-size: .9rem; font-weight: 600;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; display: block; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: -1.25rem; right: -1.25rem; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--rule);
  box-shadow: 0 10px 24px rgba(17,29,69,.09);
  padding: .5rem 1.25rem 1.4rem;
}
.site-nav ul { list-style: none; display: flex; flex-direction: column; }
.site-nav li + li { border-top: 1px solid var(--rule); }
.site-nav a { display: block; padding: .95rem .25rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .btn { margin-top: 1rem; }

@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  .site-nav { display: block !important; position: static; padding: 0; background: none; border: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: .2rem; }
  .site-nav li + li { border-top: 0; }
  .site-nav a { padding: .55rem .7rem; font-size: .95rem; white-space: nowrap; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
  .site-nav .btn { margin: 0 0 0 .6rem; padding: .7rem 1.15rem; min-height: 44px; white-space: nowrap; }
}

/* 8. Hero ---------------------------------------------------------------- */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; }
.hero p { color: #C9D2E6; }
.hero .lede { color: #D5DCEC; }
.hero-figure img { border-radius: var(--radius); width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(127,176,255,.12); border: 1px solid rgba(127,176,255,.35);
  color: var(--accent-lite); border-radius: 999px;
  padding: .4rem .95rem; font-size: .82rem; font-weight: 600; margin-bottom: 1.35rem;
}
.hero-points { list-style: none; display: grid; gap: .6rem; margin: 1.75rem 0 2rem; }
.hero-points li { display: flex; gap: .65rem; align-items: flex-start; color: #D5DCEC; }
.hero-points svg { flex: none; margin-top: .32em; color: var(--accent-lite); }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; } }

/* --- Hero « affiche » : titre pleine largeur + image en bande edge-to-edge - */
/* --- Hero photo : image en fond, texte par-dessus (comme la référence) --- */
.hero--photo { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero--photo .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero--photo .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* Voile sombre pour la lisibilité du texte (pas un dégradé décoratif). */
.hero--photo::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9,17,38,.94) 0%, rgba(9,17,38,.82) 42%, rgba(9,17,38,.45) 100%);
}
.hero--photo .wrap { padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero--photo .hero-content { max-width: 640px; }
.hero--photo h1 { color: #fff; }
.hero--photo h1 em { font-style: normal; color: var(--accent-lite); }
.hero--photo .lede { color: #DCE3F2; }
.hero--photo .btn-row { margin-top: 2rem; }
.hero-feats { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; }
.hero-feats li { display: flex; align-items: center; gap: .5rem; color: #DCE3F2; font-weight: 500; font-size: .95rem; }
.hero-feats svg { flex: none; color: var(--accent-lite); }
@media (max-width: 640px) {
  .hero--photo::before { background: linear-gradient(180deg, rgba(9,17,38,.9) 0%, rgba(9,17,38,.82) 60%, rgba(9,17,38,.9) 100%); }
}

/* Bouton de la formule bleue mise en avant : blanc, pour ressortir sur le bleu */
.plan--featured .btn--primary { background: #fff; color: var(--accent); box-shadow: none; }
.plan--featured .btn--primary:hover { background: var(--accent-wash); color: var(--accent-dark); }

/* --- Bandeau défilant des types d'événements ---------------------------- */
.marquee { background: var(--accent); color: #fff; overflow: hidden; }
.marquee__track { display: inline-flex; white-space: nowrap; padding-block: .65rem; will-change: transform; animation: defile 32s linear infinite; }
.marquee__track span {
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.2rem, 3vw, 1.75rem);
  letter-spacing: .015em; display: inline-flex; align-items: center;
}
.marquee__track span::after { content: '\2726'; font-size: .55em; margin-inline: 1.4rem; opacity: .8; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- Bande de gros chiffres --------------------------------------------- */
.stats { background: var(--accent-wash); }
.stats-grid { display: grid; gap: 1.75rem; text-align: center; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { margin: 0; }
.stat b { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 4rem); line-height: 1; color: var(--accent); display: block; }
.stat span { font-weight: 600; font-size: .95rem; color: var(--ink-soft); margin-top: .5rem; display: block; }



/* 9. Étapes -------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); }
.step { position: relative; padding-top: 4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; line-height: 1; color: #fff;
  position: absolute; top: 0; left: 0;
  width: 3rem; height: 3rem; border-radius: 999px; background: var(--accent);
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(26,107,255,.28);
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-soft); margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* 10. Tarifs ------------------------------------------------------------- */
.plan {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.85rem 1.6rem; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow);
}
/* Formule mise en avant : bloc bleu plein, texte blanc. */
.plan--featured { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 16px 36px rgba(26,107,255,.28); }
.plan--featured h3, .plan--featured .plan-price, .plan--featured .plan-prints { color: #fff; }
.plan--featured .plan-guests { color: #E0EAFF; }
.plan--featured .plan-perks { color: #EAF1FF; }
.plan--featured .plan-perks svg { color: #fff; }
.plan--featured .plan-price span { color: #CFE0FF; }
.plan--featured .plan-prints { border-top-color: rgba(255,255,255,.28); }
.plan-flag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%);
  background: var(--pop); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(245,51,63,.3); white-space: nowrap;
}
.plan h3 { margin-bottom: .15rem; }
.plan-guests { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1.1rem; }
.plan-price {
  font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: var(--ink); letter-spacing: -.02em;
  margin: 0;
}
.plan-price span { font-size: .82rem; font-family: var(--f-body); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); display: block; margin-top: .55rem; }
.plan-prints { font-weight: 600; margin: 1.1rem 0 .85rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.plan-perks { list-style: none; display: grid; gap: .5rem; margin: 0 0 1.5rem; font-size: .95rem; color: var(--ink-soft); }
.plan-perks li { display: flex; gap: .55rem; align-items: flex-start; }
.plan-perks svg { flex: none; margin-top: .3em; color: var(--accent); }
.plan .btn { margin-top: auto; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.5rem; border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .97rem; background: var(--surface); }
caption { text-align: left; font-weight: 600; padding-bottom: .75rem; color: var(--ink-soft); }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 2px solid var(--ink); }
td:last-child, thead th:last-child { text-align: right; white-space: nowrap; }
td:last-child { font-weight: 600; }
tbody tr:hover { background: rgba(17,86,212,.035); }

.checklist { list-style: none; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { flex: none; margin-top: .32em; color: var(--accent); }
.section--navy .checklist svg { color: var(--accent-lite); }
@media (min-width: 760px) { .checklist--2 { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }

.note { border-left: 4px solid var(--accent); background: var(--accent-wash); padding: 1.2rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin-bottom: 0; }

/* 11. Zone d'intervention ------------------------------------------------ */
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.towns li { border: 1px solid var(--rule-dark); border-radius: 999px; padding: .45rem 1rem; font-size: .93rem; color: #D5DCEC; }
.section--sand .towns li, .section--tight .towns li { border-color: var(--rule); color: var(--ink); background: var(--surface); }

/* 12. Bandeau d'appel ---------------------------------------------------- */
.cta-band { background: var(--accent); color: #fff; }
.cta-band .wrap { padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.93); }

/* 13. Galerie ------------------------------------------------------------ */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); list-style: none; }
@media (min-width: 760px)  { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1060px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button {
  padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%;
  border-radius: var(--radius); overflow: hidden;
}
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.035); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(14,26,62,.95);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; width: auto; border-radius: var(--radius); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.35rem; line-height: 1;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: 1.1rem; left: 0; right: 0; text-align: center; color: #C9D2E6; font-size: .9rem; }

/* 14. FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.35rem 2.75rem 1.35rem 0; position: relative;
  font-family: var(--f-title); font-weight: 800; font-size: 1.1rem;
  line-height: 1.3; letter-spacing: -.01em; text-transform: none; color: var(--ink);
}
.faq-q::after {
  content: ''; position: absolute; right: .5rem; top: 50%; width: 13px; height: 13px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-25%) rotate(-135deg); }
.faq-q:hover { color: var(--accent); }
.faq-a { display: none; padding: 0 1rem 1.5rem 0; }
.faq-a.is-open { display: block; }
.faq-a p:last-child, .faq-a ul:last-child { margin-bottom: 0; }
.faq-a ul { padding-left: 1.15rem; list-style: disc; }
.faq-a li { margin-bottom: .35rem; }

/* 15. Formulaires -------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; max-width: 720px; }
.field { display: grid; gap: .4rem; }
.field label, .fieldset-legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.req { color: var(--pop); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], input[type="password"], select, textarea {
  width: 100%; padding: .8rem .9rem; min-height: 48px;
  background: var(--surface); border: 1px solid #C9C6BE; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235C6478' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.6rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17,86,212,.16); outline: none; }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: #B3261E; }

fieldset { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.15rem 1.25rem; margin: 0; }
legend { font-weight: 600; font-size: .95rem; padding-inline: .4rem; }
.options-grid { display: grid; gap: .3rem; }
@media (min-width: 620px) { .options-grid { grid-template-columns: repeat(2, 1fr); column-gap: 1.5rem; } }
.check { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: .18em; accent-color: var(--accent); }
.check span { font-size: .96rem; }
.check em { font-style: normal; color: var(--ink-soft); }

.form-footer { display: grid; gap: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #B3261E; font-size: .9rem; font-weight: 600; }
@media (min-width: 720px) { .form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

/* 16. Pied de page ------------------------------------------------------- */
.site-footer { background: var(--navy); color: #C9D2E6; padding-block: clamp(2.75rem, 6vw, 4.5rem) 0; }
.site-footer h2, .site-footer h3 {
  color: #fff; font-size: .95rem; font-family: var(--f-body); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: #C9D2E6; text-decoration: none; }
.site-footer a:hover { color: var(--accent-lite); text-decoration: underline; }
.site-footer p { color: #A9B6D4; font-size: .95rem; }
.footer-brand .brand { margin-bottom: 1rem; padding-left: 0; }
.footer-legal {
  margin-top: clamp(2.25rem, 5vw, 3.5rem); border-top: 1px solid var(--rule-dark);
  padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; font-size: .87rem; color: #8B99BC;
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-dark); border-radius: var(--radius); }
.social a:hover { border-color: var(--accent-lite); }

/* 17. Barre d'action mobile ---------------------------------------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border-top: 1px solid var(--rule);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 16px rgba(17,29,69,.1);
}
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px; font-weight: 600; font-size: .98rem; text-decoration: none; }
.mobile-cta .m-call { background: var(--accent); color: #fff; }
.mobile-cta .m-wa   { background: #128C7E; color: #fff; }
.mobile-cta--solo { grid-template-columns: 1fr; }
.mobile-cta .m-devis { background: var(--accent); color: #fff; font-weight: 700; }
.mobile-cta svg { flex: none; }
body { padding-bottom: 58px; }
@media (min-width: 1120px) { .mobile-cta { display: none; } body { padding-bottom: 0; } }

/* 18. Espace client ------------------------------------------------------ */
.client-head { background: var(--navy); color: #fff; padding-block: clamp(2rem, 5vw, 3.25rem); }
.client-head h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: .35rem; }
.client-head p { color: #C9D2E6; margin: 0; }
.client-meta { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin-top: 1.25rem; }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 999px; padding: .35rem .85rem; font-size: .84rem; font-weight: 600;
  background: var(--sand); color: var(--ink);
}
.pill--ok { background: #DCF0E6; color: var(--ok); }
.pill--wait { background: #FFF0D2; color: var(--warn); }
.pill--todo { background: #E5E9F5; color: var(--ink-soft); }
.pill--dark { background: rgba(255,255,255,.12); color: #D5DCEC; border: 1px solid rgba(255,255,255,.2); }

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card h2, .card h3 { font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }

/* Timeline de préparation */
.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.tl-step { position: relative; padding: 0 0 1.85rem 2.4rem; }
.tl-step::before {
  content: ''; position: absolute; left: 8px; top: 1.55rem; bottom: -.35rem;
  width: 2px; background: var(--rule);
}
.tl-step:last-child::before { display: none; }
.tl-step::after {
  content: ''; position: absolute; left: 0; top: .35rem;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--rule); background: var(--surface);
}
.tl-step.is-done::after { background: var(--ok); border-color: var(--ok); }
.tl-step.is-current::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(26,107,255,.2); }
.tl-step.is-done::before { background: var(--ok); }
.tl-title { font-weight: 600; display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.tl-date { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.tl-step p { margin: .3rem 0 0; color: var(--ink-soft); font-size: .96rem; }

.summary-list { list-style: none; display: grid; gap: .8rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: .8rem; }
.summary-list dt { color: var(--ink-soft); font-size: .93rem; }
.summary-list dd { margin: 0; font-weight: 600; text-align: right; }

/* 19. Utilitaires -------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.center p, .center .rule-wave { margin-inline: auto; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-soft { color: var(--ink-soft); }
.stack > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1.15em; }
.prose li { margin-bottom: .4rem; }

.crumbs { font-size: .87rem; color: var(--ink-soft); padding-top: 1.5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: '\203A'; margin-right: .4rem; color: #B9B5AC; }
.crumbs a { color: var(--ink-soft); }

/* Encart « à remplir » — supprimer après mise en ligne */
.todo {
  background: #FFF4CE; border: 1px dashed #B08900; color: #5C4600;
  padding: 1rem 1.25rem; border-radius: var(--radius); font-size: .93rem; margin-bottom: 1.5rem;
}
.todo strong { color: #5C4600; }
.todo p:last-child { margin-bottom: 0; }

@media print {
  .site-header, .mobile-cta, .site-footer, .cta-band, .skip-link { display: none !important; }
  body { padding: 0; background: #fff; }
}
