/* =========================================================
   MTB AUTO RENOVE — Atelier de précision
   Mobile-first · sombre éditorial · signature orange
   ========================================================= */

:root {
  --ink: #0A0A0B;
  --ink-2: #141416;
  --ink-3: #1E1E21;
  --paper: #F5F2EC;
  --paper-2: #EBE7DD;
  --accent: #E84B1C;
  --accent-2: #FF6A3D;
  --accent-ink: #1A0A05; /* deep contrast ink for orange backgrounds */
  --muted: #8A8680;
  --muted-2: #5F5C57;
  --line: rgba(245, 242, 236, 0.12);
  --line-dark: rgba(10, 10, 11, 0.12);

  --f-serif: 'Inter', system-ui, sans-serif;
  --f-sans: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Mobile-first spacing (small) */
  --gap: 20px;
  --pad-y: 56px;
  --pad-x: 20px;
  --radius: 4px;
  --max-w: 1440px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Scale up progressively */
@media (min-width: 600px)  { :root { --gap: 28px; --pad-y: 72px; --pad-x: 32px; } }
@media (min-width: 900px)  { :root { --gap: 32px; --pad-y: 96px; --pad-x: 48px; } }
@media (min-width: 1200px) { :root { --gap: 40px; --pad-y: 120px; --pad-x: 72px; } }

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 16px; } }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-sans); font-weight: 600; letter-spacing: -0.025em; }
p { margin: 0; }

::selection { background: var(--accent); color: var(--paper); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: var(--paper);
  padding: 10px 16px; font-size: 13px; font-weight: 600;
  z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 16px; }

em { font-style: normal; color: var(--accent); font-weight: 600; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--ink) 85%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); }
.logo-mark { color: var(--accent); display: inline-flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--f-serif); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.logo-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 2px;
}
@media (min-width: 900px) { .logo-name { font-size: 20px; } .logo-sub { font-size: 10px; } }

.main-nav { display: none; }
@media (min-width: 900px) {
  .main-nav { display: flex; gap: 28px; margin-left: auto; }
  .main-nav a {
    font-size: 13px;
    color: color-mix(in oklab, var(--paper) 75%, transparent);
    position: relative;
    transition: color .2s;
  }
  .main-nav a::after {
    content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .main-nav a:hover { color: var(--paper); }
  .main-nav a:hover::after { transform: scaleX(1); }
}

/* ---------- Mobile hamburger ---------- */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  margin-left: auto;
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--paper) 22%, transparent);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s, background-color .2s;
}
.nav-toggle:hover, .nav-toggle:focus-visible {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--paper);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px var(--pad-x) 24px;
  border-top: 1px solid var(--line);
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 14px 4px;
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--paper);
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--accent-2); }
@media (min-width: 900px) { .mobile-nav { display: none !important; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  font-size: 13px; font-weight: 500;
  border-radius: 999px;
  transition: all .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  min-height: 44px; /* tap target */
}
.btn-call {
  /* Dark ink on orange passes WCAG AA (~11:1). Paper on orange was
     only 3.44:1 which failed at this font-size. */
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-mono); font-weight: 600;
  font-size: 12px; padding: 10px 14px;
  letter-spacing: 0.02em;
  margin-left: auto;
  min-height: 40px;
}
.btn-call:hover { background: var(--accent-2); transform: translateY(-1px); }

/* Below the hamburger breakpoint, the header would become too crowded
   with logo + call button + toggle. The floating call button (bottom-right)
   already covers the quick-call need on mobile/tablet. */
@media (max-width: 899px) {
  .btn-call { display: none; }
}
@media (max-width: 380px) {
  .logo-sub { display: none; }
}

.btn-primary { background: var(--accent); color: var(--accent-ink); padding: 16px 24px; font-weight: 600; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--paper);
  border: 1px solid var(--line); padding: 15px 22px;
}
.btn-ghost:hover { border-color: var(--paper); background: color-mix(in oklab, var(--paper) 6%, transparent); }

.btn-light { background: var(--paper); color: var(--ink); padding: 14px 22px; font-weight: 500; }
.btn-light:hover { background: var(--paper-2); }

