/* Groupe Aveli : bleu marine et or, sur un fond papier clair.
   Le marine est réservé aux zones fortes (devis, pied de page) ; l'or reste un accent. */

:root {
  --paper: #FBFAF7;
  --sand: #F3EFE7;
  --white: #FFFFFF;
  --line: #E5DFD3;
  --line-strong: #D6CEBE;
  --navy: #13244A;
  --navy-2: #1C3160;
  --navy-deep: #0E1B38;
  --ink: #18223A;
  --ink-soft: #58617A;
  --gold: #B8893D;
  --gold-ink: #8A6322;
  --gold-pale: #E3C68E;
  --on-navy: #F2EFE8;
  --on-navy-soft: #AEB6C9;
  --on-navy-line: rgba(255, 255, 255, 0.14);
  --error: #A3341F;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --header-h: 72px;
  color-scheme: light;
}

/* ── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); letter-spacing: -0.012em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-pale); color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.block { padding-block: clamp(72px, 10vw, 128px); }
.ivory { background: var(--paper); }
.anchor { position: relative; top: calc(-1 * var(--header-h)); display: block; }

.label { margin-bottom: 14px; color: var(--gold-ink); font-size: 0.875rem; font-weight: 500; }

.head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.head h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.06; }
.head > p, .head-lead { color: var(--ink-soft); max-width: 34em; }
.head-lead { margin-top: 20px; }

.photo { position: relative; }
.photo img { width: 100%; border-radius: var(--radius); background: var(--sand); }
.photo figcaption { margin-top: 10px; color: var(--ink-soft); font-size: 0.82rem; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 0.95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-navy, .btn-gold { background: var(--navy); color: var(--white); }
.btn-navy:hover, .btn-gold:hover { background: var(--navy-2); }
.btn-line, .btn-outline-navy, .btn-line-light { border-color: var(--line-strong); color: var(--navy); background: transparent; }
.btn-line:hover, .btn-outline-navy:hover, .btn-line-light:hover { border-color: var(--navy); }
.btn-call { border-color: var(--line-strong); color: var(--navy); background: var(--white); }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 250, 247, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); }
.brand img { display: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-word { font: 500 1.4rem/1.05 var(--serif); letter-spacing: -0.01em; }
.brand-sub { margin-top: 3px; color: var(--ink-soft); font-size: 0.76rem; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a, .header-tel { color: var(--ink); font-size: 0.93rem; text-decoration: none; text-underline-offset: 6px; }
.nav a:hover, .header-tel:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.header-tel { font-weight: 600; color: var(--navy); white-space: nowrap; }
.header-cta { min-height: 44px; padding: 10px 20px; }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--navy); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }
.mobile-nav { display: grid; padding: 8px 0 24px; border-top: 1px solid var(--line); }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy); font: 400 1.35rem/1.2 var(--serif); text-decoration: none; }
.mobile-nav .btn { margin-top: 20px; border-bottom: 0; font: 600 0.95rem/1.2 var(--sans); color: var(--white); }

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); line-height: 1; letter-spacing: -0.02em; }
.motto { margin-top: 26px; font: italic 400 1.3rem/1.4 var(--serif); color: var(--navy); }
.lead { margin-top: 14px; max-width: 34em; color: var(--ink-soft); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-photo { isolation: isolate; }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.hero-photo::after {
  content: ""; position: absolute; z-index: -1; inset: 28px -18px -18px 28px;
  border: 1px solid var(--gold); border-radius: var(--radius); opacity: .45;
}

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(64px, 8vw, 104px); }
.pillar { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.pillar h3 { font-size: 1.35rem; line-height: 1.2; }
.pillar p { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }

/* ── Two trades ───────────────────────────────────────── */
.navy.trades { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.navy.services { background: var(--sand); color: var(--ink); }
.trade-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); align-items: start; }
.trades .trade + .trade { margin-top: clamp(0px, 8vw, 112px); }
.trade-photo { margin-bottom: 28px; }
.trade-photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.trade-k { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.trade-k h3 { font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.1; }
.trade-k .for { color: var(--gold-ink); font-size: 0.875rem; font-weight: 500; }
.trade > p { margin-top: 12px; color: var(--ink-soft); }
.offers { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.offers li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.offers b { color: var(--navy); font-weight: 600; font-size: 0.97rem; }
.offers span { color: var(--ink-soft); font-size: 0.95rem; }

/* ── Sectors ──────────────────────────────────────────── */
.duo { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.duo img { aspect-ratio: 3 / 2; object-fit: cover; }
.duo figure + figure img { aspect-ratio: 4 / 5; }
.sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.sector { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 6px 24px; align-content: start; padding: 26px 0; border-top: 1px solid var(--line); }
.sector h3 { grid-column: 1; grid-row: 1; font-size: 1.45rem; line-height: 1.15; }
.sector .label { grid-column: 1; grid-row: 2; margin: 0; color: var(--ink-soft); font-size: 0.82rem; font-weight: 400; }
.sector p { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-soft); font-size: 0.97rem; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; }
.also b { margin-right: 6px; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.also span, .cycle-note span, .promise-line span {
  padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.88rem; color: var(--ink);
}

/* ── References ───────────────────────────────────────── */
#references { background: var(--sand); }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-block: 1px solid var(--line-strong); }
.figure { padding: 30px 0 28px; }
.figure b { display: block; font: 400 clamp(2.6rem, 5vw, 3.8rem)/1 var(--serif); color: var(--navy); letter-spacing: -0.02em; }
.figure span { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.clients-title { margin-top: clamp(48px, 6vw, 72px); }
.clients { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); column-gap: 24px; }
.clients li { padding: 16px 0; border-top: 1px solid var(--line); }
.clients span { display: grid; font: 400 1.3rem/1.2 var(--serif); color: var(--navy); }
.clients small { margin-top: 4px; font: 400 0.8rem/1.3 var(--sans); color: var(--ink-soft); }

/* ── Linen cycle ──────────────────────────────────────── */
#linge { border-top: 1px solid var(--line); }
.cycle { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.stage { padding-top: 18px; border-top: 2px solid var(--navy); }
.dot { display: block; font: 400 2.4rem/1 var(--serif); color: var(--gold); }
.stage h3 { margin-top: 14px; font-size: 1.3rem; line-height: 1.2; }
.stage p { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }
.cycle-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cycle-note { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }

/* ── Territory ────────────────────────────────────────── */
#territoire { background: var(--sand); }
.panorama { margin-bottom: clamp(40px, 6vw, 64px); }
.panorama img { aspect-ratio: 16 / 6; object-fit: cover; }
.territory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(28px, 4vw, 56px); }
.dept { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.dept-num { font: 400 2.6rem/1 var(--serif); color: var(--gold-ink); }
.dept-name { margin-top: 10px; color: var(--navy); font-weight: 600; }
.dept-coast { color: var(--ink-soft); font-size: 0.92rem; }
.dept ul, .communes { list-style: none; margin-top: 14px; }
.dept li, .communes li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.dept li span:last-child, .communes li span:last-child { color: var(--ink-soft); font-size: 0.8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.city-link { color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .25s, color .2s; }
.city-link:hover { color: var(--gold-ink); background-size: 100% 1px; }
.territory-note { margin-top: 36px; color: var(--ink-soft); }
.territory-note a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ── Promises ─────────────────────────────────────────── */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.promise { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.promise svg { display: none; }
.promise h3 { font-size: 1.3rem; line-height: 1.2; }
.promise p { margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; }

/* ── Careers ──────────────────────────────────────────── */
#carrieres { border-top: 1px solid var(--line); }
.careers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.careers h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.06; }
.intro { margin-top: 20px; color: var(--ink-soft); max-width: 32em; }
.perks { list-style: none; margin-top: 36px; }
.perks li { padding: 18px 0; border-top: 1px solid var(--line); }
.perks h3 { font-size: 1.25rem; }
.perks p { margin-top: 4px; color: var(--ink-soft); font-size: 0.95rem; }

/* ── Forms ────────────────────────────────────────────── */
.form, .qcard { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 3.4vw, 40px); }
.form-title, #quote-start h3 { font: 400 1.75rem/1.15 var(--serif); color: var(--navy); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; color: var(--ink); font-size: 0.86rem; font-weight: 600; }
.opt { color: var(--ink-soft); font-weight: 400; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--sans);
  transition: border-color .2s;
}
input:hover, select:hover, textarea:hover { border-color: #BFB5A2; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
textarea { min-height: 112px; resize: vertical; }
::placeholder { color: #9AA0AE; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.choice span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.93rem; transition: background-color .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.qform .btn { width: 100%; margin-top: 22px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--ink-soft); font-size: 0.86rem; }
.qnote { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--ink-soft); font-size: 0.84rem; }
.qnote svg { width: 16px; height: 16px; flex: none; }
.error, .qerror { margin-top: 14px; color: var(--error); font-size: 0.92rem; }
.recap, .qdone { outline: none; }
.recap { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 3.4vw, 40px); }
.recap h3, .qdone h3 { font-size: 1.75rem; }
.recap > p, .qdone > p { margin-top: 10px; color: var(--ink-soft); }
pre { margin: 16px 0 0; padding: 16px; background: var(--sand); border-radius: var(--radius); white-space: pre-wrap; font: 400 0.86rem/1.55 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }
.recap-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ── Contact / quote (the one navy band) ──────────────── */
.navy { background: var(--navy); color: var(--on-navy); }
#devis h2 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.04; }
#devis .label { color: var(--gold-pale); }
#devis .intro { color: var(--on-navy-soft); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.promise-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.promise-line span { border-color: var(--on-navy-line); color: var(--on-navy); }
.ways { list-style: none; margin-top: 34px; }
.way { border-top: 1px solid var(--on-navy-line); }
.way:last-child { border-bottom: 1px solid var(--on-navy-line); }
.way > a, .way > div { display: flex; align-items: center; gap: 16px; padding: 18px 0; color: var(--on-navy); text-decoration: none; }
.way-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid var(--on-navy-line); border-radius: 50%; color: var(--gold-pale); }
.way-icon svg { width: 19px; height: 19px; }
.way .k { display: block; color: var(--on-navy-soft); font-size: 0.84rem; }
.way .v { display: block; font: 400 1.4rem/1.25 var(--serif); color: var(--white); overflow-wrap: anywhere; }
.way .go { width: 20px; height: 20px; margin-left: auto; flex: none; color: var(--gold-pale); transition: transform .2s; }
.way a:hover .go { transform: translateX(4px); }
.qcard { color: var(--ink); border: 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }

/* ── City pages ───────────────────────────────────────── */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--ink-soft); font-size: 0.86rem; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); }
.city-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; }
.city-hero .lead { margin-top: 22px; }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 3vw, 34px); }
.facts h2 { font-size: 1.6rem; line-height: 1.15; }
.facts dl { margin: 16px 0 0; }
.facts dl > div { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); font-size: 0.86rem; }
.facts dd { margin: 0; color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.facts dd a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.facts .btn { width: 100%; margin-top: 18px; }
.city-pano { margin-top: clamp(48px, 7vw, 88px); }
.city-pano img { aspect-ratio: 21 / 8; object-fit: cover; }
.services .trade { padding-top: 24px; border-top: 2px solid var(--navy); }
.served { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: start; margin-top: clamp(56px, 7vw, 96px); }
.served img { aspect-ratio: 4 / 3; object-fit: cover; }
.served h3 { margin-top: 4px !important; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.1; }
.served .sub { margin-top: 12px; color: var(--ink-soft); }
.communes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-top: 22px; }
#questions { background: var(--sand); }
.faq { max-width: 880px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 400 1.3rem/1.3 var(--serif); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font: 400 1.2rem/1 var(--sans); color: var(--gold-ink); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-ink); }
.faq details p { max-width: 46em; padding-bottom: 24px; color: var(--ink-soft); }
.others-band { padding-block: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.others-band .label { margin-bottom: 18px !important; }
.others { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); column-gap: 24px; }
.others a { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.others span { color: var(--ink-soft); font-size: 0.8rem; }
.others b { font: 400 1.35rem/1.2 var(--serif); color: var(--navy); transition: color .2s; }
.others a:hover b { color: var(--gold-ink); }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding-block: clamp(56px, 7vw, 88px) 32px; font-size: 0.93rem; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-sub { color: var(--on-navy-soft); }
.tag { margin-top: 14px; font: italic 400 1.1rem/1.4 var(--serif); color: var(--on-navy); }
.site-footer h4 { margin-bottom: 12px; color: var(--white); font-size: 0.9rem; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot-cities { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--on-navy-line); }
.fc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.fc-grid p { margin-bottom: 8px; color: var(--on-navy); font-size: 0.84rem; font-weight: 600; }
.fc-grid li { padding: 3px 0; font-size: 0.88rem; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--on-navy-line); font-size: 0.84rem; }

