/* ==========================================================================
   Nitro-IT : charte graphique 2026 (voir docs/charte-graphique.md et /charte.html)
   Aucune ressource externe. Polices auto-hébergées sous licence OFL.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  /* Couleurs */
  --encre: #0D1B2A;
  --abysse: #0A2540;
  --abysse-2: #0F3156;
  --abysse-3: #1A4470;
  --lagon: #1557C0;
  --lagon-fonce: #0F4596;
  --meduse: #6CCBF4;
  --meduse-clair: #A9E0F8;
  --ecume: #D9F1FC;
  --papier: #F6F4EF;
  --blanc: #FFFFFF;
  --ardoise: #4B5768;
  --trait: #E2DED5;
  --trait-fonce: #CFC9BC;
  --vin: #7B1E3A;
  --vin-clair: #F6E7EC;
  --sur-sombre: #C9DDEB;
  /* Typographie */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .9375rem;   /* 15 */
  --fs-base: 1.0625rem;/* 17 */
  --fs-lg: 1.25rem;    /* 20 */
  --fs-xl: clamp(1.375rem, 1.2rem + .6vw, 1.625rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --fs-3xl: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --fs-4xl: clamp(2.125rem, 1.5rem + 2.9vw, 3.75rem);
  /* Espacements (base 4) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  /* Formes */
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-pill: 999px;
  --ombre-1: 0 1px 2px rgba(13, 27, 42, .06);
  --ombre-2: 0 2px 4px rgba(13, 27, 42, .04), 0 12px 32px rgba(13, 27, 42, .08);
  --wrap: 1200px;
  --gouttiere: 20px;
  --entete: 72px;
}
@media (min-width: 1024px) { :root { --fs-base: 1.125rem; --gouttiere: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0; font-family: var(--texte); font-size: var(--fs-base); line-height: 1.6; color: var(--encre);
  background: var(--papier); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--lagon); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--lagon-fonce); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--meduse); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: var(--fs-4xl); letter-spacing: -.035em; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { font-weight: 650; }
::selection { background: var(--ecume); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gouttiere); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--blanc); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Étiquette (eyebrow) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s4);
  font-family: var(--display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lagon);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(21, 87, 192, .14); }
.hero .eyebrow, .band-dark .eyebrow { color: var(--meduse); }
.hero .eyebrow::before, .band-dark .eyebrow::before { box-shadow: 0 0 0 4px rgba(108, 203, 244, .18); }