/* Dark ink button for use on orange contact bg */
.btn-dark {
  background: var(--accent-ink);
  color: var(--paper);
  padding: 14px 22px; font-weight: 500;
}
.btn-dark:hover { background: #000; }

/* ============ IMAGES ============ */
.visual-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.ac-photo {
  /* Pull the photo out to the card's edges. Horizontal margins must
     match the parent .atelier-card horizontal padding exactly — the
     card padding shrinks at <600px, so the photo follows. */
  margin: -28px -24px 4px;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 599px) {
  .ac-photo { margin: -24px -20px 4px; }
}
.ac-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.05) brightness(0.92);
  transition: filter .4s var(--ease), transform .6s var(--ease);
}
.atelier-card:hover .ac-photo img {
  filter: grayscale(0) contrast(1.05) brightness(1);
  transform: scale(1.03);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 28px var(--pad-x) 0;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .hero { padding: 48px var(--pad-x) 0; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "meta"
    "title"
    "sub"
    "visual"
    "cta";
  gap: 20px;
  padding-bottom: 32px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.4fr .9fr;
    grid-template-areas:
      "meta   meta"
      "title  visual"
      "sub    visual"
      "cta    visual";
    grid-template-rows: auto auto auto auto;
    gap: 24px var(--gap);
    padding-bottom: 72px;
    align-items: start;
  }
  .hero-visual { align-self: start; }
  .hero-cta { align-self: start; }
}

