/* ===================================================================
   🎨 STYLE PARTAGÉ DE TOUT LE SITE FASTWEB (thème "sombre premium")
   Ce fichier est utilisé par TOUTES les pages. Modifie une couleur ici
   et elle change partout. (Un code comme #38bdf8 = une couleur.)
==================================================================== */
:root {
  --fond:        #070b18;   /* Fond principal très sombre (bleu nuit) */
  --fond-2:      #0c1226;   /* Fond des sections alternées */
  --carte:       #111a33;   /* Fond des cartes */
  --carte-bord:  rgba(255,255,255,0.08); /* Bordure discrète des cartes */

  --primaire:    #6366f1;   /* Indigo lumineux (boutons, accents) */
  --primaire-2:  #38bdf8;   /* Bleu ciel électrique (dégradés) */
  --accent:      #fbbf24;   /* Touche dorée chaleureuse */

  --texte:       #f1f5f9;   /* Texte clair principal */
  --texte-doux:  #94a3b8;   /* Texte secondaire (gris-bleu) */
  --blanc:       #ffffff;

  --ombre:       0 20px 50px rgba(0,0,0,.45);
  --rayon:       18px;
  --max:         1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--texte);
  line-height: 1.65;
  background: var(--fond);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo { font-family: "Poppins", sans-serif; line-height: 1.15; font-weight: 700; }

a { color: inherit; }
.conteneur { width: 90%; max-width: var(--max); margin: 0 auto; }

