/*
 * Silicium — atelier de réparation fictif, Tanger.
 * Langage visuel : la carte électronique. Papier technique quadrillé, vernis vert
 * des circuits, pistes de cuivre et vias, marquages sérigraphiés (J1, U1…),
 * cartes en forme de puce avec leurs broches, estimateur lu sur un écran de
 * multimètre. Aucune arche (Dar Zellige), aucun pétale (Warda), aucun angle
 * brut ni ombre pleine (Mouja).
 *
 * Contrastes mesurés (WCAG) :
 *   encre / papier 15,0 · gris / papier 5,8 · cuivre foncé / papier 5,4
 *   blanc / cuivre foncé 6,0 · sérigraphie / vernis 8,7 · LED / vernis 5,4
 *   ambre / vernis 5,0 · sérigraphie / vernis foncé 11,2 · encre / LED 9,3
 *   Le cuivre vif (#C2702E) ne porte AUCUN texte courant : pistes, vias et
 *   très grand texte seulement (3,3 sur papier), jamais sur le vernis (2,7).
 */
:root {
  --papier: #F3F2EC;
  --encre: #14201A;
  --gris: #56605B;
  --vernis: #0E4D35;
  --vernis2: #0A3A28;
  --ecran: #072619;
  --seri: #F2F1E6;
  --cuivre: #C2702E;
  --cuivre-txt: #9A4E17;
  --led: #5ED6A0;
  --ambre: #E8B04B;
  --trait: #C9C6B8;
  --blanc: #FFFFFF;
  --wa: #0F7A55;

  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --titre: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --track: -0.02em;
  --r: 6px;
  --focus: var(--encre);
  --wrap: 1200px;
  --pad: clamp(16px, 4vw, 40px);
}

[dir="rtl"] {
  --sans: "Noto Sans Arabic", system-ui, sans-serif;
  --titre: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
  --track: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--encre);
  background-color: var(--papier);
  background-image:
    linear-gradient(rgba(20, 32, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 26, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}
[dir="rtl"] body { line-height: 1.8; }
h1, h2, h3 { font-family: var(--titre); letter-spacing: var(--track); line-height: 1.1; margin: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.45; }
p { margin: 0 0 1em; }
a { color: inherit; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.section-board, .site-footer, .track-card .readout { --focus: var(--ambre); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--encre); color: var(--seri); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--r); cursor: pointer;
  font: 600 17px var(--sans); text-decoration: none; color: var(--blanc); background: var(--cuivre-txt);
  box-shadow: 0 3px 0 #5C2E0D;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out, background 140ms;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 #5C2E0D; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #5C2E0D; }
.btn:disabled { cursor: not-allowed; opacity: 0.45; transform: none; box-shadow: 0 3px 0 #5C2E0D; }
.btn-ghost { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.btn-ghost:hover, .btn-ghost:active { box-shadow: inset 0 0 0 2px var(--encre); }
.btn-small { min-height: 44px; padding: 8px 16px; font-size: 16px; }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transition: none; transform: none; } }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--papier); border-bottom: 1px solid transparent; transition: border-color 150ms; }
.site-header.is-scrolled { border-bottom-color: var(--trait); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; color: var(--vernis); }
.brand-chip { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; color: var(--encre); }
.brand-mark { font: 800 22px var(--mono); letter-spacing: -0.01em; }
.brand-tag { font-size: 13px; color: var(--gris); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 10px; min-height: 44px; font-weight: 600; font-size: 16px; text-decoration: none; border-radius: var(--r); }
.nav ul a:hover { background: rgba(14, 77, 53, 0.08); }
.nav ul a[aria-current="true"] { color: var(--cuivre-txt); box-shadow: inset 0 -3px 0 var(--cuivre); border-radius: 0; }
.lang { display: flex; border: 1.5px solid var(--encre); border-radius: var(--r); overflow: hidden; }
.lang button { min-width: 44px; min-height: 40px; padding: 0 8px; border: 0; cursor: pointer; background: transparent; color: var(--encre); font: 600 14px var(--sans); }
.lang button + button { border-inline-start: 1.5px solid var(--encre); }
.lang button[aria-pressed="true"] { background: var(--vernis); color: var(--seri); }
.lang button[lang="ar"] { font-family: "Noto Sans Arabic", sans-serif; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1.5px solid var(--encre); border-radius: var(--r); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--encre); transition: transform 150ms, opacity 150ms; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1060px) {
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px var(--pad) 22px; background: var(--papier); border-bottom: 1px solid var(--trait); }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { font-size: 20px; border-bottom: 1px solid var(--trait); border-radius: 0; }
  .lang { align-self: flex-start; }
}