/* ---------- En-tête et navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(246, 244, 239, .92); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--trait); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: var(--entete); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; }
.brand img { width: 34px; height: 42px; }
.brand:hover { color: var(--encre); }
.nav { display: flex; align-items: center; gap: var(--s5); }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 12px; border-radius: var(--r-sm); color: var(--encre); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: var(--fs-sm); }
.nav ul a:hover { background: rgba(13, 27, 42, .05); color: var(--encre); }
.nav ul a[aria-current="page"] { color: var(--lagon); position: relative; }
.nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--lagon); }
.nav-toggle { display: none; align-items: center; gap: 10px; font: 600 var(--fs-sm) var(--display); color: var(--encre); background: var(--blanc); border: 1px solid var(--trait-fonce); border-radius: var(--r-pill); padding: 9px 16px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--encre); position: relative; content: ""; transition: transform .2s ease; }
.nav-toggle-bars::before { position: absolute; top: -5px; }
.nav-toggle-bars::after { position: absolute; top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.open {
    display: flex; position: fixed; left: 0; right: 0; top: var(--entete); bottom: 0; z-index: 79;
    background: var(--papier); padding: var(--s5) var(--gouttiere) var(--s7); overflow-y: auto;
  }
  .nav { flex-direction: column; align-items: stretch; gap: var(--s5); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font-size: 1.5rem; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--trait); border-radius: 0; letter-spacing: -.01em; }
  .nav ul a[aria-current="page"]::after { left: auto; right: 8px; top: 50%; bottom: auto; margin: -3px 0 0; width: 8px; height: 8px; }
  .nav .btn { width: 100%; }
  .menu-open { overflow: hidden; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: var(--r-md); border: 1.5px solid transparent; background: var(--lagon); color: var(--blanc);
  font: 600 1rem/1.2 var(--display); letter-spacing: .005em; text-decoration: none; cursor: pointer; text-align: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--lagon-fonce); color: var(--blanc); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--trait); color: var(--ardoise); border-color: var(--trait); cursor: not-allowed; transform: none; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: var(--fs-sm); border-radius: 12px; }
.btn-secondary { background: var(--encre); color: var(--blanc); }
.btn-secondary:hover { background: #22344A; }
.btn-ghost { background: transparent; color: var(--encre); border-color: var(--trait-fonce); }
.btn-ghost:hover { background: var(--blanc); color: var(--encre); border-color: var(--encre); }
.btn-bright { background: var(--meduse); color: var(--encre); }
.btn-bright:hover { background: var(--meduse-clair); color: var(--encre); }
.btn-ghost-dark { background: transparent; color: var(--blanc); border-color: rgba(255, 255, 255, .38); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .08); color: var(--blanc); border-color: var(--blanc); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
@media (max-width: 520px) { .actions .btn { width: 100%; } }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--blanc); background-color: var(--abysse);
  background-image:
    radial-gradient(900px 480px at 80% 0%, rgba(108, 203, 244, .20), transparent 60%),
    linear-gradient(rgba(108, 203, 244, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 203, 244, .06) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  padding: var(--s7) 0 56px;
}
.hero .wrap { position: relative; display: grid; gap: var(--s7); align-items: center; }
.hero h1 { color: var(--blanc); max-width: 15ch; }
.hero .lead { color: var(--sur-sombre); font-size: var(--fs-lg); max-width: 54ch; line-height: 1.6; }
.hero-art { display: none; }
.hero-points { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { font: 500 var(--fs-sm) var(--display); color: var(--ecume); border: 1px solid rgba(108, 203, 244, .35); border-radius: var(--r-pill); padding: 6px 14px; }
@media (min-width: 960px) {
  .hero { padding: 88px 0 96px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; }
  .hero-art { display: block; width: 100%; max-width: 560px; justify-self: end; }
}

/* ---------- En-tête de page ---------- */
.page-head { padding: 40px 0; border-bottom: 1px solid var(--trait); }
.page-head .wrap { display: grid; gap: var(--s6); align-items: center; }
.page-head h1 { font-size: var(--fs-4xl); max-width: 20ch; }
.page-head .lead { font-size: var(--fs-lg); color: var(--ardoise); max-width: 60ch; line-height: 1.6; margin: 0; }
.page-art { display: none; }
@media (min-width: 960px) {
  .page-head { padding: 72px 0 64px; }
  .page-head .wrap:has(.page-art) { grid-template-columns: 1.4fr .6fr; }
  .page-art { display: block; width: 100%; max-width: 340px; justify-self: end; }
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--blanc); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.section-head { max-width: 720px; margin-bottom: var(--s5); }
.section-head p { color: var(--ardoise); font-size: var(--fs-lg); line-height: 1.55; max-width: 62ch; }
.section-head > :last-child { margin-bottom: 0; }
@media (min-width: 960px) { .section { padding: 88px 0; } .section-head { margin-bottom: 40px; } }
.band-dark { background: var(--abysse); color: var(--sur-sombre); }
.band-dark h2, .band-dark h3 { color: var(--blanc); }
.band-dark .section-head p, .band-dark .muted, .band-dark p { color: var(--sur-sombre); }
.band-dark strong { color: var(--blanc); }
.band-dark a:not(.btn) { color: var(--meduse); }
.band-dark .card { background: var(--abysse-2); border-color: var(--abysse-3); box-shadow: none; }
.band-dark .card p { color: var(--sur-sombre); }
.band-dark .card-link:hover { border-color: var(--meduse); }
.band-dark .card .more { color: var(--meduse); }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: var(--s5); }
@media (min-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cartes ---------- */
.card { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; box-shadow: var(--ombre-1); }
.section-alt .card { background: var(--papier); }
.card h3 { font-size: 1.25rem; margin-bottom: .45em; }
.card p { color: var(--ardoise); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: var(--s4); font: 600 var(--fs-sm) var(--display); color: var(--lagon); }
.card .more::after { content: "  \2192"; }
.card-link { text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.card-link:hover { color: inherit; border-color: var(--lagon); transform: translateY(-3px); box-shadow: var(--ombre-2); }
.card-art { margin: -8px -8px var(--s4); border-radius: 10px; background: var(--papier); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.section-alt .card-art { background: var(--blanc); }
.card-art img { width: 82%; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ecume); color: var(--lagon); display: grid; place-items: center; margin-bottom: var(--s5); flex: none; }
.icon svg { width: 24px; height: 24px; }

/* ---------- Panneaux et listes ---------- */
.panel { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-md); padding: 24px; }
.section-alt .panel { background: var(--papier); }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.h3-like { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; margin-bottom: .6em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--ecume); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.42em + 5px); width: 7px; height: 4px; border-left: 2px solid var(--lagon); border-bottom: 2px solid var(--lagon); transform: rotate(-45deg); }
.ticks-dense li { margin-bottom: 6px; }
.band-dark .ticks li::before { background: rgba(108, 203, 244, .18); }
.band-dark .ticks li::after { border-color: var(--meduse); }
.service-body { display: grid; gap: var(--s5); }
.muted { color: var(--ardoise); }
.note { font-size: var(--fs-sm); color: var(--ardoise); }
.after-list { margin: var(--s6) 0 0; }

