/* Arixen — feuille de style du site
   Polices auto-hébergées, aucune dépendance externe. */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/lora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Jetons de thème ---------- */
:root {
  --primary-color: #4a6b53;
  --primary-hover: #a5ba95;
  --secondary-color: #e9eddf;
  --accent-color: #588157;
  --button-color: #c0cfb2;
  --background-color: #faf9f6;
  --surface-color: #f1f4eb;
  --footer-bg: #eaeedf;
  --text-color: #1f2e23;
  --text-muted: #4b6353;
  --border-color: rgba(31, 46, 35, 0.12);
  --glass-border: rgba(88, 129, 87, 0.32);
  --nav-bg: rgba(250, 249, 246, 0.78);
  --field-bg: rgba(255, 255, 255, 0.6);
  --sage-soft: rgba(88, 129, 87, 0.15);
  --sage-dark: #3a5a40;
  --shadow-soft: 0 22px 70px rgba(31, 46, 35, 0.08);
  --shadow-button: 0 16px 36px rgba(88, 129, 87, 0.25);
  --font-heading: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --maxw: 80rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html {
  background: var(--background-color);
  color: var(--text-color);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(163, 177, 138, 0.22), transparent 26rem),
    radial-gradient(circle at 88% 6%, rgba(88, 129, 87, 0.14), transparent 24rem),
    var(--background-color);
  color: var(--text-color);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { font-size: inherit; font-weight: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; background: transparent; border-radius: 0; }
button, select { cursor: pointer; }
input, textarea { cursor: text; }
::selection { background: var(--accent-color); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1.25rem; border-radius: 999px;
  background: var(--text-color); color: #fff; font-size: 0.875rem; font-weight: 600;
  transition: top 150ms ease;
}
.skip-link:focus { top: 1rem; }
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; }
.gutter { padding-inline: 1.25rem; }
.section-pad { padding-block: clamp(5rem, 9vw, 8rem); }
.bg-surface { background: var(--surface-color); }
.text-center { text-align: center; }
.muted { color: var(--text-muted); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.88), rgba(250, 249, 246, 0.56));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: calc(var(--maxw) + 4rem); margin-inline: auto; padding: 1rem 1.25rem;
}
.brand { display: inline-flex; align-items: center; transition: opacity 300ms ease; }
.brand:hover { opacity: 0.8; }
.brand img { height: 2.25rem; width: auto; object-fit: contain; }
.nav-links { display: none; align-items: center; gap: 1.5rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.nav-links a:not(.btn) { transition: color 150ms ease; }
.nav-links a:not(.btn):hover { color: var(--primary-hover); }
.nav-links .btn { margin-left: 0.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.5rem; padding-inline: 1.5rem; border-radius: 999px;
  background: var(--button-color); color: var(--text-color);
  box-shadow: var(--shadow-button);
  font-size: 0.875rem; font-weight: 600; line-height: 1; white-space: nowrap; text-align: center;
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.btn:hover { background: var(--primary-hover); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn--lg { height: 3rem; padding-inline: 2rem; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.1);
  color: #fff; box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.2); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  border: 1px solid var(--glass-border); background: var(--nav-bg); color: var(--text-color);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  font-size: 1.125rem; transition: background-color 200ms ease;
}
.icon-btn:hover { background: var(--surface-color); }

/* Menu mobile */
.nav-overlay {
  position: fixed; inset: 0; z-index: 80; display: none; flex-direction: column;
  min-height: 100dvh; overflow-y: auto; background: var(--background-color);
}
.nav-overlay.is-open { display: flex; }
.nav-overlay__top { flex: none; border-bottom: 1px solid var(--border-color); background: rgba(250, 249, 246, 0.95); }
.nav-overlay__body {
  display: flex; flex: 1; flex-direction: column; justify-content: center;
  width: 100%; max-width: 28rem; margin-inline: auto; padding: 2rem 1.25rem;
}
.nav-overlay__panel {
  border: 1px solid var(--glass-border); border-radius: 2rem; padding: 1rem;
  background: rgba(241, 244, 235, 0.9); box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.nav-overlay__label {
  margin-bottom: 0.75rem; padding-inline: 0.5rem; font-size: 0.75rem; line-height: 1rem;
  font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage-dark);
}
.nav-overlay nav a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.5rem; padding-inline: 0.5rem; border-radius: 1rem;
  font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600;
  transition: color 150ms ease;
}
.nav-overlay nav a + a { border-top: 1px solid var(--glass-border); }
.nav-overlay nav a:hover { color: var(--primary-hover); }
.nav-overlay nav .icon { font-size: 0.875rem; color: var(--accent-color); }
.nav-overlay .btn { display: flex; width: 100%; height: 3rem; margin-top: 1.25rem; }

/* ---------- Éléments communs ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--sage-dark); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.kicker::before { content: ""; display: inline-block; width: 1.6rem; height: 1px; background: var(--accent-color); }

.glass-panel {
  border: 1px solid var(--glass-border);
  background: linear-gradient(145deg, rgba(250, 249, 246, 0.82), rgba(255, 255, 255, 0.5));
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.media-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; width: 100%;
  border: 1px solid var(--glass-border); border-radius: 2.4rem;
  background: var(--surface-color); box-shadow: var(--shadow-soft);
}
.media-frame::after {
  content: ""; position: absolute; inset: 0.6rem; border: 1px solid rgba(250, 249, 246, 0.5);
  border-radius: inherit; pointer-events: none;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.h1-xl, .h2-lg, .h2-md, .h1-md, .h1-sm, .h2-sm { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; }
.h1-xl { font-size: 2.25rem; margin-top: 1.25rem; }
.h1-md { font-size: 2.25rem; margin-top: 1rem; max-width: 48rem; }
.h1-sm { font-size: 1.875rem; margin-top: 1rem; }
.h2-lg { font-size: 1.875rem; margin-top: 1rem; max-width: 42rem; }
.h2-md { font-size: 1.875rem; margin-top: 1rem; }
.h2-sm { font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 1rem; }
.lead { margin-top: 1.5rem; font-size: 1.125rem; line-height: 2rem; color: var(--text-muted); }

.service-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 3.25rem; height: 3.25rem; border-radius: 1rem;
  background: var(--sage-soft); color: var(--sage-dark); font-size: 1.25rem;
}
.card-title { margin-top: 1.5rem; font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -0.01em; }
.card-text { margin-top: 0.75rem; flex: 1; font-size: 0.875rem; line-height: 1.75rem; color: var(--text-muted); }
.card-link {
  display: inline-flex; align-items: center; gap: 0.5rem; width: max-content; min-height: 2.75rem; margin-top: 1.5rem;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--sage-dark); transition: color 300ms ease;
}
.card-link:hover { color: var(--accent-color); }
.card-link .icon { font-size: 0.75rem; }

.service-card, .sector-card {
  display: flex; flex-direction: column; height: 100%;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
.service-card { border-radius: 1.8rem; padding: 1.9rem; }
.service-card:hover { border-color: rgba(88, 129, 87, 0.58); box-shadow: 0 26px 80px rgba(31, 46, 35, 0.12); transform: translateY(-6px); }
.sector-card { border-radius: 1.6rem; padding: 1.6rem; }
.sector-card:hover { border-color: rgba(88, 129, 87, 0.5); transform: translateY(-4px); }
.sector-card .card-title { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.75rem; }

.grid-cards { display: grid; gap: 1.5rem; margin-top: 3rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.chip {
  display: inline-flex; align-items: center; padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid var(--glass-border); background: var(--background-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--text-color);
}
.chip--surface { background: var(--surface-color); }
.chip--sage {
  border: 0; box-shadow: none; background: var(--sage-soft); color: var(--sage-dark);
  font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.chips--tight { gap: 0.5rem; margin-top: 1rem; }
.label-caps { font-size: 0.75rem; line-height: 1rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-dark); }

.detail-block {
  border: 1px solid var(--glass-border); border-radius: 2rem;
  background: rgba(250, 249, 246, 0.6); padding: clamp(1.5rem, 4vw, 2.4rem);
}
.detail-head { display: flex; flex-direction: column; gap: 1.25rem; }
.detail-head h2 { font-family: var(--font-heading); font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text-color); }
.detail-head p { margin-top: 0.75rem; max-width: 48rem; font-size: 1rem; line-height: 2rem; color: var(--text-muted); }
.detail-points { display: grid; gap: 0.85rem; margin-top: 1.5rem; }
.detail-points--flat { margin-top: 0; }
.detail-points li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
  font-size: 0.92rem; line-height: 1.7; color: var(--text-muted);
}
.detail-points .icon { margin-top: 0.3rem; font-size: 0.8rem; color: var(--accent-color); }

.process-step {
  border: 1px solid var(--glass-border); border-radius: 1.6rem;
  background: rgba(250, 249, 246, 0.6); padding: 1.6rem;
}
.process-step h2, .process-step h3 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: var(--text-color); }
.process-step p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5rem; color: var(--text-muted); }
.process-step--numbered h2 { margin-top: 1.25rem; font-family: var(--font-heading); font-size: 1.125rem; line-height: 1.75rem; letter-spacing: -0.01em; }
.process-step--numbered p { margin-top: 0.75rem; line-height: 1.75rem; }
.process-index {
  display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem;
  border-radius: 999px; background: var(--accent-color); color: #fff;
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600;
}

.contact-line { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.contact-line a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; color: var(--sage-dark); transition: color 300ms ease; }
.contact-line a:hover { color: var(--accent-color); }

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh; overflow: hidden; padding: 8rem 1.25rem 6rem;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1200ms ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: 10; }
.hero-shade--x { background: linear-gradient(90deg, rgba(12, 24, 18, 0.75) 0%, rgba(12, 24, 18, 0.4) 50%, rgba(12, 24, 18, 0.05) 100%); }
.hero-shade--y { background: linear-gradient(0deg, rgba(12, 24, 18, 0.6) 0%, rgba(12, 24, 18, 0) 40%, rgba(12, 24, 18, 0.2) 100%); }
.hero-content { position: relative; z-index: 20; width: 100%; max-width: var(--maxw); margin-inline: auto; }
.hero-inner { max-width: 42rem; }
.hero .kicker { color: var(--secondary-color); }
.hero h1 { color: #fff; }
.hero-text { margin-top: 1.75rem; max-width: 36rem; font-size: 1.125rem; line-height: 2rem; color: rgba(255, 255, 255, 0.85); }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 36rem; margin-top: 3rem; }
.stat-item { border-left: 2px solid var(--accent-color); padding-left: 1.1rem; }
.stat-value { display: block; color: #fff; font-family: var(--font-heading); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.stat-label { display: block; margin-top: 0.4rem; color: rgba(255, 255, 255, 0.75); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-controls { position: absolute; inset: auto 0 1.5rem 0; z-index: 30; padding-inline: 1.25rem; }
.hero-controls__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--maxw); margin-inline: auto; }
.hero-dots, .hero-arrows { display: flex; align-items: center; gap: 0.5rem; }
.hero-dot {
  width: 0.7rem; height: 0.7rem; padding: 0; border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px; background: rgba(255, 255, 255, 0.28); transition: background 300ms ease, width 300ms ease;
}
.hero-dot.is-active { width: 1.9rem; background: #fff; }
.hero-arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background 300ms ease, border-color 300ms ease;
}
.hero-arrow:hover { border-color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.24); }

/* ---------- Sections d'accueil ---------- */
.section-head { display: flex; flex-direction: column; gap: 1.25rem; }
.section-head p.muted { max-width: 28rem; font-size: 1rem; line-height: 1.75rem; }
.codes-box { margin-top: 2.5rem; border-radius: 1.8rem; padding: 1.5rem; }
.split { display: grid; align-items: center; gap: 3rem; }
.split .lead { margin-top: 1.5rem; font-size: 1rem; line-height: 2rem; max-width: 42rem; }
.steps-grid { display: grid; gap: 1rem; margin-top: 2rem; }

.cta-wrap { padding: 0 1.25rem 6rem; }
.cta-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; border-radius: 2.4rem; padding: 2rem; }
.cta-panel .h2-md { margin-top: 1rem; }
.cta-panel > div { max-width: 42rem; }
.cta-panel p.muted { margin-top: 1rem; font-size: 1rem; line-height: 2rem; }
.cta-panel .contact-line { margin-top: 1.5rem; }
.cta-panel .btn { flex: none; }