/* ---------- Photos ---------- */
.photo { background: var(--vernis2) center / cover no-repeat; }
.photo:not(.has-image) { background-image: repeating-linear-gradient(90deg, transparent 0 22px, rgba(194, 112, 46, 0.35) 22px 24px); }

/* ---------- Puce : la carte de base du site ---------- */
.chip { position: relative; margin: 0; background: var(--blanc); border: 2px solid var(--encre); border-radius: var(--r); }
.chip::before, .chip::after {
  content: ""; position: absolute; top: 18px; bottom: 18px; width: 8px; pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--trait) 0 7px, transparent 7px 16px);
}
.chip::before { inset-inline-start: -10px; }
.chip::after { inset-inline-end: -10px; }
.ref {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 4px;
  font-size: 13px; font-weight: 700; color: var(--seri); background: rgba(10, 58, 40, 0.88);
}
.ref::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ambre); }

/* ---------- Accueil ---------- */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(32px, 5vw, 56px); }
.traces { position: absolute; color: var(--trait); pointer-events: none; }
.traces-hero { inset-inline-end: 0; top: 40px; width: 55%; height: 70%; opacity: 0.55; }
[dir="rtl"] .traces-hero { transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 6vw, 72px) clamp(28px, 4vw, 48px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cuivre-txt); margin-bottom: 20px; }
[dir="rtl"] .kicker { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.kicker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--cuivre); }
.hero-title { font-weight: 700; font-size: clamp(40px, 5.4vw, 70px); margin-bottom: 22px; }
.hero-lead { font-size: clamp(18px, 1.5vw, 20px); max-width: 34em; color: #2A3530; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo .photo { aspect-ratio: 4 / 3; border-radius: calc(var(--r) - 2px); }

.spec { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 2px solid var(--encre); border-bottom: 1px solid var(--trait); background: rgba(255, 255, 255, 0.55); }
.spec > div { padding: 16px 18px; border-inline-start: 1px dashed var(--trait); }
.spec > div:first-child { border-inline-start: 0; }
.spec dt { font-size: 15px; font-weight: 800; color: var(--cuivre-txt); letter-spacing: 0.04em; }
[dir="rtl"] .spec dt { font-family: var(--titre); letter-spacing: 0; }
.spec dd { margin: 4px 0 0; font-weight: 500; font-size: 16px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section-tight { padding-block: clamp(48px, 7vw, 80px); }
.section-board {
  background-color: var(--vernis); color: var(--seri);
  background-image:
    radial-gradient(circle at 12px 12px, rgba(232, 176, 75, 0.18) 2.5px, transparent 3px),
    linear-gradient(rgba(242, 241, 230, 0.04) 1px, transparent 1px);
  background-size: 96px 96px, 24px 24px;
}
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 14px 22px; align-items: start; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head h2 { font-weight: 700; font-size: clamp(34px, 4.4vw, 54px); }
.sec-lead { max-width: 40em; margin-top: 12px; font-size: 18px; }
.designator {
  justify-self: start; display: inline-grid; place-items: center; min-width: 56px; height: 40px; padding-inline: 10px; margin-top: 6px;
  font-size: 18px; font-weight: 800; color: var(--cuivre-txt); border: 2px solid currentColor; border-radius: 4px;
}
.section-board .designator, .section-board .sec-head h2 { color: var(--ambre); }
.section-board .sec-head h2 { color: var(--seri); }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Estimateur ---------- */
.estimator { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.est-steps { display: grid; gap: 28px; }
.est-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
.est-step legend, .est-step > label { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 19px; color: var(--seri); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ambre); color: var(--ambre); font-size: 15px; font-weight: 800; }
.devices, .issues { display: flex; flex-wrap: wrap; gap: 10px; }
.devices input, .issues input, .mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.device {
  display: grid; justify-items: center; gap: 6px; min-width: 132px; flex: 1 1 132px; padding: 16px 10px 14px; cursor: pointer;
  border: 2px solid rgba(242, 241, 230, 0.35); border-radius: var(--r); font-weight: 600; text-align: center;
  transition: border-color 140ms, background 140ms;
}
.device svg { width: 40px; height: 40px; color: var(--led); }
.device:hover { border-color: var(--seri); }
.devices input:checked + .device { background: var(--seri); color: var(--vernis2); border-color: var(--seri); }
.devices input:checked + .device svg { color: var(--vernis); }
.issue {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; cursor: pointer;
  border: 1.5px solid rgba(242, 241, 230, 0.35); border-radius: 999px; font-weight: 500;
  transition: border-color 140ms, background 140ms;
}
.issue:hover { border-color: var(--seri); }
.issues input:checked + .issue { background: var(--ambre); color: var(--encre); border-color: var(--ambre); font-weight: 600; }
.devices input:focus-visible + .device, .issues input:focus-visible + .issue, .mode input:focus-visible + label { outline: 3px solid var(--ambre); outline-offset: 3px; }
.est-empty { margin: 0; color: #B9C9BF; }
.est-step input[type="text"] {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 17px; color: var(--encre);
  background: var(--seri); border: 2px solid var(--seri); border-radius: var(--r);
}
.hint { margin: 0; font-size: 14px; color: #B9C9BF; }

.readout { position: sticky; top: 96px; display: grid; gap: 18px; }
.readout-screen {
  padding: 22px 22px 18px; border-radius: 10px; background: var(--ecran); border: 2px solid #1D5A41;
  box-shadow: inset 0 0 0 6px #0B3324, inset 0 0 40px rgba(94, 214, 160, 0.06);
  transition: border-color 200ms;
}
.readout.is-live .readout-screen { border-color: var(--led); }
.readout-label { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8FB8A3; }
[dir="rtl"] .readout-label { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.readout-range { margin: 0 0 14px; font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; color: var(--led); line-height: 1.15; }
[dir="rtl"] .readout-range { font-family: var(--titre); }
.readout-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 10px; padding-top: 12px; border-top: 1px dashed rgba(94, 214, 160, 0.35); }
.readout-meta dt { font-size: 13px; color: #8FB8A3; }
.readout-meta dd { margin: 2px 0 0; font-weight: 600; color: var(--seri); }
.readout-note { margin: 0; font-size: 15px; color: var(--seri); }
.readout-note:empty { display: none; }
.mode { margin: 0; padding: 0; border: 0; }
.mode legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.mode-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mode label { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; cursor: pointer; border: 1.5px solid rgba(242, 241, 230, 0.35); border-radius: var(--r); }
.mode input:checked + label { background: var(--seri); color: var(--vernis2); border-color: var(--seri); font-weight: 600; }
.fine { margin: 0; font-size: 14px; color: #B9C9BF; }
@media (max-width: 920px) {
  .estimator { grid-template-columns: 1fr; }
  .readout { position: static; }
}

/* ---------- Services ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service { display: flex; flex-direction: column; }
.service .photo { aspect-ratio: 4 / 3; border-radius: calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0; border-bottom: 2px solid var(--encre); }
.service-body { padding: 18px 20px 6px; }
.service h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.service p { font-size: 16px; color: #2A3530; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 400ms ease-out, transform 400ms ease-out; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 1060px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } .chip::before, .chip::after { display: none; } }

/* ---------- Suivi ---------- */
.section-trace { overflow: hidden; }
.trace-photo { position: absolute; inset: 0; filter: saturate(0.85) brightness(0.55); }
.track-wrap { position: relative; }
.track-card { max-width: 680px; padding: clamp(24px, 4vw, 40px); background: var(--papier); border: 2px solid var(--encre); border-radius: 10px; }
.sec-head-tight { margin-bottom: 22px; }
.track-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.track-row { display: flex; gap: 10px; flex-wrap: wrap; }
.track-row input { flex: 1 1 200px; min-height: 52px; padding: 12px 14px; font-size: 19px; font-weight: 700; letter-spacing: 0.04em; color: var(--encre); background: var(--blanc); border: 2px solid var(--encre); border-radius: var(--r); direction: ltr; }
[dir="rtl"] .track-row input { text-align: right; }
.track-form .hint { color: var(--gris); margin-top: 10px; }
.track-result:not(:empty) { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--trait); }
.track-msg { margin: 0; font-weight: 600; color: var(--cuivre-txt); }
.track-head { font-weight: 700; margin-bottom: 18px; }
.timeline { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 11px; inset-inline: 12.5%; height: 3px; background: var(--trait); }
.timeline li { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; font-size: 15px; }
.timeline .dot { position: relative; z-index: 1; width: 25px; height: 25px; border-radius: 50%; border: 3px solid var(--trait); background: var(--papier); }
.timeline .is-done .dot { background: var(--cuivre); border-color: var(--cuivre); }
.timeline .is-done:not(:last-child)::after { content: ""; position: absolute; top: 11px; inset-inline-start: 50%; width: 100%; height: 3px; background: var(--cuivre); }
.timeline .is-current .dot { border-color: var(--vernis); background: var(--led); box-shadow: 0 0 0 5px rgba(94, 214, 160, 0.35); }
.timeline .is-current .t-label { font-weight: 700; }
.timeline .is-todo .t-label { color: var(--gris); }
.t-state { font-size: 12px; font-weight: 700; color: var(--vernis); }
.track-note { margin: 0; padding: 12px 14px; border-inline-start: 3px solid var(--cuivre); background: rgba(194, 112, 46, 0.08); border-radius: 0 var(--r) var(--r) 0; }
[dir="rtl"] .track-note { border-radius: var(--r) 0 0 var(--r); }
@media (prefers-reduced-motion: no-preference) {
  .timeline .is-current .dot { animation: led 1.8s ease-in-out infinite; }
  @keyframes led { 50% { box-shadow: 0 0 0 9px rgba(94, 214, 160, 0.12); } }
}

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
/* La piste va du centre de la 1re pastille au centre de la 4e : début de la 4e colonne = 75 % + 21 px, plus 28 px de rayon. */
.steps::before { content: ""; position: absolute; top: 27px; inset-inline-start: 28px; inset-inline-end: calc(25% - 49px); height: 3px; background: var(--cuivre); }
.steps li { position: relative; }
.via { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; background: var(--papier); border: 3px solid var(--cuivre); font-weight: 800; font-size: 17px; color: var(--cuivre-txt); }
.steps h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.steps p { font-size: 16px; color: #2A3530; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .steps::before { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 3px; height: auto; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 18px; }
  .steps .via { grid-row: span 2; margin: 0; }
}

/* ---------- Engagements ---------- */
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust li { padding: 22px 22px 8px; border: 1.5px solid rgba(242, 241, 230, 0.3); border-radius: var(--r); position: relative; }
.trust li::before { content: ""; position: absolute; top: -8px; inset-inline-start: 22px; width: 30px; height: 14px; border-radius: 3px; background: var(--cuivre); }
.trust h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--ambre); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.review { margin: 0; padding: 20px; background: var(--blanc); border: 2px solid var(--encre); border-radius: var(--r); }
.review cite { font-style: normal; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.faq-grid .sec-head { margin-bottom: 0; }
.faq details { border-top: 1.5px solid var(--encre); }
.faq details:last-child { border-bottom: 1.5px solid var(--encre); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; padding: 16px 44px 16px 0; position: relative; font-weight: 600; font-size: 18px; }
[dir="rtl"] .faq summary { padding: 16px 0 16px 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; inset-inline-end: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 3px solid var(--cuivre); transition: background 150ms; }
.faq details[open] summary::after { background: var(--cuivre); }
.faq details p { padding-bottom: 16px; max-width: 42em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Infos ---------- */
.info-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.info-grid h3 { font-size: 19px; font-weight: 700; color: var(--ambre); margin: 22px 0 8px; }
.hours { margin: 0; display: grid; gap: 6px; max-width: 380px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(242, 241, 230, 0.28); padding-bottom: 6px; }
.hours dd { margin: 0; font-weight: 700; }
.contact a { display: inline-block; padding-block: 8px; min-height: 44px; color: var(--seri); text-underline-offset: 3px; }
.info-photo { background: var(--vernis2); border-color: var(--seri); }
.info-photo .photo { aspect-ratio: 3 / 2; border-radius: calc(var(--r) - 2px); }
.info-photo::before, .info-photo::after { background: repeating-linear-gradient(to bottom, rgba(242, 241, 230, 0.4) 0 7px, transparent 7px 16px); }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--vernis2); color: var(--seri); padding-block: 40px 96px; font-size: 15px; overflow: hidden; }
.footer-brand { font-size: clamp(40px, 12vw, 180px); font-weight: 800; line-height: 0.9; margin: 0 0 26px; color: transparent; -webkit-text-stroke: 1.5px rgba(242, 241, 230, 0.3); letter-spacing: -0.03em; }
.site-footer p { max-width: 62em; }
.credits a { color: var(--seri); text-underline-offset: 2px; }
.small { color: #B9C9BF; }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 4.5rem; z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; background: var(--wa); color: var(--blanc); border-radius: 14px; box-shadow: 0 6px 16px rgba(10, 58, 40, 0.35); }
.wa-float:hover { background: #0B6044; }

/* ---------- Petits écrans ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .spec { grid-template-columns: 1fr 1fr; }
  .spec > div:nth-child(odd) { border-inline-start: 0; }
  .spec > div:nth-child(n + 3) { border-top: 1px dashed var(--trait); }
  .traces-hero { width: 100%; opacity: 0.3; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero-ctas .btn { width: 100%; }
  .device { min-width: 120px; flex-basis: calc(50% - 5px); }
}
