/* Pistorio Conseil · styles de la page d'accueil */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Planche de symboles SVG (réutilisés via <use>), invisible */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:root {
  --bg:               #FFFFFF;
  --bg-alt:           #F2F2F2;
  --dark-1:           #111111;
  --dark-2:           #1C1C1E;
  --texte-principal:  #111111;
  --texte-secondaire: #666666;   /* 5:1 minimum sur gris clair et blanc (WCAG AA) */
  --accent:           #2A7F6F;
  --accent-dark:      #1e6b5e;   /* petit texte vert sur fond clair */
  --accent-clair:     #3FAE95;   /* petit texte vert sur fond sombre */
  --bordure:          #E0E0E0;
  --blanc:            #FFFFFF;
  --ligne-guide:      rgba(17,17,17,0.08);
  --mono:             'SFMono-Regular', ui-monospace, 'DejaVu Sans Mono', Menlo, Consolas, monospace;
  --ease-out:         cubic-bezier(0.23, 1, 0.32, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--bordure) transparent;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bordure); border-radius: 3px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--texte-principal);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 104px 0; }

/* Décalage des ancres pour compenser la barre de navigation fixe */
section[id] { scroll-margin-top: 80px; }

h1, h2 { text-wrap: balance; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.025em; line-height: 1.12; }

/* ── Focus clavier visible (accessibilité) ──────────────────── */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background-color: var(--accent-dark); }
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary-lg { padding: 15px 36px; font-size: 16px; }

.btn-border {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--texte-principal);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1.5px solid var(--bordure);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-border:hover { border-color: #999; }
}
.btn-border:active { transform: scale(0.97); }

/* ── Lien d'évitement (accessibilité) ───────────────────────── */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ── Navbar ─────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
#navbar.scrolled {
  background-color: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--bordure);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
/* Le P du logo remplace la première lettre du mot : hauteur de capitale d'Inter
   (0.727em), posé sur la ligne de base, couleur du texte. */
.logo-p { display: inline-block; width: 0.535em; height: 0.727em; vertical-align: baseline; margin-right: 0.05em; }
.nav-logo { display: inline-flex; text-decoration: none; }
.nav-logo-name { font-size: 18px; font-weight: 700; color: var(--dark-1); letter-spacing: -0.025em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--texte-secondaire); text-decoration: none; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--texte-principal); }
}
@media (max-width: 820px) { .nav-links { display: none; } }

/* ── Hero ───────────────────────────────────────────────────── */
#hero {
  background: var(--bg);
  border-bottom: 1px solid var(--bordure);
  padding: 84px 0 76px;
  position: relative;
  overflow: hidden;
}
/* Lignes-guides pointillées (motif « blueprint », discret) */
.hero-frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 24px, 1132px);
  border-left: 1px dotted var(--ligne-guide);
  border-right: 1px dotted var(--ligne-guide);
  pointer-events: none;
  z-index: 0;
}
#hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

/* Colonne texte : entrée douce via @starting-style, staggerée */
.hero-eyebrow,
.hero-h1,
.hero-sub,
.hero-points,
.hero-cta,
.hero-col-visual {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.hero-eyebrow     { transition-delay: 0ms; }
.hero-h1          { transition-delay: 80ms; }
.hero-sub         { transition-delay: 160ms; }
.hero-points      { transition-delay: 240ms; }
.hero-cta         { transition-delay: 320ms; }
.hero-col-visual  { transition-delay: 180ms; }

@starting-style {
  .hero-eyebrow,
  .hero-h1,
  .hero-sub,
  .hero-points,
  .hero-cta,
  .hero-col-visual {
    opacity: 0;
    transform: translateY(12px);
  }
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--texte-secondaire);
  margin-bottom: 26px;
}

.hero-h1 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--dark-1);
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 17px;
  color: var(--texte-secondaire);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 38px; }
.hero-points li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--texte-principal); line-height: 1.5; }
.hero-points li::before {
  content: '';
  width: 9px;
  height: 9px;
  margin-top: 6px;
  flex-shrink: 0;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 1px;
}
.hero-points li > span { min-width: 0; }
.hero-points strong { font-weight: 600; }

