/* ==========================================================================
   DigSM - Feuille de style unique
   Direction : editorial academique. Serif de lecture ecran + grotesque sobre.
   Palette derivee du logo DigSM (degrade noir encre -> bleu #094BAF).
   Mobile-first. Aucune dependance, aucun framework.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs issues du logo */
  --paper:      #FBFBFD;
  --card:       #FFFFFF;
  --ink:        #0A1120;
  --ink-2:      #4A5568;
  --ink-3:      #5F6E85;
  --blue:       #094BAF;
  --blue-deep:  #052A61;
  --blue-lift:  #2E7BE0;
  --night:      #020B19;

  /* Derives */
  --rule:       #E2E6EE;
  --rule-soft:  #EDEFF4;
  --tint:       #F1F5FC;
  --night-2:    #0B1730;
  --on-night:   #E8EDF7;
  --on-night-2: #9FB0CC;

  /* Le degrade signature du logo, reutilise partout */
  --sweep: linear-gradient(90deg, var(--night) 0%, var(--blue-deep) 55%, var(--blue) 100%);
  --sweep-v: linear-gradient(180deg, var(--night) 0%, var(--blue-deep) 55%, var(--blue) 100%);

  /* Typographie */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Echelle typographique fluide */
  --t-xs:   0.78rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --t-xl:   clamp(1.3rem,  1.15rem + 0.7vw,  1.6rem);
  --t-2xl:  clamp(1.6rem,  1.35rem + 1.2vw,  2.2rem);
  --t-3xl:  clamp(2rem,    1.55rem + 2.1vw,  3.1rem);
  --t-4xl:  clamp(2.4rem,  1.7rem  + 3.2vw,  4.2rem);

  /* Rythme */
  --gutter: 1.25rem;
  --measure: 40rem;
  --wide: 72rem;
  --radius: 4px;
  --radius-lg: 10px;

  /* Ombres, discretes */
  --shadow-1: 0 1px 2px rgba(10,17,32,.05), 0 2px 8px rgba(10,17,32,.04);
  --shadow-2: 0 2px 6px rgba(10,17,32,.06), 0 12px 28px rgba(10,17,32,.08);
}

/* --------------------------------------------------------------------------
   2. Remise a zero
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip et non hidden : hidden ferait du body un conteneur de defilement,
     ce qui casse position:sticky de l'en-tete sur plusieurs navigateurs mobiles. */
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--blue-lift);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* --------------------------------------------------------------------------
   3. Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: var(--t-4xl); font-weight: 700; }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

strong { font-weight: 600; color: var(--ink); }

/* Oeil de chapitre : 01 / 05, comme dans un memoire */
.chapter {
  font-family: var(--serif);
  font-size: var(--t-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  letter-spacing: .04em;
}

/* Sur-titre de section */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--sweep);
  border-radius: 2px;
}
.eyebrow--light { color: var(--blue-lift); }
.eyebrow--light::before { background: linear-gradient(90deg, var(--blue-lift), var(--on-night)); }

.lede {
  font-size: var(--t-lg);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: var(--measure);
}

.muted { color: var(--ink-2); }
.small { font-size: var(--t-sm); }

/* --------------------------------------------------------------------------
   4. Mise en page
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 48rem; }

.section { padding-block: clamp(3.25rem, 2rem + 6vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 1.8rem + 3.5vw, 4rem); }

.section--tint  { background: var(--tint); }
.section--paper { background: var(--card); }

/* Sections sombres : le noir encre du logo */
.section--night {
  background: var(--night);
  color: var(--on-night);
  position: relative;
  overflow: hidden;
}
.section--night h1,
.section--night h2,
.section--night h3,
.section--night h4 { color: #fff; }
.section--night p,
.section--night li { color: var(--on-night-2); }
.section--night strong { color: #fff; }

/* Halo bleu diffus : pur CSS, zero octet d'image */
.section--night::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(9,75,175,.42), transparent 68%),
    radial-gradient(45% 45% at 8% 88%, rgba(46,123,224,.16), transparent 70%);
  pointer-events: none;
}
.section--night > * { position: relative; z-index: 1; }