/* ── Mobile quick bar ─────────────────────────────────── */
.mobile-bar { display: none; }
.contact-fab, .contact-panel { display: none !important; }

/* ── Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .rise.d1 { animation-delay: .06s; } .rise.d2 { animation-delay: .14s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(12px); opacity: .001; } to { transform: none; opacity: 1; } }
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-tel { margin-left: auto; }
  .menu-toggle { display: grid; margin-left: 0; }
  .fc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid, .head, .careers, .contact, .served { grid-template-columns: minmax(0, 1fr); }
  .head { align-items: start; }
  .hero-photo { max-width: 520px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .hero-photo::after { inset: 18px -10px -10px 18px; }
  .trade-grid { grid-template-columns: minmax(0, 1fr); }
  .trades .trade + .trade { margin-top: 0; }
  .pillars, .promises, .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .territory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot > div:first-child { grid-column: 1 / -1; }
  .city-pano img { aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 250, 247, 0.96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: transform .3s ease;
  }
  .mobile-bar .btn { flex: 1; min-height: 48px; padding-inline: 12px; }
  .mobile-bar .btn svg { width: 17px; height: 17px; }
  .mobile-bar.away { transform: translateY(110%); }
  .header-cta { display: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .header-tel { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand-word { font-size: 1.25rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pillar { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 16px 0; }
  .pillar p { margin: 0; font-size: 0.9rem; }
  .pillar h3 { font-size: 1.2rem; }
  .offers li, .sector, .facts dl > div { grid-template-columns: minmax(0, 1fr); }
  .sector h3, .sector .label, .sector p { grid-column: 1; grid-row: auto; }
  .sector p { margin-top: 6px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo figure + figure img { aspect-ratio: 3 / 2; }
  .promises, .territory, .cycle { grid-template-columns: minmax(0, 1fr); }
  .cycle { row-gap: 0; gap: 0; }
  .stage { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 8px; padding: 18px 0; border-top-width: 1px; border-top-color: var(--line-strong); }
  .stage .dot { grid-row: 1 / span 2; font-size: 2rem; }
  .stage h3 { margin-top: 0; }
  .figures { gap: 0 16px; }
  .figure { padding: 22px 0; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .communes { grid-template-columns: minmax(0, 1fr); }
  .panorama img { aspect-ratio: 4 / 3; }
  .city-pano img { aspect-ratio: 4 / 3; }
  .faq summary { font-size: 1.15rem; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .way .v { font-size: 1.2rem; }
}

/* ── Trois sites, un thème (ajouts nov. 2026) ─────────────── */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; }
.skip:focus { top: 12px; }
.brand { gap: 12px; }
.brand-mark { flex: none; width: 40px; height: 40px; border-radius: 11px; }
.site-footer .brand-mark { box-shadow: 0 0 0 1px var(--on-navy-line); }
.foot-sub { display: block; margin-top: 2px; color: var(--on-navy-soft); font-size: 0.8rem; opacity: .8; }
.legal a { text-decoration: underline; text-decoration-color: var(--on-navy-line); text-underline-offset: 4px; }

/* Cartes vers les sites du groupe */
.companies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.company { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.company .photo img { border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; }
.company-body { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 36px); }
.company-body h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.1; }
.company-body p { color: var(--ink-soft); }
.company-body ul { list-style: none; border-top: 1px solid var(--line); }
.company-body li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.company-body .btn { justify-self: start; margin-top: 8px; }
.company-host { color: var(--gold-ink); font-size: 0.875rem; font-weight: 500; }

/* Lien vers le site voisin dans une carte métier */
.trade-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--navy); font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.trade-more svg { width: 16px; height: 16px; }

/* Bandeau « l'autre métier du groupe » */
.sister { padding-block: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); background: var(--sand); }
.sister .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 48px; align-items: center; }
.sister h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.sister p:not(.label) { margin-top: 10px; color: var(--ink-soft); max-width: 40em; }

/* Pages de texte (mentions légales) */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; }
.prose h2 { margin-top: 44px; font-size: 1.6rem; line-height: 1.2; }
.prose p, .prose li { margin-top: 12px; color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 4px; }

@media (max-width: 860px) {
  .companies { grid-template-columns: minmax(0, 1fr); }
  .sister .wrap { grid-template-columns: minmax(0, 1fr); }
}
