/* ==========================================================================
   Kloeï v2 — feuille de styles
   Sommaire : 1 Polices · 2 Tokens · 3 Base · 4 Composants · 5 Header
   6 Sections d'accueil · 7 Logiciel · 8 À propos · 9 Contact/Formulaires
   10 Footer · 11 Animations · 12 Responsive
   ========================================================================== */

/* 1. Polices (hébergées localement, aucun appel à un service tiers) ------- */
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/poppins-800.woff2') format('woff2'); }

/* 2. Tokens ---------------------------------------------------------------- */
:root {
  --cyan: #39beea;
  --cyan-600: #1ba5d4;
  --cyan-700: #0a7399;   /* cyan lisible sur fond blanc ou très clair (contraste >= 5:1) */
  --cyan-100: #d9f3fc;
  --cyan-50: #f0fafe;
  --ink: #14252b;
  --ink-soft: #3b4f57;   /* texte secondaire (contraste 8,6:1 sur blanc) */
  --pink: #cc3366;
  --pink-100: #fbe4ec;
  --sun: #ffd25a;
  --sun-100: #fff3d1;
  --white: #ffffff;
  --line: #d6e5ea;
  --field-border: #6f8891;

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 28px;
  --radius-xl: 44px;

  --shadow-s: 0 2px 8px rgba(20, 37, 43, 0.07);
  --shadow: 0 14px 34px -12px rgba(20, 37, 43, 0.2);
  --shadow-l: 0 36px 70px -26px rgba(11, 127, 166, 0.45);

  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 76px;
  --subnav-h: 56px;
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0 0 0.6em; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
h1 strong, h2 strong { font-weight: inherit; color: var(--cyan-700); }
.cta-band h2 strong { color: var(--white); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--cyan-700); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .cta-band--dark :focus-visible { outline-color: var(--white); }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--white); padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-s) var(--radius-s); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--white); }