.section-head { max-width: var(--measure); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head p { margin-top: .9rem; color: var(--ink-2); font-size: var(--t-lg); }
.section--night .section-head p { color: var(--on-night-2); }

.grid { display: grid; gap: 1.25rem; }
.stack > * + * { margin-top: 1rem; }

/* Filet fin, motif recurrent de la marque */
.rule { height: 1px; background: var(--rule); border: 0; }
.rule--sweep { height: 2px; background: var(--sweep); border: 0; border-radius: 2px; }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
  min-height: 46px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--blue-deep); box-shadow: var(--shadow-2); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--card); }

.btn--onnight { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.22); }
.btn--onnight:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }

/* Vert assombri par rapport au vert de marque WhatsApp : le texte blanc
   atteint ainsi 4.8:1, au-dessus du seuil AA de 4.5:1. */
.btn--wa { background: #0D8340; color: #fff; box-shadow: var(--shadow-1); }
.btn--wa:hover { background: #0A6A34; box-shadow: var(--shadow-2); }

.btn--lg { padding: 1rem 1.9rem; font-size: var(--t-base); min-height: 54px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Lien flechie avec soulignement anime */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--blue);
  text-decoration: none;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .25s ease;
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow span[aria-hidden] { transition: transform .25s ease; }
.link-arrow:hover span[aria-hidden] { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   6. En-tete
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,251,253,.88);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand__sub {
  display: none;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: .02em;
  border-left: 1px solid var(--rule);
  padding-left: .6rem;
  margin-left: .1rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: background-color .2s; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .24s ease, top .24s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 0; transform: rotate(-45deg); }

.nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--rule);
  box-shadow: var(--shadow-2);
  padding: .5rem var(--gutter) 1.25rem;
}
.nav[data-open="true"] { display: block; }
.nav__list { display: flex; flex-direction: column; }
.nav__list a {
  display: block;
  padding: .8rem .25rem;
  text-decoration: none;
  font-size: var(--t-base);
  font-weight: 500;
  border-bottom: 1px solid var(--rule-soft);
}
.nav__list a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav__cta { margin-top: 1rem; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .brand__sub { display: inline; }
  .nav {
    display: flex; align-items: center; gap: 1.6rem;
    position: static; background: none; border: 0; box-shadow: none; padding: 0;
  }
  .nav__list { flex-direction: row; align-items: center; gap: 1.6rem; }
  .nav__list a {
    padding: .35rem 0; border: 0; font-size: var(--t-sm); font-weight: 500; position: relative;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--sweep); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .22s ease;
  }
  .nav__list a:hover::after,
  .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav__cta { margin: 0 0 0 .5rem; }
  .nav__cta .btn { padding: .6rem 1.1rem; min-height: 40px; }
}

/* Lien d'evitement, accessibilite */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: .75rem 1rem; z-index: 100; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--night);
  color: var(--on-night);
  overflow: hidden;
  padding-block: clamp(3.5rem, 2rem + 9vw, 7.5rem);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 85% 8%, rgba(9,75,175,.55), transparent 66%),
    radial-gradient(50% 50% at 5% 92%, rgba(46,123,224,.18), transparent 70%);
  pointer-events: none;
}
/* Trame de cahier ligne, tres discrete : rappel du travail de redaction */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 100% 2.2rem;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero h1 { color: #fff; max-width: 18ch; }
/* Surlignage du mot cle : trait epais cale sur la ligne de base,
   plutot qu'un degrade sur toute la hauteur de la ligne. */
.hero h1 em {
  font-style: normal;
  background-image: linear-gradient(rgba(46,123,224,.45), rgba(46,123,224,.45));
  background-repeat: no-repeat;
  background-size: 100% .18em;
  background-position: 0 88%;
  padding-inline: .05em;
}
.hero__lede {
  margin-top: 1.4rem;
  font-size: var(--t-lg);
  color: var(--on-night-2);
  max-width: 46ch;
}
.hero .btn-row { margin-top: 2rem; }

.hero__trust {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  gap: 1.25rem;
}
.hero__trust dt { font-family: var(--serif); font-size: var(--t-2xl); font-weight: 700; color: #fff; line-height: 1; }
.hero__trust dd { margin: .4rem 0 0; font-size: var(--t-sm); color: var(--on-night-2); }

@media (min-width: 42rem) {
  .hero__trust { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* --------------------------------------------------------------------------
   8. Cartes
   -------------------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--ink-2); font-size: var(--t-sm); }
.card--hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: #D6DCE8; }

.card--night {
  background: var(--night-2);
  border-color: rgba(255,255,255,.1);
}
.card--night p { color: var(--on-night-2); }

/* Carte avec filet degrade en haut : signature visuelle */
.card--sweep { position: relative; overflow: hidden; }
.card--sweep::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sweep);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card--sweep:hover::before { transform: scaleX(1); }

.cards-2 { display: grid; gap: 1.25rem; }
.cards-3 { display: grid; gap: 1.25rem; }
.cards-4 { display: grid; gap: 1rem; }

@media (min-width: 42rem) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Icone carree discrete */
.ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--blue);
  margin-bottom: 1rem;
}
.card--night .ico { background: rgba(46,123,224,.16); color: var(--blue-lift); }

