/* =========================================================
   Ecoptimiz - page de vente
   Palette : papier cassé + rampe de verts issue du logo
   Rayons  : boutons = pilule, tout le reste = 12px
   Type    : Outfit (light 300 en courant, 600 en display)
   ========================================================= */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/outfit-normal.woff2') format('woff2');
}

/* Thème sombre verrouillé : le rendu ne suit pas le réglage clair/sombre
   du système, la page s'affiche toujours de la même façon. */
:root {
  color-scheme: dark;

  --bg: #10150F;
  --bg-alt: #161D14;
  --surface: #181F16;
  --surface-raised: #1D261A;
  --border: rgba(233, 240, 228, 0.12);
  --border-strong: rgba(233, 240, 228, 0.22);

  --text: #EDF2E8;
  --text-muted: #B3C0AC;
  --text-faint: #8B9A85;

  --accent-lime: #A9CE55;
  --accent: #7FBF63;
  --accent-bright: #A9CE55;
  --accent-soft: rgba(127, 191, 99, 0.14);
  --on-accent: #0E140C;

  --danger: #f08a6e;
  --danger-soft: rgba(240, 138, 110, 0.12);
  /* Orange franc : « en partie / de temps en temps », distinct du rouge « non ». */
  --warn: #e9a23b;

  --radius: 12px;
  --radius-pill: 999px;
  --container: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --logo-blend: screen;
  --logo-light: none;
  --logo-dark: block;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--on-accent); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .container { padding-inline: 2.5rem; } }

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

/* ---------- typographie ---------- */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 3.4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2.1vw + 1rem, 2.5rem); }
h3 { font-size: clamp(1.15rem, 0.7vw + 1rem, 1.35rem); }

p { color: var(--text-muted); }
.lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.18rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.eyebrow::before {
  content: '';
  width: 1.6em; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 58ch; }
/* Ligne d'appui en italique sous un chapô de section. */
.note-italique { display: inline-block; margin-top: 0.5rem; font-style: italic; }
.section-head h2 { margin-top: 0.7rem; }
.section-head p { margin-top: 1.1rem; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  white-space: nowrap;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.93rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: scale(0.975); }
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-bright); border-color: var(--accent-bright); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

.btn-sm { padding: 0.68rem 1.3rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; }
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
  mix-blend-mode: var(--logo-blend);
}
.brand-logo--light { display: var(--logo-light); }
.brand-logo--dark { display: var(--logo-dark); }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.nav-links a { position: relative; padding: 0.3rem 0; transition: color 0.25s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
/* Le bouton reste visible sur mobile, avec un libellé court :
   c'est le seul appel à l'action permanent quand le menu est replié. */
/* Trois libellés selon la place disponible : le bouton reste toujours
   visible, seul son texte se raccourcit. */
.nav-cta { display: inline-flex; }
.nav-cta-long, .nav-cta-moyen { display: none; }
.nav-cta-court { display: inline; }

@media (min-width: 430px) {
  .nav-cta-moyen { display: inline; }
  .nav-cta-court { display: none; }
}
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-cta-long { display: inline; }
  .nav-cta-moyen { display: none; }
}

/* Sous 1000px, logo et bouton partagent la barre avec le menu : on resserre. */
@media (max-width: 999px) {
  .brand-logo { height: 38px; }
  .nav .container { gap: 0.6rem; }
  .nav-cta { padding: 0.6rem 0.9rem; font-size: 0.78rem; }
}
@media (max-width: 429px) {
  .brand-logo { height: 32px; }
  .nav-cta { padding: 0.55rem 0.75rem; font-size: 0.74rem; }
}

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (min-width: 1000px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 49;
  background: var(--bg-alt);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.3rem;
  font-weight: 500;
}
.mobile-menu .btn-primary { margin-top: 1.5rem; align-self: flex-start; border-bottom: none; }
@media (min-width: 1000px) { .mobile-menu { display: none; } }

