/* ═══════════════════════════════════════════════════════════════════════
   CONTACT ET AFFILIATION AU TÉLÉPHONE (04/11/2026)

   Le style de la nouvelle landing et des tarifs (fond noir profond, grands
   titres, cartes arrondies, bouton bleu en relief), pour contact-mobile*.html
   et affiliation-mobile*.html. S'appuie sur landing.css (boutons, FAQ, pied
   de page), nav.css et angles.css. Servies aux navigateurs « Mobile » (cf.
   next.config.ts) ; l'ordinateur garde les anciennes pages.
   ═══════════════════════════════════════════════════════════════════════ */

.px-page { padding-top: calc(64px + env(safe-area-inset-top)); }

/* ─── En-tête ─── */
/* `overflow: hidden` : la lueur derrière le titre est plus large que l'écran ;
   sans ce garde, le téléphone élargit la page et pousse le burger dehors. */
.px-hero { position: relative; isolation: isolate; overflow: hidden; padding: 40px var(--gouttiere) 4px; text-align: center; }
.px-hero::before {
  content: ""; position: absolute; left: 50%; top: -120px; width: 520px; height: 420px; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(59,116,245,0.26) 0%, rgba(59,116,245,0) 100%); pointer-events: none;
}
.px-surtitre { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.32em; text-indent: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.px-hero h1 { margin-top: 18px; font-size: 42px; line-height: 1.04; font-weight: 500; letter-spacing: -0.035em; }
.px-hero .lead { margin-top: 18px; font-size: 18px; line-height: 1.45; color: rgba(255,255,255,0.84); }
.px-hero .bouton { margin-top: 28px; }
.px-lien-doux { display: inline-block; margin-top: 16px; font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 4px; }
.px-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 24px; font-size: 14px; color: var(--doux); }
.px-tags span { display: inline-flex; align-items: center; gap: 7px; }
.px-tags span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.6); }

/* ─── Sections ─── */
.px-section { padding: 90px var(--gouttiere) 0; }
.px-section > h2 { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1; letter-spacing: -0.025em; }
.px-section > p.sous { margin-top: 14px; font-size: 17px; line-height: 1.45; color: rgba(255,255,255,0.82); }

/* Cartes simples (canaux de contact, chiffres, étapes). */
.px-cartes { display: grid; gap: 14px; margin-top: 28px; }
.px-carte {
  padding: 24px 22px; border-radius: 24px;
  background: linear-gradient(180deg, #16171c 0%, #111216 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}
.px-carte .etiquette { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bleu-clair); }
.px-carte h3 { margin-top: 8px; font-size: 26px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.px-carte p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,0.8); }
.px-carte .bouton, .px-carte .bouton-sombre { width: 100%; margin-top: 18px; height: 54px; font-size: 17px; }
.px-carte .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 15px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--bleu), var(--violet)); }

/* Les trois chiffres de l'affiliation. */
.px-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.px-chiffres div { padding: 16px 8px; border-radius: 18px; text-align: center; background: rgba(255,255,255,0.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.px-chiffres b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.px-chiffres span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.3; color: var(--doux); }

/* ─── Formulaire de contact ─── */
.px-form { display: grid; gap: 14px; margin-top: 26px; }
.px-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); }
.px-form input, .px-form select, .px-form textarea {
  width: 100%; padding: 15px 16px; border-radius: 16px; border: 0; outline: none;
  font: inherit; font-size: 16px; color: #fff; background: #16171c; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  -webkit-appearance: none; appearance: none;
}
.px-form input:focus, .px-form select:focus, .px-form textarea:focus { box-shadow: inset 0 0 0 1.5px var(--bleu); }
.px-form textarea { min-height: 140px; resize: vertical; }
.px-form .bouton { margin-top: 6px; }
.px-form .note { font-size: 13px; line-height: 1.45; color: var(--pale); text-align: center; }
.px-liens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.px-liens a { padding: 10px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600; background: #17181d; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10); }

/* ─── Affiliation : la jauge des six filleuls ─── */
.px-seuil { margin-top: 26px; }
.px-jauge { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.px-jauge span { aspect-ratio: 1; border-radius: 12px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10); transition: background .35s, box-shadow .35s; }
.px-jauge span.plein { background: linear-gradient(135deg, var(--bleu), var(--violet)); box-shadow: 0 0 18px rgba(91,140,255,0.45); }
.px-seuil .legende { margin-top: 16px; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,0.85); }

/* ─── Affiliation : le simulateur ─── */
.px-calc { margin-top: 26px; padding: 22px; border-radius: 26px; background: linear-gradient(180deg, #16171c 0%, #111216 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10); }
.px-calc .ligne-titre { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.8); }
.px-choix { display: flex; gap: 6px; margin-top: 10px; padding: 4px; border-radius: 999px; background: #0c0d10; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.px-choix button { flex: 1; height: 40px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--doux); }
.px-choix button.actif { background: #fff; color: #0c0d10; }
.px-curseur { display: flex; align-items: baseline; justify-content: space-between; margin-top: 22px; }
.px-curseur b { font-size: 30px; font-weight: 700; color: #fff; }
.px-calc input[type="range"] { width: 100%; margin-top: 12px; accent-color: var(--bleu); }
.px-resultat { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.10); text-align: center; }
.px-resultat .montant { font-size: 52px; font-weight: 600; letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(95deg, #8fb0ff 0%, #b79bff 60%, #e2d4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.px-resultat .unite { margin-top: 6px; font-size: 15px; color: var(--doux); }
.px-resultat .detail { margin-top: 14px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,0.85); }
.px-calc .avertissement { margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--pale); text-align: center; }

/* ─── Dernier appel ─── */
.px-final { padding: 110px var(--gouttiere) 0; text-align: center; }
.px-final h2 { font-size: 44px; line-height: 1.04; font-weight: 500; letter-spacing: -0.035em; }
.px-final p { margin-top: 14px; font-size: 16px; color: var(--doux); }
.px-final .bouton { margin-top: 26px; }

@media (max-width: 360px) {
  .px-hero h1 { font-size: 36px; }
  .px-section > h2 { font-size: 42px; }
  .px-chiffres b { font-size: 22px; }
}