.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── Carte « Rapport ROI » (exemple de livrable) ────────────── */
.roi-card {
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: 14px;
  padding: 24px 24px 20px;
  box-shadow: 0 24px 56px -28px rgba(17,17,17,0.28);
}
.roi-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.roi-card-title { font-size: 15px; font-weight: 600; color: var(--texte-principal); letter-spacing: -0.01em; }
.roi-card-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte-secondaire);
  border: 1px solid var(--bordure);
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.roi-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.roi-kpi { background: var(--bg-alt); border-radius: 10px; padding: 14px 16px; }
.roi-kpi-val { font-size: 26px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; line-height: 1; }
.roi-kpi-lbl { display: block; font-size: 12px; color: var(--texte-secondaire); margin-top: 6px; line-height: 1.3; }
.roi-rows { list-style: none; margin-bottom: 18px; }
.roi-row { display: grid; grid-template-columns: 96px 1fr; gap: 2px 14px; padding: 10px 0; border-top: 1px solid var(--bordure); }
.roi-row:first-child { border-top: none; padding-top: 0; }
.roi-row-lbl { font-size: 12px; font-weight: 600; color: var(--texte-principal); grid-row: span 2; }
.roi-row-val { font-size: 12.5px; color: var(--texte-principal); line-height: 1.4; }
.roi-row-src { font-size: 11px; font-style: normal; color: var(--texte-secondaire); line-height: 1.4; }
.roi-foot { border-top: 1px solid var(--bordure); padding-top: 14px; font-size: 12px; color: var(--texte-secondaire); }

/* ── Problème ───────────────────────────────────────────────── */
#probleme { background: var(--bg); }

.probleme-header {
  margin-bottom: 64px;
}
.probleme-header h2 { margin-bottom: 28px; }
.probleme-header p { color: var(--texte-secondaire); font-size: 17px; line-height: 1.65; max-width: 72ch; margin-bottom: 14px; }
.probleme-header p:last-child { margin-bottom: 0; }

.probleme-list { border-top: 1px solid var(--bordure); }

.probleme-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--bordure);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
/* État avant apparition, seulement si le JS tourne (sinon le contenu reste visible) */
.js .probleme-item {
  opacity: 0;
  transform: translateY(20px);
}
.js .probleme-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Clip-path reveal on number when item becomes visible */
.probleme-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 4px;
  transition: clip-path 500ms var(--ease-out) 200ms;
}
.js .probleme-num { clip-path: inset(0 100% 0 0); }
.js .probleme-item.is-visible .probleme-num {
  clip-path: inset(0 0% 0 0);
}

.probleme-content-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--texte-principal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.probleme-content-text { font-size: 15px; color: var(--texte-secondaire); line-height: 1.65; max-width: 60ch; }

/* ── Méthode ────────────────────────────────────────────────── */
#methode { background: var(--dark-2); }

.methode-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.methode-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-clair); margin-bottom: 14px; }
.methode-header h2 { color: #fff; margin: 0; }
.methode-header p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.65; max-width: 44ch; }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

/* Asymmetric timing: enter slow (280ms), exit fast (140ms) */
.step {
  position: relative;
  background: var(--dark-2);
  padding: 40px 36px;
  overflow: hidden;
  transition: background-color 140ms var(--ease-out); /* exit fast */
}
@media (hover: hover) and (pointer: fine) {
  .step:hover {
    background-color: #242426;
    transition: background-color 280ms var(--ease-out); /* enter slow */
  }
}

.step--wide { grid-column: 1 / -1; }


.step-num { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-clair); margin-bottom: 14px; }

/* Title slides right on hover */
.step-title {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  transition: transform 140ms var(--ease-out); /* exit fast */
}
@media (hover: hover) and (pointer: fine) {
  .step:hover .step-title {
    transform: translateX(5px);
    transition: transform 280ms var(--ease-out); /* enter slow */
  }
}

/* Desc brightens with slight delay */
.step-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  transition: color 140ms var(--ease-out); /* exit fast */
}
@media (hover: hover) and (pointer: fine) {
  .step:hover .step-desc {
    color: rgba(255,255,255,0.82);
    transition: color 280ms var(--ease-out) 50ms; /* enter slow + delay */
  }
}

