/* ═════════ Les Bureauticiens — système de design ═════════
   Issu de la charte (plaquette) : bleu et gris du logo, fond bleu clair,
   hexagones à bord épais, titres en capitales condensées. */

/* ───────── Jetons ───────── */
:root {
  /* Marque */
  --blue: #18a5df;         /* bleu du logo : décor, grands titres */
  --blue-600: #0b7db4;     /* boutons, liens (contraste AA sur blanc) */
  --blue-700: #086593;     /* appui */
  --slate: #4a5157;        /* gris des cadres hexagonaux */
  --grey: #666d70;         /* gris du logo */
  /* Texte */
  --ink: #2b3237;
  --ink-2: #4a545b;
  --muted: #68747c;
  /* Surfaces */
  --paper: #ffffff;
  --sky: #dcebf7;          /* fond de la plaquette */
  --sky-50: #eef5fb;
  --line: #d3dfe9;
  --night: #353c42;        /* pied de page, comme le bas de la plaquette */
  /* Typographie */
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Formes */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(43, 50, 55, .06), 0 14px 30px -14px rgba(43, 50, 55, .2);
  --shadow-lg: 0 2px 4px rgba(43, 50, 55, .05), 0 34px 60px -28px rgba(20, 80, 120, .38);
  /* Mouvement */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --nav-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 1.0625rem/1.55 var(--body); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p, ul, ol, blockquote, fieldset, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Typographie ───────── */
h1, h2, .card h3, .sol h3, .presta h3, .quote h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--slate); text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: .94; letter-spacing: -.005em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: .98; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
h3 { font-size: 1.1rem; line-height: 1.25; font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 600 .95rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--grey);
}
.kicker::before { content: ""; width: 12px; height: 13.5px; background: var(--blue); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); flex: none; }

/* ───────── Boutons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.3em; border: 0; border-radius: var(--r-sm);
  font: 600 1rem/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: transform .14s var(--ease-out), background-color .18s ease, box-shadow .18s ease;
  touch-action: manipulation; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; font-size: .95rem; padding: 0 1.1em; }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: 0 1.5em; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 22px -12px rgba(11, 125, 180, .8); }
.btn-primary:active { background: var(--blue-700); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-grow { flex: 1; }
.btn .ic, .link-arrow .ic { transition: transform .22s var(--ease-out); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--blue-600); padding: 10px 0; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--blue-700); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--grey); }
  .btn-quiet:hover { background: rgba(43, 50, 55, .06); }
  .btn-primary:hover .ic:last-child, .link-arrow:hover .ic, a:hover > .link-arrow .ic { transform: translateX(4px); }
}

/* ───────── Hexagone (signature de la charte) ───────── */
.hex { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 16px 18px rgba(43, 50, 55, .22)); }
.hex-frame { fill: none; stroke: var(--slate); stroke-width: 13; stroke-linejoin: round; }

