/* Lumen Élec Lyon — Design tokens */
/* Color: OKLCH committed indigo + amber accent (impeccable shared design laws) */

:root {
  --ink: oklch(0.18 0.04 270);
  --ink-2: oklch(0.28 0.05 270);
  --ink-3: oklch(0.38 0.045 270);
  --paper: oklch(0.985 0.005 90);
  --paper-2: oklch(0.96 0.008 270);
  --paper-3: oklch(0.92 0.012 270);
  --line: oklch(0.86 0.014 270);
  --amber: oklch(0.78 0.16 70);
  --amber-deep: oklch(0.62 0.18 60);
  --muted: oklch(0.55 0.02 270);
  --success: oklch(0.65 0.13 155);

  --fz-12: 0.75rem;
  --fz-14: 0.875rem;
  --fz-16: 1rem;
  --fz-18: 1.125rem;
  --fz-20: 1.25rem;
  --fz-24: 1.5rem;
  --fz-28: 1.75rem;
  --fz-36: 2.25rem;
  --fz-40: 2.5rem;
  --fz-48: 3rem;
  --fz-56: 3.5rem;
  --fz-72: 4.5rem;
  --fz-96: 6rem;

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1360px;
  --maxw-wide: 1600px;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fz-16);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--amber); color: var(--ink); }

/* Typography ---------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
h1 { font-size: clamp(var(--fz-40), 8vw, var(--fz-96)); line-height: 0.96; }
h2 { font-size: clamp(var(--fz-36), 5vw, var(--fz-72)); line-height: 1.0; }
h3 { font-size: clamp(var(--fz-24), 2.6vw, var(--fz-36)); line-height: 1.1; }
h4 { font-size: var(--fz-20); line-height: 1.2; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { max-width: 68ch; }
.lead { font-size: var(--fz-20); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fz-12);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.numero {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(var(--fz-72), 12vw, 11rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--paper-3);
  line-height: 0.85;
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
}

/* Layout ---------------------------------------------------- */

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: 1.5rem; }
.container-wide { max-width: var(--maxw-wide); margin: 0 auto; padding-inline: 1.5rem; }

@media (min-width: 768px) {
  .container, .container-wide { padding-inline: 3.5rem; }
}

.section { padding-block: clamp(3.5rem, 8vw, 9rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 5rem); }

.grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid { gap: 3rem; } }

/* Header ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--paper) 92%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fz-24);
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  transform: translateY(-2px);
}
.brand-sub {
  font-family: var(--sans);
  font-size: var(--fz-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  font-size: var(--fz-14);
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding-block: 0.4rem;
  transition: color .18s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--amber);
}
.nav-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: var(--fz-14);
  color: var(--ink);
  font-weight: 500;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.nav-phone:hover { border-color: var(--amber); background: color-mix(in oklch, var(--amber) 10%, transparent); }
@media (min-width: 768px) { .nav-phone { display: inline-flex; } }
.nav-phone::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--success) 25%, transparent);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 100;
  flex-direction: column;
  padding: 5rem 1.5rem 2rem;
  gap: 0.5rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: var(--fz-36);
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .close-btn {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Buttons ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: var(--fz-14);
  letter-spacing: 0.02em;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn-primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.btn-amber {
  background: var(--amber);
  color: var(--ink);
  border: 1px solid var(--amber);
}
.btn-amber:hover { background: var(--amber-deep); color: var(--paper); border-color: var(--amber-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid color-mix(in oklch, var(--paper) 30%, transparent);
}
.btn-ghost-light:hover { background: color-mix(in oklch, var(--paper) 10%, transparent); border-color: var(--paper); }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* HERO ---------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 8vw, 8rem);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3.5rem;
    align-items: end;
  }
}
.hero__eyebrow-rail {
  display: none;
}
@media (min-width: 1280px) {
  .hero__eyebrow-rail {
    display: flex;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left top;
    font-size: var(--fz-12);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    align-items: center;
    gap: 1rem;
  }
}
.hero h1 {
  font-size: clamp(var(--fz-48), 7.5vw, 7rem);
}
.hero h1 .accent {
  color: var(--amber-deep);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
}
@media (min-width: 1024px) { .hero__visual { aspect-ratio: 5 / 6; } }
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.hero__visual:hover img { transform: scale(1.02); }
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, transparent 50%, color-mix(in oklch, var(--ink) 50%, transparent));
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: color-mix(in oklch, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
  font-size: var(--fz-12);
  font-weight: 500;
  color: var(--ink);
  z-index: 2;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--amber) 30%, transparent);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.hero__meta-item span:first-child {
  display: block;
  font-size: var(--fz-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.hero__meta-item strong {
  font-family: var(--serif);
  font-size: var(--fz-24);
  font-weight: 500;
  color: var(--ink);
}

/* Trust bar (sub-hero) ---------------------------------------------------- */