.hero-meta { grid-area: meta; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-title { grid-area: title; }
.hero-sub { grid-area: sub; }
.hero-cta { grid-area: cta; }
.hero-visual { grid-area: visual; }
.hero-card { grid-area: card; }

.tag {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
@media (min-width: 600px) { .tag { font-size: 11px; } }
.tag-live { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.pulse {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #4CD964;
  box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(76, 217, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0); }
}
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.hero-title {
  font-size: clamp(32px, 6.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub {
  max-width: 52ch;
  font-size: clamp(15px, 1.5vw, 19px);
  color: color-mix(in oklab, var(--paper) 72%, transparent);
  text-wrap: pretty;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-cta .btn { flex: 1 1 auto; justify-content: center; }
@media (min-width: 600px) { .hero-cta .btn { flex: 0 0 auto; } }

/* Fiche atelier */
.hero-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  display: flex; flex-direction: column;
}
.card-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.card-row:last-of-type { border-bottom: none; }
.card-row .k {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
}
.card-row .v { color: var(--paper); line-height: 1.45; }
.card-cta {
  margin-top: 16px;
  align-self: flex-start;
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}

.hero-visual { display: flex; flex-direction: column; gap: 12px; }
.visual-frame {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
@media (min-width: 900px) { .visual-frame { aspect-ratio: 4/5; } }

.visual-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 14px,
    color-mix(in oklab, var(--paper) 4%, transparent) 14px 15px
  );
}
.visual-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: color-mix(in oklab, var(--paper) 50%, transparent);
  text-transform: uppercase;
}
@media (min-width: 600px) { .visual-label { font-size: 10px; padding: 18px; } }
.vl-bottom { text-align: right; }
.visual-corners span {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
}
.visual-corners span:nth-child(1) { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.visual-corners span:nth-child(2) { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.visual-corners span:nth-child(3) { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.visual-corners span:nth-child(4) { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.hero-visual figcaption {
  display: flex; gap: 12px; align-items: baseline;
  font-family: var(--f-mono); font-size: 10px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
}
.fig-num { color: var(--accent); font-weight: 600; }

/* Marquee */
.reassurance {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 calc(-1 * var(--pad-x));
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}
.reassurance::before, .reassurance::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
  pointer-events: none;
}
.reassurance::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.reassurance::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; gap: 24px; width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
@media (min-width: 600px) { .marquee-track { gap: 32px; font-size: 12px; } }
.marquee-track span:nth-child(odd) { color: var(--paper); }
.marquee-track span:nth-child(even) { color: var(--muted); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .pulse, .pin-ring { animation: none !important; }
}

/* ============ SECTION HEAD ============ */
.section-head {
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto var(--gap);
  display: flex; flex-direction: column; gap: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 20ch;
}
.section-head p {
  max-width: 60ch;
  font-size: clamp(14px, 1.5vw, 17px);
  color: color-mix(in oklab, var(--paper) 68%, transparent);
  text-wrap: pretty;
}
.section-head-split { display: flex; flex-direction: column; gap: var(--gap); }
.section-head-split > div { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) {
  .section-head-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--gap);
  }
  .section-head-split > p { align-self: end; }
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}
@media (min-width: 600px) { .eyebrow { font-size: 11px; } }
.eyebrow-light { color: var(--accent-ink); opacity: .9; }

/* ============ PRESTATIONS ============ */
.prestations { padding: var(--pad-y) 0; border-bottom: 1px solid var(--line); }
.presta-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 600px)  { .presta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .presta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .presta-grid { grid-template-columns: repeat(4, 1fr); } }
/* Avoid orphan last card: span the full row when the count would leave
   a single orphan (2-col and 4-col bands). 3-col is already clean. */
@media (min-width: 600px) and (max-width: 899px) {
  .presta-grid > .presta-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .presta-grid > .presta-card:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .presta-grid > .presta-card:last-child p { flex: 1 1 300px; margin: 0; }
  .presta-grid > .presta-card:last-child .presta-tag { margin-left: auto; }
}

.presta-card {
  background: var(--ink);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
  position: relative;
  transition: background .3s;
}
.presta-card:hover { background: var(--ink-2); }
.presta-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.presta-card h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.presta-card p {
  font-size: 14px;
  color: color-mix(in oklab, var(--paper) 62%, transparent);
  flex-grow: 1;
}
.presta-tag {
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px dashed var(--line);
}
.presta-card-feature { background: color-mix(in oklab, var(--accent) 10%, var(--ink)); }
.presta-card-feature:hover { background: color-mix(in oklab, var(--accent) 15%, var(--ink)); }
.presta-card-feature .presta-tag { border-color: var(--accent); color: var(--accent); }

/* ============ ATELIER ============ */
.atelier { padding: var(--pad-y) 0; border-bottom: 1px solid var(--line); }
.atelier-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 600px)  { .atelier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .atelier-grid { grid-template-columns: repeat(4, 1fr); } }

.atelier-card {
  background: var(--ink);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.ac-num {
  font-family: var(--f-serif);
  font-size: 48px;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  font-weight: 300;
}
.atelier-card h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 400; }
.atelier-card p { font-size: 14px; color: color-mix(in oklab, var(--paper) 62%, transparent); }
.ac-specs {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.ac-specs li {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.05em;
}
.ac-specs li span:first-child { color: var(--muted); text-transform: uppercase; }
.ac-specs li span:last-child { color: var(--paper); }

/* ============ SINISTRES ============ */
.sinistres { background: var(--paper); color: var(--ink); padding: var(--pad-y) 0; }
.sinistres-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: start;
}
@media (min-width: 900px) { .sinistres-inner { grid-template-columns: 1fr 1.3fr; } }

.sin-left .eyebrow-light { color: var(--ink); opacity: .75; }
.sin-left h2 {
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 12px 0 18px;
}
/* Darker accent variant for text on paper background — passes AA 4.5:1.
   The standard --accent only reaches 3.44:1 on #F5F2EC. */
.sinistres { --accent-on-paper: #B83810; }
.sin-left h2 em { color: var(--accent-on-paper); }
.sin-left p {
  max-width: 42ch;
  font-size: 15px;
  color: color-mix(in oklab, var(--ink) 72%, transparent);
  margin-bottom: 20px;
}

.sin-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: color-mix(in oklab, var(--ink) 15%, transparent);
  border: 1px solid color-mix(in oklab, var(--ink) 15%, transparent);
}
@media (min-width: 600px) {
  .sin-steps { grid-template-columns: 1fr 1fr; }
  /* 3 items in 2 cols → span the last so the row is not orphaned. */
  .sin-steps > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.sin-steps li { background: var(--paper); padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.sin-num { font-family: var(--f-mono); font-size: 11px; color: var(--accent-on-paper); letter-spacing: 0.1em; font-weight: 600; }
.sin-steps h3 { font-size: 20px; font-weight: 400; }
.sin-steps p { font-size: 14px; color: color-mix(in oklab, var(--ink) 65%, transparent); }

/* ============ MÉTHODE ============ */
.methode { padding: var(--pad-y) 0; border-bottom: 1px solid var(--line); }
.methode-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
@media (min-width: 600px) { .methode-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .methode-grid { grid-template-columns: repeat(4, 1fr); } }

.methode-grid li {
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.methode-grid li::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 36px; height: 2px;
  background: var(--accent);
}
.m-num { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.m-label {
  font-family: var(--f-serif);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}
.methode-grid p { font-size: 14px; color: color-mix(in oklab, var(--paper) 62%, transparent); max-width: 30ch; }

/* ============ MARQUES ============ */
.marques { padding: var(--pad-y) 0; border-bottom: 1px solid var(--line); }
.marques-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 600px)  { .marques-list { grid-template-columns: repeat(4, 1fr); } }
/* 28 items → keep 4 cols (7 rows) up to 1099, then 7 cols (4 rows) at 1100+.
   Tiles grow with each breakpoint so the section gains visual weight on
   desktop instead of shrinking into a grid of small outlined cells. */
@media (min-width: 1100px) { .marques-list { grid-template-columns: repeat(7, 1fr); } }

.marques-list li {
  background: var(--ink);
  padding: 20px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
  transition: all .2s;
}
@media (min-width: 600px) { .marques-list li { padding: 26px 16px; font-size: 12px; } }
@media (min-width: 900px) { .marques-list li { padding: 32px 16px; font-size: 13px; } }
@media (min-width: 1200px) { .marques-list li { padding: 40px 16px; font-size: 14px; letter-spacing: 0.12em; } }
.marques-list li:hover { color: var(--paper); background: var(--ink-2); }

/* ============ ZONE ============ */
.zone { padding: var(--pad-y) 0; border-bottom: 1px solid var(--line); }
.zone-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
/* Keep the card centered and readable on wide screens without pinching it
   into a tiny 720px card that visually shrinks against the rest of the
   page. Cap at a generous width and inflate internal spacing instead. */
@media (min-width: 900px)  { .zone-grid { max-width: 1040px; } }
@media (min-width: 1200px) { .zone-grid { max-width: 1120px; } }

.zone-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 28px;
  font-style: normal;
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 900px) {
  .zone-card {
    padding: 48px 56px;
    gap: 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    column-gap: 56px;
    row-gap: 24px;
  }
  .zone-card > .zc-eyebrow { grid-column: 1 / -1; }
  .zone-card > h3 { grid-column: 1; align-self: start; }
  .zone-card > .zc-list { grid-column: 2; grid-row: 2 / span 2; margin: 0; }
  .zone-card > a.btn { grid-column: 1; justify-self: start; margin-top: 8px; }
}
.zc-eyebrow { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
.zone-card h3 { font-size: clamp(22px, 3vw, 36px); font-weight: 400; line-height: 1.1; }
.zc-list { display: flex; flex-direction: column; gap: 0; margin: 6px 0; }
.zc-list > div {
  display: grid;
  grid-template-columns: minmax(90px, 140px) 1fr;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
  gap: 12px;
  align-items: baseline;
}
.zc-list dd { overflow-wrap: anywhere; }
.zc-list dt { color: var(--muted); font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.zc-list dd { margin: 0; color: var(--paper); }
.zc-list a:hover { color: var(--accent); }

/* Zone coverage list — one tile per served town, each linking to its
   Google Maps query so the anchor carries SEO weight (name + postal). */
.zone-coverage {
  max-width: var(--max-w);
  margin: var(--gap) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 600px)  { .zone-coverage { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .zone-coverage { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .zone-coverage { grid-template-columns: repeat(6, 1fr); } }
.zone-coverage li { background: var(--ink); }
.zone-coverage a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 16px;
  color: var(--paper);
  transition: background .2s, color .2s;
}
.zone-coverage a:hover, .zone-coverage a:focus-visible {
  background: var(--ink-2);
  color: var(--accent-2);
}
.zone-coverage strong {
  font-family: var(--f-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.zone-coverage span {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.zone-note {
  max-width: var(--max-w);
  margin: var(--gap) auto 0;
  padding: 0 var(--pad-x);
  font-size: 14px;
  color: color-mix(in oklab, var(--paper) 62%, transparent);
  text-align: center;
}
.zone-note a { color: var(--accent-2); border-bottom: 1px solid currentColor; }

.zone-map {
  position: relative;
  aspect-ratio: 16/11;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
}
.zone-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(0.95) brightness(0.92);
}

/* ============ FAQ ============ */
.faq { padding: var(--pad-y) 0; border-bottom: 1px solid var(--line); }
.faq-list { max-width: 960px; margin: 0 auto; padding: 0 var(--pad-x); }
.faq-list details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  cursor: pointer;
  list-style: none;
  gap: 16px;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--accent);
  left: 50%; top: 50%;
  transition: transform .3s var(--ease);
}
.faq-plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-plus::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-list details[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-list details p {
  margin-top: 10px;
  max-width: 70ch;
  font-size: 14px;
  color: color-mix(in oklab, var(--paper) 68%, transparent);
  text-wrap: pretty;
}
@media (min-width: 600px) { .faq-list details p { font-size: 15px; } }

/* ============ CONTACT (bandeau orange) ============ */
/* ============ CONTACT (bandeau ink-3 — sobre) ============ */
.contact {
  background: var(--ink-2);
  color: var(--paper);
  padding: var(--pad-y) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 10px, transparent 10px 20px);
  pointer-events: none;
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1fr 1.2fr; } }

.contact-left .eyebrow { color: var(--accent); opacity: .9; }
.contact-left h2 {
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 12px 0 18px;
  color: var(--paper);
}
.contact-left h2 em {
  color: var(--accent-2);
  font-style: italic;
  background: none;
  -webkit-text-fill-color: var(--accent-2);
}
.contact-left > p {
  max-width: 42ch;
  font-size: 15px;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
  margin-bottom: 28px;
}
.contact-info {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-info > div {
  display: grid;
  grid-template-columns: minmax(90px, 110px) 1fr;
  gap: 12px;
  align-items: baseline;
}
.contact-info .ci-v { overflow-wrap: anywhere; }
.ci-k {
  font-family: var(--f-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
}
.ci-v { font-size: 15px; color: var(--paper); font-weight: 500; }
a.ci-v { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--paper) 35%, transparent); }
a.ci-v:hover { text-decoration-color: var(--accent); color: var(--accent-2); }

/* Form — dark ink card for strong contrast against orange bg.
   Accessible variant: visible field boxes, high-contrast labels,
   WCAG AA compliant placeholders, clear focus rings. */
.contact-form {
  background: var(--ink);
  color: var(--paper);
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
@media (min-width: 600px) { .contact-form { padding: 36px; } }
@media (min-width: 900px) { .contact-form { padding: 44px; } }

.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 520px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Label: bright enough on dark ink to pass AA */
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: color-mix(in oklab, var(--paper) 85%, transparent); /* ~AA on #0A0A0B */
  font-weight: 500;
}
.contact-form label.full { grid-column: 1 / -1; }

/* Inputs: filled field with visible border — not bottom-only */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  background: var(--ink-2);
  border: 1px solid color-mix(in oklab, var(--paper) 20%, transparent);
  border-radius: 2px;
  color: var(--paper);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--f-sans);
  letter-spacing: 0;
  text-transform: none;
  resize: vertical;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  min-height: 48px;
  width: 100%;
  -webkit-appearance: none;
}
.contact-form textarea { min-height: 120px; padding: 14px; line-height: 1.5; }

/* Placeholder: AA-compliant lightness */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: color-mix(in oklab, var(--paper) 50%, transparent);
  font-family: var(--f-sans);
  text-transform: none;
  letter-spacing: 0;
  opacity: 1; /* override Firefox default */
}

/* Hover: subtle lift */
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: color-mix(in oklab, var(--paper) 35%, transparent);
  background: color-mix(in oklab, var(--ink-2) 80%, var(--ink-3));
}

