/* =========================================================
   Christophe Da Silva — feuille de styles commune
   Pages : index.html (entreprises), particuliers.html

   Mobile d'abord : les règles de base visent le téléphone,
   puis deux paliers en fin de fichier :
   - tablette : @media (min-width: 768px)
   - bureau   : @media (min-width: 1200px) — maquette 1440 px validée
   ========================================================= */

/* ---------- Police Figtree, hébergée sur le site ----------
   Fichier variable (graisses 300 à 500), jeu latin ; licence SIL OFL (fonts/OFL.txt).
   Hébergée ici plutôt que chez Google Fonts : aucune requête vers Google, page plus rapide. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variables ---------- */

:root {
  /* Thème « Hybride bleu » : blanc, gris, un seul bleu électrique (choisi le 2026-09-24) */
  --navy: #0B1220;              /* zones sombres + texte principal */
  --navy-soft: #151F33;         /* pastilles et cartes sur fond sombre */
  --navy-line: #2B3854;         /* bordures sur fond sombre */
  --navy-bubble: #1B2740;
  --navy-outline: #3B4B6C;      /* bouton contour sur fond sombre */
  --primary: #2563EB;
  --gold: #EAF1FF;              /* teinte bleu très pâle : étiquettes, dernière étape (nom hérité) */
  --gold-dark: #2563EB;         /* petits titres de rubrique (nom hérité) */
  --bg: #FFFFFF;                /* fond des pages : blanc */
  --champagne: #F7F9FC;         /* fond gris-bleu très clair : haut de page, panneaux (nom hérité) */
  --panel: #F7F9FC;
  --border: #E5E9F0;
  --white: #FFFFFF;

  --text-muted: #545B6B;        /* texte secondaire */
  --text-body: #333A4A;
  --text-lead: #4A5163;
  --text-faint: #6E7384;
  --on-dark: #B7C3DA;           /* texte sur fond sombre */
  --on-dark-strong: #DCE3F1;
  --on-dark-faint: #8592AE;
  --on-primary: #EAF1FF;

  --ice: #EAF1FF;               /* fonds d'icônes et éléments d'interface */
  --line: #DCE2EA;              /* filets et bordures de champs */
  --field-bg: #FBFBFD;
  --placeholder-bg: #E9ECF2;
  --placeholder-line: #A9B2C4;
  --placeholder-line-warm: #D3C6A8;
  --success-bg: #E6ECE3;
  --success-text: #3E5A3C;
  --error-bg: #F6E4DF;
  --error-text: #8A2F24;

  /* Polices */
  --font-serif: 'Figtree', system-ui, sans-serif; /* titres : même police que le texte (thème tech) */
  --font-sans: 'Figtree', system-ui, sans-serif;

  /* Espacements (valeurs mobiles, élargies aux paliers suivants) */
  --page-max: 1440px;
  --gutter: 20px;               /* marges latérales du hero et du contact */
  --section-x: 20px;            /* marges latérales des sections */
  --section-y: 72px;            /* espace au-dessus de chaque section */
  --grid-gap: 24px;             /* gouttière des grilles 12 colonnes (bureau) */
  --card-gap: 16px;             /* espace entre cartes */
  --stack-gap: 32px;            /* titre de section → contenu */
  --callbar-h: 73px;            /* hauteur de la barre d'appel mobile */

  /* Rayons */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 22px;
  --radius-2xl: 24px;
  --radius-pill: 999px;
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--navy);
}

h1, h2, h3, p { margin: 0; }

/* Spécificité nulle : toute classe de lien l'emporte, y compris au survol */
:where(a) { color: var(--primary); }
:where(a:hover) { color: var(--navy); }

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 300;
  /* place pour la barre d'appel collante */
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
}

/* ---------- Mise en page ---------- */

/* <main> reprend la mise en page en colonne de .page (mêmes espacements qu'avant) */
.page > main { display: flex; flex-direction: column; }

.stack { display: flex; flex-direction: column; }

/* Grille 12 colonnes au bureau, une seule colonne avant */
.grid-12 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 40px;
}
.grid-12--center { align-items: center; }
.grid-12--start { align-items: start; }

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--card-gap);
}

.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-22 { gap: 22px; }
.gap-24 { gap: 24px; }
.gap-28 { gap: 28px; }
.gap-30 { gap: 30px; }

.self-start { align-self: flex-start; }

.section { padding: var(--section-y) var(--section-x) 0; }
.section--stack { display: flex; flex-direction: column; gap: var(--stack-gap); }

.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head__intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 440px;
}
.section-head__intro--wide { max-width: 520px; }

/* ---------- Surfaces ---------- */