.trust-bar {
  background: var(--ink);
  color: var(--paper);
  padding-block: 1.25rem;
  overflow: hidden;
}
.trust-bar__row {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .trust-bar__row { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; }
}
.trust-bar__item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--fz-14); font-weight: 500;
  color: color-mix(in oklch, var(--paper) 85%, var(--ink));
}
.trust-bar__item::before {
  content: "★";
  color: var(--amber);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections ---------------------------------------------------- */

.sect-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 4rem;
  margin-bottom: 3.5rem;
  align-items: end;
}
@media (min-width: 1024px) {
  .sect-head { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); margin-bottom: 5rem; }
}
.sect-head h2 .accent {
  color: var(--amber-deep);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* Services grid (asymmetric) ---------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
  min-height: 260px;
}
.svc-card:hover { border-color: var(--ink); transform: translateY(-2px); }

@media (min-width: 768px) {
  .svc-card { padding: 2.25rem; min-height: 320px; }
  /* Featured (col 1-4 row 1) */
  .svc-card--featured { grid-column: span 4; grid-row: span 2; min-height: 520px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .svc-card--featured:hover { border-color: var(--amber); }
  /* Top right two */
  .svc-card--small { grid-column: span 2; }
}

.svc-card__num {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-family: var(--serif);
  font-size: var(--fz-20);
  color: var(--muted);
  font-weight: 400;
}
.svc-card--featured .svc-card__num { color: color-mix(in oklch, var(--paper) 50%, transparent); }
.svc-card h3 {
  font-size: clamp(var(--fz-24), 2.4vw, var(--fz-36));
  margin-bottom: 0.75rem;
  margin-top: auto;
}
.svc-card--featured h3 { font-size: clamp(var(--fz-36), 4vw, var(--fz-56)); }
.svc-card p {
  font-size: var(--fz-14);
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.svc-card--featured p { color: color-mix(in oklch, var(--paper) 75%, transparent); font-size: var(--fz-16); }
.svc-card__cta {
  font-size: var(--fz-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.svc-card--featured .svc-card__cta { color: var(--amber); }
.svc-card__visual {
  position: absolute;
  inset: -1px -1px auto auto;
  width: 50%;
  height: 50%;
  border-bottom-left-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0.25;
  filter: saturate(120%);
}
.svc-card--featured .svc-card__visual {
  opacity: 0.55;
  width: 60%; height: 70%;
  filter: brightness(0.7) saturate(1.1);
}
.svc-card__visual img { width: 100%; height: 100%; object-fit: cover; }

/* IRVE highlight section ---------------------------------------------------- */

.irve-hl {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.irve-hl__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .irve-hl__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; }
}
.irve-hl h2 { color: var(--paper); }
.irve-hl h2 .accent { color: var(--amber); font-style: italic; }
.irve-hl p { color: color-mix(in oklch, var(--paper) 80%, transparent); }
.irve-hl .eyebrow { color: var(--amber); }
.irve-hl__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}
.irve-hl__bullets li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: var(--fz-14);
  color: color-mix(in oklch, var(--paper) 85%, transparent);
}
.irve-hl__bullets li::before {
  content: "→";
  color: var(--amber);
  font-weight: 700;
}
.irve-hl__visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.irve-hl__visual img { width: 100%; height: 100%; object-fit: cover; }

/* Zone d'intervention ---------------------------------------------------- */

.zone-block {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .zone-block { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
}
.zone-cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.zone-cities li {
  list-style: none;
  background: var(--paper-2);
  padding: 1.25rem 1rem;
  font-size: var(--fz-16);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background .2s var(--ease);
}
.zone-cities li:hover { background: var(--paper); }
.zone-cities li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
.zone-cities li small {
  display: block;
  font-size: var(--fz-12);
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

/* Trust / certifications ---------------------------------------------------- */

.cert-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 768px) { .cert-row { grid-template-columns: repeat(4, 1fr); } }
.cert {
  background: var(--paper);
  padding: 1.75rem 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cert__label {
  font-family: var(--serif);
  font-size: var(--fz-28);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cert__sub {
  font-size: var(--fz-12);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Logos marques marquee ---------------------------------------------------- */

.brands {
  background: var(--paper-2);
  padding-block: 2.25rem;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.brands__lead {
  font-size: var(--fz-12);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.brands__row {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: marquee 50s linear infinite;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .brands__row { animation: none; flex-wrap: wrap; justify-content: center; gap: 2rem; }
}
.brands__row img,
.brands__row .brand-text {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0.7);
  opacity: 0.7;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
  flex-shrink: 0;
}
.brands__row img:hover,
.brands__row .brand-text:hover { filter: grayscale(0) brightness(1); opacity: 1; }
.brand-text {
  display: inline-flex; align-items: center;
  font-family: var(--serif);
  font-size: var(--fz-20);
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink-2);
  height: 36px;
  padding-inline: 0.5rem;
}

/* Realisations gallery ---------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 1rem; grid-auto-flow: dense; }
}
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--paper-2);
}
.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  aspect-ratio: 4 / 3;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(transparent, color-mix(in oklch, var(--ink) 85%, transparent));
  color: var(--paper);
  font-size: var(--fz-14);
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery figcaption small { display: block; font-size: var(--fz-12); color: color-mix(in oklch, var(--paper) 75%, transparent); margin-top: 0.2rem; }

@media (min-width: 640px) {
  .gallery .g-wide { grid-column: span 4; }
  .gallery .g-tall { grid-row: span 2; }
  .gallery .g-std { grid-column: span 2; }
  .gallery .g-half { grid-column: span 3; }
  .gallery .g-tall img { aspect-ratio: 3 / 4; }
  .gallery .g-wide img { aspect-ratio: 16 / 9; }
}

/* Testimonials ---------------------------------------------------- */

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.testimonial {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.testimonial__stars {
  color: var(--amber);
  font-size: var(--fz-18);
  letter-spacing: 0.15em;
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: var(--fz-20);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}
.testimonial__author {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--fz-14);
  flex-shrink: 0;
}
.testimonial__name {
  font-size: var(--fz-14); font-weight: 600;
}
.testimonial__name small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: var(--fz-12);
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

/* FAQ ---------------------------------------------------- */

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  font-family: var(--serif);
  font-size: clamp(var(--fz-20), 2.5vw, var(--fz-28));
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber-deep); }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: var(--fz-28);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.faq details[open] summary::after { content: "−"; color: var(--amber-deep); }
.faq__body {
  padding-bottom: 1.75rem;
  color: var(--ink-2);
  font-size: var(--fz-16);
  line-height: 1.65;
  max-width: 70ch;
}

/* Contact / Form ---------------------------------------------------- */

.contact-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
}
.contact-block h2 { color: var(--paper); }
.contact-block h2 .accent { color: var(--amber); font-style: italic; }
.contact-block p { color: color-mix(in oklch, var(--paper) 80%, transparent); }
.contact-meta { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in oklch, var(--paper) 20%, transparent); }
.contact-meta dt { font-size: var(--fz-12); letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklch, var(--paper) 60%, transparent); margin-bottom: 0.25rem; }
.contact-meta dd { font-family: var(--serif); font-size: var(--fz-24); color: var(--paper); }

