/* Site du programme d'apporteurs d'affaires Creative Group (affiliate.creative-group.fr).
   Couleurs et polices : fiche de marque Creative Group (Space Grotesk pour les titres, Inter pour le texte,
   alternatives web de Neue Machina et Neue Montreal, licence SIL Open Font License, auto-hébergées).
   Aucun appel à un serveur de polices tiers (CSP font-src 'self'). */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.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;
}

:root {
  --rouge: #F63535;
  --rouge-2: #DF2A2A;
  --degrade: linear-gradient(90deg, #F63535 0%, #DF2A2A 100%);
  --encre: #1A1A1A;
  --blanc: #FFFFFF;
  --anti-flash: #E8E8EA;
  --fond-gris: #F4F4F5;
  --texte-2: #55555E;
  --bord: #E8E8EA;
  --titre: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --texte: "Inter", "Helvetica Neue", Arial, sans-serif;
  --rayon: 14px;
  --rayon-petit: 10px;
  --largeur: 1200px;
  --marge: 24px;
  --espace-section: 112px;
  --ombre-carte: 0 4px 20px rgba(0, 0, 0, 0.06);
  --ombre-bouton: 0 4px 10px rgba(206, 44, 44, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); letter-spacing: -0.02em; margin: 0; font-weight: 700; color: var(--encre); }
h2 { font-size: 46px; line-height: 1.08; max-width: 860px; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.conteneur-etroit { max-width: 880px; }

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

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--degrade); color: var(--blanc);
  font-family: var(--texte); font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  text-decoration: none; border: 0; border-radius: var(--rayon); cursor: pointer;
  box-shadow: var(--ombre-bouton);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.bouton:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(206, 44, 44, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.15); }
.bouton:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.bouton[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.bouton-petit { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; border-radius: 12px; }
.bouton-plein { width: 100%; }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--bord);
}
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.entete-logo img { height: 34px; width: auto; }
.entete-nav { display: flex; gap: 28px; margin-left: auto; }
.entete-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--texte-2); }
.entete-nav a:hover { color: var(--encre); }