/* ---------- Pastilles et badges ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.chips li { font: 500 var(--fs-sm) var(--display); background: var(--ecume); color: var(--lagon-fonce); border-radius: var(--r-pill); padding: 6px 14px; }
.band-dark .chips li { background: rgba(108, 203, 244, .14); color: var(--ecume); }
.badge, .status { display: inline-block; font: 600 var(--fs-xs) var(--display); letter-spacing: .04em; border-radius: var(--r-pill); padding: 3px 10px; vertical-align: middle; background: var(--ecume); color: var(--lagon-fonce); }
.status { background: #FFF1D1; color: #6B4700; margin-left: 4px; }
.badge-vin { background: var(--vin-clair); color: var(--vin); }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s5); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; position: relative; padding: 64px 0 0; border-top: 2px solid var(--trait); }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 18px; left: 0; font: 600 2rem/1 var(--display); color: var(--lagon); letter-spacing: -.02em; }
.steps h3 { font-size: 1.25rem; margin-bottom: .35em; }
.steps p { color: var(--ardoise); }
.band-dark .steps > li { border-color: var(--abysse-3); }
.band-dark .steps > li::before { color: var(--meduse); }

.timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: 860px; }
.timeline > li { counter-increment: step; position: relative; padding: 0 0 40px 76px; }
.timeline > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--abysse); color: var(--meduse); font: 600 1.2rem var(--display); }
.timeline > li::after { content: ""; position: absolute; left: 27px; top: 66px; bottom: 10px; width: 2px; background: var(--trait); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::after { display: none; }
.timeline h2 { font-size: var(--fs-2xl); margin-top: 10px; }
.timeline .deliver { display: inline-block; margin: 4px 0 0; padding: 12px 18px; border-radius: 12px; background: var(--ecume); color: var(--encre); font-size: var(--fs-sm); }

/* ---------- Étude de cas ---------- */
.case { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 960px) { .case { grid-template-columns: 1.1fr .9fr; gap: var(--s8); } }
.case h2:not(:first-child) { margin-top: 1.4em; }
.case-facts { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--trait); border-radius: var(--r-md); overflow: hidden; background: var(--blanc); }
.case-facts li { padding: 14px 20px; border-top: 1px solid var(--trait); display: grid; gap: 2px; }
.case-facts li:first-child { border-top: 0; }
.case-facts span { font: 600 var(--fs-xs) var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--ardoise); }