/* ---------- sections ---------- */
section { position: relative; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.section-pad { padding-block: clamp(3.5rem, 6vw, 6.5rem); }
/* La banderole des agréments apporte déjà de l'air : une ligne de moins au-dessus. */
#constat { padding-top: calc(clamp(3.5rem, 6vw, 6.5rem) - 1.6rem); }
.section-tinted { background: var(--bg-alt); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(2rem, 3vw, 3.5rem); padding-bottom: clamp(2.5rem, 4vw, 4rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 3.5rem; }
}
.hero h1 { margin-top: 0.9rem; max-width: 21ch; text-wrap: balance; }
.hero .lede { margin-top: 1.3rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.hero-media { position: relative; display: flex; flex-direction: column; }
.hero-media .frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  aspect-ratio: 4 / 5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* Variante détourée : pas de cadre, le sujet se pose directement sur la page.
   Un halo vert très diffus lui rend le volume que le fond blanc apportait. */
.hero-media .frame--detoure {
  border: none;
  background: none;
  overflow: visible;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-media .frame--detoure::before {
  content: '';
  position: absolute;
  inset: 8% 4% 0 4%;
  border-radius: 50% 50% 44% 44% / 38% 38% 62% 62%;
  background: radial-gradient(60% 55% at 50% 45%, var(--accent-soft), transparent 72%);
  z-index: 0;
  pointer-events: none;
}
.hero-media .frame--detoure img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.28));
}
/* La carte se pose sous la photo : la découpe basse du sujet vient
   affleurer le bord supérieur du cadre de texte, sans le recouvrir. */
.hero-media .badge {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.05rem 1.3rem;
  box-shadow: 0 20px 45px rgba(22, 35, 27, 0.16);
}
.badge-label {
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent-bright);
}
.badge-text { margin-top: 0.45rem; font-size: 1.05rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- banderole agréments ---------- */
.agrements { padding-block: clamp(2.5rem, 4vw, 3.5rem); border-block: 1px solid var(--border); }
.agrements-intro {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-faint);
}
.agrements-note {
  margin-top: 1.6rem; font-size: 1.05rem; color: var(--text-muted); max-width: 62ch;
}

