/* Klyvazento LLC — holding e-commerce
   Bleu pétrole profond + laiton en touches, blanc cassé froid, IBM Plex Sans / Mono. */

:root {
  --petrol: #0e3b43;
  --petrol-900: #082a30;
  --petrol-700: #15505a;
  --petrol-100: #e3ecec;
  --brass: #c9a45c;
  --brass-soft: #e7d4ab;
  --brass-ink: #7a5c22;
  --paper: #f4f6f6;
  --paper-2: #eaefef;
  --white: #ffffff;
  --ink: #0f1e21;
  --muted: #4a5a5d;
  --rule: #d3dcdd;
  --rule-strong: #a9b9bb;

  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --fs-h1: clamp(2.05rem, 1.25rem + 3.3vw, 4rem);
  --fs-h2: clamp(1.6rem, 1.15rem + 1.6vw, 2.45rem);
  --fs-h3: clamp(1.08rem, 1rem + 0.3vw, 1.22rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.24rem);

  --r: 8px;
  --r-lg: 14px;
  --gutter: 16px;
  --section: clamp(4rem, 2.6rem + 5vw, 7.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgba(8, 42, 48, 0.06), 0 12px 32px -18px rgba(8, 42, 48, 0.28);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol-700); }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 2px; }
:is(.topbar, .hero, .page-hero, .band, .cta-band, .legal-hero, .contact-card, .site-footer) :focus-visible { outline-color: var(--brass); }

h1, h2 { text-wrap: balance; }
.nb { white-space: nowrap; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; color: var(--ink); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.025em; line-height: 1.06; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--petrol); color: var(--white); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

.muted { color: var(--muted); }
.lead { font-size: var(--fs-lead); line-height: 1.6; }

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font: 500 0.98rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0.55rem 1.05rem; font-size: 0.92rem; }
.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: var(--petrol-700); color: var(--white); }
.btn-brass { background: var(--brass); color: var(--petrol-900); }
.btn-brass:hover { background: var(--brass-soft); color: var(--petrol-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
}
.text-link .i { transition: transform 0.25s var(--ease); }
.text-link:hover .i { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (max-width: 479px) { .actions .btn, .cta-actions .btn { flex: 1 1 100%; } }

/* ---------------------------------------------------------------- Barre haute + en-tête */
.topbar { background: var(--petrol-900); color: rgba(255, 255, 255, 0.78); font: 400 0.75rem/1.4 var(--mono); letter-spacing: 0.03em; }
.topbar-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; }
.topbar .sep { display: inline-block; width: 1px; height: 0.85em; background: rgba(201, 164, 92, 0.7); margin: 0 0.7em; vertical-align: -0.1em; }
.topbar-reg { white-space: nowrap; }
.t-short { display: none; }
@media (max-width: 767px) {
  .t-long { display: none; }
  .t-short { display: inline; }
  .topbar-reg { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(8, 42, 48, 0.45); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--petrol); text-decoration: none; min-width: 0; }
.brand > svg { flex: none; width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.brand .wordmark { color: var(--petrol); height: 13px; width: auto; }
.brand-tag { font: 400 0.72rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand:hover { color: var(--petrol); }

.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: var(--petrol);
  cursor: pointer;
  border-radius: var(--r);
}
.menu-btn .i { grid-area: 1 / 1; transition: opacity 0.2s, transform 0.25s var(--ease); }
.menu-btn .i:last-child { opacity: 0; transform: rotate(-45deg); }
.menu-btn[aria-expanded="true"] .i:first-child { opacity: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .i:last-child { opacity: 1; transform: none; }

.nav {
  position: fixed;
  inset: 0 0 0 auto;
  top: var(--nav-top, 0);
  width: min(400px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 120px 24px 32px;
  background: var(--white);
  border-left: 1px solid var(--rule);
  box-shadow: -24px 0 48px -24px rgba(8, 42, 48, 0.35);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  z-index: -1;
}
.nav.is-open { transform: none; visibility: visible; transition: transform 0.35s var(--ease); }
.nav-links { display: flex; flex-direction: column; }
.nav-links a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}
.nav-links a[aria-current="page"] { color: var(--petrol); box-shadow: inset 3px 0 0 var(--brass); padding-left: 12px; }
.lang { display: flex; gap: 0.25rem; font: 500 0.85rem/1 var(--mono); }
.lang a, .lang span { display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding: 0 0.5rem; border-radius: 6px; text-decoration: none; }
.lang span { background: var(--petrol-100); color: var(--petrol); }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--petrol); background: var(--paper); }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: none;
    border: 0;
    transform: none;
    visibility: visible;
    transition: none;
    z-index: auto;
  }
  .nav-links { flex-direction: row; gap: 1.6rem; }
  .nav-links a { padding: 0.4rem 0; border: 0; font-size: 0.97rem; position: relative; }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }
  .nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links a[aria-current="page"] { box-shadow: none; padding-left: 0; }
  .lang a, .lang span { min-width: 36px; min-height: 32px; }
}
@media (max-width: 1023px) {
  .site-header .header-row { position: relative; }
}
@media (max-width: 380px) {
  .brand-tag { display: none; }
  .brand > svg { width: 36px; height: 36px; }
}