/* Focus: clear orange ring + bg shift — keyboard-visible */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent);
  background: var(--ink);
}

/* Invalid state (post-submit) */
.contact-form input:user-invalid,
.contact-form textarea:user-invalid,
.contact-form select:user-invalid {
  border-color: #D64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.25);
}

/* Select: custom caret */
.contact-form select {
  appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23FF6A3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.contact-form select option { background: var(--ink); color: var(--paper); }

/* File input: styled upload zone */
.contact-form label.file { gap: 10px; }
.contact-form label.file input[type="file"] {
  font-size: 13px;
  padding: 14px;
  border: 1px dashed color-mix(in oklab, var(--paper) 30%, transparent);
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  background: var(--ink-2);
  font-family: var(--f-mono);
  min-height: 52px;
  border-radius: 2px;
  cursor: pointer;
}
.contact-form label.file input[type="file"]:hover {
  border-color: var(--accent-2);
  color: var(--paper);
}
.contact-form label.file input[type="file"]::file-selector-button {
  background: var(--accent);
  color: var(--paper);
  border: 0;
  padding: 8px 14px;
  margin-right: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 2px;
}
.file-hint {
  font-size: 11px !important;
  color: color-mix(in oklab, var(--paper) 55%, transparent) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--f-sans) !important;
}

