/* =========================================================
   Azuriva VTC - feuille de style
   Thème : sombre (charte Azuriva), accent unique : sable #dac590
   Rayons : boutons = pilule, panneaux/tuiles = 18px, champs = 12px
   ========================================================= */

:root {
  --bg: #15171c;
  --bg-2: #1b1e24;
  --surface: #22252d;
  --surface-2: #2a2e37;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #edeae3;
  --muted: #a3a7b0;
  --faint: #767b86;
  --accent: #dac590;
  --accent-2: #e8d9b0;
  --accent-ink: #191b20;
  --danger: #f08a7e;
  --ok: #9fd3a8;

  --r-panel: 18px;
  --r-field: 12px;
  --r-pill: 999px;

  --f-display: "Outfit", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 300; max-width: 20ch; }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: var(--r-pill); }
.skip:focus { left: 8px; }
.eyebrow { font: 600 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.section-sub { color: var(--muted); max-width: 60ch; margin-top: 18px; }
.opt { color: var(--faint); font-weight: 400; }
[hidden] { display: none !important; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  font: 600 .95rem/1 var(--f-body); letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn i { font-size: 1.15em; }
.btn:active { transform: scale(.98) translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- En-tête ---------- */
.top-sentinel { position: absolute; top: 0; height: 40px; width: 1px; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(21, 23, 28, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { width: 138px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav > a, .has-sub > a { font-size: .93rem; color: var(--muted); transition: color .2s; display: inline-flex; align-items: center; gap: 4px; height: var(--header-h); }
.main-nav > a:hover, .has-sub > a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.has-sub { position: relative; }
.has-sub > a i { font-size: .75rem; transition: transform .25s var(--ease); }
.sub { position: absolute; top: calc(100% - 8px); left: -16px; min-width: 260px; padding: 8px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 24px 50px rgba(8,9,12,.55); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > a i, .has-sub:focus-within > a i { transform: rotate(180deg); }
.sub a { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 10px 12px; border-radius: 9px; font-size: .9rem; color: var(--text); }
.sub a i { color: var(--accent); font-size: 1.05rem; }
.sub a:hover { background: rgba(255,255,255,.06); }
.mm-sub { display: flex; flex-direction: column; padding: 0 0 8px 14px; border-left: 1px solid var(--line-strong); margin: 0 0 8px 4px; }
.mobile-menu .mm-sub a { font: 400 1.05rem/1.3 var(--f-body); padding: 7px 0; color: var(--muted); }
.mobile-menu { overflow-y: auto; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.link-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; }
.link-phone i { color: var(--accent); font-size: 1.1rem; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font: 300 2rem/1.2 var(--f-display); padding: 12px 0; letter-spacing: -.02em; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 8px; color: var(--muted); padding-bottom: 80px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px; }
.hero-text { max-width: 600px; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.9rem); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-media { position: absolute; z-index: 1; inset: 0 0 0 38%; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(21,23,28,.86) 18%, rgba(21,23,28,.25) 50%, rgba(21,23,28,0) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(21,23,28,0) 30%),
    linear-gradient(180deg, rgba(21,23,28,.75) 0%, rgba(21,23,28,0) 22%);
}

/* ---------- Sections communes ---------- */
section { position: relative; }
.estimation, .services, .engagements, .zones, .faq { padding-block: clamp(80px, 11vw, 140px); }
.section-head { margin-bottom: 48px; }

/* ---------- Estimation ---------- */
.estimation { background: var(--bg-2); border-block: 1px solid var(--line); }
.est-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.est-form, .est-result { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 2.6vw, 34px); }
.est-result { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 24px; }

.field { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; min-width: 0; border: 0; padding: 0; position: relative; }
.field label, .field legend { font-size: .84rem; font-weight: 600; color: var(--muted); padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.tight { gap: 12px; }
.field-row.tight .field { margin-bottom: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], input[type="number"], textarea {
  width: 100%; height: 52px; padding: 0 16px; background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: var(--r-field); color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #858a95; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(218, 197, 144, .18); }
input[type="date"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(.8); cursor: pointer; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: .82rem; min-height: 0; }
.err:empty { display: none; }

.input-ico { position: relative; }
.input-ico i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.05rem; pointer-events: none; }
.input-ico input { padding-left: 44px; }
.route-fields { position: relative; }
.swap {
  position: absolute; right: 14px; top: calc(50% - 6px); z-index: 3; width: 38px; height: 38px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--accent); cursor: pointer;
  display: grid; place-items: center; transition: transform .35s var(--ease), border-color .2s;
}
.swap:hover { border-color: var(--accent); }
.swap.is-spun { transform: rotate(180deg); }
.route-fields .place-field:first-of-type input { padding-right: 60px; }

.ac-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-field);
  box-shadow: 0 24px 50px rgba(8, 9, 12, .55); max-height: 320px; overflow: auto;
}
.ac-list li { padding: 10px 12px; border-radius: 9px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; }
.ac-list li i { color: var(--faint); margin-top: 3px; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: rgba(255,255,255,.06); }
.ac-list .ac-main { display: block; font-weight: 600; font-size: .95rem; }
.ac-list .ac-sub { display: block; color: var(--muted); font-size: .82rem; }
.ac-list .ac-empty { color: var(--muted); cursor: default; font-size: .9rem; }
.ac-list .ac-empty:hover { background: none; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--r-field); padding: 4px; height: 52px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: grid; place-items: center; height: 100%; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: background-color .25s var(--ease), color .25s; }
.segmented input:checked + span { background: var(--accent); color: var(--accent-ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.stepper { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; height: 52px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--r-field); padding: 0 6px; }
.stepper button { height: 38px; border: 0; background: transparent; border-radius: 9px; cursor: pointer; color: var(--accent); display: grid; place-items: center; }
.stepper button:hover { background: rgba(255,255,255,.06); }
.stepper input { height: 40px; border: 0; background: transparent; text-align: center; padding: 0; font-weight: 600; -moz-appearance: textfield; }
.stepper input:focus { box-shadow: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.form-error { color: var(--danger); font-size: .9rem; margin: 0 0 16px; padding: 12px 14px; background: rgba(240, 138, 126, .08); border: 1px solid rgba(240, 138, 126, .3); border-radius: var(--r-field); }

.quick { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.quick-title { font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.quick-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: transparent; font-size: .84rem; color: var(--text); cursor: pointer; transition: border-color .2s, color .2s; }
.chip i { color: var(--accent); font-size: .85rem; }
.chip:hover { border-color: var(--accent); }

.map-box { position: relative; border-radius: 14px; overflow: hidden; background:
  radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0) 0 0 / 18px 18px, var(--bg-2);
  aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.map { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.map.is-ready { opacity: 1; }
.route-trace { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-trace path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.route-trace .trace-bg { stroke: rgba(218,197,144,.18); stroke-width: 7; }
.route-trace circle { fill: var(--bg); stroke: var(--accent); stroke-width: 2.2; }
.route-trace circle.end { fill: var(--accent); }
.map-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); text-align: center; padding: 20px; }
.map-empty i { font-size: 2rem; color: var(--accent); }

.quote-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.quote-label { font-size: .84rem; color: var(--muted); font-weight: 600; }
.quote-price { font: 300 clamp(3rem, 5vw, 4.2rem)/1 var(--f-display); color: var(--accent); letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.quote-facts { display: flex; gap: 24px; margin: 0; }
.quote-facts dt { font-size: .78rem; color: var(--faint); }
.quote-facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.quote-detail { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.quote-detail summary { cursor: pointer; color: var(--muted); font-size: .9rem; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
.quote-detail summary::-webkit-details-marker { display: none; }
.quote-detail summary::after { content: "+"; color: var(--accent); font-size: 1.1rem; }
.quote-detail[open] summary::after { content: "−"; }
.quote-detail ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.quote-detail li { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; color: var(--muted); }
.quote-detail li b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote-note { font-size: .84rem; color: var(--faint); margin-top: 14px; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quote-actions .btn { flex: 1 1 200px; }

.skeleton { display: grid; gap: 12px; }
.sk { display: block; height: 18px; border-radius: 8px; background: linear-gradient(90deg, var(--surface-2) 0%, #343843 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.sk-l { height: 56px; width: 50%; } .sk-m { width: 80%; } .sk-s { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.booking-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.back { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; }
.booking-sum { color: var(--muted); font-size: .92rem; }
.booking-sum b { color: var(--text); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 14px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; height: 20px; margin-top: 2px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--bg-2); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking .btn-block { margin-top: 10px; }
.booking-ok { text-align: left; }
.booking-ok > i { font-size: 2.4rem; color: var(--ok); }
.booking-ok h3 { font-size: 1.7rem; font-weight: 300; margin: 10px 0 8px; }
.booking-ok p { color: var(--muted); }

/* ---------- Services (bento) ---------- */
.services h2 { margin-bottom: 52px; }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "a a a a a a a b b b b b"
    "a a a a a a a c c c c c"
    "d d d d d e e e e e e e";
}
.tile { position: relative; border-radius: var(--r-panel); overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); background: var(--surface); }
.tile-a { grid-area: a; min-height: 580px; }
.tile-b { grid-area: b; }
.tile-c { grid-area: c; background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.tile-d { grid-area: d; justify-content: space-between; min-height: 340px; }
.tile-e { grid-area: e; min-height: 340px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile:has(img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,15,19,.92) 0%, rgba(14,15,19,.45) 45%, rgba(14,15,19,.05) 75%); }
.tile-body { position: relative; z-index: 2; padding: clamp(22px, 2.4vw, 32px); max-width: 46ch; }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 400; margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: .96rem; }
.tile-c p { color: rgba(25, 27, 32, .78); }
.tile-c .tile-ico { position: absolute; top: 26px; left: clamp(22px, 2.4vw, 32px); font-size: 2.2rem; }
.tile-tags { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0 clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px); display: flex; flex-wrap: wrap; gap: 8px; }
.tile-tags li { font-size: .82rem; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--muted); }
.tile-d .tile-body { padding-bottom: 18px; }

/* ---------- Engagements ---------- */
.engagements { background: var(--bg); }
.eng-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.eng-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.eng-intro p { color: var(--muted); margin-top: 22px; max-width: 44ch; }
.onboard { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.onboard li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); background: var(--surface); font-size: .87rem; }
.onboard i { color: var(--accent); font-size: 1.05rem; }
.eng-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(34px, 4vw, 54px); }
.eng-list li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.eng-list li > i { width: 56px; height: 56px; border-radius: var(--r-pill); display: grid; place-items: center; background: rgba(218,197,144,.1); color: var(--accent); font-size: 1.6rem; }
.eng-list h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 400; margin: 6px 0 10px; }
.eng-list p { color: var(--muted); max-width: 48ch; }

/* ---------- Zones ---------- */
.zones { background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; padding-top: 0; }
.marquee { padding-block: clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); margin-bottom: clamp(60px, 8vw, 100px); overflow: hidden; }
.marquee-track { display: flex; gap: clamp(36px, 4vw, 64px); width: max-content; animation: marquee 70s linear infinite; }
.marquee-track span { font: 300 clamp(2.4rem, 5vw, 4.4rem)/1 var(--f-display); letter-spacing: -.03em; color: rgba(237, 234, 227, .16); white-space: nowrap; }
.marquee-track span:nth-child(3n+2) { color: var(--accent); opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }
.zones h2 { margin-bottom: 50px; max-width: 22ch; }
.zones-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; align-items: start; }
.zone { padding: 28px; border-radius: var(--r-panel); background: var(--surface); }
.zone h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.zone h3 span { color: var(--accent); font-family: var(--f-display); font-weight: 300; font-size: 1.6rem; }
.zone p { color: var(--muted); font-size: .95rem; }
.zone-hubs { background: transparent; border: 1px solid var(--line-strong); }
.zone-hubs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.zone-hubs li { display: flex; gap: 10px; }
.zone-hubs li::before { content: ""; flex: 0 0 14px; height: 1px; background: var(--accent); margin-top: .8em; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font: 400 1.15rem/1.35 var(--f-display); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after, .accordion summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--accent); transition: transform .35s var(--ease); }
.accordion summary::before { transform: rotate(90deg); }
.accordion details[open] summary::before { transform: rotate(0); }
.accordion details p { color: var(--muted); padding: 0 44px 26px 0; max-width: 65ch; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(90px, 12vw, 160px); background:
  radial-gradient(60% 80% at 85% 10%, rgba(218,197,144,.10), transparent 60%), var(--bg); border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 16ch; letter-spacing: -.035em; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 44px; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.contact-link i { color: var(--accent); font-size: 1.15rem; }
.contact-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Pied de page ---------- */
.site-footer { background: #111317; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 160px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 38ch; font-size: .93rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font: 600 .84rem/1 var(--f-body); color: var(--faint); margin-bottom: 8px; letter-spacing: 0; }
.footer-col a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: .84rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Page légale ---------- */
.legal { padding: calc(var(--header-h) + 70px) 0 100px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 300; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; font-weight: 500; margin: 44px 0 14px; max-width: none; }
.legal p, .legal li { color: var(--muted); max-width: 72ch; }
.legal p + p { margin-top: 10px; }
.legal a { color: var(--accent); }


/* ---------- Pages intérieures ---------- */
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(218,197,144,.35); padding-bottom: 3px; transition: border-color .2s, gap .25s var(--ease); }
.text-link:hover { border-color: var(--accent); gap: 12px; }
.tile-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .88rem; font-weight: 600; color: var(--accent); transition: gap .25s var(--ease); }
.tile-c .tile-more { color: var(--accent-ink); }
a.tile:hover .tile-more, a.zone:hover .tile-more { gap: 12px; }
a.tile { color: inherit; }
.zone-link { transition: background-color .25s, transform .3s var(--ease); }
.zone-link:hover { background: var(--surface-2); }