.surface-white { background: var(--white); color: var(--navy); }
.surface-outline { background: var(--white); border: 1px solid var(--border); }
.surface-primary { background: var(--primary); color: var(--white); }
.surface-navy { background: var(--panel); color: var(--navy); border: 1px solid var(--border); } /* ancien fond sombre, désormais panneau clair */
.surface-navy-soft { background: var(--navy-soft); border: 1px solid var(--navy-line); }
.surface-champagne { background: var(--champagne); }
.surface-cream { background: var(--bg); }

/* ---------- Typographie ---------- */

/* Les grands titres suivent la largeur d'écran et atteignent leur taille bureau vers 1200 px */
.title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.title--hero { font-size: clamp(40px, 7vw, 84px); }
.title--lg { font-size: clamp(36px, 5vw, 60px); }
.title--md { font-size: clamp(32px, 4.2vw, 50px); }
.title--sm { font-size: clamp(30px, 3.9vw, 46px); }
.title--narrow { max-width: 720px; }

.hero--light .title--hero { font-size: clamp(38px, 6.4vw, 76px); line-height: 1; }
.page--large .title--lg { font-size: clamp(34px, 4.7vw, 56px); line-height: 1; }

.accent { color: var(--primary); }
.accent--bronze { color: var(--gold-dark); }

/* Petit titre de rubrique en capitales */
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow--sm { font-size: 13px; letter-spacing: 0.06em; }
.eyebrow--muted { color: var(--text-muted); }
.eyebrow--gold { color: var(--primary); }
.eyebrow--bronze { color: var(--gold-dark); }
.eyebrow--primary { color: var(--primary); }

/* ---------- Boutons ---------- */

.btn {
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 500;
}
.btn--sm { padding: 13px 22px; }
.btn--md { padding: 14px 24px; font-size: 16px; }
.btn--lg {
  padding: 20px 32px;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn--outline {
  padding: 19px 28px;
  font-size: 17px;
  border: 1px solid;
  text-align: center;
}
.btn--submit {
  height: 56px;
  border: 0;
  font-size: 17px;
  font-family: inherit;
  cursor: pointer;
}

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--outline-dark { border-color: var(--navy-outline); color: var(--white); }
.btn--outline-light { border-color: var(--navy); color: var(--navy); }

.page--large .btn--lg { font-size: 19px; gap: 12px; }
.page--large .btn--outline { font-size: 18px; }
.page--large .btn--submit { height: 60px; font-size: 18px; }

/* ---------- Badges ---------- */

.badge {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}
.badge--sm { padding: 4px 10px; }
.badge--lg { padding: 6px 12px; font-size: 14px; }
.badge--gold { background: var(--ice); color: var(--primary); }
.badge--primary { background: var(--primary); color: var(--white); }
.badge--navy { background: var(--navy-bubble); }
.badge--success { background: var(--success-bg); color: var(--success-text); font-size: 12px; }

/* Pastille « outil » ou « commune » */
.chip {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border);
}
/* Zone desservie : communes regroupées par secteur */
.zones { display: flex; flex-direction: column; gap: 14px; margin: 0; font-size: 17px; }
.zones__row { display: flex; flex-direction: column; gap: 2px; }
.zones dt { font-weight: 500; color: var(--navy); }
.zones dd { margin: 0; color: var(--text-body); line-height: 1.6; }
@media (min-width: 768px) {
  .zones__row { flex-direction: row; gap: 24px; }
  .zones dt { flex: 0 0 260px; }
}

/* ---------- Icônes ---------- */

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ice);
  color: var(--primary);
}
.icon-box--sm { width: 34px; height: 34px; border-radius: 10px; }
.icon-box--md { width: 48px; height: 48px; border-radius: 14px; }
.icon-box--lg { width: 58px; height: 58px; border-radius: 18px; }
.icon-box--xl { width: 60px; height: 60px; border-radius: 18px; }
.icon-box--white { background: var(--white); }
.icon-box--bronze { color: var(--gold-dark); }

/* ---------- Cartes et panneaux ---------- */

