/* ==========================================================================
   CPASFAIT.FR — feuille de style du site vitrine
   Aucune dépendance externe. Compatible CSP : style-src 'self'.
   ========================================================================== */

/* ---------- Polices auto-hebergees (Google Fonts, licence OFL, sous-ensemble latin) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/polices/poppins-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/polices/poppins-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Nunito Sans est une police variable : un seul fichier pour toutes les graisses */
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/polices/nunito-sans.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Jetons de marque ---------- */
:root {
  --bleu-nuit: #1E2A44;
  --bleu-nuit-2: #2A3A5E;
  --jaune: #FFC857;
  --jaune-fonce: #F5B73A;
  --creme: #FFF6E9;
  --creme-2: #FDEBD3;
  --bleu-doux: #4F7DF3;
  --bleu-lien: #2D5BD0;          /* variante du bleu doux, contraste AA sur crème/blanc */
  --peche: #FF8F68;
  --peche-clair: #FFE3D8;
  --sauge: #8ED6B5;
  --sauge-clair: #DDF3E8;
  --blanc: #FFFFFF;
  --texte: #1E2A44;
  --texte-doux: #4A5675;         /* contraste ≈ 6,9:1 sur crème */
  --texte-inverse-doux: #C9D2E6;
  --rouge-pastille: #FF3B30;

  --police-titre: "Poppins", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-texte: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --rayon: 22px;
  --rayon-petit: 14px;
  --ombre: 0 1px 2px rgba(30, 42, 68, .06), 0 10px 30px -12px rgba(30, 42, 68, .18);
  --ombre-forte: 0 2px 6px rgba(30, 42, 68, .08), 0 30px 60px -20px rgba(30, 42, 68, .35);
  --largeur: 1140px;
  --gouttiere: 20px;
  --hauteur-entete: 64px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hauteur-entete) + 16px);
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--bleu-nuit);
}
h1 { font-size: clamp(34px, 7.5vw, 56px); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 5vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 23px); }

p { margin: 0 0 1em; }

a { color: var(--bleu-lien); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--bleu-nuit); }

