:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
[hidden] { display: none !important; }
/* Direction : sections plein écran et espaces généreux, typographie grotesque contemporaine.
   Palette sobre : papier froid, encre graphite, un seul accent vif (cobalt).
   Repères : une maquette de résultat de recherche sur l'accueil, des services en lignes pleine largeur,
   une bande sombre pour « À propos », la navigation en bas à gauche et « Nous écrire » en bas à droite. */

:root {
  --paper: #2a2d31;
  --surface: #33373c;
  --tint: #2f3337;
  --ink: #eef0f2;
  --muted: #b4bac1;
  --line: #454b52;
  --accent: #5fbf96;
  --accent-hover: #86d6b1;
  --accent-soft: #2a3d34;
  --on-accent: #1f2327;
  --band: #202327;
  --band-ink: #eef0f2;
  --band-muted: #b4bac1;
  --band-line: #3a4046;
  --shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.45);
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}
/* Même palette claire sur tous les appareils (téléphone, tablette, ordinateur),
   quel que soit le réglage clair/sombre du système. */
:root[data-theme="dark"] {
  --paper: #2a2d31;
  --surface: #33373c;
  --tint: #2f3337;
  --ink: #eef0f2;
  --muted: #b4bac1;
  --line: #454b52;
  --accent: #5fbf96;
  --accent-hover: #86d6b1;
  --accent-soft: #2a3d34;
  --on-accent: #1f2327;
  --band: #202327;
  --band-ink: #eef0f2;
  --band-muted: #b4bac1;
  --band-line: #3a4046;
  --shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }

/* Bande au-dessus de l'en-tête collant (encoche du téléphone). */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--surface);
}

/* Conteneur : marge latérale d'au moins 16px, y compris sur les bandes pleine largeur. */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 8px;
}
.skip:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
p { margin: 0; }
.small { font-size: 0.9rem; color: var(--muted); }

/* ---------- En-tête et menu ---------- */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.brand em { font-style: normal; color: var(--accent); }

.burger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu {
  position: fixed;
  top: calc(64px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  background: var(--surface);
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.menu-links {
  list-style: none;
  margin: 0;
  padding: 16px 0 32px;
}
.menu-links a {
  display: block;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 10vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-links a:hover,
.menu-links a:focus-visible { color: var(--accent); }
.menu-cta { width: 100%; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-block { width: 100%; }

/* ---------- Sections plein écran ---------- */
.screen {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 10vw, 128px);
}
.screen > .wrap { width: 100%; }
section[id] { scroll-margin-top: calc(64px + env(safe-area-inset-top, 0px)); }

.hero { background: var(--paper); }
.services { background: var(--surface); }
.about { background: var(--band); color: var(--band-ink); }
.contact { background: var(--paper); }

/* ---------- Accueil ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero-grid > div { min-width: 0; }
.kicker {
  margin-bottom: 26px;
  font-weight: 600;
  color: var(--accent);
}
.lead {
  max-width: 34ch;
  margin: 32px 0 40px;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.serp {
  margin: 0;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.serp-query {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.serp-query svg { flex: 0 0 auto; color: var(--muted); }
.serp-result { padding: 20px 4px; }
.serp-result + .serp-result { border-top: 1px solid var(--line); }
.serp-result.is-you {
  margin: 8px 0;
  padding: 20px;
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  background: var(--accent-soft);
}
.serp-result.is-you + .serp-result { border-top: 0; }
.serp-url { font-size: 0.86rem; color: var(--muted); }
.serp-title {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}
.serp-desc { font-size: 0.95rem; color: var(--muted); }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.74rem;
  font-weight: 700;
  vertical-align: middle;
}
.bar {
  display: block;
  height: 10px;
  margin: 10px 0;
  border-radius: 6px;
  background: var(--line);
}
.bar.long { width: 88%; }
.bar.short { width: 62%; }
.serp-caption {
  margin: 18px 4px 0;
  font-size: 0.93rem;
  color: var(--muted);
}

/* ---------- Bandeau d'accueil : nom de l'entreprise en haut, illustration en bas ---------- */
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 60vh, 600px);
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 48px) 0;
  text-align: center;
  background: var(--tint);
  border-radius: 28px;
}
.hero-art {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60%;
  pointer-events: none;
}
.brand-name {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.brand-name em { font-style: normal; color: var(--accent); }
.hero-banner .kicker {
  position: relative;
  margin: 14px 0 0;
}
.hero-grid { margin-top: clamp(48px, 6vw, 80px); }
.hero-grid h1 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  margin-bottom: 26px;
}

