/* France-Multi-Service — feuille de style du site (jetons issus de brand/tokens.css) */
:root {
  --marine: #0A2C6E; --royal: #003A82; --eclat: #0B50AE; --ciel: #70A3D8; --brume: #ACCDF1;
  --nuage: #F1F3F7; --blanc: #FFFFFF; --encre: #1B1D24; --gris: #5A6275; --trait: #D6DEEA;
  --f-marque: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-label: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Nunito", "Segoe UI", system-ui, sans-serif;
  --f-sign: "Great Vibes", "Brush Script MT", cursive;
  --r-s: 8px; --r-m: 14px; --r-p: 999px;
  --ombre: 0 10px 30px -12px rgba(10, 44, 110, .28);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 1.0625rem/1.65 var(--f-texte); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--eclat); }
h1, h2, h3 { margin: 0; color: var(--marine); text-wrap: balance; }
p { margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brume); outline-offset: 2px; }

/* Typo utilitaires */
.eyebrow { font: 600 .8rem var(--f-label); letter-spacing: .28em; text-transform: uppercase; color: var(--eclat); }
.signature { font: 400 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--f-sign); color: var(--eclat); }
.h2 { font: 600 clamp(1.7rem, 3.2vw, 2.1rem)/1.15 var(--f-marque); }
.lead { font-size: 1.15rem; color: var(--gris); max-width: 60ch; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--royal); color: #fff; font: 600 .78rem var(--f-label); letter-spacing: .28em; text-transform: uppercase; padding: 9px 20px; border-radius: var(--r-p); }
.pill::after { content: "✦"; letter-spacing: 0; }
.section-head { display: grid; gap: 14px; justify-items: start; margin-bottom: 40px; }
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .85rem var(--f-label); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-radius: var(--r-p); padding: 15px 28px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--royal); color: #fff; box-shadow: var(--ombre); }
.btn-primary:hover { background: var(--marine); transform: translateY(-1px); }
.btn-outline { color: var(--royal); border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--royal); color: #fff; border-color: var(--royal); }
.btn-white { background: #fff; color: var(--royal); }
.btn-white:hover { background: var(--brume); }
.btn-ghost-white { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); }

/* Barre d'infos */
.topbar { background: var(--marine); color: #DCE7FA; font: 500 .82rem var(--f-label); }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: var(--brume); stroke-width: 2; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--trait); box-shadow: 0 6px 20px -16px rgba(10,44,110,.5); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font: 600 .8rem var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--marine); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-color: var(--ciel); }
.nav .btn { padding: 12px 22px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--marine); }
.burger svg { width: 28px; height: 28px; }