/* ---------- Valeurs ---------- */
.values { display: grid; gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values > div { background: var(--blanc); padding: 28px 30px; }
.values h3 { font-size: 1.15rem; display: flex; gap: 12px; align-items: center; }
.values h3 svg { width: 22px; height: 22px; color: var(--lagon); flex: none; }
.values p { color: var(--ardoise); margin: 0; }

/* ---------- Avant / après ---------- */
.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.compare { display: grid; gap: var(--s4); }
.compare > div { border-radius: var(--r-md); padding: 24px 26px; border: 1px solid var(--trait); }
.compare .before { background: var(--papier); }
.compare .after { background: var(--ecume); border-color: var(--meduse-clair); }
.compare p { margin: 0; color: var(--ardoise); }
.compare strong { display: block; font-family: var(--display); color: var(--encre); margin-bottom: 6px; }

/* ---------- Portrait ---------- */
.profile { display: grid; gap: var(--s6); align-items: center; }
.profile figure { margin: 0; position: relative; max-width: 380px; }
.profile figure::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-lg); background: var(--meduse); opacity: .35; }
.profile img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); }
.profile figcaption { position: relative; margin-top: 28px; font-size: var(--fs-sm); color: var(--ardoise); }
@media (min-width: 960px) { .profile { grid-template-columns: 360px 1fr; gap: var(--s8); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--trait); border-radius: var(--r-md); background: var(--blanc); transition: border-color .15s ease; }
.section-alt .faq details { background: var(--papier); }
.faq details[open] { border-color: var(--lagon); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 56px 16px 20px; font: 600 1.06rem/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ecume); color: var(--lagon); font: 500 1.25rem/1 var(--display); }
.faq details[open] summary::after { content: "\2212"; background: var(--lagon); color: var(--blanc); }
.faq details > div { padding: 0 20px 18px; color: var(--ardoise); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: var(--s5); }
@media (min-width: 720px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card .value { font: 600 var(--fs-xl) var(--display); color: var(--lagon); word-break: break-word; }
.contact-card:hover .value { text-decoration: underline; }
.contact-more { margin-top: var(--s5); }

/* ---------- Appel à l'action ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 32px 24px; display: grid; gap: var(--s5); align-items: center;
  background-color: var(--abysse); color: var(--blanc);
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(108, 203, 244, .28), transparent 65%);
}
.cta h2 { color: var(--blanc); font-size: var(--fs-2xl); margin-bottom: .35em; max-width: 24ch; }
.cta p { color: var(--sur-sombre); margin: 0; max-width: 60ch; }
.cta .actions { margin-top: 0; }
@media (min-width: 960px) { .cta { grid-template-columns: 1fr auto; gap: var(--s7); padding: 56px 64px; } }

/* ---------- Texte long ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-2xl); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 1em; }
.prose dt { font-weight: 600; }
.prose dd { margin: 0; color: var(--ardoise); }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; } .prose dd { margin-bottom: 8px; } }
.notfound { padding: 64px 0 72px; }

/* ---------- Liens entre pages ---------- */
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
@media (min-width: 720px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .link-grid { grid-template-columns: repeat(3, 1fr); } }
.link-grid a { display: grid; gap: 4px; height: 100%; padding: 18px 22px; border: 1px solid var(--trait); border-radius: var(--r-md); background: var(--papier); text-decoration: none; color: var(--encre); transition: border-color .15s ease, background .15s ease; }
.link-grid a:hover { border-color: var(--lagon); background: var(--blanc); color: var(--encre); }
.link-grid strong { font-family: var(--display); font-weight: 600; color: var(--encre); }
.link-grid span { font-size: var(--fs-sm); color: var(--ardoise); }

/* ---------- Réalisations ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--s6) 0 0; }
.toc a { display: inline-block; padding: 8px 16px; border: 1px solid var(--trait-fonce); border-radius: var(--r-pill); background: var(--blanc); text-decoration: none; color: var(--encre); font: 500 var(--fs-sm) var(--display); }
.toc a:hover { border-color: var(--lagon); color: var(--lagon); }
.real-group { padding: 48px 0; border-top: 1px solid var(--trait); }
.real-group:first-of-type { border-top: 0; }
.real-head { display: grid; gap: 4px; margin-bottom: var(--s5); max-width: 820px; }
.real-head h2 { font-size: var(--fs-2xl); }
.real-head p { color: var(--ardoise); margin: 0; }
.real-list { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .real-list { grid-template-columns: repeat(2, 1fr); } }
.real { border: 1px solid var(--trait); border-radius: var(--r-md); padding: 22px 24px; background: var(--blanc); }
.real h3 { font-size: 1.15rem; margin-bottom: .55em; }
.real p { margin: 0 0 .55em; color: var(--ardoise); font-size: var(--fs-sm); line-height: 1.6; }
.real p:last-child { margin-bottom: 0; }
.real p strong { color: var(--encre); }
.real .res { color: var(--encre); padding-top: .55em; border-top: 1px dashed var(--trait-fonce); margin-top: .8em; }
.real .res strong { color: var(--lagon); }
.real .tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 14px 0 0; }
.real .tags li { font: 500 var(--fs-xs) var(--display); background: var(--ecume); color: var(--lagon-fonce); border-radius: var(--r-pill); padding: 3px 10px; }
.diagram { margin: 0 0 var(--s6); padding: var(--s5); border-radius: var(--r-lg); background: var(--abysse); }
.diagram svg { width: 100%; height: auto; }
.diagram-light { background: var(--papier); border: 1px solid var(--trait); }
.dg-big { font: 600 34px var(--display); fill: #FFFFFF; }
.dg-sm { font: 500 14px var(--texte); fill: #C9DDEB; }
.dg-node rect { fill: #0F3156; stroke: #6CCBF4; stroke-width: 2; }
.dg-node text { font: 600 15px var(--display); fill: #D9F1FC; }
.dg-node-l rect { fill: #FFFFFF; stroke: #1557C0; stroke-width: 2; }
.dg-node-l text, .dg-node-d text { font: 600 15px var(--display); fill: #0D1B2A; }
.dg-node-d rect { fill: #D9F1FC; stroke: #1557C0; stroke-width: 2; }
.dg-label { font: 600 13px var(--display); fill: #4B5768; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Compétences ---------- */
.skills { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .skills { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .skills { grid-template-columns: repeat(3, 1fr); } }
.skill { border: 1px solid var(--trait); border-radius: var(--r-md); padding: 22px 24px; background: var(--blanc); }
.skill h2 { font-size: 1.2rem; margin-bottom: .8em; display: flex; gap: 12px; align-items: center; }
.skill h2 span { width: 36px; height: 36px; border-radius: 10px; background: var(--abysse); color: var(--meduse); display: grid; place-items: center; font-size: .85rem; flex: none; letter-spacing: 0; }
.skill ul { margin: 0; }
.skill li { font-size: var(--fs-sm); color: var(--ardoise); }

/* ---------- Prix ---------- */
.price { font: 600 2rem/1.1 var(--display); color: var(--lagon); letter-spacing: -.02em; margin: .1em 0 .4em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--ardoise); letter-spacing: 0; }

/* ---------- Filière vin ---------- */
.hero-vin { background-color: #0B1F33; background-image: radial-gradient(800px 420px at 85% 10%, rgba(123, 30, 58, .45), transparent 60%), linear-gradient(rgba(108, 203, 244, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 203, 244, .05) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.hero-vin .eyebrow { color: #F2B8CA; }
.hero-vin .eyebrow::before { box-shadow: 0 0 0 4px rgba(242, 184, 202, .2); }

/* ---------- Charte ---------- */
.swatches { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .swatches { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
.swatch { border: 1px solid var(--trait); border-radius: var(--r-md); overflow: hidden; background: var(--blanc); }
.swatch-chip { height: 96px; display: flex; align-items: flex-end; padding: 10px 14px; font: 600 var(--fs-sm) var(--display); }
.swatch-info { padding: 12px 14px; font-size: var(--fs-sm); color: var(--ardoise); }
.swatch-info strong { display: block; color: var(--encre); font-family: var(--display); }
.c-encre { background: #0D1B2A; color: #fff; } .c-abysse { background: #0A2540; color: #fff; } .c-lagon { background: #1557C0; color: #fff; }
.c-lagon-fonce { background: #0F4596; color: #fff; } .c-meduse { background: #6CCBF4; color: #0D1B2A; } .c-ecume { background: #D9F1FC; color: #0F4596; }
.c-papier { background: #F6F4EF; color: #0D1B2A; } .c-blanc { background: #FFFFFF; color: #0D1B2A; } .c-ardoise { background: #4B5768; color: #fff; }
.c-trait { background: #E2DED5; color: #0D1B2A; } .c-vin { background: #7B1E3A; color: #fff; } .c-vin-clair { background: #F6E7EC; color: #7B1E3A; }
.type-row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--trait); }
.type-row code { font-size: var(--fs-xs); color: var(--ardoise); }
.t-4xl { font: 600 var(--fs-4xl)/1.05 var(--display); letter-spacing: -.035em; }
.t-3xl { font: 600 var(--fs-3xl)/1.1 var(--display); letter-spacing: -.025em; }
.t-2xl { font: 600 var(--fs-2xl)/1.15 var(--display); letter-spacing: -.02em; }
.t-xl { font: 600 var(--fs-xl)/1.2 var(--display); }
.t-lg { font-size: var(--fs-lg); } .t-base { font-size: var(--fs-base); } .t-sm { font-size: var(--fs-sm); } .t-xs { font-size: var(--fs-xs); }
.demo-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; padding: var(--s5); border-radius: var(--r-md); background: var(--blanc); border: 1px solid var(--trait); margin-bottom: var(--s4); }
.demo-row.dark { background: var(--abysse); border-color: var(--abysse); }
.space-demo { display: flex; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; }
.space-demo span { display: block; background: var(--meduse); border-radius: 3px; }
.space-demo figure { margin: 0; text-align: center; font-size: var(--fs-xs); color: var(--ardoise); }
.sp1 { width: 4px; height: 4px; } .sp2 { width: 8px; height: 8px; } .sp3 { width: 12px; height: 12px; } .sp4 { width: 16px; height: 16px; } .sp5 { width: 24px; height: 24px; } .sp6 { width: 32px; height: 32px; } .sp7 { width: 48px; height: 48px; } .sp8 { width: 64px; height: 64px; } .sp9 { width: 96px; height: 96px; }
.field { display: grid; gap: 6px; max-width: 420px; }
.field label { font: 600 var(--fs-sm) var(--display); }
.field input { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--trait-fonce); background: var(--blanc); color: var(--encre); }
.field input:focus { outline: 3px solid var(--meduse); outline-offset: 1px; border-color: var(--lagon); }
.field .hint { font-size: var(--fs-xs); color: var(--ardoise); }
.logo-demo { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .logo-demo { grid-template-columns: repeat(3, 1fr); } }
.logo-demo > div { border-radius: var(--r-md); border: 1px solid var(--trait); padding: var(--s6); display: grid; place-items: center; background: var(--blanc); min-height: 180px; }
.logo-demo .on-dark { background: var(--abysse); border-color: var(--abysse); }
.logo-demo .clear { outline: 2px dashed var(--meduse); outline-offset: 12px; }
.ill-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .ill-grid { grid-template-columns: repeat(3, 1fr); } }
.ill-grid figure { margin: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-md); padding: var(--s4); }
.ill-grid figcaption { font-size: var(--fs-xs); color: var(--ardoise); margin-top: 8px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--abysse); color: var(--sur-sombre); padding: 48px 0 24px; font-size: var(--fs-sm); }
.site-footer a { color: var(--ecume); text-decoration: none; }
.site-footer a:hover { color: var(--blanc); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--blanc); font: 700 1.2rem var(--display); letter-spacing: .02em; }
.footer-brand img { width: 30px; height: 37px; }
.footer-title { color: var(--blanc); font: 600 var(--fs-xs) var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--s4); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid var(--abysse-3); margin-top: 40px; padding-top: var(--s5); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 37, 64, .97); border-top: 1px solid var(--abysse-3); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; font: 600 1rem var(--display); text-decoration: none; color: var(--blanc); border: 1.5px solid rgba(255, 255, 255, .38); }
  .mobile-bar a:last-child { background: var(--meduse); color: var(--encre); border-color: var(--meduse); }
  body { padding-bottom: 76px; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .cta, .mobile-bar { display: none; }
  .hero, .band-dark { background: none; color: var(--encre); }
  .hero h1, .hero .lead, .band-dark h2, .band-dark p { color: var(--encre); }
}