/* Checkbox consent: visible, clickable */
.contact-form label.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  text-transform: none;
  font-family: var(--f-sans);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  cursor: pointer;
}
.contact-form label.check input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.contact-form label.check:hover { color: var(--paper); }

/* Submit: stronger, full-width on mobile. Dark ink text on orange bg
   for WCAG AA compliance at this font-size. */
.btn-submit {
  align-self: stretch;
  margin-top: 8px;
  padding: 18px 28px;
  font-size: 14px;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: 2px;
}
.btn-submit:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-submit:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 2px;
}
@media (min-width: 520px) { .btn-submit { align-self: flex-start; } }

.form-status {
  font-family: var(--f-mono);
  font-size: 12px;
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  min-height: 18px;
}
.form-status.is-success { color: #7FD98A; }
.form-status.is-error { color: #FF8C8C; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  padding: var(--pad-y) var(--pad-x) 24px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }

.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-brand .logo-mark { color: var(--accent); }
.foot-tag {
  font-size: 13px;
  color: color-mix(in oklab, var(--paper) 55%, transparent);
  max-width: 34ch;
  line-height: 1.5;
}
.foot-col .foot-col-title {
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.foot-col ul, .foot-col address {
  font-size: 13px;
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  font-style: normal;
  line-height: 1.85;
}
.foot-col ul li { display: flex; justify-content: space-between; gap: 12px; }
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 20px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ FLOATING CALL ============ */
.floating-call {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(232, 75, 28, 0.4), 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
  transition: transform .2s;
}
.floating-call:hover { transform: scale(1.05); }
@media (min-width: 900px) { .floating-call { display: none; } }

/* ============ MOBILE POLISH (< 600px) ============ */
@media (max-width: 599px) {
  /* Hero: tighter type, less vertical space */
  .hero { padding-top: 20px; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); line-height: 0.98; }
  .hero-sub { font-size: 15px; line-height: 1.55; }
  .hero-meta { gap: 10px; font-size: 10px; }
  .hero-meta .tag { font-size: 10px; }

  /* CTA full width on mobile */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Hero visual: reduce height to keep CTA above fold */
  .visual-frame { aspect-ratio: 3/2; }

  /* Section heads / titles */
  .section-head h2,
  .section-head-split h2 { font-size: clamp(32px, 8vw, 48px); line-height: 1; }
  .section-head p, .section-head-split p { font-size: 15px; }

  /* Presta & atelier cards: reduce padding */
  .presta-card, .atelier-card { padding: 24px 20px; }

  /* Edge-to-edge grids on mobile (sections 3, 4, 7) */
  .presta-grid,
  .atelier-grid,
  .marques-list { padding: 0; border-left: 0; border-right: 0; }

  /* Méthode grid: tighter */
  .methode-grid li { padding-top: 20px; }
  .m-label { font-size: 28px; }

  /* Sinistres: reduce left column padding */
  .sin-left, .sin-right { padding: 0; }
  .sin-steps li { padding: 20px 16px; }

  /* Marques: keep the base 2-col layout — 28 items / 2 = 14 clean rows
     (3 cols would leave one orphan). Tighter tile padding for density. */
  .marques-list li { padding: 18px 10px; font-size: 11px; }

  /* Contact form: reduce inner padding */
  .contact-form { padding: 24px 20px; }
  .contact-info { gap: 14px; }

  /* Footer */
  .site-footer { padding-top: 48px; }
  .footer-grid { gap: 32px; }

  /* Marquee: larger gap for touch feel */
  .marquee-track { font-size: 10px; }

  /* Floating call: slightly smaller */
  .floating-call { width: 56px; height: 56px; bottom: 20px; right: 20px; }
}

/* Very small phones (<380px) — prevent horizontal overflow */
@media (max-width: 379px) {
  :root { --pad-x: 16px; }
  .hero-title { font-size: clamp(36px, 10vw, 48px); }
  .btn { padding: 11px 14px; font-size: 12px; }
  .btn-primary { padding: 14px 18px; }
}