.form { display: grid; gap: 1.25rem; }
.form .row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form .row.two { grid-template-columns: 1fr 1fr; } }

.field { position: relative; }
.field label {
  display: block;
  font-size: var(--fz-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: color-mix(in oklch, var(--paper) 65%, transparent);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: color-mix(in oklch, var(--paper) 5%, transparent);
  border: 1px solid color-mix(in oklch, var(--paper) 25%, transparent);
  color: var(--paper);
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--fz-16);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--amber);
  background: color-mix(in oklch, var(--paper) 10%, transparent);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-hint { display: block; font-size: var(--fz-12); color: color-mix(in oklch, var(--paper) 55%, transparent); margin-top: 0.4rem; }

.form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--fz-12);
  color: color-mix(in oklch, var(--paper) 70%, transparent);
  line-height: 1.5;
}
.form-consent input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--amber); }
.form-consent a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

.form-submitted {
  display: none;
  background: color-mix(in oklch, var(--success) 25%, transparent);
  border: 1px solid var(--success);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-weight: 500;
}
.form-submitted.is-visible { display: block; }

/* Footer ---------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: color-mix(in oklch, var(--paper) 80%, transparent);
  padding-block: clamp(3.5rem, 6vw, 6rem) 2rem;
  border-top: 1px solid var(--ink);
}
.site-footer h4 { color: var(--paper); margin-bottom: 1rem; font-family: var(--sans); font-size: var(--fz-12); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
}
.site-footer__brand { font-family: var(--serif); font-size: var(--fz-36); color: var(--paper); margin-bottom: 0.5rem; line-height: 1.05; }
.site-footer__brand-sub { font-size: var(--fz-14); color: color-mix(in oklch, var(--paper) 60%, transparent); max-width: 32ch; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer ul a { font-size: var(--fz-14); color: color-mix(in oklch, var(--paper) 70%, transparent); transition: color .18s var(--ease); }
.site-footer ul a:hover { color: var(--paper); }
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in oklch, var(--paper) 12%, transparent);
  font-size: var(--fz-12);
  color: color-mix(in oklch, var(--paper) 55%, transparent);
  letter-spacing: 0.04em;
}
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__legal-links a:hover { color: var(--amber); }

/* RGPD Banner ---------------------------------------------------- */