/* Corrections */
.section-head p.eyebrow, .real-head p.eyebrow { font-size: var(--fs-xs); color: var(--lagon); line-height: 1.4; margin-bottom: var(--s4); }
.band-dark .section-head p.eyebrow, .band-dark p.eyebrow { color: var(--meduse); }
.hero h1 { font-size: clamp(2.375rem, 1.6rem + 3vw, 3.75rem); max-width: 18ch; }
.brand-dark, .brand-dark:hover { color: var(--blanc); }
.case .eyebrow + h2 { margin-top: 0; }
.hero-vin .hero-art { border-radius: var(--r-lg); }
.diagram svg { max-width: 720px; margin: 0 auto; }
.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--papier); }

/* ==========================================================================
   Rythme vertical et équilibre des grilles
   ========================================================================== */
/* Deux sections consécutives de même fond : une seule marge entre elles. */
.section:not(.section-alt):not(.band-dark) + .section:not(.section-alt):not(.band-dark),
.section-alt + .section-alt,
.band-dark + .band-dark { padding-top: 0; }
h2 + p, h3 + p { margin-top: 0; }
p:last-child, ul:last-child, .ticks:last-child { margin-bottom: 0; }

/* En-tête de section éditorial : titre à gauche, chapeau à droite sur grand écran. */
@media (min-width: 1024px) {
  .section-head:has(> h2 + p) { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .section-head:has(> h2 + p) > .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .section-head:has(> h2 + p) > h2 { margin-bottom: 0; }
  .section-head:has(> h2 + p) > p { margin: 0; }
}

/* Pas de carte orpheline sur la dernière ligne. */
@media (min-width: 720px) {
  .grid-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 720px) and (max-width: 1023px) {
  .grid-3 > :last-child:nth-child(odd), .grid-4 > :last-child:nth-child(odd),
  .link-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .grid-3 > :last-child:nth-child(3n+1), .link-grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .real-list > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .skills > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .skills > :last-child:nth-child(3n+1) ul { columns: 3; column-gap: 32px; }
  .skills > :last-child:nth-child(3n+1) li { break-inside: avoid; }
}
@media (max-width: 719px) {
  .ill-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* FAQ : titre à gauche, questions à droite sur grand écran. */
@media (min-width: 1024px) {
  .wrap:has(> .faq) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 64px; align-items: start; }
  .wrap:has(> .faq) > .section-head { position: sticky; top: calc(var(--entete) + 24px); margin: 0; }
}

/* Méthode : titre d'étape à gauche, texte à droite. */
@media (min-width: 960px) {
  .timeline { max-width: none; }
  .timeline > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 64px; padding-left: 80px; }
  .timeline > li > h2 { grid-column: 1; grid-row: 1 / span 3; margin-top: 8px; }
  .timeline > li > p { grid-column: 2; max-width: 64ch; }
  .timeline .deliver { justify-self: start; }
}