.marquee {
  margin-top: 1.4rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-right: 1rem;
}
.marquee-group li {
  flex: none;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  white-space: nowrap;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- situations vécues ---------- */
.situations {
  display: grid;
  gap: 1.1rem;
  margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .situations { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.situation {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.6rem 1.7rem;
}
.situation-quote { font-size: 1.08rem; color: var(--text); font-weight: 400; line-height: 1.5; }
.situation-note { margin-top: 0.7rem; font-size: 0.9rem; color: var(--text-faint); }

/* ---------- bandeau d'appel intermédiaire ---------- */
.inline-cta {
  margin-top: 3rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--accent-soft);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}
/* Pas de max-width : la phrase tient sur une ligne au bureau,
   et se replie naturellement sur les petits écrans. */
.inline-cta p { color: var(--text); font-size: 1.3rem; line-height: 1.35; font-weight: 400; }
/* Seconde ligne d'un cran plus petite que l'accroche, en italique. */
.inline-cta .cta-sub { font-size: 1.15rem; font-style: italic; }
@media (min-width: 780px) {
  .inline-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

/* ---------- matrice de comparaison ---------- */
.matrix-wrap {
  margin-top: 3rem;
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.matrix { min-width: 760px; font-size: 0.92rem; }

.matrix thead th {
  position: sticky; top: 0;
  background: var(--surface);
  text-align: center;
  padding: 1.15rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  vertical-align: bottom;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.matrix thead th.matrix-crit {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}

/* La colonne Ecoptimiz est surlignée sur toute la hauteur. */
.matrix thead th.matrix-us {
  color: var(--on-accent);
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}
.matrix td.matrix-us { background: var(--accent-soft); }
.matrix tbody tr:last-child td.matrix-us { border-radius: 0 0 var(--radius) var(--radius); }

.matrix tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  padding: 1.15rem 1.2rem;
  border-bottom: 1px solid var(--border);
  width: 30%;
  min-width: 210px;
}
.matrix tbody td {
  text-align: center;
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td { border-bottom: none; }

.matrix .mark { display: inline-flex; }
.matrix .mark svg { width: 24px; height: 24px; }
.mark-yes { color: var(--accent-bright); }
.mark-part { color: var(--warn); }
.mark-no { color: var(--danger); }

.matrix td em {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-faint);
}
.matrix td.matrix-us em { color: var(--text-muted); }

/* Pas de max-width : la phrase tient sur une ligne au bureau
   et se replie naturellement sur les petits écrans. */
.matrix-legend {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- matrice resserrée sur petit écran ----------
   On garde le tableau, mais Ecoptimiz étant en première colonne, l'essentiel
   est lisible sans défiler. Les colonnes sont réduites pour en montrer trois. */
@media (max-width: 860px) {
  /* Colonne des critères resserrée : le libellé tient sur deux lignes,
     ce qui laisse la place à Ecoptimiz plus une colonne de comparaison. */
  /* Largeurs imposées : sans cela le navigateur répartit selon le contenu
     et la deuxième colonne de comparaison tombe hors écran. */
  .matrix { table-layout: fixed; min-width: 510px; font-size: 0.8rem; }
  .matrix thead th { width: 100px; padding: 0.8rem 0.4rem; font-size: 0.68rem; }
  .matrix thead th.matrix-crit { width: 110px; font-size: 0.58rem; letter-spacing: 0.05em; }

  .matrix tbody th {
    width: 110px;
    min-width: 0;
    padding: 0.75rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.25;
    hyphens: auto;
  }
  .matrix tbody td { padding: 0.8rem 0.45rem; }

  .matrix .mark svg { width: 20px; height: 20px; }
  .matrix td em { font-size: 0.66rem; margin-top: 0.25rem; line-height: 1.3; }
}

/* ---------- ancien tableau comparatif (non utilisé) ---------- */
.compare { margin-top: 3rem; }
.compare-table { font-size: 0.94rem; }
.compare-table thead th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 1.1rem 0.9rem;
  border-bottom: 1px solid var(--border-strong);
}
.compare-table tbody th,
.compare-table tbody td {
  padding: 1.15rem 1.1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 300;
  text-align: left;
}
.compare-table tbody th { color: var(--text); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.compare-row--us th, .compare-row--us td { background: var(--accent-soft); color: var(--text); }
.compare-row--us th { color: var(--accent-bright); }
.compare-row--us td:last-child, .compare-row--us th:first-child { border-radius: 0; }

@media (max-width: 860px) {
  .compare-table thead { display: none; }
  .compare-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .compare-table tbody th, .compare-table tbody td {
    display: block;
    border-bottom: none;
    padding: 0.9rem 1.1rem 0;
  }
  .compare-table tbody td:last-child { padding-bottom: 1.2rem; }
  .compare-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.25rem;
  }
  .compare-table tbody th { padding-top: 1.2rem; white-space: normal; }
}

/* ---------- aiguillage de posture ----------
   Sous 1130px les cartes s'empilent. On intercale alors les deux intitulés
   de posture au bon endroit : « je pilote » avant les deux formules à
   distance, « je délègue » juste avant Chantier Sécurisé.
   display:contents fait disparaître les deux conteneurs pour que leurs
   enfants deviennent des éléments de la même grille. */
@media (max-width: 1129px) {
  .offres { display: grid; gap: 1.4rem; }
  .offres > .posture-split,
  .offres > .pricing-grid { display: contents; }

  .posture-split .posture:first-child { order: 1; }
  .pricing-grid .price-card:nth-child(1) { order: 2; }
  .pricing-grid .price-card:nth-child(2) { order: 3; }
  .posture-split .posture:last-child { order: 4; margin-top: 1rem; }
  .pricing-grid .price-card:nth-child(3) { order: 5; }
}

.posture-split {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .posture-split { grid-template-columns: repeat(2, 1fr); } }
.posture { padding: 1.4rem 1.6rem; border-top: 2px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.posture-q { font-weight: 600; color: var(--text); font-size: 1.05rem; }
.posture-a { margin-top: 0.5rem; font-size: 0.92rem; }

/* ---------- formules ---------- */
.pricing-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
  align-items: start;
}
/* 3 colonnes seulement quand les cartes peuvent contenir le libellé du bouton
   sans le tronquer ni déborder. En dessous, une seule colonne. */
@media (min-width: 1130px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.price-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.price-card h3 { margin-top: 0.1rem; }
.price-desc { font-size: 0.94rem; margin-top: -0.5rem; }

.price-card--featured {
  background: var(--surface-raised);
  border-color: var(--accent);
  box-shadow: 0 24px 55px rgba(22, 35, 27, 0.13);
}
/* L'offre phare se distingue par la taille : colonne plus large et carte qui
   déborde en haut et en bas des deux autres. */
@media (min-width: 1130px) {
  .pricing-grid { grid-template-columns: 1fr 1.14fr 1fr; }
  .price-card--featured {
    margin-block: -1.6rem;
    /* dépasse de 1,6rem en haut ET en bas des deux autres cartes */
    height: calc(100% + 3.2rem);
    padding: 3.6rem 2.2rem;
    transform: none;
  }
  .price-card--featured:hover { transform: translateY(-4px); }
  .price-card--featured h3 { font-size: 1.5rem; }
  .price-card--featured .price-num { font-size: 2.3rem; }
}

.price-tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}
.price-tag--soft {
  color: var(--accent-bright);
  background: transparent;
  border: 1px solid var(--border-strong);
}

.price-amount { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.2rem; }
.price-num { font-size: 1.95rem; font-weight: 600; color: var(--text); line-height: 1; }
.price-suffix { font-size: 0.78rem; color: var(--text-faint); }
/* Appel de note : discret, sans casser l'alignement du prix. */
.price-ast { font-size: 0.5em; vertical-align: super; line-height: 0; color: var(--text-faint); }
.price-line {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-bright);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-top: -0.3rem;
}

.price-features { display: flex; flex-direction: column; gap: 0.7rem; }
.price-features li { position: relative; padding-left: 1.6rem; font-size: 0.9rem; color: var(--text-muted); }
.price-features li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent);
}
.price-note { font-size: 0.85rem; color: var(--text-faint); }
/* Padding resserré : le bouton pleine largeur dicte la largeur minimale de la carte. */
.price-card .btn { margin-top: auto; width: 100%; padding-inline: 1rem; font-size: 0.88rem; }

/* ---------- ce qui vous protège ---------- */
.protections { margin-top: 3rem; display: grid; gap: 0; counter-reset: prot; }
.protection {
  counter-increment: prot;
  display: grid;
  gap: 0.4rem 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--border-strong);
  grid-template-columns: 1fr;
}
.protection:last-child { border-bottom: 1px solid var(--border-strong); }
.protection::before {
  content: counter(prot, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.protection p { font-size: 0.95rem; max-width: 68ch; }
@media (min-width: 860px) {
  .protection { grid-template-columns: 3rem 22rem 1fr; align-items: start; }
  .protection::before { grid-row: span 2; padding-top: 0.35rem; }
  .protection h3 { grid-column: 2; }
  .protection p { grid-column: 3; grid-row: 1; }
}

/* ---------- preuve ---------- */
.proof-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 940px) { .proof-grid { grid-template-columns: 1.5fr 1fr; gap: 3.5rem; } }

.proof-numbers { margin-top: 2rem; display: grid; gap: 1rem; }
.proof-num {
  display: grid;
  gap: 0.3rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.proof-num .n { font-size: 1.6rem; font-weight: 600; color: var(--text-faint); line-height: 1.1; }
.proof-num .l { font-size: 0.9rem; color: var(--text-muted); }
.proof-num--real { border-color: var(--accent); background: var(--accent-soft); }
.proof-num--real .n { color: var(--accent-bright); }
/* Précision accolée au montant, en plus discret pour ne pas voler la vedette au chiffre. */
.n-suite { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.proof-foot { margin-top: 1.4rem; font-size: 0.9rem; color: var(--text-faint); }
/* Lecture chiffrée du cas : mise en avant, donc plus dense et plus contrastée. */
.proof-foot--strong { font-weight: 600; color: var(--text); line-height: 1.5; }
.proof-foot--strong + .proof-foot--strong { margin-top: 0.9rem; }

/* Colonne de droite : marqueurs puis appel à l'action, pour combler
   le vide laissé sous l'encadré pendant que le texte continue à gauche. */
.proof-side { display: grid; gap: 1.5rem; align-content: start; }

/* Dans une colonne étroite, le bandeau s'empile au lieu de s'aligner. */
.inline-cta--colonne {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-top: 0; /* l'espacement est géré par la grille de la colonne */
}
.inline-cta--colonne p { font-size: 1.15rem; }

.proof-markers {
  padding: 1.9rem 1.8rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-raised);
  align-self: start;
}
.proof-markers h3 { font-size: 1.05rem; }
.proof-markers dl { margin-top: 1.4rem; display: grid; gap: 1.3rem; }
.proof-markers dt { font-size: 2rem; font-weight: 600; color: var(--accent-bright); line-height: 1; }
.proof-markers dd { margin-top: 0.3rem; font-size: 0.9rem; color: var(--text-muted); }

/* ---------- questions ---------- */
/* Questions à gauche, rappel d'action à droite : la seule section
   qui n'avait pas de bouton, alors qu'elle précède le formulaire. */
.faq-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 940px) {
  .faq-grid { grid-template-columns: 1fr 20rem; gap: 4rem; align-items: start; }
}

.faq-aside {
  padding: 1.9rem 1.75rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  display: grid;
  gap: 1rem;
}
@media (min-width: 940px) {
  .faq-aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
}
.faq-aside-titre { font-size: 1.15rem; font-weight: 600; color: var(--text); }
.faq-aside p { font-size: 0.95rem; }

.faq { max-width: 78ch; }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-bright); }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 0.4rem; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { padding: 0 2.5rem 0 0; font-size: 0.95rem; max-width: 70ch; }
.faq-item p + p { margin-top: 0.85rem; }
.faq-item p:last-of-type { padding-bottom: 1.4rem; }