.card {
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.panel { padding: 28px 20px; border-radius: var(--radius-lg); }

/* ---------- En-tête et menu ---------- */

/* Mobile : logo + burger ; le menu s'ouvre sous le logo, dans le même cadre */
.site-header {
  min-height: 60px;
  box-sizing: border-box;
  padding: 8px 8px 8px 18px;
  border-radius: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.site-header--light { background: var(--white); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
/* Monogramme CDS : version blanche sur l'en-tête sombre, bleu nuit sur l'en-tête clair */
.brand__logo { display: block; width: auto; height: 44px; }
.brand__name { font-family: var(--font-serif); font-weight: 400; font-size: 19px; }

.site-nav {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  padding: 6px 10px 10px 0;
  font-size: 17px;
}
.site-nav__link {
  padding: 14px 0;
  border-top: 1px solid var(--navy-line);
  color: var(--on-dark-strong);
  text-decoration: none;
}
.site-header--light .site-nav__link { color: var(--text-body); border-top-color: var(--border); }
.site-nav .btn { margin-top: 10px; text-align: center; }
.page--large .site-nav { font-size: 16px; }

/* Le burger n'apparaît que si JavaScript est actif ; sans JS, le menu reste déplié */
.burger { display: none; }
.js .burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--navy-line);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.js .site-header--light .burger { border-color: var(--border); }
/* Texte lu par les lecteurs d'écran, invisible à l'écran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Focus clavier visible partout (bleu d'accent, contraste 5,2 sur blanc) */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
/* Lien d'évitement : caché hors écran, visible au premier Tab */
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--primary); color: var(--white); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.burger__icon--close { display: none; }
.burger[aria-expanded="true"] .burger__icon--open { display: none; }
.burger[aria-expanded="true"] .burger__icon--close { display: block; }
.js .site-header:not(.is-open) .site-nav { display: none; }

/* ---------- Barre d'appel collante (mobile et tablette) ---------- */

.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  box-sizing: border-box;
  height: calc(var(--callbar-h) + env(safe-area-inset-bottom));
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--border);
  transition: transform 0.25s ease, visibility 0.25s;
}
/* Avec JS, la barre reste cachée tant que les boutons du hero sont à l'écran */
.js .callbar:not(.is-visible) { transform: translateY(100%); visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .callbar { transition: none; }
}
.callbar__btn {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 12px var(--gutter) 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero--dark { background: var(--navy); color: var(--white); padding-bottom: 104px; } /* place pour la carte des preuves */
/* Haut de page clair avec une fine trame de points */
.hero--light {
  background-color: var(--champagne);
  background-image: radial-gradient(rgba(15, 23, 42, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  padding-bottom: 64px;
}
.hero--home { padding-bottom: 104px; } /* place pour la carte des preuves */

.hero__badge {
  align-self: flex-start;
  padding: 8px 16px 8px 10px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-body);
}
.hero__badge .badge { flex-shrink: 0; white-space: nowrap; }
.hero__tag {
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-dark);
}

.hero__lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--on-dark);
  max-width: 600px;
}
.hero--light .hero__lead { line-height: 1.6; color: var(--text-lead); max-width: 620px; }

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding-top: 6px;
}

.hero__note { font-size: 15px; color: var(--on-dark-faint); }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
}
.rating__star { color: var(--primary); }
.rating:hover { color: var(--navy); }
.hero--light .hero__note { font-size: 16px; color: var(--text-muted); }

/* Illustration « e-mail → IA → devis » : empilée sur mobile, en composition dès la tablette */
/* Illustration du haut de page : masquée sur téléphone, affichée à partir de la tablette */
.hero-visual { display: none; flex-direction: column; gap: 12px; }

.mock-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}
.mock-card--email { padding: 22px; gap: 10px; }
.mock-card--quote { padding: 24px; gap: 14px; }