/* ---------------------------------------------------------------- Hero accueil */
.hero { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--petrol-900); }
.hero-img, .page-hero-img, .band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-img { object-position: 60% 50%; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::before, .page-hero::before, .band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 42, 48, 0.94) 0%, rgba(8, 42, 48, 0.82) 42%, rgba(8, 42, 48, 0.25) 100%);
}
.hero-inner { padding: clamp(4.5rem, 3rem + 7vw, 9rem) 0 clamp(4rem, 3rem + 5vw, 7rem); max-width: 1240px; }
.hero h1 { color: var(--white); max-width: 15.5em; }
.hero .lead { max-width: 36em; margin-top: 1.5rem; color: rgba(255, 255, 255, 0.86); }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
  font: 500 0.78rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}
.hero-label::before { content: ""; width: 32px; height: 1px; background: var(--brass); }
@media (max-width: 767px) {
  .hero::before { background: linear-gradient(180deg, rgba(8, 42, 48, 0.45) 0%, rgba(8, 42, 48, 0.86) 34%, rgba(8, 42, 48, 0.95) 100%); }
  .hero-inner { padding-top: 8.5rem; }
  .hero-img { object-position: 55% 0; }
}
@media (max-width: 479px) {
  .hero-label { font-size: 0.7rem; letter-spacing: 0.06em; }
  .hero-label::before { width: 20px; }
}

/* Registre d'identité sous le hero */
.register { background: var(--white); border-bottom: 1px solid var(--rule); }
.register-grid { display: grid; grid-template-columns: 1fr; }
.register-grid > div { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.register-grid > div:last-child { border-bottom: 0; }
.register dt { font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.register dd { font-weight: 500; font-size: 1.02rem; color: var(--ink); }
@media (min-width: 640px) {
  .register-grid { grid-template-columns: repeat(2, 1fr); }
  .register-grid > div { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--rule); }
  .register-grid > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--rule); }
  .register-grid > div:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .register-grid { grid-template-columns: repeat(4, 1fr); }
  .register-grid > div { border-bottom: 0; border-right: 1px solid var(--rule); padding: 1.6rem 1.75rem; }
  .register-grid > div:nth-child(odd) { padding-left: 1.75rem; }
  .register-grid > div:first-child { padding-left: 0; }
  .register-grid > div:last-child { border-right: 0; }
}

/* ---------------------------------------------------------------- Sections */
.section { padding: var(--section) 0; }
.section-paper { background: var(--white); border-block: 1px solid var(--rule); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.split { display: grid; gap: 1rem 4rem; align-items: end; }
.section-head p { color: var(--muted); max-width: 38em; }
@media (min-width: 1024px) { .section-head.split { grid-template-columns: 1fr 1fr; } }
.section-foot { margin-top: 2.5rem; }
.links-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }

/* Cartes des trois activités */
.lines { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .lines { grid-template-columns: repeat(2, 1fr); } }
.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.line-card--link:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.line-card--link h3 a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.line-card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.line-card--link h3 .i { color: var(--brass-ink); transition: transform 0.25s var(--ease); }
.line-card--link:hover h3 .i { transform: translateX(4px); }
.line-card--link:hover h3 a { color: var(--petrol); }
@media (min-width: 768px) {
  .line-card--own { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
  .line-card--own .line-media { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--rule); }
  .line-card--own .line-body { padding: 2.5rem 2.5rem 2rem; justify-content: center; }
  .line-card--own .meta { margin-top: 2rem; }
  .line-card--link .line-media { aspect-ratio: 16 / 10; }
  .line-card--own h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem); font-weight: 500; }
}
.line-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.line-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.line-card--link:hover .line-media img { transform: scale(1.035); }
.line-body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.5rem 1.5rem; }
.line-body h3 { margin: 0 0 0.6rem; }
.line-body > p { color: var(--muted); font-size: 0.99rem; }
.line-icon, .area-icon, .step-icon { color: var(--petrol); }
.line-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 50%; color: var(--petrol); }
.meta { margin-top: auto; padding-top: 1.25rem; }
.meta > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; padding: 0.7rem 0; border-top: 1px solid var(--rule); font-size: 0.92rem; }
.meta dt { font: 500 0.7rem/1.6 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.meta dd { font-weight: 500; }

/* Bandeau photo pleine largeur */
.band { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--petrol-900); }
.band::before { background: linear-gradient(90deg, rgba(8, 42, 48, 0.95) 0%, rgba(8, 42, 48, 0.82) 48%, rgba(8, 42, 48, 0.4) 100%); }
@media (max-width: 767px) { .band::before { background: linear-gradient(180deg, rgba(8, 42, 48, 0.88) 0%, rgba(8, 42, 48, 0.95) 100%); } }
.band-img { object-position: center 40%; }
.band-inner { padding: var(--section) 0; }
.band h2 { color: var(--white); max-width: 19em; }
.band-lead { color: rgba(255, 255, 255, 0.82); max-width: 40em; margin-top: 1.25rem; font-size: var(--fs-lead); }
.principles { list-style: none; display: grid; gap: 2rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding: 2rem 1.5rem; background: var(--petrol-900); border-radius: var(--r-lg); }
@media (min-width: 768px) { .principles { padding: 2.25rem 2.25rem 2.5rem; } }
@media (min-width: 768px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.principles li { border-top: 1px solid var(--brass); padding-top: 1.4rem; }
.principles h3 { color: var(--white); margin-bottom: 0.5rem; }
.principles p { color: rgba(255, 255, 255, 0.74); font-size: 0.98rem; }

/* Conditions en bref : fiche à lignes pleine largeur */
.term-sheet { list-style: none; border-top: 1px solid var(--rule-strong); }
.term-sheet li { display: grid; gap: 0.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.term-sheet h3 { margin: 0; }
.term-sheet p { color: var(--muted); max-width: 52em; }
@media (min-width: 768px) {
  .term-sheet li { grid-template-columns: minmax(11rem, 16rem) 1fr; gap: 2.5rem; padding: 1.6rem 0; align-items: baseline; }
}

/* Bandeau d'appel */
.cta-band { background: var(--petrol); color: var(--white); position: relative; overflow: hidden; }
.cta-row { display: grid; gap: 2rem; padding: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) 0; align-items: center; position: relative; z-index: 1; }
@media (min-width: 1024px) { .cta-row { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin-top: 1rem; max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 1024px) { .cta-actions { justify-content: flex-end; } }

/* ---------------------------------------------------------------- Hero des pages internes */
.page-hero { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--petrol-900); }
.page-hero-img { object-position: center 45%; }
.page-hero-inner { padding: clamp(3.5rem, 2.5rem + 5vw, 6.5rem) 0 clamp(3rem, 2.4rem + 3vw, 5rem); }
.page-hero h1 { color: var(--white); max-width: 16em; }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); max-width: 38em; margin-top: 1.25rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; font: 400 0.78rem/1.4 var(--mono); letter-spacing: 0.04em; }
.crumbs a { color: var(--brass); text-decoration: none; }
.crumbs a:hover { color: var(--brass-soft); text-decoration: underline; }
.crumbs span { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 767px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(8, 42, 48, 0.6) 0%, rgba(8, 42, 48, 0.9) 45%, rgba(8, 42, 48, 0.95) 100%); }
}
.focus-top { object-position: 50% 8%; }
.focus-lamp { object-position: 85% 30%; }
.focus-right { object-position: 80% 40%; }