/* Héros */
.heros { padding: 72px 0 88px; position: relative; overflow: hidden; }
.heros::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(246, 53, 53, 0.09), transparent 70%),
    linear-gradient(var(--blanc), var(--blanc));
}
.pastille {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid var(--bord); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--encre); background: var(--blanc);
  margin-bottom: 28px;
}
.pastille-point { width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 4px rgba(246, 53, 53, 0.15); }
.heros-titre { font-size: 72px; line-height: 1.02; letter-spacing: -0.035em; max-width: 1040px; }
.heros-titre .ligne { display: block; }
.heros-titre .accent { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros-grille { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; margin-top: 36px; }
.heros-sous-titre { font-size: 20px; line-height: 1.55; color: var(--texte-2); max-width: 600px; margin-bottom: 32px; }
.rassurance { margin-top: 14px; font-size: 15px; color: var(--texte-2); }

.carte-chiffres {
  background: var(--encre); color: var(--blanc);
  border-radius: 20px; padding: 28px 28px 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative; overflow: hidden;
}
.carte-chiffres::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--degrade);
}
.carte-chiffres-montant { font-family: var(--titre); font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.carte-chiffres-montant span { font-size: 22px; font-weight: 500; color: #C9C9CF; }
.carte-chiffres-legende { margin-top: 8px; font-size: 15px; color: #C9C9CF; }
.carte-chiffres-liste { margin: 20px 0 0; }
.carte-chiffres-liste div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px;
}
.carte-chiffres-liste dt { color: #C9C9CF; }
.carte-chiffres-liste dd { margin: 0; font-weight: 600; text-align: right; }

/* Preuves */
.preuves { border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); padding: 40px 0; }
.preuves .conteneur { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 40px; align-items: center; }
.preuves-titre { font-family: var(--texte); font-size: 15px; font-weight: 600; color: var(--texte-2); letter-spacing: 0; line-height: 1.4; }
.preuves-noms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.preuves-noms li { display: flex; flex-direction: column; }
.preuves-noms strong { font-family: var(--titre); font-size: 20px; letter-spacing: -0.02em; }
.preuves-noms span { font-size: 14px; color: var(--texte-2); }
.preuves-chiffres { grid-column: 2; list-style: none; margin: 12px 0 0; padding: 20px 0 0; border-top: 1px dashed var(--bord); display: flex; gap: 48px; flex-wrap: wrap; }
.preuves-chiffres li { display: flex; align-items: baseline; gap: 10px; }
.preuves-chiffres strong { font-family: var(--titre); font-size: 28px; letter-spacing: -0.02em; color: var(--rouge-2); }
.preuves-chiffres span { font-size: 15px; color: var(--texte-2); }

/* Sections */
.section { padding: var(--espace-section) 0; }
.section-grise { background: var(--fond-gris); }
.sur-titre {
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--texte-2); margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.sur-titre::before { content: ""; width: 18px; height: 2px; background: var(--rouge); border-radius: 2px; }
.intro { margin-top: 18px; font-size: 19px; line-height: 1.55; color: var(--texte-2); max-width: 680px; }

/* Rémunération : schéma des deux niveaux */
.niveaux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.niveau {
  border: 1px solid var(--bord); border-radius: 20px; padding: 32px;
  background: var(--blanc); box-shadow: var(--ombre-carte);
  display: flex; flex-direction: column;
}
.niveau-tete { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; }
.niveau-etiquette { grid-column: 1; font-size: 14px; font-weight: 600; color: var(--texte-2); }
.niveau-tete h3 { grid-column: 1; font-size: 26px; }
.niveau-taux { grid-column: 2; grid-row: 1 / span 2; font-family: var(--titre); font-size: 64px; line-height: 0.9; font-weight: 700; letter-spacing: -0.04em; color: var(--rouge); }
.schema {
  list-style: none; margin: 28px 0; padding: 22px 16px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 6px;
  background: var(--fond-gris); border-radius: var(--rayon);
}
.schema-noeud { flex: 0 0 auto; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.3; }
.schema-rond {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--encre); color: var(--blanc); font-family: var(--titre); font-size: 20px; font-weight: 700;
}
.schema-rond-gris { background: var(--blanc); color: var(--encre); border: 2px solid var(--encre); }
.schema-rond-rouge { background: var(--degrade); }
.schema-gain { color: var(--encre); }
.schema-fleche {
  flex: 1 1 0; min-width: 0; position: relative; padding-top: 2px;
  display: flex; flex-direction: column; align-items: center;
  font-size: 14px; line-height: 1.3; color: var(--texte-2); text-align: center;
}
.schema-fleche::before {
  content: ""; display: block; width: 100%; height: 2px; margin: 24px 0 8px;
  background: linear-gradient(90deg, var(--encre) 0, var(--encre) 100%);
  -webkit-mask: linear-gradient(90deg, #000 0 calc(100% - 2px), transparent 0);
}
.schema-fleche::after {
  content: ""; position: absolute; right: -1px; top: 21px;
  border-left: 8px solid var(--encre); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.schema-fleche span { padding: 0 2px; }
.niveau-texte { font-size: 16px; line-height: 1.6; color: var(--texte-2); margin-top: auto; }
.niveaux-note { margin-top: 24px; font-size: 15px; color: var(--texte-2); }

/* Règle simple */
.regle-grille { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 48px; align-items: stretch; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.etapes li { background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 24px; }
.etape-numero {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--encre); color: var(--blanc);
  font-family: var(--titre); font-weight: 700; font-size: 17px; margin-bottom: 18px;
}
.etapes h3 { font-size: 20px; margin-bottom: 6px; }
.etapes p { font-size: 16px; color: var(--texte-2); }
.exemple {
  background: var(--encre); color: var(--blanc); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
}
.exemple::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 53, 53, 0.45), transparent 70%);
}
.exemple-etiquette { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #C9C9CF; margin-bottom: auto; position: relative; }
.exemple-montant { font-family: var(--titre); font-size: 64px; white-space: nowrap; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 48px; position: relative; }
.exemple-texte { margin-top: 12px; font-size: 18px; line-height: 1.45; position: relative; }
.exemple-detail { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; color: #C9C9CF; position: relative; }

/* Services */
.services { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { border: 1px solid var(--bord); border-radius: 20px; padding: 32px; box-shadow: var(--ombre-carte); display: flex; flex-direction: column; }
.service-numero { font-family: var(--titre); font-size: 15px; font-weight: 700; color: var(--rouge-2); margin-bottom: 40px; }
.service h3 { margin-bottom: 10px; }
.service p { font-size: 16px; color: var(--texte-2); }
.reseaux { list-style: none; margin: 24px 0 0; padding: 0; display: flex; gap: 10px; }
.reseaux li { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--bord); display: flex; align-items: center; justify-content: center; background: var(--blanc); }
.reseaux img { width: 26px; height: 26px; }

/* Rendez-vous qualifié */
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.liste-carte { background: var(--blanc); border: 1px solid var(--bord); border-radius: 20px; padding: 32px; }
.liste-carte h3 { margin-bottom: 20px; }
.liste-oui, .liste-non { list-style: none; margin: 0; padding: 0; }
.liste-oui li, .liste-non li { position: relative; padding: 12px 0 12px 40px; border-top: 1px solid var(--bord); font-size: 16px; line-height: 1.5; }
.liste-oui li:first-child, .liste-non li:first-child { border-top: 0; }
.liste-oui li::before, .liste-non li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
}
.liste-oui li::before {
  background-color: var(--encre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.liste-non li::before {
  background-color: var(--anti-flash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 3.5l7 7M10.5 3.5l-7 7' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Pour qui */
.profils { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.profils li { border: 1px solid var(--bord); border-radius: var(--rayon); padding: 28px 24px; display: flex; align-items: center; gap: 14px; }
.profils li::before { content: ""; width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--rouge); }
.atouts { list-style: none; margin: 24px 0 0; padding: 28px 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; background: var(--fond-gris); border-radius: 20px; }
.atouts li { position: relative; padding-left: 38px; font-size: 16px; color: var(--texte-2); line-height: 1.6; }
.atouts li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.atouts strong { color: var(--encre); }

/* Inscription */
.section-inscription { background: var(--fond-gris); }
.inscription-grille { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 64px; align-items: start; }
.suite { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: suite; }
.suite li { counter-increment: suite; position: relative; padding: 14px 0 14px 48px; border-top: 1px solid #DCDCE0; font-size: 16px; line-height: 1.55; color: var(--encre); }
.suite li::before {
  content: counter(suite); position: absolute; left: 0; top: 13px; width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; background: var(--degrade); color: var(--blanc);
  font-family: var(--titre); font-weight: 700; font-size: 15px;
}
.formulaire-carte { background: var(--blanc); color: var(--encre); border: 1px solid var(--bord); border-radius: 20px; padding: 32px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.formulaire { display: flex; flex-direction: column; gap: 18px; }
.champs-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ label { font-size: 15px; font-weight: 600; }
.champ input {
  width: 100%; min-height: 50px; padding: 0 14px;
  font: inherit; font-size: 16px; color: var(--encre);
  background: var(--blanc); border: 1px solid #C9C9CF; border-radius: var(--rayon-petit);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.champ input:hover { border-color: #9A9AA2; }
.champ input:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.12); }
.champ input[aria-invalid="true"] { border-color: var(--rouge-2); box-shadow: 0 0 0 3px rgba(223, 42, 42, 0.12); }
.champ-erreur { font-size: 14px; color: #B3191C; font-weight: 500; }
.champ-piege { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; }
.formulaire-message { font-size: 15px; color: #B3191C; font-weight: 500; }
.accord { font-size: 14px; line-height: 1.55; color: var(--texte-2); }
.accord a { color: var(--encre); font-weight: 600; text-underline-offset: 2px; }
.ecran { outline: none; }
.ecran:focus-visible { outline: 3px solid var(--encre); outline-offset: 6px; border-radius: 6px; }
.ecran h3 { font-size: 28px; margin-bottom: 18px; }
.ecran-icone {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--titre); font-size: 24px; font-weight: 700; margin-bottom: 18px;
}
.ecran-icone-ok { background: var(--encre); color: var(--blanc); }
.ecran-icone-erreur { background: var(--degrade); color: var(--blanc); }
.ecran-etapes { margin: 0 0 8px; padding: 0; list-style: none; counter-reset: ecran; }
.ecran-etapes li { counter-increment: ecran; position: relative; padding: 10px 0 10px 40px; font-size: 16px; line-height: 1.55; border-top: 1px solid var(--bord); }
.ecran-etapes li:first-child { border-top: 0; }
.ecran-etapes li::before {
  content: counter(ecran); position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--fond-gris); border: 1px solid var(--bord); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.ecran-etapes a { font-weight: 600; text-underline-offset: 2px; }
#ecran-erreur .bouton { margin-top: 16px; }
.annonce { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Questions */
.faq { margin-top: 40px; border-top: 1px solid var(--bord); }
.faq details { border-bottom: 1px solid var(--bord); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; min-height: 44px;
  font-family: var(--titre); font-size: 20px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--fond-gris) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 2v10M2 7h10' fill='none' stroke='%231A1A1A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; font-size: 16px; color: var(--texte-2); line-height: 1.65; }

/* Conditions */
.conditions-resume { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--bord); }
.conditions-resume li { padding: 16px 0; border-bottom: 1px solid var(--bord); font-size: 16px; line-height: 1.6; color: var(--texte-2); }
.conditions-resume strong { color: var(--encre); }
.conditions-lien { margin-top: 28px; }
.conditions-lien a { display: inline-block; padding: 10px 0; font-weight: 600; text-underline-offset: 3px; }

/* Bande de clôture */
.cloture { padding: var(--espace-section) 0; }
.cloture-boite { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cloture h2 { font-size: 52px; max-width: 820px; }
.cloture p { margin: 18px 0 32px; font-size: 19px; color: var(--texte-2); }

/* Pied de page */
.pied { background: var(--encre); color: #C9C9CF; padding: 64px 0 32px; font-size: 15px; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.pied-marque img { height: 34px; width: auto; margin-bottom: 18px; }
.pied-marque p { max-width: 320px; line-height: 1.6; }
.pied-colonne { display: flex; flex-direction: column; gap: 4px; }
.pied-titre { color: var(--blanc); font-weight: 600; margin-bottom: 6px; }
.pied-colonne a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.pied-colonne a:hover { color: var(--blanc); text-decoration: underline; }
.pied-bas { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.pied :focus-visible { outline-color: var(--blanc); }

/* Pages légales (contenu fait par le constructeur légal) et page 404 */
.page-legale { max-width: 720px; margin: 0 auto; padding: 72px var(--marge) 112px; }
.page-legale h1 { font-size: 44px; line-height: 1.1; margin-bottom: 16px; }
.page-legale h2 { font-size: 26px; line-height: 1.25; margin: 48px 0 14px; }
.page-legale h3 { font-size: 20px; margin: 28px 0 10px; }
.page-legale p, .page-legale li { font-size: 16px; line-height: 1.7; color: #33333A; }
.page-legale p { margin: 0 0 14px; }
.page-legale ul, .page-legale ol { margin: 0 0 16px; padding-left: 22px; }
.page-legale li { margin-bottom: 6px; }
.page-legale a { color: var(--encre); font-weight: 600; text-underline-offset: 2px; word-break: break-word; }
.page-legale strong { color: var(--encre); }
.page-legale table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.page-legale th, .page-legale td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--bord); line-height: 1.5; }
.page-legale th { background: var(--fond-gris); font-weight: 600; }
.page-erreur { max-width: 720px; margin: 0 auto; padding: 120px var(--marge); text-align: center; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page-erreur .code { font-family: var(--titre); font-size: 96px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-erreur h1 { font-size: 40px; line-height: 1.1; margin: 16px 0 12px; }
.page-erreur p { color: var(--texte-2); font-size: 18px; margin-bottom: 32px; }

/* Bandeau d'information sur les cookies (copie du composant de www.creative-group.fr, texte d'Adham) */
[data-cookie="group"] { display: none !important; }
#cg-bandeau-cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000; max-width: 760px; margin: 0 auto; box-sizing: border-box;
  background: #FFFFFF; color: #1A1A1A; border: 1px solid #E8E8EA; border-radius: 14px; box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
  padding: 14px 16px; font-family: Inter, Arial, sans-serif; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 16px;
}
#cg-bandeau-cookies .cg-bandeau-texte { flex: 1 1 auto; min-width: 0; }
#cg-bandeau-cookies .cg-bandeau-titre { margin: 0 0 4px; font-size: 14px; line-height: 1.3; font-weight: 600; color: #1A1A1A; }
#cg-bandeau-cookies .cg-bandeau-corps { margin: 0; font-size: 13px; line-height: 1.4; color: #1A1A1A; }
#cg-bandeau-cookies .cg-bandeau-boutons { display: flex; gap: 8px; flex: 0 0 auto; }
#cg-bandeau-cookies button { font: inherit; font-size: 13px; font-weight: 500; line-height: 1.2; min-height: 44px; padding: 0.625em 0.875em; border-radius: 0.875em; cursor: pointer; white-space: nowrap; margin: 0; }
#cg-bandeau-cookies .cg-bandeau-accepter { background: linear-gradient(90deg, #F53535 0%, #CE2C2C 100%); color: #FFFFFF; border: none; box-shadow: 0 4px 10px rgba(206, 44, 44, 0.15); }
#cg-bandeau-cookies .cg-bandeau-fermer { background: #FFFFFF; color: #1A1A1A; border: 1px solid #E8E8EA; }
#cg-bandeau-cookies button:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 2px; }
/* Bandeau ouvert : de la place en bas de page, pour que le bandeau ne couvre jamais le bouton d'envoi. */
html.bandeau-ouvert .pied-bas { padding-bottom: 200px; }

/* Tablette */
@media (max-width: 1080px) {
  .heros-titre { font-size: 60px; }
  .heros-grille { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .inscription-grille { grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; }
  .entete-nav { display: none; }
  .preuves .conteneur { grid-template-columns: 1fr; }
  .preuves-noms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preuves-chiffres { grid-column: 1; }
}
@media (max-width: 900px) {
  :root { --espace-section: 80px; }
  h2 { font-size: 36px; }
  .heros-grille, .inscription-grille, .regle-grille { grid-template-columns: 1fr; }
  .niveaux, .services, .deux-colonnes, .profils, .atouts { grid-template-columns: 1fr; }
  .heros-grille { align-items: start; }
  .carte-chiffres { max-width: 480px; }
  .cloture h2 { font-size: 40px; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}

/* Téléphone */
@media (max-width: 640px) {
  :root { --marge: 20px; --espace-section: 72px; }
  body { font-size: 16px; }
  h2 { font-size: 30px; line-height: 1.12; }
  h3 { font-size: 20px; }
  .entete-ligne { min-height: 64px; gap: 12px; }
  .entete-logo img { height: 26px; }
  .bouton-petit { padding: 0 14px; font-size: 14px; }
  .heros { padding: 24px 0 56px; }
  .pastille { margin-bottom: 14px; font-size: 14px; }
  .heros-titre { font-size: 34px; line-height: 1.08; letter-spacing: -0.03em; }
  .heros-titre .ligne { display: inline; }
  .heros-grille { margin-top: 16px; gap: 16px; }
  .rassurance { margin-top: 10px; font-size: 14px; }
  .heros-sous-titre { font-size: 16px; line-height: 1.5; margin-bottom: 18px; }
  .heros .bouton { width: 100%; }
  .carte-chiffres { padding: 24px 20px 8px; }
  .carte-chiffres-montant { font-size: 44px; }
  .preuves { padding: 32px 0; }
  .preuves-noms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .preuves-chiffres { flex-direction: column; gap: 12px; }
  .preuves-chiffres li { flex-direction: column; gap: 0; }
  .intro { font-size: 17px; }
  .niveaux, .services, .deux-colonnes { margin-top: 32px; gap: 16px; }
  .niveau, .service, .liste-carte, .exemple { padding: 24px 20px; }
  .niveau-taux { font-size: 52px; }
  .schema { flex-direction: column; align-items: stretch; padding: 16px; gap: 0; margin: 24px 0; }
  .schema-noeud { width: auto; flex-direction: row; gap: 14px; text-align: left; font-size: 15px; }
  .schema-rond { width: 44px; height: 44px; font-size: 18px; flex: 0 0 auto; }
  .schema-fleche { flex-direction: row; align-items: center; min-height: 44px; padding: 4px 0 4px 21px; text-align: left; font-size: 14px; }
  .schema-fleche::before { width: 2px; height: 36px; margin: 0 20px 0 0; flex: 0 0 auto; -webkit-mask: none; }
  .schema-fleche::after { left: 16px; right: auto; top: auto; bottom: 2px; border-top: 8px solid var(--encre); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 0; }
  .regle-grille { margin-top: 32px; }
  .etapes { grid-template-columns: 1fr; gap: 12px; }
  .etapes li { padding: 20px; }
  .exemple-montant { font-size: 60px; margin-top: 32px; }
  .profils { margin-top: 32px; gap: 12px; }
  .profils li { padding: 20px; }
  .atouts { gap: 16px; padding: 24px 20px; }
  .formulaire-carte { padding: 24px 16px; }
  .champs-duo { grid-template-columns: 1fr; gap: 18px; }
  .faq summary { font-size: 18px; padding: 18px 44px 18px 0; }
  .faq details p { padding-right: 0; }
  .cloture h2 { font-size: 32px; }
  .cloture .bouton { width: 100%; }
  .pied-grille { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .page-legale { padding: 48px var(--marge) 80px; }
  .page-legale h1 { font-size: 34px; }
  .page-legale h2 { font-size: 22px; margin-top: 40px; }
  .page-erreur h1 { font-size: 32px; }
  /* Bandeau compact sur téléphone : texte d'Adham gardé mot pour mot, boutons de 44 px gardés, moins de hauteur
     pour laisser voir la carte chiffrée du premier écran (grille, critère 8). */
  #cg-bandeau-cookies { left: 6px; right: 6px; bottom: 6px; padding: 8px 10px; flex-direction: column; align-items: stretch; gap: 6px; border-radius: 12px; }
  #cg-bandeau-cookies .cg-bandeau-titre { font-size: 13px; margin: 0 0 1px; }
  #cg-bandeau-cookies .cg-bandeau-corps { font-size: 12px; line-height: 1.32; }
  #cg-bandeau-cookies .cg-bandeau-boutons { gap: 6px; }
  #cg-bandeau-cookies .cg-bandeau-boutons button { flex: 1 1 0; padding: 0.5em 0.75em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
