/* ==========================================================================
   DigitCraft — Design System v5 "Atelier Démo"
   Palette : Beige #f1f2eb · Bleu nuit #114b5f · Vert d'eau #1ea896 · Blanc
   Typo : Space Grotesk (titres) + Inter (texte) + JetBrains Mono (repères)

   Objectif : le site ne décrit plus seulement les prestations, il en fait la
   démonstration — un chatbot avec lequel on peut vraiment discuter, une carte
   de fidélité Fidzy cliquable et animée, un schéma d'automatisation vivant,
   une étude de cas mise en avant en grand format. Navigation repensée en
   dock flottant façon application, plus de menu plein écran, plus de listes
   numérotées façon dossier — nouvelle structure de page à chaque section.
   ========================================================================== */

:root {
  --color-cream: #f1f2eb;
  --color-cream-dark: #e3e5d6;
  --color-navy: #114b5f;
  --color-navy-deep: #0a2e3a;
  --color-navy-soft: #1c6478;
  --color-teal: #1ea896;
  --color-teal-light: #3fd1bd;
  --color-teal-deep: #157567;
  --color-white: #ffffff;

  --text-strong: var(--color-navy-deep);
  --text-body: #3c5561;
  --text-muted: #5c747d;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.64);

  --surface-page: var(--color-cream);
  --surface-card: var(--color-white);
  --surface-dark: var(--color-navy-deep);
  --border-soft: rgba(10, 46, 58, 0.22);
  --border-strong: var(--color-navy-deep);

  --shadow-hard-sm: 5px 5px 0 rgba(10, 46, 58, 0.14);
  --shadow-float: 0 16px 40px rgba(10, 46, 58, 0.22);

  --font-heading: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --section-pad: clamp(64px, 9vw, 128px);
  --container-w: 1180px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.18s;
  --dur-medium: 0.3s;
  --dur-slow: 0.6s;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface-page);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

section { padding-block: var(--section-pad); }

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--color-navy-deep); color: #fff;
  padding: 12px 18px; border-radius: var(--radius-xs);
  z-index: 1000; transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-teal); outline-offset: 3px; border-radius: 2px;
}

/* ==========================================================================
   Eyebrow / tag
   ========================================================================== */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--color-teal-deep); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--color-teal); }
.on-dark .eyebrow { color: var(--color-teal-light); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ==========================================================================
   Boutons — rectangulaires
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translate(0, 0) !important; box-shadow: none !important; }
/* Sur mobile, certains libellés de bouton sont trop longs pour tenir sur une ligne
   (ex. "Choisir un créneau sur Google Calendar") : autoriser le retour à la ligne
   plutôt que de laisser le texte déborder de son conteneur. */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
}

.btn-primary { background: var(--color-navy-deep); border-color: var(--color-navy-deep); color: #fff; }
.btn-primary:hover { background: var(--color-teal); border-color: var(--color-teal); transform: translate(-3px, -3px); box-shadow: var(--shadow-hard-sm); }

.btn-secondary { background: transparent; color: var(--color-navy-deep); border-color: var(--color-navy-deep); }
.btn-secondary:hover { background: var(--color-navy-deep); color: #fff; transform: translate(-3px, -3px); box-shadow: var(--shadow-hard-sm); }

.on-dark .btn-secondary, .cta-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.5); }
.on-dark .btn-secondary:hover, .cta-band .btn-secondary:hover { background: #fff; color: var(--color-navy-deep); border-color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--color-navy-deep); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--color-teal-light); border-color: var(--color-teal-light); }

.btn svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ==========================================================================
   Barre supérieure — fine, logo + un seul CTA (la navigation vit dans le dock)
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--surface-page);
  border-bottom: 2px solid var(--border-strong);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }
.footer-brand .brand-logo { height: 54px; }
@media (max-width: 560px) { .brand-logo { height: 38px; } }
.nav-cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 560px) { .nav-cta .btn-secondary { display: none; } }

/* ==========================================================================
   Dock — navigation flottante façon application (remplace tout menu classique)
   ========================================================================== */