.crumbs ol { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--accent); }

.page-hero { padding: calc(var(--header-h) + 48px) 0 clamp(56px, 7vw, 90px); background: radial-gradient(70% 90% at 90% 0%, rgba(218,197,144,.08), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero.no-img .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 22px; max-width: 18ch; }
.page-hero.no-img h1 { max-width: 22ch; }
.page-hero-media { margin: 0; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.includes-sec { padding: clamp(56px, 7vw, 90px) 0 0; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.includes li { padding: 26px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); }
.includes li > i { font-size: 1.6rem; color: var(--accent); }
.includes h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.includes p { color: var(--muted); font-size: .92rem; }

.article-sec { padding: clamp(64px, 8vw, 110px) 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.prose > div + div, .prose > * + h2 { margin-top: 44px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; max-width: 26ch; }
.prose p { color: var(--muted); max-width: 66ch; font-size: 1.02rem; }
.prose .intro { font-size: 1.15rem; color: var(--text); margin-bottom: 44px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--muted); }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: rgba(218,197,144,.16); box-shadow: inset 0 0 0 5px var(--surface), inset 0 0 0 9px var(--accent); }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { padding: 26px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.aside-card h3 { font-size: 1.25rem; }
.aside-card p { color: var(--muted); font-size: .93rem; margin-bottom: 8px; }
.aside-photo { border-radius: var(--r-panel); width: 100%; aspect-ratio: 1; object-fit: cover; }
.aside-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 22px; border-radius: var(--r-panel); border: 1px solid var(--line-strong); font-weight: 600; font-size: .93rem; transition: border-color .2s, color .2s; }
.aside-link:hover { border-color: var(--accent); color: var(--accent); }
.aside-link i { color: var(--accent); }

.routes { padding: 22px; border-radius: var(--r-panel); border: 1px solid var(--line-strong); }
.routes h3 { font-size: 1rem; margin-bottom: 10px; }
.routes ul { list-style: none; margin: 0; padding: 0; }
.routes li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.routes li:last-child a { border-bottom: 0; }
.routes li a i { color: var(--accent); font-size: .85rem; }
.routes .qp { color: var(--accent); font-size: .8rem; font-weight: 600; white-space: nowrap; opacity: .75; transition: opacity .2s; text-align: right; }
.routes .qp.is-ready { opacity: 1; color: var(--muted); font-weight: 500; }
.routes .qp b { color: var(--accent); font-weight: 600; font-size: .95rem; margin-left: 2px; }
.routes li a:hover .qp { opacity: 1; }
.routes li a span small { display: block; margin-top: 3px; font-size: .78rem; color: var(--faint); }
.routes-note { margin-top: 12px; font-size: .78rem; color: var(--faint); }
.chip .qp-chip { display: none; }
.chip .qp-chip.is-ready { display: inline; margin-left: 6px; padding-left: 8px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: .78rem; }
.chip .qp-chip b { color: var(--accent); font-weight: 600; }

.circuits, .cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.circuit, .city { padding: 22px; border-radius: var(--r-panel); background: var(--surface); }
.circuit h3, .city h3 { font-size: 1.1rem; margin-bottom: 8px; }
.circuit p, .city p { font-size: .93rem; }
.circuit span { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-size: .82rem; color: var(--accent); }

.more-sec { padding: clamp(64px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.more-sec.first { border-top: 0; padding-bottom: 0; }
.more-sec h2 { margin-bottom: 32px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prose .svc-list { grid-template-columns: 1fr; margin-top: 20px; }
.svc-list a { display: grid; grid-template-columns: 48px 1fr 20px; gap: 16px; align-items: center; padding: 18px 20px 18px 16px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
.svc-list a > i:first-child { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(218,197,144,.1); color: var(--accent); font-size: 1.35rem; }
.svc-list b { display: block; font-weight: 600; }
.svc-list small { display: block; color: var(--muted); font-size: .86rem; margin-top: 3px; }
.svc-list .arrow { color: var(--faint); transition: color .2s, transform .25s var(--ease); }
.svc-list a:hover { border-color: var(--line-strong); background: var(--surface-2); }
.svc-list a:hover .arrow { color: var(--accent); transform: translate(2px, -2px); }

.rates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.rate { padding: 26px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); }
.rate span { font: 300 2.3rem/1 var(--f-display); color: var(--accent); letter-spacing: -.02em; }
.rate span small { font-size: .45em; letter-spacing: 0; margin-left: .15em; opacity: .75; }
.rate h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.rate p { color: var(--muted); font-size: .92rem; }
.note { color: var(--faint); font-size: .9rem; margin-top: 22px; }
.note a { color: var(--accent); }
.faq-inline { border-top: 1px solid var(--line); }
.inner .faq-inline + .faq-inline { padding-top: 0; border-top: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.contact-cards { display: grid; gap: 10px; }
.contact-form h2 { font-size: 1.7rem; margin-bottom: 24px; }
select { width: 100%; height: 52px; padding: 0 16px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--r-field); color: var(--text); font-size: 1rem; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(218, 197, 144, .18); }

/* Lien carte (contact, linktree) */
.card-link { display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 18px 14px 14px; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.card-link > i:first-child { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(218,197,144,.1); color: var(--accent); font-size: 1.3rem; }
.card-link b { display: block; font-weight: 600; font-size: .98rem; }
.card-link small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.card-link .arrow { color: var(--faint); font-size: 1.05rem; transition: color .2s, transform .25s var(--ease); }
.card-link:hover { border-color: var(--line-strong); background: var(--surface-2); }
.card-link:hover .arrow { color: var(--accent); transform: translate(2px, -2px); }

/* Carte Leaflet (Plan IGN assombri) */
.map-box.has-map { background: #15171c; }
.map .leaflet-container, .map.leaflet-container { background: #15171c; font-family: var(--f-body); }
.tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.25); }
.leaflet-control-zoom { border: 1px solid var(--line-strong) !important; border-radius: 10px !important; overflow: hidden; }
.leaflet-control-zoom a { background: var(--surface-2) !important; color: var(--text) !important; border-bottom-color: var(--line) !important; }
.leaflet-control-attribution { background: rgba(21,23,28,.75) !important; color: var(--faint) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }

.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: .93rem; font-weight: 600; }
.footer-contact i { color: var(--accent); }
.footer-bottom span a { margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .hero .reveal { transition-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .hero-media img { animation: heroIn 1.8s var(--ease) both; }
  @keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .sk { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =================== Responsive =================== */
@media (max-width: 1240px) {
  .main-nav { gap: 20px; }
  .link-phone span { display: none; }
}
@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .main-nav > a, .has-sub > a { font-size: .88rem; }
}
@media (max-width: 1000px) {
  :root { --header-h: 64px; }
  .main-nav, .link-phone { display: none; }
  .burger { display: block; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }

  .hero { min-height: auto; flex-direction: column-reverse; align-items: stretch; }
  .hero-media { position: relative; inset: auto; height: 46vh; min-height: 300px; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(21,23,28,.4) 40%, rgba(21,23,28,.2) 70%, rgba(21,23,28,.75) 100%); }
  .hero-copy { padding-top: 0; margin-top: -90px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.2rem, 9.4vw, 3.4rem); margin-bottom: 18px; }
  .hero-cta { margin-top: 26px; }
  .hero .eyebrow { margin-bottom: 16px; }

  .est-grid { grid-template-columns: 1fr; }
  .est-result { position: static; }
  .page-hero-grid, .article-grid, .contact-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: calc(var(--header-h) + 28px); }
  .aside { position: static; }
  .includes { grid-template-columns: 1fr 1fr; }
  .rates { grid-template-columns: 1fr 1fr; }


  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b c" "d d" "e e"; }
  .tile-a { min-height: 440px; }

  .eng-grid, .faq-grid { grid-template-columns: 1fr; }
  .eng-intro { position: static; }
  .zones-grid { grid-template-columns: 1fr 1fr; }
  .zone-hubs { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  body:not(.card-page) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 23, 28, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font-weight: 600; font-size: .9rem; }
  .mobile-bar a i { font-size: 1.15rem; color: var(--accent); }
  .mobile-bar a.is-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .mobile-bar a.is-accent i { color: var(--accent-ink); }
}
@media (max-width: 640px) {
  .includes, .rates, .svc-list, .circuits, .cities { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row.tight { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; }
  .tile, .tile-a, .tile-d, .tile-e { min-height: 340px; }
  .tile-c { min-height: 240px; }
  .zones-grid { grid-template-columns: 1fr; }
  .quote-facts { gap: 18px; }
  .quote-actions .btn { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .accordion summary { font-size: 1.05rem; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
}

/* ---------- Écrans tactiles : zones de clic d'au moins 44 px ---------- */
@media (pointer: coarse) {
  .footer-col a, .footer-contact a { display: flex; align-items: center; min-height: 44px; }
  .footer-col { gap: 0; }
  .contact-link { min-height: 44px; }
  .text-link { min-height: 44px; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 36px; }
  .leaflet-touch .leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; }
  .routes li a { min-height: 52px; }
  .card-quick a { min-height: 72px; }
}
/* Tablette en paysage : grille de services sur 3 colonnes plus aérée */
@media (min-width: 1001px) and (max-width: 1200px) {
  .hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
  .page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
}

/* Page Tarifs : calculateur directement sous le titre */
.page-hero.compact { padding-bottom: 36px; border-bottom: 0; }
.estimation.is-compact { padding-top: 8px; border-top: 0; background: var(--bg); }
/* La carte reste sous l'en-tête et la barre mobile */
.map-box { isolation: isolate; z-index: 0; }
.mobile-bar { z-index: 60; }
.footer-bottom span { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; }
.footer-bottom span a { margin-left: 0; }
@media (max-width: 380px) {
  .mobile-bar { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mobile-bar a { font-size: .84rem; gap: 6px; }
}

/* =================== Actualités / Travel guides =================== */
.lang-tag { font-size: .62rem; font-weight: 700; letter-spacing: .08em; color: var(--faint); border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 4px; margin-left: 4px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: .86rem; color: var(--faint); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta i { color: var(--accent); }

.news-sec { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.news-filter .chip span { color: var(--faint); font-size: .78rem; margin-left: 2px; }
.news-filter .chip.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.news-filter .chip.is-on i, .news-filter .chip.is-on span { color: var(--accent-ink); }

.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, background-color .2s, transform .3s var(--ease); }
.post-card a:hover { border-color: var(--line-strong); background: var(--surface-2); }
.post-cover { position: relative; aspect-ratio: 16 / 8; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 140% at 100% 0%, rgba(218,197,144,.16), transparent 55%),
              linear-gradient(135deg, #1d2027 0%, #262a33 100%);
  border-bottom: 1px solid var(--line); overflow: hidden; }
.post-cover::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(218,197,144,.18); box-shadow: 0 0 0 26px rgba(218,197,144,.04), 0 0 0 52px rgba(218,197,144,.025); }
.post-cat { position: relative; z-index: 1; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.post-cover-t { position: relative; z-index: 1; font: 300 clamp(1.4rem, 2vw, 1.75rem)/1.1 var(--f-display); letter-spacing: -.02em; color: var(--text); max-width: 16ch; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h2, .post-body h3 { font: 500 1.12rem/1.3 var(--f-display); letter-spacing: -.01em; max-width: none; margin: 0; }
.post-body p { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta-s { margin-top: auto; padding-top: 6px; font-size: .78rem; color: var(--faint); }
.more-sec .post-grid { margin-bottom: 8px; }

/* Corps d'article */
.post .tldr { padding: 22px 24px; border-radius: var(--r-panel); background: rgba(218,197,144,.07); border: 1px solid rgba(218,197,144,.22); margin-bottom: 36px; }
.post .tldr-t { font: 600 .74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.post .tldr p:not(.tldr-t) { color: var(--text); font-size: 1.04rem; }
.post .disclaimer { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); padding: 14px 16px; border-radius: var(--r-field); border: 1px dashed var(--line-strong); margin-bottom: 32px; }
.post .disclaimer i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; }
.post-body-c > * + * { margin-top: 16px; }
.post-body-c h2 { margin-top: 48px; }
.post-body-c > h2:first-child { margin-top: 0; }
.post-body-c h3 { font-size: 1.15rem; margin-top: 30px; color: var(--text); }
.post-body-c a, .post .sources a, .legal-note a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(218,197,144,.4); text-underline-offset: 3px; }
.post-body-c a:hover { text-decoration-color: var(--accent); }
.post-body-c strong, .post-body-c b { color: var(--text); font-weight: 600; }
.post-body-c .num { color: var(--accent); }
.post-body-c ul, .post-body-c ol { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); max-width: 66ch; }
.post-body-c ul li { position: relative; padding-left: 24px; }
.post-body-c ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 12px; height: 1px; background: var(--accent); }
.post-body-c ol { counter-reset: n; }
.post-body-c ol li { position: relative; padding-left: 36px; counter-increment: n; }
.post-body-c ol li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(218,197,144,.12); color: var(--accent); font-size: .78rem; font-weight: 700; }
.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-field); -webkit-overflow-scrolling: touch; }
.post-body-c table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.post-body-c th, .post-body-c td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.post-body-c th { color: var(--text); font-weight: 600; background: var(--surface); font-size: .86rem; }
.post-body-c tr:last-child td { border-bottom: 0; }
.post-body-c td:first-child { color: var(--text); font-weight: 600; }
.post-body-c .callout { padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-field) var(--r-field) 0; color: var(--muted); }
.post .legal-note, .post .sources { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.post .legal-note h2, .post .sources h2 { font-size: 1.1rem; font-weight: 500; margin-bottom: 12px; max-width: none; }
.post .legal-note p { font-size: .86rem; color: var(--faint); }
.post .sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--faint); }
.qp-in { white-space: nowrap; }

/* Accueil : derniers articles */
.home-news { padding-block: clamp(80px, 11vw, 140px); background: var(--bg-2); border-top: 1px solid var(--line); }
.home-news .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.home-news .text-link { margin-top: 0; }

@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-cover { aspect-ratio: 16 / 7; }
  .news-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .news-filter .chip { flex: 0 0 auto; }
}
.article-grid > *, .post { min-width: 0; }

/* ---------- Sélecteur de langue FR / EN ---------- */
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: rgba(255,255,255,.02); }
.lang-switch a { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: var(--r-pill); font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current] { background: var(--accent); color: #15171c; }
.lang-switch-mobile { align-self: flex-start; margin-bottom: 10px; }
.lang-switch-mobile a { min-width: 44px; height: 36px; font-size: .82rem; }
.lang-switch-float { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 30; background: rgba(21,23,28,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 640px) { .header-actions > .lang-switch { display: none; } }