/* ---------- Services ---------- */
.intro {
  max-width: 56ch;
  margin-top: 22px;
  font-size: 1.1rem;
  color: var(--muted);
}
.svc-list {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px clamp(32px, 6vw, 88px);
  padding-block: clamp(32px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.svc-title { min-width: 0; }
.svc-title h3 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.svc-body { min-width: 0; }
.svc-body > p { font-size: 1.08rem; color: var(--muted); max-width: 52ch; }
.svc-body ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.svc-body li {
  position: relative;
  padding-left: 30px;
}
.svc-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 16px;
  height: 2px;
  background: var(--accent);
}
.for-who {
  margin-top: 22px;
  font-size: 0.98rem;
  color: var(--muted);
}
.for-who strong { color: var(--ink); }
.svc-body .btn { margin-top: 28px; }
.pill {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- À propos ---------- */
.about-lead {
  max-width: 58ch;
  margin-top: 26px;
  font-size: 1.12rem;
  color: var(--band-muted);
}
.steps {
  counter-reset: step;
  list-style: none;
  margin: clamp(48px, 6vw, 80px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}
.steps li {
  counter-increment: step;
  padding-top: 24px;
  border-top: 1px solid var(--band-line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--band-muted);
}
.steps h3 { color: var(--band-ink); margin-bottom: 10px; font-size: 1.5rem; }
.steps p { color: var(--band-muted); max-width: 32ch; }
.about .btn-primary { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-grid > div { min-width: 0; }
.checks {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}
.checks li {
  position: relative;
  padding-left: 30px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 16px;
  height: 2px;
  background: var(--accent);
}

.form { min-width: 0; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.field {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
  min-width: 0;
}
.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
}
.field select { cursor: pointer; }
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-bottom-color: var(--accent);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 28px;
  font-size: 0.93rem;
  color: var(--muted);
}
.consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}
.status {
  min-height: 1.5em;
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.foot {
  padding-block: 40px 140px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}
.foot-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ---------- Navigation précédent / suivant (bas à gauche) ---------- */
.step-nav {
  position: fixed;
  left: calc(16px + env(safe-area-inset-left, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 14;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.step-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.step-btn:not(:disabled):hover { transform: scale(1.06); }
.step-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.step-label {
  min-width: 118px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}
.step-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--ink);
}
.step-count {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Widget « Nous écrire » (bas à droite) ---------- */
.chat-toggle {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 16;
  height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color 0.2s;
}
.chat-toggle:hover { background: var(--accent-hover); }
.chat-panel {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 17;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100svh - 160px);
  overflow-y: auto;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.chat-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.chat-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.chat-panel .small { margin-bottom: 18px; }
.chat-panel .field { margin-bottom: 16px; }
.chat-panel .field input,
.chat-panel .field textarea { font-size: 1rem; }
.chat-panel .consent { margin-bottom: 20px; font-size: 0.88rem; }

/* ---------- Apparition au défilement ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero h1,
.hero .kicker,
.hero .lead,
.hero .actions,
.hero .serp {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero .kicker { animation-delay: 0s; }
.hero h1 { animation-delay: 0.08s; }
.hero .lead { animation-delay: 0.18s; }
.hero .actions { animation-delay: 0.26s; }
.hero .serp { animation-delay: 0.36s; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

/* ---------- Adaptation aux écrans ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid,
  .svc { grid-template-columns: 1fr; }
  .svc { gap: 20px; }
}

@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .hero-banner { min-height: 0; padding-bottom: 260px; }
  .hero-art { height: 240px; }
}

@media (max-width: 480px) {
  .step-label { display: none; }
}

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

/* Compléments du site multi-pages : en-têtes de page, blocs, cartes, appel à l'action, pied de page.
   Ce fichier se charge après base.css. */

/* Ancres : l'en-tête collant ne masque pas les titres */
[id] { scroll-margin-top: calc(64px + env(safe-area-inset-top, 0px)); }

a { color: var(--accent); }

/* Menu : page en cours */
.menu-links a[aria-current="page"] { color: var(--accent); }

/* Blocs de contenu */
.block {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
  background: var(--paper);
}
.block.alt { background: var(--surface); }
.block.dark { background: var(--band); color: var(--band-ink); }
.block.dark h2,
.block.dark h3 { color: var(--band-ink); }
.block.dark .btn-primary { margin-top: clamp(32px, 4vw, 48px); }

.block-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* En-tête des pages secondaires */
.page-hero {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px);
  background: var(--paper);
}
.page-hero.dark { background: var(--band); color: var(--band-ink); }
.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
}
.page-hero.dark h1 { color: var(--band-ink); }
.page-hero .pill { margin-bottom: 24px; }
.page-hero .lead {
  max-width: 46ch;
  margin: 28px 0 0;
}
.page-hero .about-lead { margin-top: 26px; }

/* Cartes */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.card:hover,
a.card:focus-visible {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.card-tag {
  margin-bottom: 36px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.card p {
  font-size: 0.98rem;
  color: var(--muted);
}
.card-link {
  margin-top: auto;
  padding-top: 28px;
  font-weight: 700;
  color: var(--accent);
}
.block.dark .card {
  background: var(--band);
  border-color: var(--band-line);
}
.block.dark .card p { color: var(--band-muted); }
.block.dark a.card:hover,
.block.dark a.card:focus-visible { border-color: var(--accent); }

/* Deux colonnes : titre à gauche, texte à droite */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.split > div { min-width: 0; }
.split p {
  max-width: 56ch;
  font-size: 1.08rem;
  color: var(--muted);
}
.split p + p { margin-top: 18px; }
.split .checks { margin-top: 28px; }

/* Appel à l'action dans un bandeau */
.cta-band {
  padding: clamp(32px, 5vw, 64px);
  background: var(--band);
  color: var(--band-ink);
  border-radius: 28px;
}
.cta-band .h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.cta-band .intro { margin-top: 18px; }
.cta-band .actions { margin-top: 32px; }

/* Fiches de service détaillées */
.svc-title h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
}
.svc-sub + .svc-sub { margin-top: 36px; }
.svc-sub h3 { margin-bottom: 14px; font-size: 1.1rem; }
.svc-sub ul { margin-top: 0; }

/* Étapes numérotées */
.plan {
  counter-reset: plan;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plan li {
  counter-increment: plan;
  position: relative;
  padding-left: 52px;
  color: var(--muted);
}
.plan li::before {
  content: counter(plan);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
}
.plan li strong {
  display: block;
  color: var(--ink);
}

/* Boutons de navigation : version lien (bas à gauche) */
.step-btn { text-decoration: none; }
.step-btn[aria-disabled="true"] {
  opacity: 0.3;
  cursor: default;
}

/* Pied de page sur fond bleu marine */
.foot {
  background: var(--band);
  border-top: 0;
  color: var(--band-muted);
}
.foot .foot-brand { color: var(--band-ink); }
.foot .small { color: var(--band-muted); }
.foot a {
  color: var(--band-ink);
  text-underline-offset: 3px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 22px 0 18px;
  padding: 0;
  list-style: none;
}
.foot-links a {
  font-weight: 600;
  text-decoration: none;
}
.foot-links a:hover,
.foot-links a[aria-current="page"] { text-decoration: underline; }

/* Apparition au défilement : décalage vertical seulement, le contenu reste visible au repos */
@keyframes rise {
  from { transform: translateY(24px); }
  to { transform: none; }
}

.contact-sub {
  margin-top: 40px;
  font-size: 1.1rem;
}

/* Repères à compléter avant la mise en ligne (mentions légales) */
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

/* Mentions légales et confidentialité */
.legal { max-width: 760px; }
.legal-title {
  margin: 56px 0 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.legal-title:first-child { margin-top: 0; }
.legal-sub {
  margin: 28px 0 8px;
  font-size: 1.05rem;
}
.legal p {
  margin-top: 10px;
  color: var(--muted);
}
.legal-list {
  margin: 0;
  border-top: 1px solid var(--line);
}
.legal-list > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.legal-list dt { font-weight: 600; color: var(--ink); }
.legal-list dd { margin: 0; color: var(--muted); }
.legal .legal-date { margin-top: 48px; }
@media (max-width: 560px) {
  .legal-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* Adaptation aux écrans */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}


/* Appels à l'action sur fond bleu marine : boutons clairs et lisibles dans les deux thèmes */
.cta-band .h2 { color: var(--band-ink); }
.cta-band .intro { color: var(--band-muted); }
.cta-band .btn-primary { background: var(--band-ink); color: var(--band); }
.cta-band .btn-primary:hover { background: var(--band-muted); }
.cta-band .btn-ghost { color: var(--band-ink); box-shadow: inset 0 0 0 1.5px var(--band-muted); }
.cta-band .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--band-ink); }

/* Accueil : bandeau de marque sans image */
.hero-banner { min-height: 0; padding-bottom: clamp(40px, 6vw, 72px); }

/* Coordonnées directes sur la page Contact */
.contact-direct p { margin: 0 0 14px; display: grid; gap: 2px; }
.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-direct a {
  font-weight: 600;
  color: var(--accent);
  overflow-wrap: anywhere;
}

/* Refonte visuelle : cartes des rubriques */
.cards { gap: 20px; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px 26px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 16px 34px -22px rgb(0 0 0 / 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.06), 0 24px 40px -22px rgb(0 0 0 / 0.4);
}
.card-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.card h3 { font-size: 1.35rem; line-height: 1.2; margin: 18px 0 10px; }
@media (prefers-reduced-motion: reduce) {
  .card, a.card:hover { transition: none; transform: none; }
}

/* Titre principal penché vers la droite, pour un effet tourné vers l'avenir */
h1 {
  font-style: oblique 8deg;
}

/* Logo dans l'en-tête */
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
}