.app-dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 700; display: flex; align-items: stretch; gap: 2px;
  background: var(--color-navy-deep); border: 2px solid var(--color-navy-deep);
  border-radius: var(--radius-md); box-shadow: var(--shadow-float); padding: 6px;
}
.dock-item { position: relative; }
.dock-link, .dock-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 9px 15px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.72); border: none; background: transparent;
  font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.03em;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.dock-link svg, .dock-btn svg { width: 19px; height: 19px; }
.dock-link:hover, .dock-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.dock-link.is-current { color: var(--color-teal-light); }
.dock-item.is-open .dock-btn { color: #fff; background: rgba(255,255,255,0.14); }

.dock-popover {
  position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: var(--surface-card); border: 2px solid var(--color-navy-deep); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-float); padding: 10px; min-width: 230px;
  display: none; flex-direction: column; gap: 2px;
}
.dock-item.is-open .dock-popover { display: flex; }
.dock-popover a { padding: 10px 12px; border-radius: var(--radius-xs); font-size: 0.92rem; font-weight: 500; color: var(--text-body); }
.dock-popover a:hover, .dock-popover a.is-current { background: var(--color-cream); color: var(--text-strong); }
.dock-popover .dock-popover-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding: 6px 12px 2px; }

@media (max-width: 640px) {
  .app-dock { left: 10px; right: 10px; bottom: 10px; transform: none; justify-content: space-between; }
  .dock-link, .dock-btn { flex: 1; padding: 8px 4px; }
  /* Le popover s'ancre à toute la barre du dock (plutôt qu'au bouton cliqué) pour
     ne jamais déborder de l'écran, que ce soit "Services" (à gauche) ou "Plus" (à droite). */
  .dock-item { position: static; }
  .dock-popover { left: 0; right: 0; transform: none; min-width: 0; width: auto; max-height: 60vh; overflow-y: auto; }
}

.site-footer { padding-bottom: 118px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 56px); }
.hero-inner { max-width: 780px; }
.hero h1 { margin-bottom: 16px; }
.hero .lede { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; margin-bottom: 22px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--color-teal); flex-shrink: 0; }
@media (max-width: 640px) { .hero-trust { display: none; } }
@media (max-width: 480px) {
  .hero { padding-top: 32px; padding-bottom: 28px; }
  .page-hero { padding-block: 28px 24px; }
  .breadcrumb { margin-bottom: 14px; }
  .eyebrow { margin-bottom: 10px; }
  .hero-cta-row { gap: 10px; margin-bottom: 14px; }
}

/* ==========================================================================
   Démo — chatbot fonctionnel
   ========================================================================== */

.demo-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.demo-panel-grid > * { min-width: 0; }
@media (max-width: 900px) { .demo-panel-grid { grid-template-columns: 1fr; } }
.demo-panel-grid.reverse { direction: rtl; }
.demo-panel-grid.reverse > * { direction: ltr; }

.demo-tag {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-teal-deep);
  border: 1.5px solid var(--color-teal-deep); border-radius: var(--radius-xs); padding: 4px 10px; margin-bottom: 16px;
}
.on-dark .demo-tag { color: var(--color-teal-light); border-color: var(--color-teal-light); }