/* ---------- rendez-vous ---------- */
.rdv-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) { .rdv-grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; } }
.rdv-grid h2 { margin-top: 0.7rem; max-width: 18ch; }
.rdv-grid .lede { margin-top: 1.1rem; }

.rdv-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.rdv-points li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-muted); }
.rdv-points svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 0.2rem; }

.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.contact-item { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.93rem; color: var(--text-muted); }
.contact-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 0.22rem; }
.contact-item a:hover { color: var(--accent-bright); }

/* ---------- formulaire ---------- */
.rdv-form {
  padding: 1.9rem 1.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 620px) { .rdv-form { padding: 2.2rem 2.1rem; } }
.form-intro { font-size: 0.9rem; color: var(--text-faint); }
/* Champ piège : sorti de l'écran plutôt que display:none, que certains robots détectent. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--text); }
.field .hint { font-size: 0.78rem; font-weight: 300; color: var(--text-faint); }
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-raised);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%235c6960'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 15px;
  padding-right: 2.5rem;
}
.field .error-msg { display: none; font-size: 0.8rem; color: var(--danger); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field.has-error .error-msg { display: block; }

.form-status {
  display: none;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.form-status.is-visible { display: block; }
.form-status.success { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--text); }
.form-status.error { background: var(--danger-soft); border: 1px solid var(--danger); color: var(--text); }
.form-legal { font-size: 0.78rem; color: var(--text-faint); }

/* ---------- formulaire après envoi ----------
   Les champs sont retirés plutôt que vidés : un formulaire blanc laissé
   à côté du calendrier laissait croire que la demande s'était perdue.
   Il ne reste que la confirmation, le récapitulatif et l'agenda. */