/* ── Preuve / Cas client ────────────────────────────────────── */
#preuve { background: var(--bg); }

/* Cas client : mise en page « référence » (texte + chiffres à gauche, panneau à droite) */
.cas-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.cas-eyebrow { display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-dark); margin-bottom: 18px; }
.cas-text h2 { margin-bottom: 22px; }
.cas-lead { font-size: 16px; color: var(--texte-secondaire); line-height: 1.7; margin-bottom: 34px; }
.cas-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.cas-stat-num { font-size: 40px; font-weight: 700; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.cas-stat-lbl { font-size: 13px; color: var(--texte-secondaire); margin-top: 10px; max-width: 22ch; line-height: 1.4; }
.cas-note { font-size: 12px; color: var(--texte-secondaire); margin-top: 20px; }

.cas-visual { background: #fff; border: 1px solid var(--bordure); border-radius: 16px; padding: 36px; box-shadow: 0 24px 56px -30px rgba(17,17,17,0.18); }
.cas-logo { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--bordure); }
.cas-logo img { max-width: 170px; max-height: 52px; width: auto; height: auto; display: block; }
.cas-quote { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: 20px; line-height: 1.5; color: var(--texte-principal); }
.cas-quote-source { font-size: 13px; font-weight: 500; color: var(--texte-secondaire); margin-top: 20px; }
@media (max-width: 860px) { .cas-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .cas-stats { flex-direction: column; gap: 24px; } }

/* ── Garantie ───────────────────────────────────────────────── */
#garantie { background: var(--bg-alt); padding-bottom: 0; }
.garantie-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 16px;
  padding: 56px 48px;
}
.garantie-icon svg { width: 40px; height: 40px; display: block; margin: 0 auto 18px; }
.garantie-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.garantie-inner h2 { margin: 0 auto; max-width: 16ch; }
.garantie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  text-align: left;
}
.garantie-item { padding-top: 20px; border-top: 2px solid var(--accent); }
.garantie-item-title { font-size: 16px; font-weight: 600; color: var(--texte-principal); letter-spacing: -0.01em; margin-bottom: 8px; }
.garantie-item p { font-size: 14px; color: var(--texte-secondaire); line-height: 1.65; }

/* ── Offre ──────────────────────────────────────────────────── */
#offre { background: var(--bg-alt); }
.offre-header { margin-bottom: 56px; }
.offre-header h2 { margin-bottom: 10px; }
.offre-subtitle { color: var(--texte-secondaire); font-size: 17px; }
.offre-tva { margin-top: 6px; font-size: 13px; color: var(--texte-secondaire); }

.offre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.offre-card {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .offre-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); }
}
/* La carte « Recommandé » garde le même cadre sobre que les autres ;
   le badge suffit à la distinguer. */
.offre-card.featured { border: 1px solid var(--bordure); background: var(--blanc); }
/* Sur ordinateur, les deux cartes partagent les lignes de la grille parente :
   badge, titre, description, prix et liste démarrent à la même hauteur. */
@media (min-width: 769px) {
  .offre-card { display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 0; }
}

.offre-card-badge { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 20px; width: fit-content; padding: 4px 10px; border-radius: 4px; }
.badge-accent { color: var(--accent-dark); background: rgba(42,127,111,0.08); }
.badge-neutral { color: var(--texte-secondaire); background: var(--bg-alt); }

.offre-card-title { font-size: 24px; font-weight: 700; color: var(--texte-principal); letter-spacing: -0.025em; margin-bottom: 10px; }
.offre-card-desc { font-size: 14px; color: var(--texte-secondaire); line-height: 1.65; margin-bottom: 32px; max-width: 50ch; }
.offre-separator { height: 1px; background: var(--bordure); margin-bottom: 28px; }
.offre-price-block { margin-bottom: 28px; }
.offre-price-from { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-secondaire); margin-bottom: 10px; }
.offre-price { font-size: 40px; font-weight: 700; color: var(--accent); letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.offre-price .currency { font-size: 22px; font-weight: 600; vertical-align: super; margin-left: 4px; color: var(--accent); }
.offre-price-note { font-size: 13px; color: var(--texte-secondaire); }

.offre-features { list-style: none; margin: 0 0 36px; display: flex; flex-direction: column; gap: 12px; }
.offre-features:last-child { margin-bottom: 0; } /* pas de vide sous la liste quand aucune note ne suit */
.offre-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--texte-principal); line-height: 1.5; }
.offre-features li .check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; min-width: 18px; background: rgba(42,127,111,0.1); border-radius: 50%; margin-top: 2px; }
.offre-features li .check svg { width: 10px; height: 10px; }