/* --------------------------------------------------------------------------
   9. Les etapes de la methode : rail degrade vertical
   -------------------------------------------------------------------------- */
.steps { position: relative; padding-left: 2.75rem; }
.steps::before {
  content: "";
  position: absolute;
  left: 15px; top: .5rem; bottom: .5rem;
  width: 2px;
  background: var(--sweep-v);
  border-radius: 2px;
}
.step { position: relative; padding-bottom: 2.25rem; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: -2.75rem; top: .35rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px var(--paper);
}
.step__num {
  position: absolute;
  left: -2.75rem; top: .35rem;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: .8rem; font-weight: 700;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  z-index: 1;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-2); max-width: var(--measure); }
.step__meta {
  display: inline-block;
  margin-top: .75rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--tint);
  padding: .3rem .65rem;
  border-radius: 100px;
}

.section--tint .step::before { box-shadow: 0 0 0 4px var(--tint); }
.section--paper .step::before { box-shadow: 0 0 0 4px var(--card); }

/* --------------------------------------------------------------------------
   10. Tableau comparatif : ce que DigSM est, et ce qu'il n'est pas
   -------------------------------------------------------------------------- */
.compare { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .compare { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.compare__col {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--rule);
  background: var(--card);
}
.compare__col--yes { border-color: rgba(9,75,175,.3); background: linear-gradient(180deg, var(--tint), var(--card) 60%); }
.compare__col h3,
.compare__col h4 { font-size: var(--t-lg); margin-bottom: 1rem; }
.compare__col--yes h3,
.compare__col--yes h4 { color: var(--blue-deep); }
.compare__col--no h3,
.compare__col--no h4 { color: var(--ink-2); }
.compare__col li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .6rem 0;
  border-top: 1px solid var(--rule-soft);
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.compare__col li:first-of-type { border-top: 0; }
.compare__col--yes li { color: var(--ink); }
.mark { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .25rem; }
.mark--yes { color: var(--blue); }
.mark--no  { color: #B4BCCB; }

/* --------------------------------------------------------------------------
   11. Outils
   -------------------------------------------------------------------------- */
.tools { display: grid; gap: .85rem; }
@media (min-width: 42rem) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .tools { grid-template-columns: repeat(3, 1fr); } }

.tool {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.tool__tag {
  flex: none;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--sweep);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: .85rem;
}
.tool h4 { font-size: var(--t-base); margin-bottom: .2rem; }
.tool p { font-size: var(--t-sm); color: var(--ink-2); }

/* Sur fond sombre. Ces selecteurs combines doivent rester APRES les regles
   .tool ci-dessus, sinon la carte repasse en blanc et le titre blanc
   devient invisible. */
.tool.card--night { background: var(--night-2); border-color: rgba(255,255,255,.1); }
.tool.card--night h4 { color: #fff; }
.tool.card--night p { color: var(--on-night-2); }

/* --------------------------------------------------------------------------
   12. Services
   -------------------------------------------------------------------------- */
.service {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--sweep-v);
}
.service__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.service h3 { margin-bottom: .35rem; }
.service__for {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.service__body { margin-top: 1rem; }
.service ul { margin-top: 1rem; }
.service ul li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: var(--t-sm); color: var(--ink-2); padding: .4rem 0;
}
.service ul li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: .55rem;
  border-radius: 50%; background: var(--blue);
}
.service__foot {
  margin-top: auto; padding-top: 1.25rem;
  border-top: 1px solid var(--rule-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   12 bis. Tableaux de tarifs
   Deux colonnes seulement : a 375 px, trois colonnes deviennent illisibles.
   Le detail de chaque phase passe sous son intitule.
   -------------------------------------------------------------------------- */
.tarifs { margin-top: 1.5rem; }

.tarifs__titre {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}

.tarifs table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.tarifs th, .tarifs td {
  text-align: left;
  padding: .85rem .5rem;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.tarifs thead th {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
  padding-bottom: .5rem;
}
.tarifs tbody th {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  padding-left: 0;
}
.tarifs tbody th small {
  display: block;
  margin-top: .25rem;
  font-weight: 400;
  font-size: var(--t-xs);
  line-height: 1.45;
  color: var(--ink-2);
}
.tarifs td.prix {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--blue-deep);
}
.tarifs tfoot th,
.tarifs tfoot td {
  border-bottom: 0;
  border-top: 2px solid var(--blue);
  padding-top: .85rem;
  font-weight: 700;
}
.tarifs tfoot th { padding-left: 0; font-family: var(--serif); font-size: var(--t-base); }
.tarifs tfoot td { text-align: right; padding-right: 0; white-space: nowrap; color: var(--blue-deep); font-variant-numeric: tabular-nums; }

/* Les montants longs doivent pouvoir se replier sur tres petit ecran */
@media (max-width: 26rem) {
  .tarifs td.prix, .tarifs tfoot td { white-space: normal; }
}

.tarifs__note {
  margin-top: .9rem;
  font-size: var(--t-xs);
  color: var(--ink-2);
  line-height: 1.55;
}
.tarifs__note strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   13. Temoignages
   -------------------------------------------------------------------------- */
.quote {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex; flex-direction: column;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: var(--t-lg);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.25rem;
}
.quote blockquote::before { content: "\201C"; color: var(--blue); font-size: 1.4em; line-height: 0; vertical-align: -.25em; margin-right: .05em; }
.quote figcaption { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--rule-soft); display: flex; align-items: center; gap: .8rem; }
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--sweep); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: .9rem;
}
.quote__who { font-weight: 600; font-size: var(--t-sm); }
.quote__where { font-size: var(--t-xs); color: var(--ink-3); }