.demo-chat {
  border: 2px solid var(--color-navy-deep); border-radius: var(--radius-md);
  background: var(--color-navy-deep); color: #fff; overflow: hidden;
  box-shadow: var(--shadow-float); max-width: 460px; margin-inline: auto;
}
.demo-chat-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.68);
}
.demo-chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-teal-light); flex-shrink: 0; }
.demo-chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 210px; max-height: 320px; overflow-y: auto; }
.demo-msg { max-width: 82%; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 0.92rem; line-height: 1.4; }
.demo-msg.bot { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); align-self: flex-start; }
.demo-msg.user { background: var(--color-teal); color: var(--color-navy-deep); align-self: flex-end; font-weight: 600; }
.demo-chat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.demo-chat-suggestions button {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.02em;
  background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.75);
  border-radius: var(--radius-xs); padding: 6px 10px;
}
.demo-chat-suggestions button:hover { border-color: var(--color-teal-light); color: #fff; }
.demo-chat-form { display: flex; gap: 8px; padding: 14px 18px; border-top: 2px solid rgba(255,255,255,0.15); }
.demo-chat-form input {
  flex: 1; background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: var(--radius-sm); padding: 10px 12px; color: #fff; font-family: var(--font-body); font-size: 0.92rem;
}
.demo-chat-form input::placeholder { color: rgba(255,255,255,0.4); }
.demo-chat-form button {
  background: var(--color-teal); border: 1.5px solid var(--color-teal); color: var(--color-navy-deep);
  border-radius: var(--radius-sm); padding: 10px 18px; font-weight: 700;
}
.demo-chat-form button:hover { background: var(--color-teal-light); border-color: var(--color-teal-light); }

/* ==========================================================================
   Démo — carte de fidélité Fidzy interactive
   ========================================================================== */

.demo-loyalty {
  border: 2px solid var(--color-navy-deep); border-radius: var(--radius-md);
  background: var(--surface-card); padding: 28px; max-width: 420px; margin-inline: auto;
  box-shadow: var(--shadow-float);
}
.demo-loyalty-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.demo-loyalty-head strong { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-strong); }
.demo-loyalty-stamps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.demo-stamp {
  aspect-ratio: 1; border: 2px dashed var(--border-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--color-teal);
  transition: border-color var(--dur-medium) var(--ease-out), background var(--dur-medium) var(--ease-out), transform var(--dur-medium) var(--ease-out);
}
.demo-stamp.is-filled { border-style: solid; border-color: var(--color-teal); background: rgba(30,168,150,0.12); transform: scale(1.05); }
.demo-stamp svg { width: 20px; height: 20px; opacity: 0; transform: scale(0.4); transition: all var(--dur-medium) var(--ease-out); }
.demo-stamp.is-filled svg { opacity: 1; transform: scale(1); }
.demo-loyalty-reward {
  text-align: center; padding: 14px; border: 2px solid var(--color-teal); border-radius: var(--radius-sm);
  background: rgba(30,168,150,0.08); font-weight: 700; color: var(--color-teal-deep);
  margin-bottom: 16px; display: none;
}
.demo-loyalty.is-complete .demo-loyalty-reward { display: block; }
.on-dark .demo-loyalty-reward { color: var(--color-teal-deep); }
.demo-loyalty-actions { display: flex; gap: 10px; }
.demo-loyalty-actions .btn { flex: 1; padding: 12px 16px; font-size: 0.88rem; }

/* Bascule Mode tampons / Mode points à l'intérieur de la carte de démo */
.demo-loyalty .tab-switch { margin-bottom: 18px; gap: 8px; }
.demo-loyalty .tab-switch button { padding: 7px 14px; font-size: 0.72rem; }
.demo-points { margin-bottom: 22px; }
.demo-points-bar {
  height: 16px; border-radius: 999px; background: var(--border-soft); overflow: hidden; margin-bottom: 10px;
}
.demo-points-fill {
  height: 100%; width: 0%; border-radius: 999px; background: var(--color-teal);
  transition: width var(--dur-medium) var(--ease-out);
}
.demo-points-label { text-align: center; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); }
.demo-points-label strong { color: var(--text-strong); font-size: 1rem; }
.on-dark .demo-points-label { color: var(--text-muted); }
.on-dark .demo-points-label strong { color: var(--text-strong); }

/* ==========================================================================
   Démo — schéma d'automatisation animé
   ========================================================================== */