/* Petit dégradé de texte réutilisable (pour les mots à surligner) */
.degrade {
  background: linear-gradient(100deg, var(--primaire-2), var(--primaire) 55%, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; padding: 14px 26px;
  border-radius: 12px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none; font-family: inherit;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-principal {
  color: #fff;
  background: linear-gradient(100deg, var(--primaire), var(--primaire-2));
  box-shadow: 0 10px 30px rgba(99,102,241,.40);
}
.btn-principal:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(99,102,241,.55); }
.btn-secondaire {
  color: var(--texte); background: rgba(255,255,255,.05);
  border: 1px solid var(--carte-bord);
}
.btn-secondaire:hover { background: rgba(255,255,255,.10); transform: translateY(-2px); border-color: rgba(255,255,255,.22); }

/* ---------- BARRE DE NAVIGATION ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,11,24,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-size: 1.45rem; font-weight: 800; color: var(--blanc); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo .marque { background: linear-gradient(100deg, var(--primaire-2), var(--primaire)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo .point { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--primaire), var(--primaire-2)); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(99,102,241,.5); }
.logo .point svg { width: 17px; height: 17px; color: #fff; }
.nav-liens { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-liens a { text-decoration: none; color: var(--texte-doux); font-weight: 500; font-size: .96rem; transition: color .2s; }
.nav-liens a:hover { color: var(--texte); }
.nav-liens a.actif { color: var(--texte); }
.nav-liens .btn { padding: 11px 20px; }
.burger { display: none; background: none; border: none; cursor: pointer; color: var(--texte); padding: 6px; }
.burger svg { width: 26px; height: 26px; }

/* ---------- SECTION D'ACCUEIL (HERO) ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
/* Halos lumineux d'arrière-plan (l'effet "aurora") */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55; z-index: 0; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, #4338ca, transparent 70%); top: -160px; left: -120px; }
.hero::after  { width: 460px; height: 460px; background: radial-gradient(circle, #0ea5e9, transparent 70%); top: -60px; right: -120px; animation: flotte 9s ease-in-out infinite; }
@keyframes flotte { 0%,100% { transform: translateY(0); } 50% { transform: translateY(26px); } }

.hero-grille { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.30);
  color: #c7d2fe; padding: 7px 15px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.badge .pastille { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 20px; letter-spacing: -.02em; }
.hero .accroche { font-size: 1.18rem; color: var(--texte-doux); max-width: 540px; margin-bottom: 32px; }
.hero .boutons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .rassurance { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; color: var(--texte-doux); font-size: .9rem; }
.hero .rassurance span { display: inline-flex; align-items: center; gap: 7px; }
.hero .rassurance svg { width: 16px; height: 16px; color: #34d399; }

/* Maquette de navigateur "flottante" à droite du hero */
.mockup { position: relative; }
.fenetre {
  background: var(--carte); border: 1px solid var(--carte-bord);
  border-radius: 16px; box-shadow: var(--ombre); overflow: hidden;
  animation: leve 7s ease-in-out infinite;
}
@keyframes leve { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.fenetre .barre { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--carte-bord); }
.fenetre .barre i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.fenetre .barre i:nth-child(1) { background: #ff5f57; }
.fenetre .barre i:nth-child(2) { background: #febc2e; }
.fenetre .barre i:nth-child(3) { background: #28c840; }
.fenetre .barre .url { margin-left: 10px; font-size: .72rem; color: var(--texte-doux); background: rgba(255,255,255,.05); padding: 4px 12px; border-radius: 6px; flex: 1; }
.ecran { padding: 22px; }
.ecran .ban { height: 96px; border-radius: 12px; background: linear-gradient(120deg, var(--primaire), var(--primaire-2)); position: relative; overflow: hidden; margin-bottom: 16px; }
.ecran .ban::after { content:"Votre entreprise"; position:absolute; left:18px; bottom:14px; color:#fff; font-family:"Poppins"; font-weight:700; font-size:1.05rem; }
.ecran .ligne { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); margin-bottom: 10px; }
.ecran .ligne.court { width: 55%; }
.ecran .cartouches { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 16px; }
.ecran .cartouches div { height: 54px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--carte-bord); }

/* Étiquette flottante */
.pastille-flottante {
  position: absolute; right: -14px; bottom: 26px;
  background: var(--carte); border: 1px solid var(--carte-bord);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--ombre);
  display: flex; align-items: center; gap: 11px;
  animation: leve 7s ease-in-out infinite reverse;
}
.pastille-flottante .ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(52,211,153,.15); color: #34d399; display: flex; align-items: center; justify-content: center; }
.pastille-flottante .ico svg { width: 20px; height: 20px; }
.pastille-flottante strong { display: block; font-family: "Poppins"; font-size: 1.05rem; }
.pastille-flottante span { font-size: .78rem; color: var(--texte-doux); }

/* ---------- EN-TÊTE DE PAGE INTÉRIEURE ---------- */
.page-hero { position: relative; padding: 70px 0 20px; text-align: center; overflow: hidden; }
.page-hero::before { content:""; position:absolute; width:560px; height:420px; border-radius:50%; filter:blur(95px); opacity:.5; background: radial-gradient(circle, #4338ca, transparent 70%); top:-170px; left:50%; transform:translateX(-50%); pointer-events:none; }
.page-hero .conteneur { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.page-hero p { color: var(--texte-doux); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- BANDEAU DE CONFIANCE (stats) ---------- */
.stats { border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: var(--fond-2); }
.stats-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; text-align: center; }
.stat .nombre { font-family: "Poppins"; font-size: 1.9rem; font-weight: 800; }
.stat .nombre .degrade { font-weight: 800; }
.stat .label { color: var(--texte-doux); font-size: .92rem; margin-top: 4px; }

/* ---------- SECTIONS GÉNÉRIQUES ---------- */
.section { padding: 92px 0; position: relative; }
.section-alt { background: var(--fond-2); }
.surtitre { display: block; text-align: center; color: var(--primaire-2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; margin-bottom: 12px; }
.titre-section { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.sous-titre-section { text-align: center; color: var(--texte-doux); max-width: 580px; margin: 14px auto 56px; font-size: 1.08rem; }

/* ---------- NOTRE HISTOIRE (storytelling) ---------- */
.histoire-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.histoire-texte h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 20px; letter-spacing: -.02em; }
.histoire-texte p { color: var(--texte-doux); margin-bottom: 16px; font-size: 1.05rem; }
.histoire-texte p strong { color: var(--texte); font-weight: 600; }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--carte-bord); }
.signature .duo { display: flex; }
.signature .duo .av { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family:"Poppins"; font-weight: 700; color: #fff; border: 2px solid var(--fond); }
.signature .duo .av:nth-child(1) { background: linear-gradient(135deg, var(--primaire), var(--primaire-2)); }
.signature .duo .av:nth-child(2) { background: linear-gradient(135deg, var(--accent), #f97316); margin-left: -14px; }
.signature .qui strong { display: block; font-family:"Poppins"; }
.signature .qui span { color: var(--texte-doux); font-size: .9rem; }

/* Carte "visuelle" de l'histoire (timeline) */
.histoire-visuel { background: var(--carte); border: 1px solid var(--carte-bord); border-radius: 20px; padding: 34px; box-shadow: var(--ombre); }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content:""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primaire), var(--primaire-2)); }
.etape-t { position: relative; padding-bottom: 26px; }
.etape-t:last-child { padding-bottom: 0; }
.etape-t::before { content:""; position: absolute; left: -29px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--carte); border: 3px solid var(--primaire-2); }
.etape-t h4 { font-family:"Poppins"; font-size: 1.05rem; margin-bottom: 3px; }
.etape-t p { color: var(--texte-doux); font-size: .95rem; }
.etape-t .an { color: var(--primaire-2); font-weight: 700; font-size: .82rem; }

/* ---------- CARTES (services & valeurs) ---------- */
.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte {
  background: var(--carte); border: 1px solid var(--carte-bord); border-radius: var(--rayon);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative; overflow: hidden;
}
.carte:hover { transform: translateY(-6px); box-shadow: var(--ombre); border-color: rgba(99,102,241,.45); }
.carte .icone { width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(99,102,241,.20), rgba(56,189,248,.16)); border: 1px solid rgba(99,102,241,.30); }
.carte .icone svg { width: 25px; height: 25px; color: var(--primaire-2); }
.carte h3 { font-size: 1.18rem; margin-bottom: 9px; }
.carte p { color: var(--texte-doux); font-size: .98rem; }

/* ---------- COMMENT ÇA MARCHE (process) ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: etape; }
.etape { text-align: center; position: relative; }
.etape .num { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-family:"Poppins"; font-weight: 800; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--primaire), var(--primaire-2)); box-shadow: 0 10px 26px rgba(99,102,241,.4); }
.etape h3 { font-size: 1.12rem; margin-bottom: 8px; }
.etape p { color: var(--texte-doux); font-size: .96rem; }
.etape:not(:last-child)::after {
  content:""; position: absolute; top: 30px; right: -12px; width: 24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--carte-bord) 0 6px, transparent 6px 12px);
}

/* ---------- TÉMOIGNAGES ---------- */
.temoignages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.temoignage { background: var(--carte); border: 1px solid var(--carte-bord); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; }
.temoignage .etoiles { color: var(--accent); margin-bottom: 14px; letter-spacing: 2px; }
.temoignage p { font-size: 1rem; margin-bottom: 20px; flex: 1; }
.temoignage .client { display: flex; align-items: center; gap: 12px; }
.temoignage .avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family:"Poppins"; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primaire), var(--primaire-2)); }
.temoignage .client strong { display: block; font-family:"Poppins"; font-size: .98rem; }
.temoignage .client span { color: var(--texte-doux); font-size: .85rem; }

/* ---------- TARIFS ---------- */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tarifs.deux { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.offre { background: var(--carte); border: 1px solid var(--carte-bord); border-radius: 20px; padding: 34px 28px; display: flex; flex-direction: column; position: relative; }
.offre.populaire { border-color: var(--primaire); box-shadow: 0 0 0 1px var(--primaire), 0 24px 50px rgba(99,102,241,.28); }
.offre .ruban { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(100deg, var(--primaire), var(--primaire-2)); color: #fff; font-size: .76rem; font-weight: 700; padding: 6px 16px; border-radius: 999px; letter-spacing: .04em; white-space: nowrap; }
.offre h3 { font-size: 1.25rem; margin-bottom: 6px; }
.offre .desc { color: var(--texte-doux); font-size: .92rem; margin-bottom: 18px; min-height: 40px; }
.offre .prix { font-family:"Poppins"; font-size: 2.4rem; font-weight: 800; }
.offre .prix small { font-size: .95rem; font-weight: 500; color: var(--texte-doux); }
.offre .prix-annuel { color: var(--primaire-2); font-size: .9rem; font-weight: 600; margin: 4px 0 10px; }
.offre .des { color: var(--texte-doux); font-size: .82rem; margin-bottom: 22px; }
.offre ul { list-style: none; margin-bottom: 26px; flex: 1; display: flex; flex-direction: column; gap: 11px; }
.offre li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.offre li svg { width: 18px; height: 18px; color: #34d399; flex-shrink: 0; margin-top: 2px; }
.offre .btn { width: 100%; justify-content: center; }
.tarif-note { text-align: center; color: var(--texte-doux); margin-top: 26px; font-size: .92rem; }

/* Titre intermédiaire + encadré d'information */
.bloc-titre { text-align:center; font-family:"Poppins"; font-weight:700; font-size:1.5rem; margin: 0 0 8px; }
.bloc-soustitre { text-align:center; color: var(--texte-doux); margin: 0 auto 40px; max-width: 560px; }
.info-box { max-width: 760px; margin: 34px auto 0; background: var(--carte); border: 1px solid var(--carte-bord); border-left: 3px solid var(--primaire-2); border-radius: 14px; padding: 22px 26px; }
.info-box h4 { font-family:"Poppins"; font-size: 1.02rem; margin-bottom: 6px; }
.info-box p { color: var(--texte-doux); font-size: .96rem; }
.info-box p + p { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.question { background: var(--carte); border: 1px solid var(--carte-bord); border-radius: 14px; overflow: hidden; }
.question summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family:"Poppins"; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.question summary::-webkit-details-marker { display: none; }
.question summary .plus { width: 24px; height: 24px; flex-shrink: 0; position: relative; transition: transform .25s; }
.question summary .plus::before, .question summary .plus::after { content:""; position: absolute; background: var(--primaire-2); border-radius: 2px; }
.question summary .plus::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.question summary .plus::after { left: 11px; top: 4px; bottom: 4px; width: 2px; transition: opacity .25s; }
.question[open] summary .plus::after { opacity: 0; }
.question .reponse { padding: 0 24px 22px; color: var(--texte-doux); }

/* ---------- CTA FINAL + CONTACT ---------- */
.cta-final { position: relative; overflow: hidden; }
.cta-bloc {
  background: linear-gradient(120deg, #1e1b4b, #0c1226 60%);
  border: 1px solid rgba(99,102,241,.3); border-radius: 26px;
  padding: 56px; position: relative; overflow: hidden;
}
.cta-bloc::before { content:""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.4), transparent 70%); top: -140px; right: -80px; filter: blur(40px); }
.cta-bloc.centre { text-align: center; }
.cta-bloc.centre h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-bloc.centre p { color: #c7d2fe; max-width: 560px; margin: 0 auto 28px; position: relative; z-index: 1; }
.cta-bloc.centre .boutons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.contact-grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.contact-infos h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; letter-spacing: -.02em; }
.contact-infos > p { color: var(--texte-doux); margin-bottom: 26px; font-size: 1.05rem; }
.coord { display: flex; flex-direction: column; gap: 16px; }
.coord a, .coord div { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--texte); }
.coord .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid var(--carte-bord); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.coord .ico svg { width: 19px; height: 19px; color: var(--primaire-2); }
.coord small { display: block; color: var(--texte-doux); font-size: .82rem; }

form { display: flex; flex-direction: column; gap: 15px; background: rgba(255,255,255,.03); border: 1px solid var(--carte-bord); padding: 30px; border-radius: 20px; }
form .champ label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; display: block; }
form input, form textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px; font-size: 1rem; font-family: inherit;
  background: rgba(255,255,255,.04); border: 1px solid var(--carte-bord); color: var(--texte);
  transition: border-color .2s, box-shadow .2s;
}
form input::placeholder, form textarea::placeholder { color: #64748b; }
form input:focus, form textarea:focus { outline: none; border-color: var(--primaire); box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
form textarea { resize: vertical; min-height: 110px; }
#merci { display: none; color: #34d399; font-weight: 600; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); padding: 12px 14px; border-radius: 11px; }

/* ---------- PIED DE PAGE ---------- */
footer { background: var(--fond-2); border-top: 1px solid rgba(255,255,255,.06); padding: 54px 0 30px; }
.footer-haut { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-haut .a-propos p { color: var(--texte-doux); margin-top: 14px; max-width: 320px; font-size: .95rem; }
.footer-col h4 { font-family:"Poppins"; font-size: .95rem; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--texte-doux); text-decoration: none; padding: 5px 0; font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--texte); }
.footer-bas { border-top: 1px solid rgba(255,255,255,.06); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--texte-doux); font-size: .88rem; }

/* ===================================================================
   ✨ ANIMATIONS AU DÉFILEMENT
==================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===================================================================
   📱 ADAPTATION TÉLÉPHONE / TABLETTE
==================================================================== */
@media (max-width: 940px) {
  .hero-grille, .histoire-grille, .contact-grille { grid-template-columns: 1fr; }
  .mockup { max-width: 460px; margin: 10px auto 0; }
  .grille, .temoignages, .tarifs { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .etape::after { display: none; }
  .stats-grille { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-haut { grid-template-columns: 1fr 1fr; }
  .cta-bloc { padding: 36px 26px; }
}
@media (max-width: 640px) {
  .nav-liens {
    display: none; position: absolute; top: 64px; left: 4%; right: 4%;
    background: var(--carte); flex-direction: column; gap: 0; align-items: stretch;
    padding: 10px; border: 1px solid var(--carte-bord); border-radius: 16px; box-shadow: var(--ombre);
  }
  .nav-liens.ouvert { display: flex; }
  .nav-liens li { padding: 4px; }
  .nav-liens li a { display: block; padding: 12px 14px; border-radius: 10px; }
  .nav-liens a.actif::after { display: none; }
  .nav-liens .btn { justify-content: center; }
  .burger { display: block; }
  .grille, .temoignages, .tarifs, .tarifs.deux { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .stats-grille { grid-template-columns: 1fr 1fr; }
  .pastille-flottante { right: 8px; }
  .footer-haut, .footer-bas { grid-template-columns: 1fr; text-align: left; }
}

/* Respect du réglage "réduire les animations" du système */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