.rgpd-banner {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 760px;
  margin-inline: auto;
  box-shadow: 0 20px 60px -10px color-mix(in oklch, var(--ink) 50%, transparent);
  font-size: var(--fz-14);
  border: 1px solid color-mix(in oklch, var(--paper) 15%, transparent);
}
.rgpd-banner.is-visible { display: flex; }
@media (min-width: 768px) {
  .rgpd-banner { flex-direction: row; align-items: center; padding: 1.5rem 2rem; gap: 1.5rem; }
}
.rgpd-banner__text { flex: 1; line-height: 1.55; }
.rgpd-banner__text a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.rgpd-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rgpd-banner__actions .btn { padding: 0.65rem 1rem; font-size: var(--fz-12); }

.rgpd-modal-backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in oklch, var(--ink) 70%, transparent);
  backdrop-filter: blur(6px);
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.rgpd-modal-backdrop.is-visible { display: flex; }
.rgpd-modal {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.rgpd-modal h3 { margin-bottom: 1rem; }
.rgpd-modal__row {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.rgpd-modal__row:first-of-type { border-top: 0; }
.rgpd-modal__row p { font-size: var(--fz-14); color: var(--ink-2); margin-top: 0.25rem; max-width: 50ch; }
.rgpd-modal__toggle {
  display: inline-block;
  width: 44px; height: 24px;
  background: var(--paper-3);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 4px;
  transition: background .2s var(--ease);
}
.rgpd-modal__toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform .2s var(--ease);
}
.rgpd-modal__toggle.is-on { background: var(--amber-deep); }
.rgpd-modal__toggle.is-on::after { transform: translateX(20px); }
.rgpd-modal__toggle.is-disabled { opacity: 0.4; cursor: not-allowed; background: var(--ink-3); }
.rgpd-modal__toggle.is-disabled::after { transform: translateX(20px); }
.rgpd-modal__actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* IRVE page specific ---------------------------------------------------- */

.irve-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .irve-tiers { grid-template-columns: repeat(3, 1fr); } }
.tier {
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tier--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  position: relative;
}
.tier--primary::before {
  content: "Recommandé";
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: var(--amber);
  color: var(--ink);
  font-size: var(--fz-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
.tier__power {
  font-family: var(--serif);
  font-size: var(--fz-72);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.tier--primary .tier__power { color: var(--amber); }
.tier__power small { display: block; font-size: var(--fz-16); font-weight: 400; color: inherit; opacity: 0.6; letter-spacing: 0.02em; margin-top: 0.5rem; }
.tier h3 { font-size: var(--fz-24); }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; font-size: var(--fz-14); margin-block: 1rem; }
.tier ul li { display: flex; gap: 0.5rem; }
.tier ul li::before { content: "✓"; color: var(--amber); font-weight: 700; }
.tier__price { font-family: var(--serif); font-size: var(--fz-28); margin-top: auto; }
.tier__price small { font-size: var(--fz-12); color: var(--muted); display: block; letter-spacing: 0.04em; }
.tier--primary .tier__price small { color: color-mix(in oklch, var(--paper) 60%, transparent); }

.advenir-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) { .advenir-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; } }
.advenir-card__big {
  font-family: var(--serif);
  font-size: clamp(var(--fz-56), 8vw, var(--fz-96));
  font-weight: 500;
  line-height: 0.9;
  color: var(--amber-deep);
}
.advenir-card__big small { display: block; font-size: var(--fz-16); color: var(--muted); font-weight: 400; margin-top: 0.5rem; letter-spacing: 0.02em; font-family: var(--sans); }