.demo-flow { display: flex; align-items: flex-start; justify-content: space-between; padding-block: 20px 8px; }
.demo-flow-node { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; flex: 1; }
.demo-flow-icon {
  width: 54px; height: 54px; border-radius: var(--radius-sm); border: 2px solid var(--color-navy-deep);
  background: var(--surface-page); display: flex; align-items: center; justify-content: center; color: var(--color-navy-deep);
  z-index: 1;
}
.on-dark .demo-flow-icon { background: var(--color-navy-deep); border-color: var(--color-teal-light); color: var(--color-teal-light); }
.demo-flow-icon svg { width: 24px; height: 24px; }
.demo-flow-label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); text-align: center; }
.on-dark .demo-flow-label { color: var(--text-on-dark-muted); }
.demo-flow-line { position: absolute; top: 27px; left: 50%; width: 100%; height: 2px; background: var(--border-soft); overflow: hidden; }
.on-dark .demo-flow-line { background: rgba(255,255,255,0.2); }
.demo-flow-node:last-child .demo-flow-line { display: none; }
.demo-flow-line::after {
  content: ''; position: absolute; top: -3px; left: -10%; width: 10px; height: 8px; border-radius: 50%;
  background: var(--color-teal); animation: flowPulse 2.4s linear infinite;
}
.demo-flow-node:nth-child(2) .demo-flow-line::after { animation-delay: 0.6s; }
.demo-flow-node:nth-child(3) .demo-flow-line::after { animation-delay: 1.2s; }
.demo-flow-node:nth-child(4) .demo-flow-line::after { animation-delay: 1.8s; }
@keyframes flowPulse { 0% { left: -10%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .demo-flow-line::after { animation: none; left: 45%; opacity: 1; } }
@media (max-width: 700px) {
  .demo-flow { flex-wrap: wrap; gap: 28px 0; }
  .demo-flow-node { flex: 1 1 40%; }
  .demo-flow-line { display: none; }
}

/* ==========================================================================
   Étude de cas — mise en avant grand format (portfolio réel)
   ========================================================================== */

.case-study {
  border: 2px solid var(--color-navy-deep); border-radius: var(--radius-md); overflow: hidden;
  background: var(--surface-card); box-shadow: var(--shadow-float);
}
.case-study-head {
  background: var(--color-navy-deep); color: #fff; padding: clamp(24px, 4vw, 36px);
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px;
}
.case-study-head h3 { color: #fff; margin-bottom: 6px; }
.case-study-head p { color: var(--text-on-dark-muted); margin-bottom: 0; }
.case-study-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-study-body { padding: clamp(24px, 4vw, 36px); }
.case-study-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 48px); margin-top: 24px; padding-top: 24px; border-top: 2px solid var(--border-soft); }
.case-study-stat .num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--color-teal-deep); line-height: 1; }
.case-study-stat .label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); margin-top: 6px; }

/* ==========================================================================
   Onglets services (interrupteur, remplace la grille de cartes)
   ========================================================================== */

.tab-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab-switch button {
  font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.02em;
  background: transparent; border: 2px solid var(--border-soft); color: var(--text-body);
  border-radius: var(--radius-sm); padding: 10px 18px;
}
.tab-switch button:hover { border-color: var(--color-navy-deep); }
.tab-switch button.is-active { background: var(--color-navy-deep); border-color: var(--color-navy-deep); color: #fff; }
.tab-switch-panel { display: none; }
.tab-switch-panel.is-active { display: block; }
.tab-switch-body { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.tab-switch-body > * { min-width: 0; }
@media (max-width: 900px) { .tab-switch-body { grid-template-columns: 1fr; } }
.tab-switch-visual {
  border: 2px solid var(--color-navy-deep); border-radius: var(--radius-md); background: var(--color-navy-deep);
  color: #fff; padding: clamp(28px, 4vw, 40px); min-height: 220px; display: flex; flex-direction: column; justify-content: center;
}

/* ==========================================================================
   Liste de définition — remplace les grilles de cartes pour les listes de
   fonctionnalités (plus légère qu'une liste indexée : puce ronde, pas de
   règle épaisse ni de numéro)
   ========================================================================== */

.deflist { display: flex; flex-direction: column; }
.deflist-item { display: flex; gap: 18px; padding-block: 22px; }
.deflist-item + .deflist-item { border-top: 1px solid var(--border-soft); }
.on-dark .deflist-item + .deflist-item { border-top-color: rgba(255,255,255,0.18); }
.deflist-check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--color-teal);
  color: var(--color-teal-deep); display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.on-dark .deflist-check { border-color: var(--color-teal-light); color: var(--color-teal-light); }
.deflist-check svg { width: 14px; height: 14px; }
.deflist-body h3 { margin-bottom: 6px; font-size: 1.08rem; }
.deflist-body p { margin-bottom: 0; color: var(--text-muted); }
.on-dark .deflist-body p { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Cartes (comparatifs tarifaires) — règle épaisse en haut plutôt que boîte
   ========================================================================== */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface-card); padding: 30px 28px;
  border-top: 3px solid var(--color-navy-deep);
  border-left: 1px solid var(--border-soft); border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  transition: border-top-color var(--dur-medium) var(--ease-out);
}
.card:hover { border-top-color: var(--color-teal); }
.on-dark .card { background: rgba(255,255,255,0.04); border-top-color: var(--color-teal-light); border-left-color: rgba(255,255,255,0.18); border-right-color: rgba(255,255,255,0.18); border-bottom-color: rgba(255,255,255,0.18); }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--color-teal-deep); font-size: 0.92rem; }
.card .card-link svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.card:hover .card-link svg { transform: translateX(4px); }