.offre-aster { color: var(--texte-secondaire); font-weight: 600; font-size: 0.55em; vertical-align: super; margin-left: 2px; }
.offre-fineprint { margin-top: auto; padding-top: 4px; font-size: 12px; color: var(--texte-secondaire); line-height: 1.5; }

/* ── CTA Final ──────────────────────────────────────────────── */
#cta-final { background: var(--dark-2); text-align: center; }
#cta-final h2 { color: #fff; max-width: 560px; margin: 0 auto 16px; }
.cta-sub { color: rgba(255,255,255,0.62); margin-bottom: 40px; font-size: 17px; }
.cta-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.5); }
.cta-alt { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,0.6); }
.cta-alt a { color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 2px; transition: color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cta-alt a:hover { color: #fff; } }
.cta-privacy { max-width: 52ch; margin: 14px auto 0; font-size: 12px; line-height: 1.55; color: rgba(255,255,255,0.5); }
.cta-privacy a { color: rgba(255,255,255,0.75); text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cta-privacy a:hover { color: #fff; } }

/* ── FAQ ────────────────────────────────────────────────────── */
#faq { background: var(--bg); }
.faq-header { margin-bottom: 48px; }
.faq-contact { margin-top: 20px; font-size: 15px; color: var(--texte-secondaire); line-height: 1.6; }
.faq-contact a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 961px) {
  .faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .faq-header { margin-bottom: 0; position: sticky; top: 104px; }
}
.faq-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.faq-header h2 { margin: 0; }

.faq-list { border-top: 1px solid var(--bordure); }
.faq-item { border-bottom: 1px solid var(--bordure); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--texte-principal);
  letter-spacing: -0.01em;
  transition: color 160ms var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--texte-secondaire);
  border-bottom: 2px solid var(--texte-secondaire);
  transform: rotate(45deg);
  transition: transform 240ms var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item.faq-closing summary::after { transform: rotate(45deg); } /* chevron synchro à la fermeture */
@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover { color: var(--accent); }
}
/* La hauteur est animée en JS via l'API Web Animations (pixels réels + fondu).
   On garde overflow:hidden pour que le contenu se rogne proprement pendant l'anim. */
.faq-answer { overflow: hidden; }
.faq-answer p { font-size: 15px; color: var(--texte-secondaire); line-height: 1.7; max-width: 68ch; padding-bottom: 26px; }

/* ── Reveal on scroll (plays once) ──────────────────────────── */
.reveal { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Footer ─────────────────────────────────────────────────── */
#footer { background: var(--dark-1); padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-logo { display: inline-flex; font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.75); text-decoration: none; letter-spacing: -0.01em; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 160ms var(--ease-out); }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-text { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-col-visual { max-width: 460px; }
}
@media (max-width: 768px) {
  .section-padding { padding: 72px 0; }
  #hero { padding: 64px 0 56px; }
  .probleme-header { margin-bottom: 40px; }
  .methode-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .probleme-item { grid-template-columns: 48px 1fr; gap: 28px; padding: 32px 0; }
  .offre-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { padding: 28px 24px; }
  .garantie-inner { padding: 40px 24px; }
  .garantie-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .nav-inner { height: 56px; }
  .nav-logo-name { font-size: 15px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.03em; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary,
  .hero-cta .btn-border { justify-content: center; }
  .btn-primary { font-size: 14px; }
  .roi-row { grid-template-columns: 1fr; }
  .roi-row-lbl { grid-row: auto; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1ms !important;
  }
  html { scroll-behavior: auto; }
  /* Ensure hidden elements become visible instantly */
  .probleme-item,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .probleme-num { clip-path: none !important; }
}