/* 4. Composants ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-700);
}
.eyebrow::before { content: ''; width: 1.6rem; height: 4px; border-radius: 4px; background: var(--pink); }

.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 40rem; }
.lead strong, .prose strong { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.7rem 1.6rem; border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--cyan); color: var(--ink); box-shadow: 0 10px 22px -10px rgba(11, 127, 166, 0.7); }
.btn--primary:hover { background: var(--cyan-600); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #29444e; color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--cyan-50); color: var(--ink); }
.btn--small { min-height: 44px; padding: 0.55rem 1.3rem; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--mist { background: var(--cyan-50); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--ink-soft); }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cyan); }
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; color: var(--ink-soft); }

.checks { list-style: none; display: grid; gap: 0.85rem; margin: 1.5rem 0 2rem; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; }
.checks li::before {
  content: ''; flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314252b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.prose { max-width: 46rem; }
.prose p { color: var(--ink-soft); }
.prose h2 { margin-top: 2.2rem; font-size: 1.5rem; }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow 0.25s ease;
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), var(--shadow-s); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo {
  display: block; width: 124px; aspect-ratio: 237 / 93; background: var(--ink);
  -webkit-mask: url('../img/logo.png') center / contain no-repeat;
  mask: url('../img/logo.png') center / contain no-repeat;
}
.brand-logo--light { background: var(--white); }

.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border-radius: 999px;
  font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color 0.2s ease;
}
.nav a:hover { background: var(--cyan-100); color: var(--ink); }
.nav a[aria-current='page'] { background: var(--ink); color: var(--white); }
.header-cta { display: none; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--cyan-100); color: var(--ink); cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 22px; height: 3px; border-radius: 3px; background: currentColor;
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ''; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded='true'] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded='true'] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 0.75rem var(--gutter) 1.5rem;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav ul { list-style: none; display: grid; gap: 0.25rem; margin-bottom: 1rem; }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 52px; padding: 0.5rem 1rem; border-radius: var(--radius-s);
  font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.mobile-nav a[aria-current='page'] { background: var(--cyan-100); }
.mobile-nav .btn { width: 100%; }

/* 6. Accueil ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cyan-50) 0%, var(--white) 92%);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(5rem, 9vw, 8rem);
}
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.hero-copy h1 { margin-bottom: 0.5em; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.hero-badges li {
  padding: 0.4rem 1rem; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500;
}

.hero-visual { position: relative; isolation: isolate; padding: 1.5rem 0 2.5rem 1rem; }
.blob { position: absolute; z-index: -1; }
.blob--main {
  inset: 0 -12% 0 14%; background: var(--cyan);
  border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%;
}
.blob--pink { width: 84px; height: 84px; border-radius: 50%; background: var(--pink); top: 0; left: 2%; }
.blob--sun { width: 58px; height: 58px; border-radius: 50%; background: var(--sun); right: 4%; bottom: 6%; }
.dots {
  position: absolute; z-index: -1; width: 150px; height: 120px; left: -4%; bottom: 4%;
  background-image: radial-gradient(var(--ink) 1.8px, transparent 2px); background-size: 15px 15px; opacity: 0.22;
}

.device {
  background: var(--white); border-radius: var(--radius-s); overflow: hidden;
  box-shadow: var(--shadow-l); border: 1px solid rgba(20, 37, 43, 0.08);
}
.device-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--cyan-50); border-bottom: 1px solid var(--line); }
.device-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.device-bar span:nth-child(2) { background: var(--sun); }
.device-bar span:nth-child(3) { background: var(--cyan); }
.device img { width: 100%; }

.float-tile {
  position: absolute; display: grid; place-items: center; width: clamp(72px, 11vw, 112px); aspect-ratio: 1;
  padding: 0.8rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.float-tile--a { top: -1.5rem; right: 3%; }
.float-tile--b { bottom: -0.5rem; left: -1.5%; }
.float-tile img { max-height: 100%; width: auto; object-fit: contain; }

.stats-wrap { position: relative; z-index: 2; margin-top: -3.5rem; }
.stats { display: grid; gap: 1rem; }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; box-shadow: var(--shadow);
}
.stat-value { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--cyan-700); }
.stat-label { display: block; margin-top: 0.4rem; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.45; }

.grid-3 { display: grid; gap: 1.25rem; }
.icon-bubble { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--cyan-100); }
.icon-bubble img { max-width: 56px; max-height: 52px; width: auto; object-fit: contain; }
.grid-3 > :nth-child(2) .icon-bubble { background: var(--pink-100); }
.grid-3 > :nth-child(3) .icon-bubble { background: var(--sun-100); }

.module-cards { display: grid; gap: 1.25rem; }
.module-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.module-card-media { background: var(--cyan-50); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9.5; overflow: hidden; }
.module-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 0.5s ease; }
.module-card:hover .module-card-media img { transform: scale(1.04); }
.module-card-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.module-card-tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--pink); margin-bottom: 0.4rem; }
.module-card-link {
  margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--cyan-700); text-decoration: none;
}
.module-card-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.module-card-link svg { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.module-card:hover .module-card-link svg { transform: translateX(4px); }
.module-card:hover .module-card-link { color: var(--ink); }
.section-foot { margin-top: 2.5rem; text-align: center; }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-media { position: relative; isolation: isolate; }
.split-media img { margin-inline: auto; width: 100%; max-width: 520px; }
.split-media::before {
  content: ''; position: absolute; z-index: -1; width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: var(--sun); right: 4%; top: -6%;
}
.split--reverse .split-media::before { background: var(--pink-100); right: auto; left: 2%; width: 46%; top: auto; bottom: -4%; }
.split-copy p { color: var(--ink-soft); }
.split-copy .lead { max-width: none; }

.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; list-style: none; }
.logos img { height: 52px; width: auto; filter: grayscale(1); opacity: 0.8; transition: filter 0.2s ease, opacity 0.2s ease; }
.logos img:hover { filter: none; opacity: 1; }
.quotes { display: grid; gap: 1.25rem; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1.25rem; font-size: 1.1rem; line-height: 1.6; }
.quote figcaption { font-size: 0.95rem; color: var(--ink-soft); }
.quote figcaption strong { display: block; color: var(--ink); }

.cta-section { padding-block: 0 clamp(3.5rem, 8vw, 6.5rem); }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; background: var(--cyan); color: var(--ink);
  border-radius: var(--radius-xl); padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 6vw, 5rem);
}
.cta-band::before, .cta-band::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.cta-band::before { width: 340px; height: 340px; right: -90px; top: -120px; }
.cta-band::after { width: 200px; height: 200px; left: -70px; bottom: -90px; background: rgba(255, 255, 255, 0.2); }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 0.4em; max-width: 18ch; }
.cta-band p { max-width: 38rem; font-size: 1.15rem; }
.cta-band .actions { margin-top: 1.75rem; }

/* 7. Page Logiciel ---------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem); background: linear-gradient(180deg, var(--cyan-50), var(--white)); }
.page-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.media-panel {
  background: var(--cyan); border-radius: var(--radius-xl); padding: clamp(0.75rem, 3vw, 2rem);
  box-shadow: var(--shadow-l);
}
.media-panel--mist { background: var(--cyan-100); box-shadow: none; }
.media-panel img { width: 100%; margin-inline: auto; }
.page-hero .split-media img { max-width: 480px; }

.subnav {
  position: sticky; top: var(--header-h); z-index: 90; height: var(--subnav-h);
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-block: 1px solid var(--line);
}
.subnav .container { height: 100%; }
.subnav ul { list-style: none; display: flex; height: 100%; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: flex; align-items: center; height: 100%; padding: 0 1.1rem; white-space: nowrap;
  font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  border-bottom: 3px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--cyan-700); border-bottom-color: var(--cyan); }

.module { padding-block: clamp(3rem, 7vw, 5.5rem); }
.module--alt { background: var(--cyan-50); }
.module-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.module-num {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; border-radius: 50%;
  background: var(--ink); color: var(--white); font-weight: 700; font-size: 1rem;
}
.module-copy .lead { font-size: 1.08rem; }
.media-caption { margin: 0.9rem 0 0; font-size: 0.88rem; color: var(--ink-soft); }

.video-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; border-radius: var(--radius-s); }
.video-btn .device { display: block; }
.video-btn .device-bar { display: flex; }
.video-btn .device img { transition: transform 0.4s ease, filter 0.3s ease; }
.video-btn:hover .device img { transform: scale(1.015); filter: brightness(0.92); }
.play-badge {
  position: absolute; left: 50%; top: 54%; width: clamp(60px, 9vw, 84px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--white); transform: translate(-50%, -50%);
  box-shadow: 0 14px 30px -8px rgba(20, 37, 43, 0.6); transition: transform 0.25s ease, background-color 0.25s ease;
}
.play-badge svg { width: 38%; height: 38%; margin-left: 6%; }
.video-btn:hover .play-badge, .video-btn:focus-visible .play-badge { transform: translate(-50%, -50%) scale(1.08); background: var(--pink); }
.zoom-hint {
  position: absolute; right: 0.9rem; bottom: 0.9rem; padding: 0.35rem 0.9rem; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow);
}

dialog.lightbox { width: 100%; height: 100%; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; }
dialog.lightbox::backdrop { background: rgba(20, 37, 43, 0.9); }
.lightbox-inner { display: flex; flex-direction: column; height: 100%; padding: clamp(0.75rem, 2vw, 1.5rem); gap: 0.75rem; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lightbox-hint { margin: 0; color: #d3e3e9; font-size: 0.9rem; }
.lightbox-video { flex: 1; min-height: 0; width: 100%; background: #000; border-radius: var(--radius-s); object-fit: contain; }

/* 8. Page À propos --------------------------------------------------------- */
.story { display: grid; gap: 2rem; }
.story-body p { font-size: 1.1rem; color: var(--ink-soft); }
.story-body p:first-child { font-size: 1.3rem; color: var(--ink); font-weight: 500; line-height: 1.5; }

.steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
.step { position: relative; counter-increment: step; padding-top: 4.2rem; }
.step::before {
  content: counter(step); position: absolute; top: 1.5rem; left: 1.75rem; display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--cyan); color: var(--ink); font-weight: 800;
}
.step:nth-child(2)::before { background: var(--pink); color: var(--white); }
.step:nth-child(3)::before { background: var(--sun); }
.step:nth-child(4)::before { background: var(--ink); color: var(--white); }

.team { display: grid; gap: 1.25rem; }
.person { text-align: center; }
.person img { width: 120px; height: 120px; margin: 0 auto 1rem; border-radius: 50%; object-fit: cover; background: var(--cyan-100); }
.person-role { color: var(--ink-soft); margin: 0; }

/* 9. Contact, maintenance, formulaires ------------------------------------- */
.contact-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.info-list { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; }
.info-item:hover { transform: none; box-shadow: none; border-color: var(--line); }
.info-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cyan-100); color: var(--cyan-700); }
.info-icon svg { width: 26px; height: 26px; }
.info-item:nth-child(2) .info-icon { background: var(--pink-100); color: var(--pink); }
.info-item:nth-child(3) .info-icon { background: var(--sun-100); color: #8a6200; }
.info-label { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.info-value { display: flex; align-items: center; min-height: 44px; font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-word; }
a.info-value:hover { color: var(--cyan-700); text-decoration: underline; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-intro { color: var(--ink-soft); font-size: 0.95rem; }
.form-grid { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .req { color: var(--pink); }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 1rem; font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--field-border); border-radius: var(--radius-s);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan-700); box-shadow: 0 0 0 4px rgba(57, 190, 234, 0.35); }
.field.has-error input, .field.has-error textarea { border-color: var(--pink); }
.field-error { margin: 0; color: var(--pink); font-size: 0.88rem; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; padding: 0.9rem 1.1rem; border-radius: var(--radius-s); font-weight: 500; }
.form-status--ok { background: var(--cyan-100); color: var(--ink); }
.form-status--error { background: var(--pink-100); color: #8b1f47; }
.form-note { margin: 1rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }

.legal-section { margin-bottom: 2rem; }
.legal-section h2 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.legal-section p { color: var(--ink-soft); }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #d3e3e9; padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-blurb { max-width: 24rem; margin: 1.25rem 0 0; color: #b6cbd3; }
.site-footer h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 0.2rem; }
.site-footer a { color: #d3e3e9; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem; color: #9fb7c0;
}

.preview-banner {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 300;
  background: var(--pink); color: var(--white); padding: 0.6rem 1.2rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 2rem); text-align: center;
}

/* 11. Animations ----------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-tile--a { animation: float 6s ease-in-out infinite; }
.float-tile--b { animation: float 7s ease-in-out -2s infinite; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* 12. Responsive ----------------------------------------------------------- */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .module-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes, .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav, .header-cta { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }

  .hero-grid { grid-template-columns: 1.02fr 0.98fr; }
  .page-hero-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .quotes, .team { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split-media { order: 2; }
  .module-grid { grid-template-columns: 1.05fr 0.95fr; }
  .module-grid--wide { grid-template-columns: 1.55fr 1fr; }
  .module--flip .module-grid--wide { grid-template-columns: 1fr 1.55fr; }
  .module--flip .module-media { order: 2; }
  .story { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

@media (max-width: 959px) {
  .page-hero-grid .media-panel, .hero-visual { max-width: 640px; }
  .hero-visual { margin-inline: auto; width: 100%; }
}

@media (max-width: 479px) {
  :root { --header-h: 68px; }
  .brand-logo { width: 108px; }
  .actions .btn { width: 100%; }
  .float-tile--a { right: 0; }
}