.on-dark { background: var(--color-navy-deep); color: var(--text-on-dark); border-top: 3px solid var(--color-teal); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Process (steps)
   ========================================================================== */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 16px; border-top: 2px solid var(--border-soft); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 1.9rem; font-weight: 600; color: var(--color-teal-deep);
  display: block; margin-bottom: 10px;
}
.on-dark .step { border-top-color: rgba(255,255,255,0.25); }
.on-dark .step::before { color: var(--color-teal-light); }

/* ==========================================================================
   Bandeau CTA — plein-bleed
   ========================================================================== */

.cta-band {
  background: var(--color-navy-deep); color: #fff;
  border-top: 3px solid var(--color-teal); border-bottom: 3px solid var(--color-teal);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 56ch; margin-inline: auto; }
.cta-band .hero-cta-row { justify-content: center; margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--color-navy-deep); color: var(--text-on-dark-muted); border-top: 4px solid var(--color-teal); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--font-mono); color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; font-weight: 500; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { max-width: 32ch; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-block: 24px; font-size: 0.85rem; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

[data-reveal] { transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
body.reveal-ready [data-reveal] { opacity: 0; transform: translateY(20px); }
body.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ==========================================================================
   Breadcrumb / page header
   ========================================================================== */

.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--text-muted); margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--color-teal-deep); }

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: var(--radius-xs); background: transparent; border: 1.5px solid var(--color-teal-deep);
  color: var(--color-teal-deep); font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 0.76rem; font-weight: 500;
}
.on-dark .badge { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }

.text-accent {
  position: relative; font-style: normal; font-weight: 700; color: var(--color-navy-deep);
  background-image: linear-gradient(var(--color-teal-light), var(--color-teal-light));
  background-repeat: no-repeat; background-size: 100% 0.34em; background-position: 0 92%;
  padding: 0 0.06em;
}
.on-dark .text-accent {
  color: #fff; background-image: linear-gradient(rgba(63,209,189,0.55), rgba(63,209,189,0.55));
  background-size: 100% 0.34em; background-position: 0 92%;
}

/* ==========================================================================
   Bandeau de consentement cookies
   ========================================================================== */

.cookie-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: var(--color-navy-deep); color: #fff;
  padding: 16px 20px; box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transform: translateY(-110%); transition: transform 0.35s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.9); max-width: 62ch; }
.cookie-banner a { color: var(--color-teal-light); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner-actions button {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 9px 18px; border-radius: var(--radius-sm); cursor: pointer; border: 1.5px solid transparent;
}
.cookie-accept { background: var(--color-teal); color: var(--color-navy-deep); }
.cookie-decline { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.cookie-manage-link { background: none; border: none; color: var(--color-teal-light); text-decoration: underline; font-size: 0.82rem; cursor: pointer; padding: 0; font-family: var(--font-body); }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions button { flex: 1; }
}

/* ==========================================================================
   Accordéon FAQ (composant réutilisable sur plusieurs pages)
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--border-soft); padding: 22px 0; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; text-align: left; font-family: var(--font-heading);
  font-weight: 600; font-size: 1.05rem; color: var(--text-strong); cursor: pointer;
}
.faq-question .icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: var(--radius-xs);
  border: 1.5px solid var(--color-teal-deep); color: var(--color-teal-deep); background: transparent;
  display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease-out);
}
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); color: var(--text-muted); }
.faq-item.is-open .faq-answer { max-height: 400px; }
.faq-answer p { padding-top: 14px; margin: 0; }