/* ---------- Pages internes ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 8rem 1.25rem 4rem; background: linear-gradient(150deg, var(--background-color) 0%, var(--surface-color) 100%);
}
.page-hero .container--narrow { max-width: 48rem; margin-inline: auto; }
.page-hero .container--legal { max-width: 56rem; margin-inline: auto; }
.page-hero .lead { margin-top: 1.5rem; }
.orb { position: absolute; border-radius: 999px; filter: blur(8px); opacity: 0.5; pointer-events: none; z-index: -1; }
.orb--sage { width: 24rem; height: 24rem; right: 6%; top: 8%; background: rgba(88, 129, 87, 0.2); }
.orb--sand { width: 18rem; height: 18rem; left: 4%; bottom: 12%; background: rgba(163, 177, 138, 0.24); }
.stack-8 { display: grid; gap: 2rem; padding: 0 1.25rem 6rem; }
.stack-8 > .container { display: grid; gap: 2rem; }
.detail-block--codes { margin-top: 2rem; }
.detail-block--codes h2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage-dark); }
.detail-block--codes p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5rem; color: var(--text-muted); }
.quality-panel { display: grid; gap: 2rem; margin-top: 3rem; border-radius: 2.4rem; padding: 2rem; }
.quality-panel .h2-sm { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; }
.quality-panel .muted { margin-top: 1rem; font-size: 1rem; line-height: 2rem; }

/* Contact */
.contact-section {
  background:
    radial-gradient(circle at 10% 14%, rgba(163, 177, 138, 0.2), transparent 24rem),
    linear-gradient(180deg, var(--background-color), var(--surface-color));
  padding-inline: 1.25rem;
}
.contact-grid { display: grid; gap: 2.5rem; }
.contact-info { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-info-card {
  display: flex; gap: 1rem; border: 1px solid var(--glass-border); border-radius: 1.6rem;
  background: rgba(250, 249, 246, 0.6); padding: 1.4rem;
}
.contact-info-card > .icon { margin-top: 0.25rem; font-size: 1.1rem; color: var(--accent-color); }
.contact-info-card .label-caps { color: var(--text-color); letter-spacing: 0.16em; }
.contact-info-card a, .contact-info-card address {
  display: block; margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.75rem; font-style: normal; color: var(--text-muted);
}
.contact-info-card a { line-height: 1.25rem; transition: color 300ms ease; }
.contact-info-card a:hover { color: var(--text-color); }
.contact-domains { margin-top: 2rem; }
.contact-domains .label-caps { color: var(--text-color); letter-spacing: 0.16em; }

.form { border-radius: 2.4rem; padding: 1.5rem; }
.form-grid { display: grid; gap: 1.25rem; }
.form-label { display: block; margin-bottom: 0.55rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-color); }
.field {
  display: block; width: 100%; height: 3rem; padding-inline: 1.25rem; border: 1px solid var(--glass-border);
  border-radius: 999px; background: var(--field-bg); color: var(--text-color); font-size: 1.125rem;
  appearance: none; -webkit-appearance: none;
}
.field::placeholder { color: var(--text-muted); opacity: 1; }
.field:focus { border-color: var(--accent-color); outline: none; }
select.field {
  padding-right: 3rem; background-repeat: no-repeat; background-position: right 1.25rem center; background-size: 0.9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%234b6353' d='M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
}
textarea.field { height: auto; min-height: 140px; padding: 1.25rem; border-radius: 1.5rem; font-size: 1rem; line-height: 1.5; resize: vertical; }
.form .btn { margin-top: 1.75rem; }
.form .btn:focus-visible { outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; }
.form-status.success { color: #4a6b53; }
.form-status.error { color: #9b4a3d; }

/* Mentions légales */
.legal-wrap { padding: 2.5rem 1.25rem 6rem; }
.legal-stack { display: flex; flex-direction: column; gap: 1.5rem; max-width: 56rem; margin-inline: auto; }
.legal-stack h2 { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.legal-stack p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.75rem; color: var(--text-muted); }
.legal-stack p + p { margin-top: 0.5rem; }
.legal-stack a { font-weight: 600; color: var(--sage-dark); transition: color 300ms ease; }
.legal-stack a:hover { color: var(--accent-color); }

/* 404 */
.notfound { display: flex; min-height: 100vh; align-items: center; padding: 8rem 1.25rem 4rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer-bg); padding: 3rem 1.25rem 2.5rem; color: var(--text-color); }
.footer-main { max-width: var(--maxw); margin-inline: auto; border-top: 1px solid var(--glass-border); padding-top: 2rem; display: flex; flex-direction: column; gap: 2.5rem; }
.footer-brand img { height: 3rem; width: auto; }
.footer-brand p { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.75rem; color: var(--text-muted); }
.footer-cols { display: grid; gap: 2rem; width: 100%; }
.footer-title { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.footer-list { display: grid; gap: 0.5rem; margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
.footer-list a { transition: color 300ms ease; }
.footer-list a:hover { color: var(--text-color); }
.footer-list address { font-style: normal; line-height: 1.75rem; }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.5rem;
  max-width: var(--maxw); margin: 2.5rem auto 0; border-top: 1px solid var(--glass-border); padding-top: 1.5rem;
  font-size: 0.75rem; line-height: 1rem; color: var(--text-muted); text-align: center;
}

/* ---------- Points de rupture ---------- */
@media (min-width: 640px) {
  .nav-bar { padding-inline: 2rem; }
  .brand img { height: 2.75rem; }
  .gutter, .hero, .page-hero, .stack-8, .cta-wrap, .contact-section, .legal-wrap, .site-footer, .hero-controls { padding-inline: 2rem; }
  .nav-overlay__body { max-width: 36rem; padding: 3rem 2rem; }
  .nav-overlay__panel { padding: 1.5rem; }
  .nav-overlay nav a { font-size: 1.5rem; line-height: 2rem; }
  .h1-xl, .h1-md { font-size: 3rem; line-height: 1.25; }
  .h1-sm, .h2-lg, .h2-md { font-size: 2.25rem; line-height: 1.25; }
  .h2-sm { font-size: 1.875rem; line-height: 1.25; }
  .hero-actions { flex-direction: row; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .grid-cards, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-head { flex-direction: row; align-items: flex-start; gap: 1.5rem; }
  .detail-head h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .codes-box { padding: 2rem; }
  .cta-panel { padding: 3rem; }
  .quality-panel { padding: 3rem; }
  .quality-panel .h2-sm { font-size: 1.875rem; }
  .form { padding: 2.5rem; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .span-2 { grid-column: span 2; }
  .contact-line { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .about-points { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; gap: 1rem; text-align: left; }
  .legal-stack h2 { font-size: 1.5rem; line-height: 2rem; }
}
@media (min-width: 768px) {
  .kicker::before { width: 2.4rem; }
  .media-frame::after { inset: 1rem; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .icon-btn--menu { display: none; }
  .nav-overlay { display: none !important; }
  .hero { padding-top: 9rem; }
  .page-hero { padding-top: 9rem; }
  .page-hero--left, .page-hero--legal { padding-top: 10rem; }
  .h1-xl { font-size: 3.75rem; }
  .h2-lg { font-size: 3rem; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .split--approach { grid-template-columns: 0.9fr 1fr; }
  .split--about { grid-template-columns: 1fr 0.9fr; }
  .cta-panel { flex-direction: row; align-items: center; justify-content: space-between; }
  .quality-panel { grid-template-columns: 0.9fr 1fr; align-items: center; }
  .contact-grid { grid-template-columns: 0.85fr 1fr; align-items: start; }
  .footer-main { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 3rem; }
  .footer-cols { width: auto; min-width: 440px; gap: 4rem; }
}
@media (min-width: 1280px) {
  .nav-links { gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Utilitaires ---------- */
.lead--base { font-size: 1rem; line-height: 2rem; max-width: 42rem; }
.mt-8 { margin-top: 2rem; }

/* Références clients : boucle continue sur deux groupes identiques. */
.client-references { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 1rem; }
.client-references + #expertises { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.client-references__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.client-references__pause { flex-shrink: 0; padding: .65rem 1rem; border: 1px solid var(--border-color); color: var(--primary-color); background: transparent; font: inherit; font-size: .8rem; cursor: pointer; }
.client-references__pause[hidden] { display: none; }
.client-references__window { overflow: hidden; background: transparent; }
.client-references__window:focus-visible, .client-references__pause:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 4px; }
.client-references__track { display: flex; width: max-content; animation: clients-scroll 44s linear infinite; }
.client-references__group { display: flex; flex: 0 0 auto; align-items: center; list-style: none; padding: 0; margin: 0; }
.client-references__group li { display: flex; align-items: center; justify-content: center; width: 220px; height: 132px; padding: 24px 30px; }
.client-references__group img { display: block; width: 100%; height: 80px; object-fit: contain; }
.client-references__window:hover .client-references__track,
.client-references__window:focus-within .client-references__track,
.client-references.is-paused .client-references__track { animation-play-state: paused; }
@keyframes clients-scroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
 .client-references__heading { align-items: flex-start; flex-direction: column; }
 .client-references__group li { width: 175px; height: 112px; padding: 20px 24px; }
 .client-references__group img { height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
 .client-references__track { animation: none; }
 .client-references__window { overflow-x: auto; }
 .client-references__group[aria-hidden="true"] { display: none; }
 .client-references__pause { display: none; }
}