/* Portrait : collant à côté d'un texte long. */
@media (min-width: 960px) {
  .profile-long { align-items: start; }
  .profile-long figure { position: sticky; top: calc(var(--entete) + 32px); }
}

/* Mentions : sommaire à droite. */
.legal { display: grid; gap: var(--s6); }
.legal-toc { display: none; }
@media (min-width: 1024px) {
  .legal { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 64px; align-items: start; }
  .legal-toc { display: block; position: sticky; top: calc(var(--entete) + 24px); border: 1px solid var(--trait); border-radius: var(--r-md); background: var(--blanc); padding: 20px 24px; }
  .legal-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--fs-sm); }
}

/* Mobile : rythme plus serré. */
@media (max-width: 719px) {
  .card-art { aspect-ratio: 16 / 8; }
  .card-art img { width: 64%; }
  .steps > li { padding-top: 56px; }
  .steps > li::before { top: 14px; font-size: 1.6rem; }
  .timeline > li { padding-left: 68px; padding-bottom: 32px; }
  .timeline > li::before { width: 48px; height: 48px; border-radius: 14px; }
  .timeline > li::after { left: 23px; top: 56px; }
  .grid, .real-list, .skills { gap: var(--s4); }
  .values > div { padding: 20px 22px; }
  .compare > div { padding: 18px 20px; }
  .diagram { padding: var(--s3); margin-bottom: var(--s5); }
  .profile figure { max-width: 280px; }
  .faq summary { font-size: 1rem; }
}
.ill-grid .ill-dark { background: var(--abysse); border-color: var(--abysse); }
.ill-grid .ill-dark figcaption { color: var(--sur-sombre); }
.ill-grid img { width: 100%; aspect-ratio: 16 / 11; object-fit: contain; }
.legal-title { color: var(--ardoise); }
.case .diagram { margin: 0; }
@media (max-width: 719px) {
  .card .icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
  .card .icon svg { width: 20px; height: 20px; }
  .card-art { aspect-ratio: 3 / 1; margin-bottom: 12px; }
  .card-art img { width: 44%; }
  .card .more { padding-top: 12px; }
  .hero .eyebrow { letter-spacing: .1em; }
}
/* Mobile : cartes compactes en ligne (icône ou illustration à gauche). */
@media (max-width: 719px) {
  .card:has(> .icon) { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .card:has(> .icon) > .icon { grid-row: 1 / span 3; margin: 2px 0 0; }
  .card:has(> .icon) > h3 { margin-bottom: .3em; }
  .card:has(> .card-art) { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .card:has(> .card-art) > .card-art { grid-row: 1 / span 3; margin: 0; aspect-ratio: 1; border-radius: 10px; }
  .card:has(> .card-art) > .card-art img { width: 92%; }
  .card:has(> .card-art) > h3 { margin-bottom: .3em; }
  .card:has(> .card-art) > .more, .card:has(> .icon) > .more { padding-top: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .profile figure { max-width: 220px; }
  .profile figure::before { inset: 12px -12px -12px 12px; }
}
@media (max-width: 519px) { .diagram { display: none; } }
@media (max-width: 719px) {
  .card { padding: 18px 18px 20px; }
  .card h3 { font-size: 1.08rem; }
  .card p, .values p, .steps p, .panel li, .real p { font-size: var(--fs-sm); line-height: 1.55; }
  .values > div { padding: 18px 20px; }
  .section-head p { font-size: 1.0625rem; }
  .hero .lead, .page-head .lead { font-size: 1.0625rem; }
  .steps > li { padding-top: 48px; }
  .steps > li::before { top: 12px; font-size: 1.4rem; }
}
@media (min-width: 720px) and (max-width: 959px) {
  .profile { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
  .profile figure::before { inset: 12px -12px -12px 12px; }
}
.page-head + .section:not(.section-alt):not(.band-dark), .page-head + div > .real-group:first-child { padding-top: 40px; }
@media (min-width: 960px) { .page-head + .section:not(.section-alt):not(.band-dark) { padding-top: 64px; } }
.profile figure::before { bottom: auto; aspect-ratio: 1; }
.profile > div > h2:not(:first-child) { margin-top: 1.1em; }
.profile figcaption { margin-top: 30px; }

/* ---------- Solutions par besoin ---------- */
.sol { padding: 40px 0; }
@media (min-width: 960px) { .sol { padding: 64px 0; } }
.sol + .sol { padding-top: 40px; }
@media (min-width: 960px) { .sol + .sol { padding-top: 64px; } }
.sol-row { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 960px) { .sol-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 64px; } }
.sol-head h2 { font-size: var(--fs-2xl); }
.sol-head .muted { max-width: 52ch; }
.sol-list li { padding: 14px 16px 14px 46px; margin: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: 12px; }
.sol-list li + li { margin-top: 10px; }
.sol-list li::before { left: 16px; top: calc(14px + .3em); }
.sol-list li::after { left: 22px; top: calc(14px + .3em + 5px); }
.section-alt .sol-list li { background: var(--papier); }
@media (min-width: 960px) { .sol-list { padding-top: 34px; } }
.needs-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .needs-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.needs-grid a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--trait); border-radius: var(--r-md); background: var(--papier); color: var(--encre); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.needs-grid a:hover { border-color: var(--lagon); transform: translateY(-2px); color: var(--encre); }
.needs-grid strong { font: 600 1rem/1.25 var(--display); }
.needs-grid span { font-size: var(--fs-sm); color: var(--ardoise); line-height: 1.45; }
.band-dark .needs-grid a { background: var(--abysse-2); border-color: var(--abysse-3); color: var(--blanc); }
.band-dark .needs-grid a:hover { border-color: var(--meduse); color: var(--blanc); }
.band-dark .needs-grid span { color: var(--sur-sombre); }
@media (max-width: 719px) { .needs-grid span { display: none; } .needs-grid a { padding: 14px; } }
.en-cours { border-style: dashed; border-color: var(--trait-fonce); }
.en-cours .h3-like { font-size: var(--fs-xl); }
@media (max-width: 719px) {
  .sol-list li { padding: 12px 14px 12px 42px; font-size: var(--fs-sm); line-height: 1.5; }
  .sol-list li::before { left: 14px; top: calc(12px + .2em); }
  .sol-list li::after { left: 20px; top: calc(12px + .2em + 5px); }
  .sol-row { display: flex; flex-direction: column; }
  .sol-head { display: contents; }
  .sol-head .actions { order: 3; margin-top: 4px; }
  .sol-list { order: 2; }
}
@media (max-width: 719px) {
  .sol-row { gap: 0; }
  .sol-list { margin-top: 16px; }
  .sol-head .actions { margin-top: 20px; }
}