/* Bandeau de chiffres */
.stats { display: grid; gap: 1.5rem; }
@media (min-width: 42rem) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat dt { font-family: var(--serif); font-size: var(--t-3xl); font-weight: 700; line-height: 1; color: var(--blue); }
.section--night .stat dt { color: #fff; }
.stat dd { margin: .5rem 0 0; font-size: var(--t-sm); color: var(--ink-2); }

/* --------------------------------------------------------------------------
   14. Formulaires
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > label { font-size: var(--t-sm); font-weight: 600; }
.field__hint { font-size: var(--t-xs); color: var(--ink-3); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .9rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-size: 16px; /* evite le zoom automatique sur iOS */
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(9,75,175,.12);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field--row { display: grid; gap: 1.1rem; }
@media (min-width: 42rem) { .field--row { grid-template-columns: 1fr 1fr; } }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-2); }
.consent input { width: 1.05rem; height: 1.05rem; margin-top: .3rem; flex: none; accent-color: var(--blue); }

.form-note { font-size: var(--t-xs); color: var(--ink-3); }

/* Champ pot de miel : cache aux humains, visible pour les robots */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.form-status { display: none; padding: .9rem 1rem; border-radius: var(--radius); font-size: var(--t-sm); }
.form-status[data-state="ok"]   { display: block; background: #E9F6EE; color: #14663A; border: 1px solid #BFE3CE; }
.form-status[data-state="err"]  { display: block; background: #FDECEC; color: #8C1F1F; border: 1px solid #F3C9C9; }
.form-status[data-state="busy"] { display: block; background: var(--tint); color: var(--blue-deep); border: 1px solid #CBDBF5; }

/* Sur fond sombre */
.section--night .field > label { color: #fff; }
.section--night .field input,
.section--night .field select,
.section--night .field textarea {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.section--night .field input::placeholder,
.section--night .field textarea::placeholder { color: rgba(159,176,204,.7); }
.section--night .consent,
.section--night .form-note,
.section--night .field__hint { color: var(--on-night-2); }

/* --------------------------------------------------------------------------
   15. Accordeon FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-weight: 600;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: .45rem;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding-bottom: 1.25rem; color: var(--ink-2); max-width: var(--measure); }

/* --------------------------------------------------------------------------
   16. Encart d'appel a l'action
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(65% 90% at 88% 30%, rgba(9,75,175,.5), transparent 65%);
}
.cta-band__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 2rem + 5vw, 5rem); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: var(--on-night-2); margin-top: .9rem; max-width: 46ch; }
.cta-band .btn-row { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   17. Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--night); color: var(--on-night-2); padding-block: 3rem 2rem; font-size: var(--t-sm); }
.site-footer a { color: var(--on-night-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; } }
.site-footer h2 { font-size: var(--t-sm); font-family: var(--sans); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.site-footer li { padding: .3rem 0; }
.site-footer .brand { color: #fff; }
.site-footer__blurb { margin-top: .9rem; max-width: 34ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  transition: background-color .18s ease, border-color .18s ease;
}
.socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.footer-base {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: var(--t-xs);
}

/* --------------------------------------------------------------------------
   18. Bouton WhatsApp flottant (mobile surtout)
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 60;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.1rem;
  background: #0D8340; color: #fff;
  border-radius: 100px;
  text-decoration: none;
  font-size: var(--t-sm); font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .18s ease, background-color .18s ease;
}
.wa-float:hover { transform: translateY(-2px); background: #0A6A34; }
.wa-float span { display: none; }
@media (min-width: 42rem) { .wa-float span { display: inline; } }

/* --------------------------------------------------------------------------
   19. Marqueurs de contenu a fournir
   -------------------------------------------------------------------------- */
.tbd {
  display: inline;
  background: #FFF6D9;
  border-bottom: 2px dashed #D9A400;
  color: #7A5A00;
  padding: 0 .2em;
  border-radius: 2px;
  font-style: normal;
}
.tbd-block {
  display: block;
  background: #FFFBEF;
  border: 1px dashed #E0B84B;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: #7A5A00;
  font-size: var(--t-sm);
}
.tbd-block strong { color: #6A4E00; }
.section--night .tbd { background: rgba(255,214,90,.18); color: #FFD97A; border-bottom-color: #FFD97A; }
.section--night .tbd-block { background: rgba(255,214,90,.08); border-color: rgba(255,214,90,.35); color: #FFD97A; }
.section--night .tbd-block strong { color: #FFE9A8; }

/* Ruban "bientot" */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem;
  border-radius: 100px;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--tint); color: var(--blue-deep); border: 1px solid #CBDBF5;
}
.badge--night { background: rgba(46,123,224,.16); color: var(--blue-lift); border-color: rgba(46,123,224,.35); }
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-lift); }

/* --------------------------------------------------------------------------
   19 bis. Figures et images
   Les dimensions width/height sont TOUJOURS posees dans le HTML : sans elles,
   la page saute au moment ou l'image arrive, ce qui est tres visible en 3G.
   -------------------------------------------------------------------------- */
.figure { margin: 0; }
.figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  background: var(--tint);   /* couleur d'attente pendant le chargement */
}
.section--night .figure img { background: var(--night-2); }

/* Bande pleine largeur, entre deux sections */
.band {
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.band .figure img {
  box-shadow: var(--shadow-2);
}

/* Figure accompagnee d'une legende discrete */
.figure figcaption {
  margin-top: .7rem;
  font-size: var(--t-xs);
  color: var(--ink-3);
}
.section--night .figure figcaption { color: var(--on-night-2); }

/* --------------------------------------------------------------------------
   20. Apparition au defilement
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
/* Sans JS, rien ne doit rester invisible */
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   21. Utilitaires
   -------------------------------------------------------------------------- */
.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;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.center { text-align: center; }
.center .lede, .center .section-head { margin-inline: auto; }