.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.mock-meta { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.mock-subject { font-weight: 500; font-size: 16px; }
.mock-from { font-size: 14px; color: var(--text-muted); }
.mock-title { font-family: var(--font-serif); font-weight: 400; font-size: 22px; }

.mock-lines { display: flex; flex-direction: column; gap: 8px; }
.mock-line { height: 10px; border-radius: 6px; background: var(--ice); width: 100%; }
.mock-line--78 { width: 78%; }
.mock-line--55 { width: 55%; }

.mock-actions { display: flex; gap: 10px; padding-top: 4px; }
.mock-btn {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--ice);
  font-weight: 500;
  font-size: 15px;
}
.mock-btn--primary {
  flex-grow: 1;
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.mock-chip {
  align-self: flex-start;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-chip--ai { background: var(--ice); color: var(--primary); font-weight: 500; font-size: 15px; }

/* ---------- Bandeau outils ---------- */

.tools {
  margin-top: 48px;
  padding: 24px 0 24px var(--section-x);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
/* Sur téléphone : une seule ligne qu'on fait défiler du doigt */
.tools__list {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
  padding-right: var(--section-x);
  box-sizing: border-box;
  font-weight: 500;
  font-size: 15px;
}
.tools__list::-webkit-scrollbar { display: none; }
.tools__list .chip { flex-shrink: 0; }

/* ---------- Bandeau de preuves (sous le hero) ---------- */

/* Carte blanche qui chevauche le bas du haut de page */
.proofs {
  position: relative;
  z-index: 2;
  margin: -48px var(--section-x) 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: 0 24px 48px -28px rgba(11, 18, 32, 0.35);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px var(--card-gap);
}
.proof { display: flex; flex-direction: column; gap: 12px; }
.proof__body { display: flex; flex-direction: column; gap: 6px; }
.proof__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ice);
  color: var(--primary);
}
.proof__figure { font-family: var(--font-serif); font-size: 26px; line-height: 1.1; color: var(--primary); }
.proof__text { font-size: 15px; line-height: 1.5; color: var(--text-muted); }

/* ---------- Cas d'usage IA (grille en mosaïque) ---------- */

.bento-card { padding: 24px; gap: 16px; }
.bento-card--feature { padding: 28px; justify-content: center; gap: 28px; } /* illustration et texte groupés, centrés dans la carte */
.bento-card--split { padding: 24px; gap: 20px; }

.bento-card__body { display: flex; flex-direction: column; gap: 8px; }
.bento-card__body h3 { font-size: 21px; font-weight: 500; }
.bento-card__body p { font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.bento-card--wide .bento-card__body h3 { font-size: 24px; }
.bento-card--wide .bento-card__body p { font-size: 16px; }

.bento-feature__body { display: flex; flex-direction: column; gap: 14px; }
.bento-feature__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.bento-feature__text { font-size: 18px; line-height: 1.6; color: var(--text-lead); }

.bento-split__body { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; }
.bento-split__title { font-family: var(--font-serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.bento-split__text { font-size: 16px; line-height: 1.55; color: var(--text-lead); }

/* Mini-flux « document reçu → lu → rangé » */

/* ---------- Services ---------- */


/* ---------- Étapes ---------- */

/* Téléphone : frise verticale (numéro à gauche, texte à droite, trait vertical entre les numéros) */
.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 8px;
  padding-bottom: 24px;
}
.step__head { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step h3 { align-self: center; min-height: 44px; display: flex; align-items: center; }
.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  flex-shrink: 0;
}
.step .step__num { width: 44px; height: 44px; font-size: 20px; }
.step__num--last { background: var(--ice); color: var(--primary); }
.step__line { width: 1px; flex-grow: 1; background: var(--line); margin-bottom: calc(-24px - var(--card-gap)); }
.step h3 { font-size: 22px; font-weight: 500; }
.step p { font-size: 16px; line-height: 1.6; color: var(--text-muted); }


.page--large .step h3 { font-size: 24px; }
.page--large .step p { font-size: 18px; }

/* Illustrations des services (unDraw, recolorées dans le bleu du thème) */
.card-ill { height: 120px; display: flex; align-items: center; justify-content: center; }
.card-ill img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.bento-card--feature .card-ill { height: 180px; }
.card-ill--side { order: -1; } /* téléphone : illustration en haut, comme les autres cartes */

/* Prix affiché dans les cartes de services */
.bento-price { font-size: 15px; font-weight: 500; color: var(--primary); padding-top: 4px; }
.bento-price--light { color: var(--primary); }

/* Sur les cartes bleu vif, petits textes en blanc (contraste suffisant) */
.surface-primary .eyebrow--gold,
.surface-primary .bento-price--light { color: var(--white); }

/* Lien discret (sans bouton) */
.text-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--primary); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Réalisations ---------- */

.case-card { padding: 28px 24px; gap: 16px; }
.case-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.case { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.case dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.case dd { margin: 2px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
/* Sur téléphone : le résultat d'abord, le détail replié en dessous */
.case--result { order: 1; }
.case__more { order: 2; }
.case__more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
}
.case__more summary::-webkit-details-marker { display: none; }
.case__more summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.3px solid currentColor;
  border-bottom: 1.3px solid currentColor;
  transform: rotate(45deg);
}
.case__more[open] summary { margin-bottom: 12px; }
.case__more[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }

/* Vignettes illustrées des réalisations (aucune donnée client), affichées sur ordinateur seulement */
.case-thumb {
  position: relative;
  height: 180px;
  border-radius: var(--radius-md);
  background: var(--champagne);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-thumb--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; }
.thumb-img { display: block; height: 34px; border-radius: 6px; background: var(--ice); }
.thumb-img--square { width: 76px; height: 76px; flex-shrink: 0; border-radius: 10px; }
.thumb-browser {
  width: 72%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.thumb-browser__bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-bottom: 1px solid var(--ice); }
.thumb-browser__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.thumb-browser__url { flex-grow: 1; height: 8px; margin-left: 8px; border-radius: 4px; background: var(--ice); }
.thumb-browser__body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; }
.thumb-browser__body .mock-line { height: 7px; }
.thumb-browser__title { font-family: var(--font-serif); font-size: 15px; line-height: 1; }
.thumb-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
}
.thumb-product {
  width: 78%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.thumb-product__info { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.thumb-product__info .mock-line { height: 7px; }
.thumb-price { font-size: 14px; font-weight: 500; }
.thumb-btn {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
}
.thumb-flow { display: flex; align-items: center; gap: 8px; }
.thumb-doc {
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.thumb-doc svg { color: var(--gold-dark); }
.thumb-arrow { color: var(--gold-dark); flex-shrink: 0; }
.thumb-step {
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 13px;
}
.thumb-step--done { background: var(--success-bg); border-color: var(--success-bg); color: var(--success-text); font-weight: 500; }

/* Réalisation mise en avant : texte + illustration fictive */
.case-feature { padding: 28px 24px; display: flex; flex-direction: column; gap: 28px; }
.case-feature__text { display: flex; flex-direction: column; gap: 16px; }
.case-feature h3 { font-family: var(--font-serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.case-visual {
  display: none; /* masquée sur téléphone : trop haute pour ce qu'elle apporte */
  background: var(--champagne);
  border-radius: var(--radius-md);
  padding: 20px;
  flex-direction: column;
  gap: 14px;
}
.ui-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ui-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ui-panel__label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.ui-rows, .ui-tree { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ui-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--ice);
  font-size: 14px;
}
.ui-status {
  flex-shrink: 0;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--ice);
  color: var(--text-muted);
}
.ui-status--sent { background: var(--ice); color: var(--primary); }
.ui-status--won { background: var(--success-bg); color: var(--success-text); }
.ui-tree { gap: 8px; font-size: 14px; }
.ui-tree li { display: flex; align-items: center; gap: 8px; color: var(--text-body); }
.ui-tree li svg { color: var(--gold-dark); flex-shrink: 0; }
.ui-tree__done { font-weight: 500; }
.ui-tree .ui-tree__done svg { color: var(--success-text); }
.case-visual__note { font-size: 12px; color: var(--text-faint); align-self: flex-end; }


/* ---------- Aiguillage entreprises / particuliers ---------- */


/* ---------- Photo (emplacement réservé) ---------- */

.portrait {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 320px; /* téléphone : photo moins haute, visage cadré */
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius-lg);
}
.portrait--warm { border: 1px solid var(--border); }
.portrait--warm { height: 280px; object-position: center 22%; } /* téléphone : photo réduite, visage cadré */

/* Bandeau photo pleine largeur */
.photo-band {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-sizing: border-box;
}

/* ---------- Mentions légales ---------- */

.hero--compact { padding-bottom: 48px; }
/* Le haut de page a déjà la marge --gutter : on complète pour s'aligner sur les sections (--section-x) */
.legal-head { display: flex; flex-direction: column; gap: 18px; padding: 48px calc(var(--section-x) - var(--gutter)) 0; max-width: 820px; }
.legal { max-width: 820px; display: flex; flex-direction: column; gap: 44px; padding-top: 48px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; }
.legal__toc a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  text-decoration: none;
}
.legal__toc a:hover { border-color: var(--primary); }
.legal__block { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.legal__block h2 { font-family: var(--font-serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.legal__block h3 { font-size: 18px; font-weight: 500; margin: 10px 0 0; }
.legal__block p { font-size: 17px; line-height: 1.7; color: var(--text-body); }
.legal__list { margin: 0; display: flex; flex-direction: column; }
.legal__list div { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid var(--border); }
.legal__list dt { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-dark); }
.legal__list dd { margin: 0; font-size: 17px; line-height: 1.5; }
.legal__date { font-size: 14px; color: var(--text-faint); }
/* Lien « confidentialité » : bleu et plus appuyé, sans soulignement (distinct du texte sans compter sur la seule couleur) */
.form__note a { color: var(--primary); font-weight: 500; text-decoration: none; }
.form__note a:hover { text-decoration: underline; }

/* Bandeau passerelle entre les pages Professionnels et Particuliers */
.crosslink {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--champagne);
  border: 1px solid var(--border);
  color: var(--navy);
}
.crosslink__text { display: flex; flex-direction: column; gap: 8px; }
.crosslink__title { font-size: 24px; line-height: 1.2; }
.crosslink__meta { font-size: 15px; color: var(--text-muted); }
.crosslink__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.crosslink__actions .btn { display: inline-flex; align-items: center; gap: 8px; height: auto; padding: 14px 24px; font-size: 16px; }

.photo-band--var { object-position: center 60%; }
.photo-band-pic { display: block; } /* <picture> : version recadrée ordinateur / téléphone */
/* Bandeau illustré (page Particuliers) : dessin centré sur fond clair */
.photo-band--ill { display: flex; align-items: center; justify-content: center; height: 220px; padding: 24px; box-sizing: border-box; background: var(--champagne); border: 1px solid var(--border); }
.photo-band--ill img { display: block; max-height: 100%; width: auto; max-width: 100%; }

/* ---------- À propos ---------- */

.about__text { font-size: 18px; line-height: 1.65; color: var(--text-body); }
.about__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.text-link--muted { color: var(--text-body); }

/* ---------- Ancrage local ---------- */


/* ---------- FAQ ---------- */

.faq-item { display: block; padding: 0; }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Chevron dessiné en CSS : vers le bas fermé, vers le haut ouvert */
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin: -5px 4px 0 0;
  border-right: 1.3px solid var(--primary);
  border-bottom: 1.3px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { margin-top: 5px; transform: rotate(-135deg); }
.faq-item h3 { font-size: 18px; font-weight: 500; line-height: 1.35; }
.faq-item p { padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }

.page--large .faq-item h3 { font-size: 20px; }
.page--large .faq-item p { font-size: 17px; }

/* ---------- Contact ---------- */

.contact__text { font-size: 18px; line-height: 1.6; color: var(--text-lead); }
.contact__links { padding-top: 8px; }
.contact__phone {
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
}
.contact__email {
  color: var(--primary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact__hours { color: var(--text-muted); font-size: 16px; }

.page--large .contact__phone { font-size: 40px; }

/* ---------- Formulaires ---------- */

.form {
  padding: 22px;
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__title { font-family: var(--font-serif); font-size: 24px; font-weight: 400; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input,
.field textarea {
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--field-bg);
  font-size: 16px;
  font-family: inherit;
}
.field input { height: 50px; }
.field textarea { padding: 14px 16px; resize: none; }

.btn--submit:disabled { opacity: 0.6; cursor: progress; }

/* Champ piège anti-spam (Web3Forms « botcheck ») : invisible pour les humains */
.form__trap { display: none; }

.form__status {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.5;
}
.form__status--success { background: var(--success-bg); color: var(--success-text); }
.form__status--error { background: var(--error-bg); color: var(--error-text); }
.form__note { font-size: 13px; line-height: 1.5; color: var(--text-muted); }

.page--large .form__status { font-size: 17px; }
.page--large .form__note { font-size: 15px; }
.page--large .field label { font-size: 16px; }
.page--large .field input,
.page--large .field textarea { font-size: 18px; }
.page--large .field input { height: 54px; }

/* ---------- Pied de page ---------- */

.site-footer {
  margin-top: auto;
  padding: 40px var(--section-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer__links a { color: var(--text-muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--primary); }

.page--large .site-footer { font-size: 15px; }

/* ---------- Particuliers : points forts sous le hero ---------- */

.reassure {
  padding: 0 var(--section-x);
  margin-top: -28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.reassure__item { padding: 18px; border-radius: var(--radius-xl); gap: 6px; }
.reassure__title { font-family: var(--font-serif); font-weight: 400; font-size: 22px; }
.reassure__text { font-size: 15px; color: var(--text-muted); }

/* ---------- Particuliers : « Comment je peux vous aider » ---------- */

.help-card { padding: 28px 24px; gap: 16px; }
.help-card__head { display: flex; justify-content: space-between; align-items: center; }
.help-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.help-card p { font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.help-card--featured p { color: var(--on-primary); }

/* ---------- Particuliers : tarifs ---------- */

.pricing { align-items: stretch; }
.price-card { padding: 28px 24px; gap: 14px; }
.price-card h3 { font-size: 22px; font-weight: 500; }
.price-card__amount { font-family: var(--font-serif); font-weight: 400; font-size: 44px; letter-spacing: -0.01em; }
.price-card p { font-size: 17px; line-height: 1.6; color: var(--text-muted); }
.price-card--featured p { color: var(--text-lead); }


/* =========================================================
   Tablette — à partir de 768 px
   ========================================================= */

@media (min-width: 768px) {
  .portrait:not(.portrait--warm) { object-position: center 12%; } /* tablette : bandeau large, tête entière */
  .step { display: flex; flex-direction: column; gap: 18px; padding-bottom: 0; }
  .case-visual { display: flex; }
  .step__head { flex-direction: row; gap: 12px; }
  .step h3 { min-height: 0; display: block; align-self: auto; }
  .step .step__num { width: 52px; height: 52px; font-size: 22px; }
  .page--large .step .step__num { width: 56px; height: 56px; font-size: 24px; }
  .step__line { width: auto; height: 1px; margin-bottom: 0; }
  .hero-visual { display: flex; }
  .tools { padding-right: var(--section-x); }
  .tools__list { flex-wrap: wrap; overflow: visible; padding-right: 0; font-size: 16px; gap: 12px; }
  .case__more summary { display: none; }
  .case--result,
  .case__more { order: 0; }
  :root {
    --gutter: 32px;
    --section-x: 40px;
    --section-y: 96px;
    --card-gap: 20px;
  }

  .grid-2,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .panel { padding: 40px; }

  /* Hero */
  .hero { padding-top: 20px; }
  .hero__grid { padding: 0 8px; }
  .hero__lead { font-size: 20px; }
  .hero__actions { flex-direction: row; align-items: center; }

  .hero-visual {
    display: block;
    flex-direction: row;
    gap: normal;
    position: relative;
    height: 430px;
    max-width: 520px;
  }
  .mock-card { position: absolute; }
  .mock-card--email { left: 0; top: 0; width: 360px; }
  .mock-card--quote { right: 0; top: 210px; width: 380px; }
  .mock-chip { position: absolute; align-self: auto; }
  .mock-chip--ai { left: 150px; top: 158px; }

  /* Mosaïque IA : 2 colonnes, hauteur libre */
  .bento-card--wide,
  .bento-card--feature { grid-column: span 2; }
  .bento-card--split { flex-direction: row; align-items: center; gap: 28px; }
  .card-ill--side { order: 1; width: 240px; height: 150px; flex-shrink: 0; }

  .reassure { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }


  .site-footer { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
}


/* =========================================================
   Bureau — à partir de 1200 px (maquette validée, 1440 px)
   ========================================================= */

@media (min-width: 1200px) {
  :root {
    --gutter: 64px;
    --section-x: 96px;
    --section-y: 120px;
    --stack-gap: 48px;
  }
  .page--large { --section-y: 112px; }

  .page { padding-bottom: 0; }

  /* Grilles */
  .grid-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    row-gap: normal;
  }
  .col-span-4 { grid-column: span 4; }
  .col-span-5 { grid-column: span 5; }
  .col-span-7 { grid-column: span 7; }
  .col-from-6 { grid-column: 6 / span 7; }
  .col-from-7 { grid-column: 7 / span 6; }
  .col-from-8 { grid-column: 8 / span 5; }
  .col-from-9 { grid-column: 9 / span 4; }

  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proofs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: -88px 96px 0; padding: 36px 40px; }
  .proof { flex-direction: row; align-items: flex-start; gap: 14px; padding: 0 24px; }
  .proof:first-child { padding-left: 0; }
  .proof + .proof { border-left: 1px solid var(--border); }
  .proof__figure { font-size: 32px; }

  .section--stack-sm { gap: 40px; }
  .section--stack-lg { gap: 56px; }

  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
  }

  .panel { padding: 56px; }
  .panel--lg { padding: 72px; }

  /* En-tête : menu horizontal, plus de burger */
  .site-header {
    height: 68px;
    min-height: auto;
    padding: 0 12px 0 24px;
    border-radius: var(--radius-pill);
    flex-wrap: nowrap;
  }
  .site-nav {
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 0;
    font-size: 15px;
  }
  .site-nav__link { padding: 0; border-top: 0; }
  .site-header--light .site-nav__link { border-top: 0; }
  .site-nav .btn { margin-top: 0; text-align: start; }
  .js .burger { display: none; }
  .js .site-header:not(.is-open) .site-nav { display: flex; }

  .callbar { display: none; }

  /* Hero */
  .hero { padding: 24px var(--gutter) 160px; gap: 88px; }
  .hero--light { padding-bottom: 104px; gap: 80px; }
  .hero--compact { padding-bottom: 64px; }
  .hero--home { padding-bottom: 176px; } /* 88 px d'air entre la ligne « 30 min / Google » et la carte des preuves */
  .hero__grid { padding: 0 32px; }
  .hero__badge { border-radius: var(--radius-pill); }
  .hero__badge .badge { flex-shrink: 1; white-space: normal; }
  .hero__lead { font-size: 21px; }
  .btn--lg { justify-content: normal; }
  .btn--outline { text-align: start; }
  .hero-visual { max-width: none; }

  /* Bandeau outils */
  .tools {
    padding: 40px var(--section-x);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  /* Mosaïque IA : 4 colonnes, rangées de 250 px */
  .bento-card { padding: 30px; gap: 18px; }
  .bento-card--feature { grid-row: span 2; padding: 40px; }
  .bento-card--split { padding: 34px; gap: 28px; }
  .bento-feature__title { font-size: 38px; }
  .bento-card--feature .card-ill { height: 240px; }

  /* Cartes */
    .faq-item summary { padding: 24px 30px; }
  .faq-item p { padding: 0 30px 26px; }
  .form { padding: 36px; }
  .case-card { padding: 32px 28px; }
  .case-thumb { display: flex; }
  .case-card .case--result { margin-top: auto; } /* résultats alignés en bas des trois cartes */
  .case-feature { flex-direction: row; align-items: center; gap: 48px; padding: 40px; }
  .case-feature__text { flex: 1 1 0; }
  .case-visual { flex: 0 0 460px; padding: 28px; }
  .contact__email { overflow-wrap: normal; }

  .portrait { height: 520px; }
  .photo-band { height: 340px; }
  .photo-band--ill { height: 300px; padding: 32px; }
  .crosslink { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 40px; }
  .crosslink__actions { flex-shrink: 0; }
  .legal-head { padding: 72px calc(var(--section-x) - var(--gutter)) 0; }
  .legal__list div { flex-direction: row; gap: 24px; }
  .legal__list dt { flex: 0 0 260px; padding-top: 3px; }
  .portrait--warm { height: 460px; }

  /* Pied de page */
  .site-footer { flex-wrap: nowrap; gap: normal; }
  .site-footer__links { flex-wrap: nowrap; gap: 28px; }

  /* Particuliers */
  .reassure { margin-top: -48px; }
  .reassure__item { padding: 24px; }
  .help-card { padding: 40px; }
  .help-card h3 { font-size: 32px; }
  .price-card { padding: 40px 36px; }
  .price-card__amount { font-size: 52px; }
}

/* Titres du thème tech : police droite, graisse moyenne, lettres légèrement resserrées */
.title, .bento-feature__title, .bento-split__title, .case-card h3, .case-feature h3, .crosslink__title,
.proof__figure, .mock-title, .brand__name, .step__num, .help-card h3, .price-card__amount, .contact__phone,
.legal__block h2, .thumb-browser__title, .reassure__title, .timeline__year {
  font-weight: 500;
  letter-spacing: -0.025em;
}

/* =========================================================
   Animations (uniquement si l'utilisateur n'a pas demandé
   à réduire les animations, et seulement avec JavaScript :
   sans JS, tout reste visible et immobile)
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {

  /* Apparition au défilement : site.js ajoute data-reveal, puis .is-visible */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }

  /* Haut de page : le texte apparaît en cascade au chargement */
  .js .hero__grid > .stack > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js .hero__grid > .stack > :nth-child(2) { animation-delay: 0.08s; }
  .js .hero__grid > .stack > :nth-child(3) { animation-delay: 0.16s; }
  .js .hero__grid > .stack > :nth-child(4) { animation-delay: 0.24s; }
  .js .hero__grid > .stack > :nth-child(5) { animation-delay: 0.32s; }

  /* Preuves (visibles dès l'arrivée) : elles suivent le texte du haut de page */
  .js .proof { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .js .proof:nth-child(1) { animation-delay: 0.35s; }
  .js .proof:nth-child(2) { animation-delay: 0.45s; }
  .js .proof:nth-child(3) { animation-delay: 0.55s; }
  .js .proof:nth-child(4) { animation-delay: 0.65s; }

  /* Illustration : la demande arrive, est classée, puis la relance part ; ensuite léger flottement */
  .js .hero-visual > * { animation: pop 0.6s cubic-bezier(0.2, 0.8, 0.3, 1.2) both; }
  .js .hero-visual > :nth-child(1) { animation: pop 0.6s 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2) both, float 7s 1.4s ease-in-out infinite; }
  .js .hero-visual > :nth-child(2) { animation-delay: 1.1s; }
  .js .hero-visual > :nth-child(3) { animation: pop 0.6s 1.6s cubic-bezier(0.2, 0.8, 0.3, 1.2) both, float 8s 2.4s ease-in-out infinite reverse; }

  /* Trait des étapes : se dessine quand l'étape apparaît */
  .js .step[data-reveal] .step__line { transform: scaleY(0); transform-origin: top; transition: transform 0.9s 0.3s ease; }
  .js .step[data-reveal].is-visible .step__line { transform: none; }

  /* Survol (souris uniquement) : les cartes se soulèvent, les flèches avancent */
  @media (hover: hover) {
    .bento-card, .case-card, .case-feature, .help-card, .price-card, .faq-item {
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .js [data-reveal].is-visible:is(.bento-card, .case-card, .case-feature, .help-card, .price-card) {
      transition: opacity 0.7s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }
    .bento-card:hover, .case-card:hover, .case-feature:hover, .help-card:hover, .price-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 22px 44px -28px rgba(11, 18, 32, 0.35);
    }
    .btn svg, .text-link svg { transition: transform 0.25s ease; }
    .btn:hover svg, .text-link:hover svg { transform: translateX(4px); }
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .js .step[data-reveal] .step__line { transform: scaleX(0); transform-origin: left; }
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Garde un nom de commune composé sur une seule ligne */
.nowrap { white-space: nowrap; }
/* Exposants (3e étage) sans agrandir l'interligne */
sup { line-height: 0; }