/* About page ---------------------------------------------------- */

.about-quote {
  font-family: var(--serif);
  font-size: clamp(var(--fz-28), 4vw, var(--fz-56));
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
  max-width: 22ch;
  position: relative;
}
.about-quote::before {
  content: "“";
  font-family: var(--serif);
  position: absolute;
  top: -0.4em; left: -0.5em;
  color: var(--amber);
  font-size: 1.1em;
  opacity: 0.85;
}
.about-cite {
  font-family: var(--sans);
  font-size: var(--fz-14);
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 1.25rem;
  text-transform: uppercase;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .timeline-item { grid-template-columns: 120px 1fr 2fr; gap: 3rem; }
}
.timeline-year {
  font-family: var(--serif);
  font-size: var(--fz-28);
  font-weight: 500;
  color: var(--amber-deep);
}
.timeline-title { font-size: var(--fz-18); font-weight: 600; margin-bottom: 0.25rem; }
.timeline-desc { color: var(--ink-2); font-size: var(--fz-14); max-width: 60ch; }

/* Page hero (sub) ---------------------------------------------------- */

.page-hero {
  padding-block: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 3rem);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(var(--fz-40), 6vw, var(--fz-96));
  margin-block: 1rem;
  max-width: 18ch;
}
.page-hero h1 .accent { color: var(--amber-deep); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: var(--fz-12);
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumbs a { color: var(--muted); transition: color .18s var(--ease); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { color: var(--ink); }
.breadcrumbs li { list-style: none; }
.breadcrumbs ol { display: inline-flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.breadcrumbs ol li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; opacity: 0.4; }

/* Process steps ---------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.step {
  position: relative;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: var(--fz-72);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--paper-3);
  position: absolute;
  top: 0.5rem; right: 1rem;
  line-height: 1;
}
.step h4 { font-family: var(--serif); font-size: var(--fz-24); font-weight: 500; margin-bottom: 0.5rem; }
.step p { font-size: var(--fz-14); color: var(--ink-2); }

/* Legal pages ---------------------------------------------------- */

.legal-content { max-width: 70ch; }
.legal-content h2 { font-size: var(--fz-28); margin-block: 2.5rem 1rem; }
.legal-content h3 { font-size: var(--fz-20); margin-block: 1.5rem 0.75rem; }
.legal-content p, .legal-content ul, .legal-content ol { font-size: var(--fz-16); margin-bottom: 1rem; color: var(--ink-2); line-height: 1.65; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--ink); font-weight: 600; }

/* Misc ---------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -40px; left: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduced motion ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