:focus-visible {
  outline: 3px solid var(--bleu-doux);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.lien-evitement {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--bleu-nuit);
  color: var(--blanc);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.lien-evitement:focus { top: 12px; color: var(--blanc); }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.section { padding: 72px 0; }
.section-titre { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-titre p { color: var(--texte-doux); font-size: 18px; margin: 0; }
.surtitre {
  display: inline-block;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bleu-lien);
  margin-bottom: 10px;
}
.fond-blanc { background: var(--blanc); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.bouton svg { width: 20px; height: 20px; flex: none; }
.bouton-principal {
  background: var(--jaune);
  color: var(--bleu-nuit);
  box-shadow: 0 6px 0 -1px var(--jaune-fonce), 0 12px 24px -10px rgba(245, 183, 58, .8);
}
.bouton-principal:hover {
  color: var(--bleu-nuit);
  background: #FFD173;
  transform: translateY(-1px);
}
.bouton-principal:active { transform: translateY(2px); box-shadow: 0 2px 0 -1px var(--jaune-fonce); }
.bouton-secondaire {
  background: transparent;
  color: var(--bleu-nuit);
  border-color: rgba(30, 42, 68, .22);
}
.bouton-secondaire:hover { border-color: var(--bleu-nuit); color: var(--bleu-nuit); }
.bouton-grand { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.bouton-bloc { width: 100%; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bleu-nuit);
}
.logo img { width: 38px; height: 38px; }
.logo-texte {
  font-family: var(--police-titre);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .01em;
  color: var(--bleu-nuit);
}
.logo-fr { color: var(--jaune); }
.logo-inverse .logo-texte { color: var(--blanc); }
.logo-inverse .logo-fr { color: var(--jaune); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 233, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(30, 42, 68, .08);
}
.entete-interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--hauteur-entete);
  flex-wrap: wrap;
}
.bouton-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--blanc);
  color: var(--bleu-nuit);
  box-shadow: var(--ombre);
  cursor: pointer;
}
.bouton-menu svg { width: 24px; height: 24px; }
.bouton-menu .icone-fermer { display: none; }
.entete.menu-ouvert .bouton-menu .icone-ouvrir { display: none; }
.entete.menu-ouvert .bouton-menu .icone-fermer { display: block; }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  width: 100%;
  padding-bottom: 12px;
}
.nav-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-liens a, .nav-connexion {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--bleu-nuit);
  font-weight: 700;
  text-decoration: none;
}
.nav-liens a:hover, .nav-connexion:hover { background: rgba(30, 42, 68, .06); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-actions .bouton { min-height: 44px; padding: 10px 18px; font-size: 15px; box-shadow: 0 4px 0 -1px var(--jaune-fonce); }

/* Menu repliable : seulement si le JS est actif (sinon tout reste visible). */
@media (max-width: 859px) {
  .js .bouton-menu { display: inline-flex; }
  .js .nav { display: none; }
  .js .entete.menu-ouvert .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 18px;
  }
  .js .entete.menu-ouvert .nav-liens { flex-direction: column; }
  .js .entete.menu-ouvert .nav-liens a { font-size: 18px; min-height: 50px; }
  .js .entete.menu-ouvert .nav-actions {
    margin: 8px 0 0;
    flex-direction: column;
    align-items: stretch;
  }
  .js .entete.menu-ouvert .nav-actions .bouton { min-height: 52px; font-size: 16px; }
  .js .entete.menu-ouvert .nav-connexion { justify-content: center; border: 2px solid rgba(30, 42, 68, .18); border-radius: 999px; }
}
@media (min-width: 860px) {
  .entete-interieur { flex-wrap: nowrap; }
  .nav { width: auto; padding: 0; flex: 1; margin-left: 24px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  right: -220px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 200, 87, .45), rgba(255, 200, 87, 0));
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  left: -200px; bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 125, 243, .16), rgba(79, 125, 243, 0));
  pointer-events: none;
}
.hero-grille {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-texte { text-align: center; }
.hero-pastille {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--blanc);
  box-shadow: var(--ombre);
  font-weight: 700;
  font-size: 14px;
}
.hero-pastille .point {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sauge);
}
.hero-pastille .point svg { width: 14px; height: 14px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .souligne {
  position: relative;
  white-space: nowrap;
  background: linear-gradient(transparent 62%, rgba(255, 200, 87, .75) 62%, rgba(255, 200, 87, .75) 92%, transparent 92%);
}
.hero-sous-titre {
  font-size: 19px;
  color: var(--texte-doux);
  max-width: 560px;
  margin: 0 auto 28px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-actions .bouton-principal { width: 100%; max-width: 360px; }
.mention {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin: 0;
  font-size: 15px;
  color: var(--texte-doux);
}
.mention span { display: inline-flex; align-items: center; gap: 6px; }
.mention svg { width: 16px; height: 16px; color: #2E8B63; }
.hero-confiance {
  margin-top: 18px;
  font-size: 14px;
  color: var(--texte-doux);
}

@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-grille { grid-template-columns: 1.08fr .92fr; gap: 40px; }
  .hero-texte { text-align: left; }
  .hero-sous-titre { margin-left: 0; }
  .hero-actions { align-items: flex-start; }
  .hero-actions .bouton-principal { width: auto; }
  .mention { justify-content: flex-start; }
}

/* ---------- Maquette iPhone (HTML/CSS) ---------- */
.maquette {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 20px;
}
.telephone {
  position: relative;
  width: min(300px, 80vw);
  aspect-ratio: 300 / 620;
  padding: 11px;
  border-radius: 48px;
  background: #11182A;
  box-shadow: var(--ombre-forte), inset 0 0 0 2px #3A4566;
  transform: rotate(-2deg);
}
.ecran {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 85% 0%, #FFD98A 0%, rgba(255, 217, 138, 0) 60%),
    radial-gradient(110% 80% at 0% 100%, #9DB6F7 0%, rgba(157, 182, 247, 0) 60%),
    linear-gradient(170deg, #FFE7C2 0%, #F7C9B6 45%, #B9C7F2 100%);
  font-size: 12px;
  line-height: 1.35;
  color: var(--bleu-nuit);
}
.ilot {
  position: absolute;
  top: 10px; left: 50%;
  width: 34%; height: 24px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #0B0F1A;
  z-index: 3;
}
.barre-etat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 24px 0 28px;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 13px;
}
.barre-etat .indicateurs { display: flex; gap: 4px; align-items: center; }
.barre-etat .indicateurs i {
  display: block;
  width: 4px;
  border-radius: 1px;
  background: var(--bleu-nuit);
}
.barre-etat .indicateurs i:nth-child(1) { height: 5px; }
.barre-etat .indicateurs i:nth-child(2) { height: 7px; }
.barre-etat .indicateurs i:nth-child(3) { height: 9px; }
.barre-etat .indicateurs b {
  display: block;
  width: 22px; height: 11px;
  margin-left: 4px;
  border: 1.5px solid var(--bleu-nuit);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--bleu-nuit) 70%, transparent 70%);
  background-clip: content-box;
  padding: 1px;
}
.heure-ecran {
  text-align: center;
  margin: 18px 0 12px;
}
.heure-ecran .date { font-weight: 700; font-size: 12px; opacity: .8; }
.heure-ecran .heure {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.02em;
}

.notification {
  margin: 0 10px 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px -10px rgba(30, 42, 68, .45);
}
.notification-tete {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #55607C;
  font-weight: 700;
}
.notification-tete img { width: 18px; height: 18px; border-radius: 5px; }
.notification-tete .quand { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; }
.notification-titre { font-weight: 700; font-size: 13px; }
.notification p { margin: 0; }

.ecran-apps {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 4px 0 10px;
}
.app-icone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
}
.app-icone img, .app-icone .app-vide {
  width: 46px; height: 46px;
  border-radius: 12px;
  box-shadow: 0 4px 10px -4px rgba(30, 42, 68, .5);
}
.app-vide.a { background: linear-gradient(160deg, #8ED6B5, #4CA982); }
.app-vide.b { background: linear-gradient(160deg, #A9BEF8, #4F7DF3); }
.app-vide.c { background: linear-gradient(160deg, #FFB79C, #FF8F68); }
.badge-pastille {
  position: absolute;
  top: -6px; right: -7px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, .9);
  background: var(--rouge-pastille);
  color: var(--blanc);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.carte-rappels {
  margin: 0 10px;
  padding: 12px 12px 6px;
  border-radius: 18px;
  background: var(--blanc);
  box-shadow: 0 10px 24px -12px rgba(30, 42, 68, .5);
}
.carte-rappels .carte-titre {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 6px;
  letter-spacing: 0;
}
.carte-rappels ul { list-style: none; margin: 0; padding: 0; }
.carte-rappels li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-top: 1px solid #F0EADF;
}
.carte-rappels li:first-child { border-top: 0; }
.case {
  flex: none;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 20px; height: 20px;
  border-radius: 7px;
  border: 2px solid #C8CEDC;
}
.case svg { width: 13px; height: 13px; }
.case-faite { border-color: var(--sauge); background: var(--sauge); color: var(--bleu-nuit); }
.rappel-libelle { flex: 1; min-width: 0; font-weight: 600; font-size: 11.5px; }
.rappel-quand {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: var(--creme);
}
.rappel-quand.demain { background: var(--peche-clair); }
.rappel-quand.fait { background: var(--sauge-clair); color: #1F5F43; }
.rappel-fait .rappel-libelle { text-decoration: line-through; text-decoration-color: rgba(30, 42, 68, .45); color: #55607C; }

.dock {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  display: flex;
  justify-content: space-around;
  padding: 10px 8px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dock span {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .75);
}
.dock span:nth-child(1) { background: linear-gradient(160deg, #8ED6B5, #4CA982); }
.dock span:nth-child(2) { background: linear-gradient(160deg, #FFE08F, #FFC857); }
.dock span:nth-child(3) { background: linear-gradient(160deg, #A9BEF8, #4F7DF3); }
.dock span:nth-child(4) { background: linear-gradient(160deg, #3A4A70, #1E2A44); }

/* Bulles flottantes autour du téléphone */
.bulle {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--blanc);
  box-shadow: var(--ombre);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
}
.bulle-fait { left: 0; bottom: 18%; }
.bulle-fait .rond {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sauge);
}
.bulle-fait .rond svg { width: 15px; height: 15px; }
.bulle-rappel { right: 0; top: 10%; background: var(--jaune); }
@media (max-width: 479px) {
  .bulle { display: none; }
}

/* Petite coche qui se coche */
.coche-anim path {
  stroke-dasharray: 24;
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .coche-anim path { animation: se-coche 3.6s ease-in-out infinite; }
  .case-anim { animation: case-remplie 3.6s ease-in-out infinite; }
  .bulle-rappel { animation: flotte 6s ease-in-out infinite; }
  .bulle-fait { animation: flotte 6s ease-in-out -3s infinite; }
}
@keyframes se-coche {
  0%, 18% { stroke-dashoffset: 24; }
  34%, 100% { stroke-dashoffset: 0; }
}
@keyframes case-remplie {
  0%, 14% { background: transparent; border-color: #C8CEDC; }
  24%, 100% { background: var(--sauge); border-color: var(--sauge); }
}
@keyframes flotte {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Étapes ---------- */
.etapes {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etape {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.etape-numero {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--police-titre);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--creme-2);
}
.etape-icone, .force-icone, .exemple-icone {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 54px; height: 54px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--bleu-nuit);
}
.etape-icone svg, .force-icone svg, .exemple-icone svg { width: 28px; height: 28px; }
.etape:nth-child(1) .etape-icone { background: var(--jaune); }
.etape:nth-child(2) .etape-icone { background: #DCE6FD; }
.etape:nth-child(3) .etape-icone { background: var(--sauge); }
.etape h3 { margin-bottom: 8px; }
.etape p { margin: 0; color: var(--texte-doux); }
.puces-rythmes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.puces-rythmes li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--creme);
  font-size: 14px;
  font-weight: 700;
}
@media (min-width: 860px) {
  .etapes { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Exemples ---------- */
.exemples {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.exemple {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
  transition: transform .2s ease;
}
.exemple:hover { transform: translateY(-3px); }
.exemple .exemple-icone { flex: none; margin: 0; }
.exemple h3 { font-size: 18px; margin: 2px 0 6px; letter-spacing: 0; }
.exemple p { margin: 0; color: var(--texte-doux); font-size: 15.5px; }
.etiquette {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--creme);
}
.ton-jaune { background: #FFEDC6; }
.ton-bleu { background: #DCE6FD; }
.ton-peche { background: var(--peche-clair); }
.ton-sauge { background: var(--sauge-clair); }
@media (min-width: 640px) { .exemples { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .exemples { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Points forts ---------- */
.forces {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.force {
  padding: 26px 24px;
  border-radius: var(--rayon);
  background: var(--creme);
}
.force h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: 0; }
.force p { margin: 0; color: var(--texte-doux); }
.force-icone { background: var(--blanc); box-shadow: var(--ombre); }
.force-vedette {
  background: var(--bleu-nuit);
  color: var(--blanc);
}
.force-vedette h3 { color: var(--blanc); }
.force-vedette p { color: var(--texte-inverse-doux); }
.force-vedette .force-icone { background: var(--jaune); box-shadow: none; }
@media (min-width: 700px) { .forces { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .forces { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- Installer ---------- */
.installer {
  display: grid;
  gap: 20px;
}
.plateforme {
  padding: 28px 24px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.plateforme-tete { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.plateforme-tete h3 { margin: 0; }
.plateforme-tete svg { width: 32px; height: 32px; flex: none; }
.plateforme ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pas;
}
.plateforme ol li {
  position: relative;
  padding: 8px 0 8px 44px;
  counter-increment: pas;
}
.plateforme ol li::before {
  content: counter(pas);
  position: absolute;
  left: 0; top: 6px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--creme);
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
}
.plateforme .note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--rayon-petit);
  background: var(--creme);
  font-size: 15px;
  color: var(--texte-doux);
}
.kbd-icone {
  display: inline-block;
  vertical-align: -3px;
  width: 18px; height: 18px;
}
@media (min-width: 800px) { .installer { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---------- Tarifs ---------- */
.bascule {
  display: none;
  margin: 0 auto 32px;
  padding: 5px;
  border-radius: 999px;
  background: var(--blanc);
  box-shadow: var(--ombre);
  gap: 4px;
}
.js .bascule { display: flex; width: max-content; max-width: 100%; }
.bascule button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--bleu-nuit);
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.bascule button[aria-pressed="true"] { background: var(--bleu-nuit); color: var(--blanc); }
.reduction {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sauge);
  color: var(--bleu-nuit);
  font-size: 12px;
  font-weight: 800;
}

.offres {
  display: grid;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
  align-items: stretch;
}
.offre {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  border-radius: 26px;
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.offre h3 { font-size: 24px; margin-bottom: 4px; }
.offre-accroche { color: var(--texte-doux); margin-bottom: 18px; }
.offre-premium {
  background: var(--bleu-nuit);
  color: var(--blanc);
  box-shadow: var(--ombre-forte);
}
.offre-premium h3 { color: var(--blanc); }
.offre-premium .offre-accroche { color: var(--texte-inverse-doux); }
.offre-ruban {
  position: absolute;
  top: -14px; right: 22px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--jaune);
  color: var(--bleu-nuit);
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 13px;
}
.prix {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 4px;
}
.prix-montant {
  font-family: var(--police-titre);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.02em;
}
.prix-periode { font-weight: 700; font-size: 16px; }
.prix-detail { min-height: 1.6em; margin: 0 0 18px; font-size: 15px; }
.offre-premium .prix-detail { color: var(--texte-inverse-doux); }
.offre:not(.offre-premium) .prix-detail { color: var(--texte-doux); }
.prix-detail strong { color: var(--jaune); }
.prix-bloc + .prix-bloc { margin-top: 10px; }
/* Bascule mensuel / annuel (JS) ; sans JS, les deux prix restent affichés. */
.js .tarifs:not(.periode-annuelle) .prix-annuel { display: none; }
.js .tarifs.periode-annuelle .prix-mensuel { display: none; }
.js .prix-bloc + .prix-bloc { margin-top: 0; }

.liste-coches {
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.liste-coches li {
  position: relative;
  padding: 6px 0 6px 32px;
}
.liste-coches li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sauge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2A44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.offre-premium .liste-coches li::before { background-color: var(--jaune); }
.offre-petit {
  margin: 12px 0 0;
  font-size: 14px;
  text-align: center;
}
.offre-premium .offre-petit { color: var(--texte-inverse-doux); }
.offre:not(.offre-premium) .offre-petit { color: var(--texte-doux); }
.offre .bouton-secondaire { border-color: var(--bleu-nuit); }
.tarifs-notes {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--texte-doux);
}
.tarifs-notes p { margin: 0 0 6px; }
.definition {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: var(--rayon-petit);
  background: var(--blanc);
  color: var(--texte);
}
@media (min-width: 760px) {
  .offres { grid-template-columns: 1fr 1fr; gap: 26px; }
  .offre { padding: 38px 34px 32px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  margin-bottom: 12px;
  border-radius: 18px;
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.faq summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 22px;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--creme) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2A44' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--jaune);
}
.faq .reponse { padding: 0 22px 20px; color: var(--texte-doux); }
.faq .reponse p:last-child { margin-bottom: 0; }

/* ---------- Appel final ---------- */
.appel-final {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--bleu-nuit);
  color: var(--blanc);
  text-align: center;
}
.appel-final::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  left: 50%; top: -300px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 200, 87, .28), rgba(255, 200, 87, 0));
  pointer-events: none;
}
.appel-final .conteneur { position: relative; }
.appel-final img { width: 84px; height: 84px; margin: 0 auto 20px; }
.appel-final h2 { color: var(--blanc); font-size: clamp(30px, 6vw, 44px); }
.appel-final p { color: var(--texte-inverse-doux); font-size: 18px; max-width: 520px; margin: 0 auto 28px; }
.appel-final .mention { color: var(--texte-inverse-doux); margin-top: 16px; }
.appel-final .mention svg { color: var(--sauge); }

/* ---------- Pied de page ---------- */
.pied {
  padding: 48px 0 32px;
  background: #172036;
  color: var(--texte-inverse-doux);
  font-size: 15px;
}
.pied-grille {
  display: grid;
  gap: 28px;
}
.pied .logo img { width: 40px; height: 40px; }
.pied-signature { margin: 12px 0 0; }
.pied nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pied a { color: var(--blanc); text-decoration: none; }
.pied a:hover { color: var(--jaune); text-decoration: underline; }
.pied nav a { display: inline-flex; min-height: 44px; align-items: center; }
.pied-bas {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 14px;
}
.pied-bas p { margin: 0; }
@media (min-width: 800px) {
  .pied-grille { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Apparition douce (activée par site.js) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .apparait {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .js .apparait.visible { opacity: 1; transform: none; }
}

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

@media (min-width: 768px) {
  :root { --gouttiere: 32px; --hauteur-entete: 72px; }
  body { font-size: 18px; }
  .section { padding: 96px 0; }
}

/* ==========================================================================
   Pages légales
   ========================================================================== */
.page-legale { padding: 40px 0 80px; }
.legale-tete { max-width: 760px; margin-bottom: 28px; }
.legale-tete h1 { font-size: clamp(32px, 6vw, 46px); }
.legale-tete p { color: var(--texte-doux); }
.avertissement-modele {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 32px;
  padding: 18px 20px;
  border: 2px dashed var(--peche);
  border-radius: 18px;
  background: var(--peche-clair);
  font-weight: 700;
}
.avertissement-modele svg { width: 26px; height: 26px; flex: none; }
.avertissement-modele p { margin: 0; }
.avertissement-modele span { display: block; font-weight: 400; font-size: 15px; }

.legale-grille { display: grid; gap: 28px; }
.sommaire {
  padding: 20px 22px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
  font-size: 15.5px;
}
.sommaire h2 {
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sommaire ol { margin: 0; padding-left: 22px; }
.sommaire li { padding: 3px 0; }
.sommaire a { text-decoration: none; font-weight: 600; }
.sommaire a:hover { text-decoration: underline; }

.legale-contenu {
  min-width: 0;
  padding: 28px 22px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.legale-contenu section + section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #F0E6D6;
}
.legale-contenu h2 { font-size: clamp(22px, 3.4vw, 27px); }
.legale-contenu h3 { font-size: 19px; margin-top: 1.4em; letter-spacing: 0; }
.legale-contenu ul, .legale-contenu ol { padding-left: 22px; }
.legale-contenu li { margin-bottom: 6px; }
.legale-contenu dl { margin: 0 0 1em; }
.legale-contenu dt { font-weight: 700; margin-top: 10px; }
.legale-contenu dd { margin: 2px 0 0; }
.a-completer {
  padding: 1px 6px;
  border-radius: 6px;
  background: #FFE59E;
  color: var(--bleu-nuit);
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.tableau-defilant { overflow-x: auto; margin: 0 0 1em; }
.legale-contenu table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15.5px;
}
.legale-contenu th, .legale-contenu td {
  padding: 10px 12px;
  border-bottom: 1px solid #F0E6D6;
  text-align: left;
  vertical-align: top;
}
.legale-contenu th { background: var(--creme); font-family: var(--police-titre); font-size: 14.5px; }
.encadre {
  padding: 16px 18px;
  border-radius: var(--rayon-petit);
  background: var(--creme);
}
.encadre p:last-child { margin-bottom: 0; }
.retour-haut { margin-top: 32px; font-weight: 700; }
.maj { font-size: 15px; color: var(--texte-doux); }

@media (min-width: 960px) {
  .page-legale { padding: 64px 0 110px; }
  .legale-grille { grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
  .sommaire { position: sticky; top: calc(var(--hauteur-entete) + 20px); }
  .legale-contenu { padding: 44px 48px; }
}

@media print {
  .entete, .pied, .sommaire, .appel-final { display: none; }
  body { background: #fff; }
  .legale-contenu { box-shadow: none; padding: 0; }
}