/* ---------------------------------------------------------------- À propos */
.identity { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .identity { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; } }
.identity-intro p { color: var(--muted); margin-top: 1rem; max-width: 30em; }
.identity-photo { margin: 2rem 0 0; aspect-ratio: 4 / 5; max-height: 460px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); }
.identity-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
@media (max-width: 1023px) { .identity-photo { aspect-ratio: 16 / 9; max-height: none; } }
@media (min-width: 1024px) { .identity-intro { position: sticky; top: 120px; align-self: start; } }
.id-table { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 0.5rem 1.5rem; }
.id-table > div { display: grid; gap: 0.25rem; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); }
.id-table > div:last-child { border-bottom: 0; }
.id-table dt { font: 500 0.72rem/1.5 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.id-table dd { font-weight: 500; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .id-table { padding: 0.5rem 2rem; }
  .id-table > div { grid-template-columns: 12rem 1fr; gap: 1.5rem; align-items: baseline; }
}

.two-col { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
.section .two-col:first-child { margin-top: 0; }
.rule-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.75rem 1.5rem; }
.section-paper .rule-card { background: var(--paper); }
.rule-card h3, .rule-card .h3 { margin: 1rem 0 0.6rem; }
.rule-card p { color: var(--muted); }
.stores-box { margin-top: 1.5rem; padding: 1.4rem 1.5rem; border-left: 2px solid var(--brass); background: var(--paper); border-radius: 0 var(--r) var(--r) 0; }
.stores-box h3 { margin-bottom: 0.4rem; }
.stores-box p { color: var(--muted); }
.store-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

.two-col-text { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .two-col-text { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.two-col-text h2 { margin-bottom: 1.25rem; }
.two-col-text p { color: var(--muted); }
.not-box, .pay-box { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 2rem 1.75rem; }
.section-paper .not-box { background: var(--paper); }
.not-box h2, .pay-box h2 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); }
.nots { list-style: none; display: grid; gap: 1rem; }
.nots li { display: grid; grid-template-columns: 20px 1fr; gap: 0.85rem; color: var(--ink); font-size: 0.98rem; }
.nots .i { color: var(--brass-ink); margin-top: 4px; }

/* Listes à coches */
.ticks { list-style: none; display: grid; gap: 0.8rem; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 0.8rem; }
.ticks .i { color: var(--brass-ink); margin-top: 5px; }

/* ---------------------------------------------------------------- Services */
.service { padding: var(--section) 0; border-bottom: 1px solid var(--rule); }
.service-alt { background: var(--white); }
.service-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .service-alt .service-media { order: 2; }
}
.service-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); aspect-ratio: 3 / 2; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-intro { font-size: var(--fs-lead); color: var(--ink); margin-top: 1.25rem; }
.for-box { margin-top: 1.75rem; padding: 1.2rem 1.4rem; border-left: 2px solid var(--brass); background: var(--paper); border-radius: 0 var(--r) var(--r) 0; }
.service-alt .for-box { background: var(--paper); }
.service:not(.service-alt) .for-box { background: var(--white); }
.for-box h3 { font: 600 1rem/1.3 var(--sans); color: var(--ink); margin-bottom: 0.4rem; }
.for-box p { color: var(--ink); font-size: 0.99rem; }
.service-detail { display: grid; gap: 3rem; margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 1024px) { .service-detail { grid-template-columns: 1.25fr 1fr; gap: 5rem; } }
.detail-h { font: 600 1.08rem/1.3 var(--sans); color: var(--ink); padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule-strong); margin-bottom: 0.5rem; }
.areas { list-style: none; display: grid; }
@media (min-width: 640px) { .areas { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.areas li { display: grid; grid-template-columns: 24px 1fr; gap: 0.9rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.areas .area-icon { color: var(--petrol); margin-top: 2px; }
.areas h4 { margin-bottom: 0.3rem; }
.areas p { color: var(--muted); font-size: 0.95rem; }
.service-side .ticks { margin-top: 1.25rem; font-size: 0.98rem; }
.terms-sheet { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.service:not(.service-alt) .terms-sheet { background: var(--white); }
.service-alt .terms-sheet { background: var(--paper); }
.terms-sheet h3 { font: 600 1.08rem/1.3 var(--sans); color: var(--ink); padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--rule); }
.terms-sheet dl { display: grid; }
.terms-sheet dl > div { padding: 1.1rem 1.5rem; border-top: 1px solid var(--rule); }
.terms-sheet dl > div:first-child { border-top: 0; }
.terms-sheet dt { font: 500 0.72rem/1.5 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.terms-sheet dd { font-weight: 500; font-size: 0.97rem; }
@media (min-width: 640px) {
  .terms-sheet dl { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .terms-sheet dl > div { border-top: 0; border-left: 1px solid var(--rule); }
  .terms-sheet dl > div:first-child { border-left: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .terms-sheet dl { grid-template-columns: 1fr 1fr; }
  .terms-sheet dl > div:nth-child(odd) { border-left: 0; }
  .terms-sheet dl > div:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}

/* ---------------------------------------------------------------- Méthode */
.steps-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .steps-layout { grid-template-columns: 5fr 7fr; gap: 5rem; } .steps-aside { position: sticky; top: 120px; align-self: start; } }
.steps-figure { margin: 2rem 0 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); }
.steps-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
@media (max-width: 1023px) { .steps-figure { aspect-ratio: 16 / 10; } }
.steps { list-style: none; display: grid; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; padding-bottom: 2.25rem; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 23.5px; top: 56px; bottom: 8px; width: 1px; background: var(--rule-strong); }
.step-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--petrol); color: var(--white); }
.step h3 { margin: 0.6rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.99rem; max-width: 38em; }

/* ---------------------------------------------------------------- Contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: start; } }
.contact-side { display: grid; gap: 2.25rem; align-content: start; }
.form-panel { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 2rem 1.25rem; scroll-margin-top: 110px; }
@media (min-width: 640px) { .form-panel { padding: 2.5rem 2.25rem; } }
.form-panel h2 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); margin-bottom: 0.6rem; }
.contact-form { display: grid; gap: 1.15rem; margin-top: 1.75rem; }
.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  display: block;
  width: 100%;
  font: 400 1rem/1.5 var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--petrol-700); }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(14, 59, 67, 0.16); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #9b2c1f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.25rem; }
.form-actions .btn:disabled { opacity: 0.6; cursor: progress; }
@media (max-width: 479px) { .form-actions .btn { flex: 1 1 100%; } }
.form-status { margin: 0; font-size: 0.95rem; flex: 1 1 16rem; }
.form-status:empty { display: none; }
.form-status[data-kind="pending"] { color: var(--muted); }
.form-status[data-kind="ok"] { color: #1f6b45; font-weight: 500; }
.form-status[data-kind="error"] { color: #9b2c1f; }
.form-status[data-kind="info"] { color: var(--brass-ink); }
.form-sent { display: none; margin: 0; padding: 0.9rem 1rem; border-left: 2px solid #1f6b45; background: #e8f2ec; color: #1f4d35; border-radius: 0 var(--r) var(--r) 0; }
.form-sent:target { display: block; }
.contact-card { background: var(--petrol); color: var(--white); border-radius: var(--r-lg); padding: 2rem 1.75rem; position: relative; overflow: hidden; }
.contact-card h2 { color: var(--white); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); }
.contact-name { margin-top: 1.25rem; font: 500 0.82rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); }
.contact-list > div { display: grid; gap: 0.3rem; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact-list > div:first-child { margin-top: 0.75rem; }
.contact-list dt { display: flex; align-items: center; gap: 0.55rem; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.contact-list dt .i { color: var(--brass); }
.contact-list dd { font-size: 1.05rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a { color: var(--white); }
.contact-quote h2 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); margin-bottom: 1rem; }
.contact-quote > p { color: var(--muted); margin-bottom: 1.25rem; }
.contact-quote .muted { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---------------------------------------------------------------- Pages légales */
.legal-hero { background: var(--petrol); color: var(--white); padding: clamp(3rem, 2.2rem + 3vw, 5rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem); position: relative; overflow: hidden; }
.legal-hero h1 { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); max-width: 18em; }
.legal-hero .lead { color: rgba(255, 255, 255, 0.84); margin-top: 1rem; max-width: 40em; }
.updated { margin-top: 1.25rem; font: 400 0.78rem/1.4 var(--mono); letter-spacing: 0.04em; color: var(--brass); }
.legal-layout { display: grid; gap: 2.5rem; padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0 var(--section); }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 5rem; } }
.legal-aside { display: grid; gap: 2rem; align-content: start; }
@media (min-width: 1024px) { .legal-aside { position: sticky; top: 100px; } }
@media (max-width: 1023px) { .legal-aside nav:last-child { display: none; } }
.aside-h { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.legal-aside ol, .legal-aside ul { list-style: none; border-left: 1px solid var(--rule); }
.legal-aside li a { display: block; padding: 0.4rem 0 0.4rem 1rem; font-size: 0.92rem; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.legal-aside li a:hover, .legal-aside li a[aria-current="page"] { color: var(--petrol); border-left-color: var(--brass); }
.legal-body { max-width: 760px; }
.legal-party { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.1rem 1.4rem; font-size: 0.94rem; margin-bottom: 2.5rem; }
.legal-party p { margin: 0; color: var(--muted); }
.legal-party p:first-child { color: var(--ink); margin-bottom: 0.2rem; }
.legal-body section { padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.legal-body section:first-of-type { border-top: 0; padding-top: 0; }
.legal-body h2 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); margin-bottom: 1rem; }
.legal-body p, .legal-body li { color: #2c3c3f; }
.legal-body .ticks { margin: 0 0 1rem; }
.legal-body .ticks:last-child { margin-bottom: 0; }
.not-found { min-height: 48vh; display: flex; align-items: center; }

/* ---------------------------------------------------------------- Pied de page */
.site-footer { background: var(--petrol-900); color: rgba(255, 255, 255, 0.78); font-size: 0.94rem; }
.footer-grid { display: grid; gap: 2.5rem; padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.7fr 1fr 1.3fr; gap: 3rem; }
  .footer-grid.has-contact { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; }
}
@media (min-width: 640px) and (max-width: 1023px) { .footer-brand { grid-column: 1 / -1; } }
.site-footer .brand, .site-footer .brand .wordmark { color: var(--white); }
.footer-brand p { margin-top: 1.25rem; max-width: 26em; }
.footer-h { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { line-height: 1.75; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; overflow-wrap: anywhere; }
.footer-contact .i { color: var(--brass); flex: none; }
.footer-entity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 0;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font: 400 0.8rem/1.6 var(--mono);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.84);
}
.footer-entity span:first-child { color: var(--white); font-weight: 500; }
.footer-entity span:not(:last-child)::after { content: "·"; margin: 0 0.7em; color: var(--brass); }
@media (max-width: 639px) {
  .footer-entity { flex-direction: column; }
  .footer-entity span:not(:last-child)::after { content: none; }
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font: 400 0.76rem/1.6 var(--mono);
  color: rgba(255, 255, 255, 0.62);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