/* ───────── Avis / note ───────── */
.stars { display: inline-flex; gap: 2px; }
.star { width: 18px; height: 18px; fill: #f5a623; }
.rating { display: inline-flex; align-items: center; gap: 10px; font-size: .98rem; color: var(--ink-2); padding: 8px 0; }
.rating b { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { a.rating:hover span { text-decoration: underline; text-underline-offset: 3px; } }

/* ───────── Navigation ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  transition: box-shadow .25s ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(43, 50, 55, .1), 0 10px 24px -18px rgba(43, 50, 55, .35); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo { gap: 12px; }
.logo img { height: 52px; width: auto; }
.logo .logo-word { height: 36px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 10px 13px; white-space: nowrap;
  font: 600 1.06rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2);
  transition: color .16s ease;
}
.nav-links a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease-out); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { transform: scaleX(1); } }
/* Menu « Nos métiers » */
.menu { position: relative; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  font: 600 1.06rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); border-radius: var(--r-sm);
  transition: color .16s ease;
}
.menu-btn[data-current], .menu-btn[aria-expanded="true"] { color: var(--ink); }
.menu-btn .ic { width: 16px; height: 16px; color: var(--blue-600); transition: transform .2s var(--ease-out); }
.menu-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.menu-panel {
  position: absolute; top: calc(100% + 10px); left: -14px; width: 620px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px var(--line);
  transform-origin: top left; opacity: 0; transform: scale(.97) translateY(-4px); pointer-events: none; visibility: hidden;
  transition: opacity .14s ease, transform .18s var(--ease-out), visibility 0s .18s;
}
.menu.is-open .menu-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .16s ease, transform .2s var(--ease-out); }
.nav-links .menu-panel a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); white-space: normal;
  font: inherit; letter-spacing: 0; text-transform: none; color: var(--ink); transition: background-color .14s ease;
}
.nav-links .menu-panel a::after { display: none; }
.menu-panel a > .ic { flex: none; width: 24px; height: 24px; color: var(--blue-600); stroke-width: 1.6; }
.menu-panel b { display: block; font: 700 1.2rem/1.1 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--slate); }
.menu-panel small { display: block; font-size: .86rem; line-height: 1.3; color: var(--muted); }
.nav-links .menu-panel a[aria-current="page"] { background: var(--sky-50); }
.menu-panel a[aria-current="page"] b { color: var(--blue-600); }
@media (hover: hover) and (pointer: fine) { .menu-btn:hover { color: var(--ink); } .nav-links .menu-panel a:hover { background: var(--sky-50); } }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; min-height: 42px; white-space: nowrap; }
.nav-tel .ic { color: var(--blue-600); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-sm); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: var(--slate); transition: transform .25s var(--ease-out); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50), var(--sky)); padding: calc(var(--nav-h) + clamp(40px, 6vw, 84px)) 0 clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero .lead { margin-top: 22px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .rating { margin-top: 20px; }
.hero-copy > * { animation: rise .6s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .05s; } .hero-copy > :nth-child(3) { animation-delay: .1s; }
.hero-copy > :nth-child(4) { animation-delay: .15s; } .hero-copy > :nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Nid d'abeille : trois hexagones emboîtés, comme la couverture de la plaquette */
.honeycomb, .duo { position: relative; width: 100%; margin-inline: auto; }
.honeycomb { max-width: 560px; aspect-ratio: 1 / .96; }
.honeycomb .hex, .duo .hex { position: absolute; animation: hexIn .7s var(--ease-out) both; }
/* Sept hexagones, un par métier : un au centre, six autour */
.honeycomb .hex { width: 34%; }
.honeycomb .hex-frame { stroke-width: 15; }
.h-a { left: 33%; top: 33.8%; animation-delay: .08s; }    /* centre */
.h-b { left: 33%; top: 1.4%; animation-delay: .16s; }     /* haut */
.h-c { left: 60.6%; top: 17.6%; animation-delay: .22s; }  /* haut droite */
.h-d { left: 60.6%; top: 50%; animation-delay: .28s; }    /* bas droite */
.h-e { left: 33%; top: 66.2%; animation-delay: .34s; }    /* bas */
.h-f { left: 5.4%; top: 50%; animation-delay: .4s; }      /* bas gauche */
.h-g { left: 5.4%; top: 17.6%; animation-delay: .46s; }   /* haut gauche */
@keyframes hexIn { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.honey-mark { position: absolute; width: 74%; right: -30%; top: -12%; opacity: .1; pointer-events: none; }

.hero-page { padding-bottom: clamp(48px, 6vw, 80px); }
.duo { max-width: 520px; aspect-ratio: 1 / .78; }
.duo .hex { width: 62%; }
.d-a { left: 0; top: 0; animation-delay: .1s; }
.d-b { left: 43%; top: 39%; width: 57% !important; animation-delay: .22s; }
.duo .honey-mark { width: 70%; right: -26%; top: -22%; }
.crumb { display: flex; gap: 10px; margin-bottom: 18px; font: 600 .95rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.crumb a { color: var(--blue-600); }
.ticks { display: grid; gap: 10px; margin-top: 24px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .ic { color: var(--blue-600); stroke-width: 2.6; }
.ticks-row { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-2); font-size: 1rem; }

/* ───────── Réassurance ───────── */
.proof { background: var(--slate); color: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 28px 24px; display: grid; gap: 4px; }
.proof-grid > div + div { border-left: 1px solid rgba(255, 255, 255, .16); }
.proof b { font: 700 clamp(1.9rem, 3vw, 2.5rem)/1 var(--display); text-transform: uppercase; color: #fff; }
.proof-grid > div:nth-child(odd) b { color: #6cc8f2; }
.proof span { font-size: .95rem; color: #c8d2d9; line-height: 1.35; }

/* ───────── Sections ───────── */
.section { padding: clamp(68px, 9vw, 124px) 0; position: relative; }
.section-tight { padding-top: 0; }
.sky { background: var(--sky-50); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4.500vw, 56px); text-align: center; }
.section-head .kicker { justify-content: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head.left .kicker { justify-content: flex-start; }
.section-head > p:not(.kicker) { margin-top: 16px; font-size: 1.12rem; color: var(--ink-2); }
.section-head a:not(.rating) { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.section-head .rating { margin-top: 12px; }

/* Cartes solutions (accueil) */
.sols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.sol {
  position: relative; grid-column: span 3; display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px 24px 22px; background: var(--paper); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.sol:nth-child(-n+3) { grid-column: span 4; }
.sol-hex { width: 132px; margin: 0 0 14px -4px; }
.sol:nth-child(-n+3) .sol-hex { width: 168px; }
.sol-body { display: flex; flex-direction: column; flex: 1; }
.sol .link-arrow { margin-top: auto; }
.sol.reveal { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .2s ease; }
.sol:nth-child(even) h3 { color: var(--blue); }
.sol h3 { font-size: 1.75rem; line-height: 1; }
.sol p { margin: 10px 0 12px; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.sol ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sol li { font-size: .84rem; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--sky-50); color: var(--ink-2); }
.sol:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .sol:hover { box-shadow: inset 0 0 0 1.5px var(--blue), var(--shadow); }
  .sol .hex { transition: transform .35s var(--ease-out); }
  .sol:hover .hex { transform: scale(1.04) rotate(-2deg); }
}

/* Formules */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border-radius: var(--r-lg); padding: 30px 28px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 4px solid var(--slate); }
.card:nth-child(2) { border-top-color: var(--blue); }
.card:nth-child(2) h3 { color: var(--blue); }
.card-num { font: 700 1rem/1 var(--display); letter-spacing: .12em; color: var(--muted); margin-bottom: 22px; }
.card h3 { font-size: 2.1rem; line-height: 1; }
.card p { color: var(--ink-2); margin: 12px 0 14px; flex: 1; }
.fin { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; font-size: .85rem; color: var(--muted); }
.fin img { height: 20px; width: auto; }

/* Méthode */
.method { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.method-visual { position: sticky; top: calc(var(--nav-h) + 40px); }
.method-hex { max-width: 440px; margin-inline: auto; }
.method .lead { margin-top: 18px; }
.pull { margin-top: 24px; padding-left: 20px; border-left: 4px solid var(--blue); font-size: 1.2rem; font-weight: 500; line-height: 1.4; color: var(--ink); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.steps li { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--sky-50); }
.steps li > span {
  flex: none; display: grid; place-items: center; width: 40px; height: 36px;
  background: var(--slate); color: #fff; font: 700 1.2rem/1 var(--display);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.steps li:nth-child(even) > span { background: var(--blue); }
.steps p { color: var(--ink-2); margin-top: 3px; font-size: .98rem; line-height: 1.4; }

/* Avis */
.avis-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.avis { grid-column: span 2; background: var(--paper); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.avis-lg { grid-column: span 4; grid-row: span 2; padding: 34px; }
.avis-lg blockquote { font-size: 1.28rem; line-height: 1.45; color: var(--ink); }
.avis blockquote { flex: 1; color: var(--ink-2); line-height: 1.5; }
.avis figcaption { display: flex; align-items: center; gap: 12px; }
.avis figcaption b { display: block; font-weight: 600; line-height: 1.2; }
.avis figcaption small { color: var(--muted); font-size: .85rem; }
.avatar { display: grid; place-items: center; width: 42px; height: 38px; background: var(--sky); color: var(--blue-700); font: 700 1.2rem/1 var(--display); text-transform: uppercase; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.temoignage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.temoignage .avis { grid-column: auto; grid-row: auto; background: var(--sky-50); box-shadow: none; }

/* Logos partenaires */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line); }
.logos li { display: grid; place-items: center; height: 96px; padding: 12px; box-shadow: 0 0 0 .75px var(--line); background: #fff; }
.logos img { max-height: 40px; max-width: 104px; width: auto; height: auto; }
.marques { margin-top: 44px; }
.marques > p { font: 600 .95rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.logos-row { display: flex; flex-wrap: wrap; border-radius: var(--r); width: fit-content; max-width: 100%; }
.logos-row li { width: 148px; height: 84px; }

/* Prestations (pages métier) */
.prestas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.presta { display: flex; gap: 20px; padding: 26px; border-radius: var(--r-lg); background: var(--sky-50); }
.presta:last-child:nth-child(odd) { grid-column: 1 / -1; }
.presta-ic { flex: none; display: grid; place-items: center; width: 58px; height: 52px; background: var(--slate); color: #fff; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.presta-ic .ic { width: 24px; height: 24px; }
.presta h3 { font-size: 1.7rem; line-height: 1; }
.presta:nth-child(even) h3 { color: var(--blue); }
.presta:nth-child(even) .presta-ic { background: var(--blue); }
.presta ul { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.presta li { font-size: .93rem; font-weight: 500; padding: 5px 11px; border-radius: 6px; background: #fff; color: var(--ink-2); }

/* Autres solutions */
.autres { display: grid; gap: 8px; margin-top: 24px; }
.autre { display: flex; align-items: center; gap: 14px; padding: 7px 16px 7px 8px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .18s ease, transform .14s var(--ease-out); }
.autre:active { transform: scale(.985); }
.autre-hex { width: 58px; flex: none; filter: none; }
.autre-hex .hex-frame { stroke-width: 18; }
.autre span { flex: 1; }
.autre b { display: block; font: 700 1.25rem/1.1 var(--display); text-transform: uppercase; color: var(--slate); }
.autre small { color: var(--muted); font-size: .88rem; }
.autre > .ic { color: var(--blue-600); transition: transform .22s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .autre:hover { box-shadow: inset 0 0 0 1.5px var(--blue); } .autre:hover > .ic { transform: translateX(4px); } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { border-top: 1.5px solid var(--line); }
details { border-bottom: 1.5px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-weight: 600; font-size: 1.12rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--blue-600); border-bottom: 2.5px solid var(--blue-600); transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease-out); }
details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
details p { padding: 0 4px 24px; color: var(--ink-2); max-width: 60ch; }
details[open] p { animation: fadeUp .28s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* ───────── Devis ───────── */
.devis { position: relative; overflow: hidden; background: var(--sky); padding: clamp(68px, 9vw, 120px) 0; scroll-margin-top: var(--nav-h); }
.devis::before { content: ""; position: absolute; left: -6%; bottom: -30%; width: min(620px, 60vw); aspect-ratio: 1463 / 1600; background: url(assets/logo-mark-sm.png) center / contain no-repeat; opacity: .09; pointer-events: none; }
.devis-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.devis .lead { margin-top: 18px; }
.devis-call { margin-top: 26px; color: var(--ink-2); }
.devis-call a { font: 700 1.7rem/1 var(--display); color: var(--slate); margin-left: 6px; white-space: nowrap; }

.quote { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.quote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.quote h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1; }
.quote-count { font: 700 1.05rem/1 var(--display); letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.progress { height: 4px; background: var(--sky); margin: 16px 0 22px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(.3333); transition: transform .45s var(--ease-out); }

.step { display: none; }
.step.is-active { display: block; animation: stepIn .28s var(--ease-out) both; }
.step.is-active.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-14px); } }

.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.need:last-child:nth-child(odd) { grid-column: 1 / -1; }
.need { position: relative; cursor: pointer; }
.need input, .chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.need > span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--sky-50); height: 100%; box-shadow: inset 0 0 0 1.5px transparent; transition: transform .14s var(--ease-out), background-color .16s ease, box-shadow .16s ease; }
.need .ic { grid-row: 1 / 3; width: 26px; height: 26px; color: var(--blue-600); stroke-width: 1.6; }
.need b { font: 700 1.22rem/1.05 var(--display); text-transform: uppercase; color: var(--slate); }
.need small { font-size: .84rem; color: var(--muted); line-height: 1.25; }
.need:active > span { transform: scale(.97); }
.need input:checked + span { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.need input:checked + span b { color: var(--blue-600); }
.need input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--blue-600); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .need:hover > span { box-shadow: inset 0 0 0 1.5px var(--line); } .need:hover input:checked + span { box-shadow: inset 0 0 0 2px var(--blue); } }
.hint { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.error { font-size: .93rem; color: #b3261e; font-weight: 600; margin-top: 10px; }

.group + .group { margin-top: 18px; }
.group-label { font-size: .92rem; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); background: var(--sky-50); font-size: .98rem; font-weight: 500; transition: transform .14s var(--ease-out), background-color .16s ease, color .16s ease; }
.chips label:active span { transform: scale(.96); }
.chips input:checked + span { background: var(--slate); color: #fff; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: .9rem; font-weight: 600; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); border: 0; background: var(--sky-50); font-size: 1rem; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .16s ease, background-color .16s ease; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--blue-600); }
.field input.is-invalid { box-shadow: inset 0 0 0 2px #b3261e; }
.legal { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.quote-nav { display: flex; gap: 8px; margin-top: 24px; }

.quote-done { text-align: center; padding: 28px 8px 12px; animation: stepIn .3s var(--ease-out) both; }
.quote-done:focus { outline: 0; }
.quote-done p { color: var(--ink-2); margin-top: 10px; }
.quote-done .done-alt { margin-bottom: 14px; }
.quote-done a { color: var(--blue-600); font-weight: 600; }
.done-badge { display: inline-grid; place-items: center; width: 68px; height: 60px; background: var(--blue); color: #fff; margin-bottom: 16px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); animation: pop .4s var(--ease-out) both; }
.done-badge .ic { width: 28px; height: 28px; stroke-width: 2.6; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }

/* ───────── Pied de page ───────── */
.footer { background: var(--night); color: #c8d2d9; padding-top: clamp(48px, 6vw, 76px); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1.1fr; gap: 36px; padding-bottom: 44px; }
.footer .logo img { height: 70px; } .footer .logo img + img { height: 46px; }
.footer-brand p { margin: 18px 0 10px; line-height: 1.5; }
.footer h3 { font: 600 1rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer a { color: #fff; }
.coords li { display: flex; gap: 12px; line-height: 1.45; }
.coords .ic { color: #6cc8f2; margin-top: 3px; width: 19px; height: 19px; }
.footer small { color: #9daab3; font-size: .88rem; }
.rating-dark { color: #c8d2d9; } .rating-dark b { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: #9daab3; }
.footer-legal a { color: #c8d2d9; margin-left: 20px; } .footer-legal a:first-child { margin-left: 0; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { text-decoration: underline; text-underline-offset: 3px; } }

.mbar { display: none; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ───────── Adaptation ───────── */
@media (max-width: 1180px) {
  .nav-tel span { display: none; }
  .nav-tel { width: 42px; justify-content: center; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line); }
  .nav-in { gap: 16px; } .nav-links > a, .menu-btn { padding: 10px 9px; } .nav-links > a::after { left: 9px; right: 9px; }
  .sol, .sol:nth-child(-n+3) { grid-column: span 6; } .sol:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  :root { --nav-h: 68px; }
  .burger { display: block; }
  .nav-cta { margin-left: auto; gap: 8px; }
  .logo img { height: 44px; } .logo .logo-word { height: 30px; }
  .nav-links {
    position: absolute; top: calc(var(--nav-h) + 8px); left: 12px; right: 12px; margin: 0; flex-direction: column; gap: 0; padding: 8px;
    background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px var(--line);
    transform-origin: top right; opacity: 0; transform: scale(.97) translateY(-6px); pointer-events: none; visibility: hidden;
    transition: opacity .16s ease, transform .2s var(--ease-out), visibility 0s .2s;
  }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s ease, transform .25s var(--ease-out); }
  .nav-links { max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-links > a { padding: 14px 16px; font-size: 1.2rem; } .nav-links a::after { display: none; }
  .menu-btn { width: 100%; padding: 12px 16px 6px; font-size: .95rem; letter-spacing: .16em; color: var(--grey); pointer-events: none; }
  .menu-btn .ic { display: none; }
  .menu-panel { position: static; width: auto; padding: 0 4px 8px; margin-bottom: 8px; grid-template-columns: 1fr 1fr; box-shadow: none; border-bottom: 1.5px solid var(--line); border-radius: 0; opacity: 1; transform: none; pointer-events: auto; visibility: inherit; transition: none; }
  .menu-panel small { display: none; }
  .nav-links .menu-panel a { padding: 11px 12px; }
  .nav-links a[aria-current="page"] { color: var(--blue-600); }
  .hero-grid, .method, .faq, .devis-grid, .temoignage { grid-template-columns: 1fr; }
  .honeycomb { max-width: 440px; } .duo { max-width: 420px; }
  .method-visual { position: static; } .method-hex { max-width: 320px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { padding: 22px 16px; }
  .proof-grid > div:nth-child(3) { border-left: 0; }
  .proof-grid > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .cards3, .prestas { grid-template-columns: 1fr; }
  .card-num { margin-bottom: 14px; }
  .avis-grid { grid-template-columns: 1fr 1fr; } .avis, .avis-lg { grid-column: span 1; grid-row: auto; } .avis-lg { grid-column: span 2; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .mbar {
    display: flex; gap: 10px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 -1px 0 rgba(43, 50, 55, .1);
    transform: translateY(110%); transition: transform .3s var(--ease-out);
  }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; } .mbar .btn-primary { flex: 1.4; }
  .footer-legal { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .nav .btn-sm { display: none; }
  .hero-actions .btn { width: 100%; }
  .sol, .sol:nth-child(-n+3) { grid-column: 1 / -1; padding: 22px 22px 18px; }
  .sol-hex, .sol:nth-child(-n+3) .sol-hex { width: 132px; }
  .menu-panel { grid-template-columns: 1fr; }
  .steps, .fields { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; } .avis-lg { grid-column: auto; padding: 26px; } .avis-lg blockquote { font-size: 1.1rem; }
  .logos { grid-template-columns: repeat(3, 1fr); } .logos li { height: 78px; } .logos img { max-height: 32px; max-width: 84px; }
  .logos-row li { width: 33.33%; } .logos-row { width: 100%; }
  .presta { padding: 22px 20px; gap: 14px; } .presta-ic { width: 46px; height: 41px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .quote { margin-inline: -6px; }
  .devis-call a { display: block; margin: 6px 0 0; }
}

/* ───────── Préférences d'accessibilité ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) { .nav, .mbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --muted: #3f4a51; --line: #8d9ba6; --blue: #0b7db4; } .nav, .mbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