/* Héros */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--nuage) 100%); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: 56px 72px; }
.hero-text { display: grid; gap: 22px; justify-items: start; position: relative; z-index: 2; }
.hero h1 { font: 600 clamp(2rem, 4.4vw, 3.25rem)/1.1 var(--f-marque); }
.hero h1 em { font-style: normal; color: var(--eclat); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-zone { display: inline-flex; align-items: center; gap: 10px; font: 600 .9rem var(--f-label); color: var(--marine); }
.hero-zone svg { width: 20px; height: 20px; fill: var(--royal); }
.hero-visual { position: relative; justify-self: end; width: min(100%, 500px); }
.hero-photo { position: relative; border-radius: 48% 52% 14px 14px / 34% 34% 14px 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10,44,110,.55); outline: 10px solid #fff; aspect-ratio: 523 / 640; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-badge { position: absolute; left: -38px; top: 34px; width: 150px; height: 150px; border-radius: 50%; background: var(--royal); color: #fff; display: grid; place-items: center; text-align: center; font: 700 .86rem/1.35 var(--f-label); letter-spacing: .05em; box-shadow: 0 0 0 7px var(--brume), 0 0 0 9px var(--ciel), var(--ombre); z-index: 3; }
.hero-badge span { display: block; color: var(--brume); font-size: 1.1rem; margin-top: 2px; }
.leaf { position: absolute; fill: var(--ciel); opacity: .55; pointer-events: none; }
.leaf.l1 { left: -30px; bottom: 10px; width: 150px; transform: rotate(18deg); }
.leaf.l2 { right: 30%; bottom: -20px; width: 110px; transform: scaleX(-1) rotate(10deg); opacity: .35; }
.wave-sep { display: block; width: 100%; height: 60px; margin-top: -1px; }

/* Bandeau garanties */
.guarantees { background: linear-gradient(180deg, #00408C, #003478); color: #fff; }
.guarantees .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 30px; }
.g-item { display: flex; gap: 14px; align-items: center; padding: 6px 20px; border-left: 1px solid rgba(255,255,255,.3); min-width: 0; }
.g-item:first-child { border-left: 0; padding-left: 0; }
.g-icon { flex: none; width: 54px; height: 54px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; }
.g-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-item h3 { color: #fff; font: 700 .82rem var(--f-label); letter-spacing: .06em; text-transform: uppercase; }
.g-item p { color: #DCE7FA; font-size: .92rem; line-height: 1.4; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 104px); }
.section.alt { background: var(--nuage); }

/* Prestations */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service { background: #fff; border: 1px solid var(--trait); border-radius: var(--r-m); padding: 26px; display: grid; gap: 12px; align-content: start; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: var(--brume); }
.service h3 { font: 700 1.12rem/1.3 var(--f-texte); color: var(--marine); }
.service p { color: var(--gris); font-size: .97rem; }
.disc { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #1D5DB8, var(--royal) 70%); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(0,58,130,.6); }
.disc svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service.more { background: var(--royal); border-color: var(--royal); color: #fff; }
.service.more h3 { color: #fff; }
.service.more p { color: #DCE7FA; }
.service.more .disc { background: #fff; }
.service.more .disc svg { stroke: var(--royal); }
.service.more a { color: #fff; font: 600 .8rem var(--f-label); letter-spacing: .12em; text-transform: uppercase; }

/* Pour qui */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aud { position: relative; background: #fff; border-radius: var(--r-m); padding: 30px 26px 26px; display: grid; gap: 12px; align-content: start; border-top: 4px solid var(--eclat); box-shadow: 0 2px 0 var(--trait); }
.aud h3 { font: 600 1.35rem/1.2 var(--f-marque); }
.aud ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.aud li { display: flex; gap: 10px; align-items: baseline; color: var(--encre); }
.aud li::before { content: "✦"; color: var(--eclat); font-size: .8rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.step { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 0 12px; position: relative; }
.step-num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--royal); color: var(--royal); font: 600 1.5rem var(--f-marque); position: relative; z-index: 1; }
.steps::before { content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--ciel) 0 8px, transparent 8px 16px); }
.step h3 { font: 700 1.1rem var(--f-texte); }
.step p { color: var(--gris); max-width: 32ch; }

/* Zone */
.zone-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.zone-map { position: relative; background: #fff; border-radius: var(--r-m); border: 1px solid var(--trait); padding: 20px; }
.zone-map svg { width: 100%; height: auto; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.town { font: 600 .85rem var(--f-label); color: var(--marine); background: #fff; border: 1.5px solid var(--brume); border-radius: var(--r-p); padding: 8px 16px; }
.town.main { background: var(--royal); color: #fff; border-color: var(--royal); }
.zone-text { display: grid; gap: 18px; justify-items: start; }

/* Devis */
.quote { background: linear-gradient(135deg, var(--royal), var(--marine)); color: #fff; position: relative; overflow: hidden; }
.quote .container { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.quote h2 { color: #fff; }
.quote .eyebrow { color: var(--brume); }
.quote .signature { color: var(--brume); }
.quote-info { display: grid; gap: 22px; align-content: start; }
.quote-info p { color: #DCE7FA; max-width: 46ch; }
.contact-lines { display: grid; gap: 14px; }
.contact-line { display: flex; gap: 14px; align-items: center; color: #fff; text-decoration: none; font-weight: 600; }
.contact-line .ico { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); display: grid; place-items: center; }
.contact-line svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-line small { display: block; font: 500 .72rem var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--brume); }
.form { background: #fff; color: var(--encre); border-radius: 18px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); display: grid; gap: 16px; }
.form h3 { font: 600 1.4rem var(--f-marque); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font: 600 .75rem var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--marine); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--f-texte); color: var(--encre); background: var(--nuage); border: 1.5px solid var(--trait); border-radius: var(--r-s); padding: 12px 14px; transition: border-color .2s, background .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--eclat); background: #fff; }
.field .err { color: #B42318; font-size: .85rem; min-height: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-note { font-size: .85rem; color: var(--gris); }
.form-ok { background: #E8F1FC; border: 1px solid var(--brume); color: var(--marine); border-radius: var(--r-s); padding: 12px 14px; font-size: .95rem; }

/* Pied de page */
.footer { background: #071E4E; color: #C9D6EE; border-top: 4px solid var(--ciel); }
.footer .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-block: 56px 32px; }
.footer img { height: 120px; width: auto; }
.footer h4 { margin: 0 0 14px; color: #fff; font: 600 .78rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px; font-size: .85rem; grid-template-columns: none; }
.footer .signature { color: var(--brume); font-size: 1.8rem; }

/* Bouton d'appel flottant (mobile) */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: none; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.fab .call { background: var(--royal); }
.fab .wa { background: #1FA855; }
.fab svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Pages légales */
.legal { padding-block: 56px 80px; }
.legal .container { max-width: 820px; display: grid; gap: 18px; }
.legal h1 { font: 600 2.2rem var(--f-marque); }
.legal h2 { font: 600 1.25rem var(--f-marque); margin-top: 18px; }
.legal p, .legal li { color: var(--encre); }
.todo { background: #FFF4D6; padding: 0 4px; border-radius: 3px; }

/* Apparition */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal.pre { opacity: 0; transform: translateY(18px); }

/* Responsive */
@media (max-width: 1020px) {
  .guarantees .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .g-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .audience { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 4px var(--gutter) 24px; border-top: 1px solid var(--trait); box-shadow: 0 20px 40px -20px rgba(10,44,110,.4); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--trait); }
  .nav .btn { margin-top: 16px; }
  .burger { display: block; }
  .hero .container { grid-template-columns: 1fr; padding-block: 36px 56px; }
  .hero-visual { justify-self: center; width: min(88%, 420px); margin-left: 30px; }
  .zone-grid, .quote .container { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .footer .container > :first-child { grid-column: 1 / -1; }
  .fab { display: grid; }
}
@media (max-width: 640px) {
  .topbar .hide-sm { display: none; }
  .brand img { height: 38px; }
  .guarantees .container { grid-template-columns: 1fr; }
  .g-item { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-badge { width: 116px; height: 116px; font-size: .7rem; left: -26px; top: 18px; }
  .footer .container { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
}

/* ===== Mobile : mise en page compacte (≤ 640 px) ===== */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding-block: 52px; }
  .section-head, .section-head.center { justify-items: start; text-align: left; margin-bottom: 24px; gap: 10px; }
  .section-head.center .lead { margin-inline: 0; }
  .h2 { font-size: 1.55rem; }
  .lead { font-size: 1rem; }
  .pill { font-size: .7rem; padding: 7px 14px; letter-spacing: .22em; }

  /* Barre d'infos et en-tête */
  .topbar .container { justify-content: space-between; padding-block: 6px; font-size: .78rem; }
  .header .container { padding-block: 10px; }
  .brand img { height: 34px; }

  /* Héros */
  .leaf, .hero-zone { display: none; }
  .hero .container { gap: 28px; padding-block: 28px 40px; }
  .hero-text { gap: 14px; }
  .hero .eyebrow { font-size: .68rem; letter-spacing: .22em; }
  .hero h1 { font-size: 1.85rem; }
  .hero .signature { font-size: 1.7rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .hero-actions .btn { flex: none; padding: 13px 10px; font-size: .74rem; letter-spacing: .08em; }
  .hero-visual { width: 100%; margin: 0; justify-self: stretch; }
  .hero-photo { aspect-ratio: 16 / 11; border-radius: 22px; outline-width: 6px; }
  .hero-photo img { object-position: center 22%; }
  .hero-badge { left: auto; right: 10px; top: -22px; width: 96px; height: 96px; font-size: .58rem; box-shadow: 0 0 0 5px var(--brume), 0 0 0 6px var(--ciel), var(--ombre); }
  .hero-badge span { font-size: .8rem; }

  /* Garanties en 2 × 2 */
  .guarantees .container { grid-template-columns: 1fr 1fr; gap: 22px 14px; padding-block: 26px; }
  .g-item { flex-direction: column; text-align: center; gap: 8px; padding: 0; border: 0; }
  .g-icon { width: 46px; height: 46px; }
  .g-icon svg { width: 22px; height: 22px; }
  .g-item h3 { font-size: .7rem; }
  .g-item p { font-size: .8rem; }

  /* Prestations en liste compacte */
  .services { grid-template-columns: 1fr; gap: 10px; }
  .service { grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 16px; align-items: start; }
  .service:hover { transform: none; }
  .service .disc { grid-row: span 2; width: 46px; height: 46px; }
  .service .disc svg { width: 22px; height: 22px; }
  .service h3 { font-size: 1rem; align-self: center; }
  .service p { font-size: .88rem; line-height: 1.5; }
  .service.more a { grid-column: 2; margin-top: 6px; }

  /* Pour qui : 3 lignes compactes */
  .audience { gap: 10px; }
  .aud { grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 16px; border-top: 0; border-left: 3px solid var(--eclat); box-shadow: none; border-radius: var(--r-s); }
  .aud .disc { grid-row: span 2; width: 44px; height: 44px; }
  .aud .disc svg { width: 22px; height: 22px; }
  .aud h3 { font-size: 1.05rem; align-self: center; }
  .aud ul { display: block; }
  .aud li { display: inline; font-size: .88rem; color: var(--gris); line-height: 1.5; }
  .aud li::before { content: none; }
  .aud li + li::before { content: " · "; color: var(--ciel); font-weight: 700; }

  /* Étapes : frise verticale */
  .steps { gap: 22px; }
  .steps::before { display: block; top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ciel) 0 6px, transparent 6px 12px); }
  .step { grid-template-columns: 44px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; padding: 0; }
  .step-num { grid-row: span 2; width: 44px; height: 44px; font-size: 1.1rem; }
  .step h3 { font-size: 1rem; align-self: center; }
  .step p { font-size: .92rem; }

  /* Zone */
  .zone-grid { gap: 24px; }
  .town { font-size: .76rem; padding: 6px 12px; }
  .zone-map { padding: 10px; }

  /* Devis */
  .quote .container { gap: 28px; }
  .quote-info { gap: 16px; }
  .contact-line .ico { width: 40px; height: 40px; }
  .quote .signature { display: none; }
  .form { padding: 20px 16px; gap: 14px; border-radius: 16px; }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }

  /* Pied de page */
  .footer .container { gap: 28px; padding-block: 40px 24px; }
  .footer img { height: 92px; }

  /* Boutons flottants */
  .fab a { width: 50px; height: 50px; }
  .fab svg { width: 22px; height: 22px; }
  .fab { transition: opacity .25s, transform .25s; }
  .fab.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }
}
.l-sm { display: none; }
@media (max-width: 640px) { .l-lg { display: none; } .l-sm { display: inline; } }
/* Pastille : un seul bloc centré ; le retrait compense l'interlettrage ajouté après la dernière lettre */
.hero-badge-in { display: block; text-align: center; padding-left: .05em; transform: translateY(2px); }
.hero-badge-in span { display: block; line-height: 1; margin-top: 4px; }