.rdv-form { scroll-margin-top: calc(var(--nav-h) + 1rem); }
.rdv-form.is-envoye > .form-intro,
.rdv-form.is-envoye > .form-grid,
.rdv-form.is-envoye > .field,
.rdv-form.is-envoye > .honeypot,
.rdv-form.is-envoye > button[type="submit"],
.rdv-form.is-envoye > .form-legal { display: none; }

.form-recap {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg);
}
.form-recap-titre {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.form-recap ul { display: grid; gap: 0.4rem; }
.form-recap li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text);
  overflow-wrap: anywhere;
}
.form-recap li span { flex: none; width: 3.6rem; font-size: 0.86rem; color: var(--text-faint); }
.form-recap-note { font-size: 0.8rem; color: var(--text-faint); }
.form-recap-note a { color: var(--accent-bright); text-decoration: underline; }

/* Bloc de réservation, masqué tant que la demande n'est pas partie. */
[hidden] { display: none !important; }
.form-booking {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.form-booking p { color: var(--text); font-weight: 500; }
/* On neutralise le min-width:320px du gabarit Calendly, qui déborde
   sur les petits écrans une fois les marges du formulaire déduites. */
.calendly-inline-widget {
  min-width: 0;
  width: 100%;
  height: 700px;
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 600px) { .calendly-inline-widget { height: 780px; } }
.booking-repli { font-size: 0.82rem; font-weight: 300 !important; color: var(--text-muted) !important; }
.booking-repli a { color: var(--accent-bright); text-decoration: underline; }

/* ---------- pied de page ---------- */
.footer { border-top: 1px solid var(--border); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; } }
.footer .brand { margin-bottom: 1rem; }
.footer p.desc { max-width: 38ch; font-size: 0.9rem; }
.footer h4 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--text-faint); font-weight: 600; margin-bottom: 1.05rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer ul a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s var(--ease); }
.footer ul a:hover { color: var(--accent-bright); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.social-row { display: flex; gap: 0.8rem; }
.social-row a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social-row a svg { width: 16px; height: 16px; }
.social-row a:hover { color: var(--accent-bright); border-color: var(--accent); }

/* ---------- apparition au défilement ----------
   Le masquage n'est appliqué que si le JS a pris la main (classe .js posée
   par un script en tête de page). Sans JS, tout le contenu reste visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; transform: none; }
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .marquee-track { width: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
}
