/* =====================================================================
   PORTABILO - STYLES DES PAGES INTÉRIEURES (estimation, ticket, compte...)
   À charger APRÈS site.css. Mêmes couleurs, rayons et tailles que la vitrine :
   ici, seulement ce qui est propre aux nouvelles pages.
   ===================================================================== */

/* ---------- En-tête : le lien « Ticket » est dans site.css (V6), commun avec l'accueil ---------- */
nav.menu a[aria-current="page"] { color: var(--encre); }
.lien-ticket[aria-current="page"] span:not(.compteur) { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) { .compte span { display: none; } }

/* ---------- Haut de page intérieure ---------- */
.page-tete { padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 32px); }
.fil { display: flex; gap: 8px; font-size: var(--t-petit); color: var(--encre-douce); margin-bottom: 18px; }
.fil a { color: var(--encre-douce); }
.page-tete h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.04em; }
.page-tete .lead { margin-top: 14px; font-size: 18px; }


/* =====================================================================
   PAGE ESTIMATION (estimer.html)
   ===================================================================== */

/* Barre de progression : 5 étapes */
.est-progres { scroll-margin-top: 100px; list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 760px; counter-reset: etape; }
.est-progres li { counter-increment: etape; }
.est-progres button { width: 100%; display: grid; gap: 8px; text-align: left; background: none; border: 0; padding: 0; font: 500 14px var(--f-texte); color: var(--encre-douce); cursor: default; }
.est-progres button::before { content: ""; height: 4px; border-radius: 99px; background: var(--ligne); }
.est-progres .est-fait button { color: var(--encre); cursor: pointer; }
.est-progres .est-fait button::before { background: var(--encre); }
.est-progres .est-fait button:hover span { text-decoration: underline; }
.est-progres [aria-current="step"] button { color: var(--encre); font-weight: 600; }
.est-progres [aria-current="step"] button::before { background: var(--accent); }
@media (max-width: 560px) {
  .est-progres span { display: none; }
  .est-progres [aria-current="step"] span { display: inline; white-space: nowrap; }
}

/* Corps : la question à gauche, le ticket à droite */
.est-corps { padding-block: 8px var(--espace-section); }
.est-grille { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .est-grille { grid-template-columns: 1fr; } }
.est-zone { min-height: 420px; }
/* Sur tablette et mobile, le ticket passe sous la zone : pas de hauteur réservée, sinon un grand vide apparaît
   quand l écran contient peu de choses (ex. « C est dans votre panier »). Corrigé le 16/11. */
@media (max-width: 980px) { .est-zone { min-height: 0; } }
.est-zone:focus { outline: none; }

.est-titre { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.035em; }
.est-sous { color: var(--encre-douce); margin-top: 10px; max-width: 52ch; }
.est-compte { font-size: var(--t-petit); color: var(--encre-douce); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.est-retour { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; background: none; border: 0; padding: 8px 0; font: 500 15px var(--f-texte); color: var(--encre-douce); cursor: pointer; }
.est-retour:hover { color: var(--encre); text-decoration: underline; text-underline-offset: 4px; }

/* Choix de la marque */
.est-marques { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 560px) { .est-marques { grid-template-columns: 1fr; } }
.est-marque { display: grid; gap: 4px; text-align: left; padding: 22px 22px 20px; border: 1.5px solid #cfd0c8; border-radius: var(--r-carte); background: var(--fond); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.est-marque:hover { border-color: var(--encre); }
.est-marque b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.est-marque small { font-size: var(--t-petit); color: var(--encre-douce); }
.est-recherche { margin-top: 28px; max-width: 520px; }
.est-recherche .recherche { max-width: none; }
.est-recherche p { font-size: var(--t-petit); color: var(--encre-douce); margin-bottom: 10px; }

/* Choix du modèle : cartes avec photo (même style que « Combien vaut le vôtre ? ») */
.est-modeles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 28px; }
.est-modeles .modele-carte { background: var(--fond); border: 1px solid var(--ligne); }
.est-modeles .modele-carte:hover { border-color: var(--encre); }
.est-modeles .modele-carte .visuel { height: 160px; }
@media (max-width: 560px) { .est-modeles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .est-modeles .modele-carte .visuel { height: 130px; } }

/* Choix de la capacité */
.est-capacites { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; max-width: 680px; }
.est-capa { display: grid; gap: 4px; text-align: left; padding: 18px; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); background: var(--fond); cursor: pointer; transition: border-color .15s; }
.est-capa:hover { border-color: var(--encre); }
.est-capa b { font-size: 20px; font-weight: 600; }
.est-capa small { font-size: var(--t-petit); color: var(--encre-douce); }

/* Rappel du téléphone en cours (photo + nom) */
.est-appareil { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.est-appareil img { width: 52px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.est-appareil b { display: block; font-weight: 600; }
.est-appareil small { color: var(--encre-douce); font-size: var(--t-petit); }

/* Questions : réponses en grandes lignes faciles à toucher */
.est-reponses { display: grid; gap: 10px; margin-top: 26px; max-width: 620px; }
.est-reponse { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 14px 18px; text-align: left; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); background: var(--fond); cursor: pointer; font: 500 16px var(--f-texte); transition: border-color .15s, background .15s; }
.est-reponse:hover { border-color: var(--encre); }
.est-reponse::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #9fa097; background: var(--fond); }
.est-reponse[aria-pressed="true"] { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.est-reponse[aria-pressed="true"]::before { border: 6px solid var(--encre); }
/* Cases à cocher (plusieurs réponses) */
.est-cases .est-reponse::before { border-radius: 6px; }
.est-cases .est-reponse[aria-pressed="true"]::before { border: 0; background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.est-suite { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

/* Aide « Où trouver cette information ? » */
.est-aide { margin-top: 16px; max-width: 620px; font-size: 15px; color: var(--encre-douce); }
.est-aide summary { cursor: pointer; font-weight: 600; color: var(--encre); width: fit-content; padding: 6px 0; }
.est-aide p { margin-top: 6px; line-height: 1.55; }

/* Résultat : le prix */
.est-resultat { max-width: 620px; }
.est-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; }
.est-prix strong { font-size: clamp(48px, 7vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.est-prix strong i { font-style: normal; background: var(--accent); color: var(--sur-accent); padding: 0 10px; border-radius: var(--r-ctrl); }
.est-grade { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.est-detail { list-style: none; margin: 26px 0 0; padding: 18px 0; border-block: 2px dashed var(--ligne); display: grid; gap: 10px; font-family: var(--f-ticket); font-size: 14px; }
.est-detail li { display: flex; justify-content: space-between; gap: 16px; }
.est-detail li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-detail .moins { color: var(--encre-douce); }
.est-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.est-lien { background: none; border: 0; padding: 10px 0; font: 600 16px var(--f-texte); color: var(--encre); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.est-note { margin-top: 22px; font-size: var(--t-petit); color: var(--encre-douce); max-width: 56ch; }

/* Récapitulatif des réponses (modifiable) */
.est-recap { margin-top: 36px; }
.est-recap summary { cursor: pointer; font-weight: 600; padding: 8px 0; width: fit-content; }
.est-recap ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.est-recap li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.est-recap li small { display: block; color: var(--encre-douce); font-size: 13px; }
.est-recap button { flex: none; background: none; border: 0; padding: 8px 0; font: 600 14px var(--f-texte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Reprise impossible */
.est-refus { max-width: 620px; padding: 24px; border-radius: var(--r-carte); background: var(--gris-clair); margin-top: 22px; }
.est-refus p + p { margin-top: 12px; }

/* Bandeau « encore X téléphones à compléter » */
.est-file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-radius: var(--r-carte); background: var(--gris-clair); margin-bottom: 28px; font-size: 15px; }

/* Ticket à droite (reprend le ticket de la vitrine) */
.est-ticket .lignes:empty::before { content: "Votre ticket est vide pour l'instant."; color: var(--encre-douce); font-size: 13px; }
.est-ticket .lignes li .suppr { border: 0; background: none; width: 28px; height: 28px; cursor: pointer; font-size: 18px; line-height: 1; color: var(--encre-douce); }
.est-ticket .lignes li .suppr:hover { color: var(--encre); }
.est-ticket .ticket-pied { margin-top: 14px; }

/* Apparition douce d'une nouvelle question */
.est-zone > * { animation: est-entree .28s ease both; }
@keyframes est-entree { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .est-zone > * { animation: none; } }

/* Barre de prix fixe : au-dessus du bouton de l'assistant sur téléphone */
body.avec-barre-prix { padding-bottom: 84px; }

/* Familles de modèles (Galaxy S, Galaxy A…) et titres de famille */
.est-gammes { margin-top: 24px; gap: 8px; }
.est-gammes .puce { padding: 8px 14px; font-size: 14px; }
.est-gamme-titre { margin-top: 36px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.est-gamme-titre + .est-modeles { margin-top: 14px; }

/* Pas encore de photo : un téléphone dessiné, neutre */
.est-sans-photo { height: 78%; width: auto; fill: var(--gris-clair); stroke: #c4c5bd; stroke-width: 2; stroke-linecap: round; }
.modele-carte .visuel .est-sans-photo { width: auto; height: 62%; transform: none; }
.est-appareil .est-sans-photo { width: 52px; height: 64px; }

/* Infos pratiques (après l'ajout au ticket, facultatives) */
.est-infos { margin-top: 26px; max-width: 680px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-carte); background: var(--gris-clair); }
.est-infos h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.est-infos-sous { margin-top: 6px; font-size: 15px; color: var(--encre-douce); max-width: 56ch; }
.est-infos-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
@media (max-width: 640px) { .est-infos-grille { grid-template-columns: 1fr; } }
.est-champ { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.est-champ.large { grid-column: 1 / -1; }
.est-champ label, .est-champ legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 8px; }
.est-champ label { margin-bottom: 0; }
.est-champ input, .est-champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); background: var(--fond); font: 16px var(--f-texte); color: var(--encre); }
.est-champ textarea { resize: vertical; line-height: 1.5; }
.est-champ input:focus, .est-champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.est-champ input[aria-invalid="true"] { border-color: #c2410c; }
.est-champ-msg { font-size: 14px; color: #c2410c; }
.est-champ-msg:empty { display: none; }
.est-champ .puces { gap: 8px; }
.est-champ .puce { padding: 9px 14px; font-size: 15px; }
.est-champ .est-aide { margin-top: 0; font-size: 14px; }

/* Ticket de la page estimation : plus compact que celui de l'accueil */
.est-grille { grid-template-columns: minmax(0, 1fr) 310px; }
@media (max-width: 980px) { .est-grille { grid-template-columns: 1fr; } .est-ticket { max-width: 440px; } }
.est-ticket { padding: 22px 22px 26px; font-size: 13px; }
.est-ticket .ticket-tete { padding-bottom: 12px; }
.est-ticket .ticket-tete strong { font-size: 17px; }
.est-ticket .lignes { padding: 12px 0; gap: 10px; }
.est-ticket .total { padding-top: 12px; }
.est-ticket .total span { font-size: 12px; }
.est-ticket .total strong { font-size: 30px; }
.est-ticket .ticket-pied { margin-top: 12px; }
.est-ticket .code-barres { height: 26px; margin-top: 14px; width: 70%; }


/* =====================================================================
   PAGE PANIER (panier.html) : préfixe pn-
   Deux colonnes : les téléphones à gauche, le récapitulatif à droite
   ===================================================================== */
.pn-tete { padding-bottom: clamp(16px, 2vw, 24px); }
.pn-etapes { margin: 0 0 clamp(26px, 3vw, 36px); max-width: 640px; }
.pn-etapes button { cursor: default; }
.pn-tete h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pn-nb { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--encre-douce); }
.pn-corps { padding-block: 8px var(--espace-section); }
.pn-grille { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .pn-grille { grid-template-columns: 1fr; } }
.pn-liste { display: grid; gap: 18px; min-width: 0; }

/* Panier vide */
.pn-vide { max-width: 560px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-carte); background: var(--gris-clair); display: grid; gap: 14px; justify-items: start; }
.pn-vide h2 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.pn-vide p { color: var(--encre-douce); max-width: 46ch; }

/* Carte d'un téléphone */
.pn-appareils { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pn-appareil { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 0 22px; padding: 24px 24px 8px; border: 1px solid var(--ligne); border-radius: var(--r-carte); background: var(--fond); }
.pn-photo { grid-row: span 2; width: 104px; height: 124px; display: grid; place-items: center; border-radius: var(--r-ctrl); background: #fafafa; overflow: hidden; }
.pn-photo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.pn-photo .est-sans-photo { height: 64%; width: auto; }
.pn-info { min-width: 0; display: grid; gap: 4px; align-content: start; }
.pn-nom { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.pn-capa { font-size: 15px; color: var(--encre-douce); }
.pn-tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pn-tags li { padding: 3px 9px; border: 1px solid #cfd0c8; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.pn-tags li.defaut { border-color: #e2b8a4; background: #fbf1ec; }
.pn-montant { display: grid; justify-items: end; align-content: start; gap: 2px; text-align: right; }
.pn-montant small { font-size: 13px; color: var(--encre-douce); }
.pn-montant strong { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pn-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 14px; align-self: end; }
.pn-action { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); background: var(--fond); color: var(--encre); font: 600 14px var(--f-texte); text-decoration: none; cursor: pointer; transition: border-color .15s; }
.pn-action:hover { border-color: var(--encre); }
.pn-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Parties repliables : détail des réponses, infos pratiques */
.pn-plus { grid-column: 1 / -1; border-top: 1px solid var(--ligne); }
.pn-actions + .pn-plus { margin-top: 18px; }
.pn-plus > summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 15px; display: flex; align-items: baseline; gap: 10px; }
.pn-nb-infos { font-weight: 400; font-size: var(--t-petit); color: var(--encre-douce); }
.pn-reponses { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 24px; font-size: 15px; }
.pn-reponses small { display: block; font-size: 13px; color: var(--encre-douce); }
.pn-decotes { margin: 0 0 16px; font-size: var(--t-petit); color: var(--encre-douce); }
.pn-plus .est-infos { margin: 0 0 18px; max-width: none; }
.est-infos.sans-titre .est-infos-grille { margin-top: 0; }

@media (max-width: 560px) {
  .pn-appareil { grid-template-columns: 72px minmax(0, 1fr); gap: 0 14px; padding: 18px 16px 4px; }
  .pn-photo { width: 72px; height: 88px; grid-row: span 1; }
  .pn-montant { grid-column: 2; justify-items: start; text-align: left; margin-top: 10px; }
  .pn-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .pn-action { flex: 1 1 0; justify-content: center; }
}

/* « Ajouter un autre téléphone » : le texte, la recherche directe, puis « Choisir par marque » (23/11) */
.pn-ajouter { display: grid; justify-items: start; gap: 14px; padding: 22px 24px; border: 1.5px dashed #cfd0c8; border-radius: var(--r-carte); background: var(--gris-clair); }
.pn-ajouter h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.pn-ajouter p { margin-top: 2px; font-size: 15px; color: var(--encre-douce); }
.recherche.pn-recherche { width: 100%; max-width: 560px; margin-top: 0; }
.pn-ajouter .pn-lien, .pn-vide .pn-lien { padding: 2px 0; }
.pn-vide .pn-recherche { margin-top: 6px; }

/* Capacité modifiable dans la carte (liste déroulante) */
.pn-capa-choix { justify-self: start; margin-top: 4px; }
.pn-capa-choix select { appearance: none; min-height: 40px; padding: 0 36px 0 12px; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); color: var(--encre); font: 500 15px var(--f-texte); cursor: pointer; transition: border-color .15s;
  background: var(--fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 15px; }
.pn-capa-choix select:hover { border-color: var(--encre); }
.pn-capa-choix select:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }

/* Prix qui vient de changer : il s'allume un court instant (rien si « Réduire les animations ») */
.pn-maj { border-radius: 6px; animation: pn-maj 1.4s ease-out; }
@keyframes pn-maj { from { background: var(--lin); box-shadow: 0 0 0 6px var(--lin); } to { background: transparent; box-shadow: 0 0 0 6px transparent; } }
@media (prefers-reduced-motion: reduce) { .pn-maj { animation: none; } }

/* Modèle plus repris en ligne */
.pn-appareil.indispo .pn-photo { opacity: .45; }
.pn-indispo { margin-top: 10px; font-size: var(--t-petit); line-height: 1.5; color: var(--encre-douce); }

/* Messages du panier : prix actualisé, capacité changée ; « alerte » = à régler avant de continuer */
.pn-message { padding: 12px 18px; border-radius: var(--r-ctrl); background: var(--gris-clair); font-size: 15px; line-height: 1.5; }
.pn-message.alerte { background: #fbf1ec; box-shadow: inset 0 0 0 1px #e2b8a4; }

/* Sous « Continuer » : ce qui vient ensuite */
.pn-ensuite { margin-top: 10px; font-size: 13px; line-height: 1.5; text-align: center; color: var(--encre-douce); }

/* Supprimé · Annuler */
.pn-annuler { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 10px 18px; border-radius: var(--r-ctrl); background: var(--gris-clair); font-size: 15px; }
.pn-lien { background: none; border: 0; padding: 8px 0; font: 600 15px var(--f-texte); color: var(--encre); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Récapitulatif au style ticket de caisse (classe .ticket de site.css : papier, bord dentelé, police ticket)
   Reste visible pendant le défilement, sur ordinateur */
.pn-cote { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
@media (max-width: 980px) { .pn-cote { position: static; max-width: 480px; } }
.pn-recap.ticket { position: static; }
.pn-recap .ticket-tete h2 { font: 700 12px var(--f-ticket); letter-spacing: .08em; text-transform: uppercase; }
.pn-recap .lignes li .det { font-size: 12px; }
.pn-recap .btn { width: 100%; margin-top: 22px; }
.pn-bientot { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-ctrl); background: var(--gris-clair); font: 14px / 1.5 var(--f-texte); }

/* Petites icônes en couleur (façon émoji), réservées au panier :
   un dessin au trait + une couleur douce. Ne pas en mettre partout. */
.pn-icone { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--fond); box-shadow: inset 0 0 0 1px var(--ligne); }
.pn-icone svg { width: 30px; height: 30px; fill: none; stroke: var(--encre); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pn-icone .f-kraft { fill: #ecd2a6; }
.pn-icone .f-bleu  { fill: #cfe4ff; }
.pn-icone .f-vert  { fill: #bff0d4; }
.pn-icone .f-jaune { fill: #ffe28a; }
.pn-icone-titre { width: 52px; height: 52px; align-self: center; margin-right: 4px; }
.pn-icone-titre svg { width: 34px; height: 34px; }
.pn-vide .pn-icone { background: var(--fond); }

/* Réassurance : en ligne sous le panier (4 colonnes, puis 2, puis 1) */
.pn-rassurance { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: clamp(20px, 3vw, 28px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; border-radius: var(--r-carte); background: var(--gris-clair); }
@media (max-width: 980px) { .pn-rassurance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pn-rassurance { grid-template-columns: 1fr; } }
.pn-rassurance li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 1.5; color: var(--encre-douce); }
.pn-rassurance b { display: block; margin-bottom: 2px; color: var(--encre); font-weight: 600; font-size: 15px; }


/* =====================================================================
   PAGE « NOTRE MÉTHODE » (methode.html) : préfixe mt-
   Engagements, les 4 étapes, le guide des états, la FAQ.
   Les petites icônes en couleur réutilisent .pn-icone (voir la page panier).
   ===================================================================== */
.mt-tete .lead { max-width: 52ch; }

/* Les 4 étapes, en haut : liens vers chaque partie */
.mt-etapes { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
@media (max-width: 760px) { .mt-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mt-etapes a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--ligne); border-radius: var(--r-carte); background: var(--fond); text-decoration: none; color: var(--encre); font-weight: 600; transition: border-color .15s; }
.mt-etapes a:hover { border-color: var(--encre); }
.mt-etapes small { display: block; font-size: 13px; font-weight: 500; color: var(--encre-douce); }
.mt-etapes .pn-icone { width: 42px; height: 42px; }
.mt-etapes .pn-icone svg { width: 26px; height: 26px; }
.mt-etapes .pn-icone { box-shadow: none; background: var(--gris-clair); }
.mt-etapes a span { line-height: 1.3; }
@media (max-width: 560px) { .mt-etapes a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; } }

/* Sections */
.mt-bloc { scroll-margin-top: 90px; }
.mt-titre { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.mt-etape-tete { display: flex; align-items: center; gap: 16px; }
.mt-num { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--encre); color: var(--fond); font-size: 22px; font-weight: 700; }
.mt-intro { margin-top: 16px; max-width: 58ch; font-size: 18px; color: var(--encre-douce); }
.mt-sous-titre { margin-top: clamp(32px, 4vw, 44px); font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.mt-note { margin-top: 18px; font-size: 15px; color: var(--encre-douce); }
.mt-cta { margin-top: 32px; }
.mt-aussi { margin-top: 18px; padding: 14px 18px; border-radius: var(--r-ctrl); background: var(--gris-clair); font-size: 15px; max-width: 760px; }

/* Nos engagements : 3 colonnes, puis 2, puis 1 */
.mt-engagements { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .mt-engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mt-engagements { grid-template-columns: 1fr; } }
.mt-engagements li { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-carte); background: var(--fond); }
.mt-engagements b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.mt-engagements p { font-size: 15px; color: var(--encre-douce); line-height: 1.55; }
.mt-deux-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
@media (max-width: 560px) { .mt-deux-cartes { grid-template-columns: 1fr; } }

/* Le guide des états : onglets + 4 photos + critères */
.mt-guide { margin-top: 18px; }
.mt-onglets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 900px; }
@media (max-width: 560px) { .mt-onglets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mt-onglet { min-height: 48px; padding: 10px 12px; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); background: var(--fond); font: 500 15px var(--f-texte); color: var(--encre); cursor: pointer; transition: border-color .15s; }
.mt-onglet:hover { border-color: var(--encre); }
.mt-onglet[aria-selected="true"] { border-color: var(--encre); background: var(--encre); color: var(--fond); font-weight: 600; }
.mt-panneau { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 18px; }
@media (max-width: 860px) { .mt-panneau { grid-template-columns: 1fr; } }
.mt-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mt-photos .photo-slot { aspect-ratio: 4 / 3; border-radius: var(--r-ctrl); }
.mt-etat-texte h4 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.mt-etat-texte p { margin-top: 6px; color: var(--encre-douce); }
.mt-etat-texte ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.mt-etat-texte li { padding-left: 28px; position: relative; font-size: 15px; }
.mt-etat-texte li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-clair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.mt-etat-texte li b { font-weight: 600; margin-right: 4px; }

/* Conseils pour bien évaluer : 4 cartes */
.mt-conseils { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .mt-conseils { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mt-conseils { grid-template-columns: 1fr; } }
.mt-conseils li { padding: 18px; border: 1px solid var(--ligne); border-radius: var(--r-carte); font-size: 15px; color: var(--encre-douce); line-height: 1.5; }
.mt-conseils b { display: block; margin-bottom: 4px; color: var(--encre); font-weight: 600; }

/* Deux colonnes : texte + photo (étapes 2 et 3) */
.mt-deux { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .mt-deux { grid-template-columns: 1fr; } }
.mt-photo { aspect-ratio: 4 / 5; border-radius: var(--r-media); }
@media (max-width: 900px) { .mt-photo { aspect-ratio: 4 / 3; } }
.mt-diapo { max-width: 520px; }
@media (min-width: 901px) { .mt-inverse > .mt-diapo { order: -1; } }

/* Listes à coches et encadrés */
.mt-coches { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; max-width: 58ch; }
.mt-coches li { padding-left: 32px; position: relative; }
.mt-coches li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.mt-encadre { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-carte); background: var(--fond); border: 1px solid var(--ligne); max-width: 58ch; }
.mt-bloc:not(.fond-gris) .mt-encadre { background: var(--gris-clair); border-color: transparent; }
.mt-encadre b { font-weight: 600; }
.mt-encadre p { margin-top: 4px; font-size: 15px; color: var(--encre-douce); }
.mt-verifs { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mt-verifs li { padding: 6px 12px; border: 1px solid #cfd0c8; border-radius: 99px; font-size: 14px; }


/* Fin de page */
.mt-fin { text-align: center; }
.mt-fin p { margin-top: 10px; color: var(--encre-douce); }
.mt-fin-actions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Panier : questions au moment de continuer */
.pn-faq { padding: 0; margin-top: clamp(40px, 5vw, 64px); max-width: 820px; }
.pn-faq h2 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.pn-faq-plus { margin-top: 16px; font-size: 15px; color: var(--encre-douce); }
/* Notre méthode : la FAQ est alignée avec le reste de la page */
.mt-faq .faq { margin-top: 24px; max-width: 820px; }

/* =====================================================================
   CORRECTIONS (V10, 05/11)
   ===================================================================== */
/* Estimation, étape « Capacité » sur téléphone : la page devenait plus large que l'écran
   (656 px pour 390 px : on pouvait la faire glisser de côté). La colonne unique pouvait
   s'élargir selon son contenu ; minmax(0, 1fr) la garde à la largeur de l'écran. */
@media (max-width: 980px) { .est-grille { grid-template-columns: minmax(0, 1fr); } }
/* Barre de progression sur téléphone : seules les étapes en cours affichent leur nom ;
   les autres restent lisibles par les lecteurs d'écran (elles étaient supprimées). */
@media (max-width: 560px) {
  .est-progres li:not([aria-current="step"]) span { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Champs des formulaires : même halo gris discret que la recherche (site.css, V10 n° 12) */
.est-champ input:focus, .est-champ textarea:focus { box-shadow: inset 0 0 0 1px var(--encre), 0 0 0 4px rgba(17, 17, 17, .08); }

/* Estimation sur tablette (761 à 980 px) : le ticket était relégué sous les questions,
   aligné à gauche avec un grand vide à droite, et la barre de prix du bas faisait doublon.
   Il reprend sa colonne à droite (plus étroite) et suit le défilement, comme sur ordinateur. */
@media (min-width: 761px) and (max-width: 980px) {
  .est-grille { grid-template-columns: minmax(0, 1fr) 264px; gap: 28px; }
  .est-ticket { max-width: none; padding: 20px 18px 24px; }
  .est-ticket .total strong { font-size: 26px; }
  .est-ticket .btn { padding-inline: 12px; }
  body:has(.est-grille) .barre-prix { display: none !important; }
  body.avec-barre-prix:has(.est-grille) { padding-bottom: 0; }
  body.avec-barre-prix:has(.est-grille) .chat-bouton { bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); }
}
/* Notre méthode sur tablette : la photo des colis (étape 2) prenait presque tout l'écran (728 × 546 px).
   Format plus large et moins haut, même photo. */
@media (min-width: 561px) and (max-width: 900px) { .mt-photo { aspect-ratio: 16 / 9; } }
/* Panier : « Le détail de mes réponses » et « Infos pratiques » ne montraient aucun signe qu'on
   pouvait les ouvrir. Même « + » que les questions fréquentes (il tourne en × une fois ouvert). */
.pn-plus > summary { list-style: none; align-items: center; }
.pn-plus > summary::-webkit-details-marker { display: none; }
.pn-plus > summary::after { content: "+"; margin-left: auto; flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gris-clair); font-size: 19px; font-weight: 500; transition: transform .2s; }
.pn-plus[open] > summary::after { transform: rotate(45deg); }
@media (hover: hover) { .pn-plus > summary:hover { color: var(--encre-douce); } }
/* Notre méthode sur ordinateur : les titres atteints par un lien (#faq, #envoyer…) arrivaient
   plus bas que sur l'accueil. Même hauteur d'arrivée partout (voir site.css, V10 n° 15). */
@media (min-width: 861px) { .mt-bloc { scroll-margin-top: 40px; } }
/* Guide des états : le titre de l'état (« Comme neuf »…) gardait la marge par défaut du navigateur
   (29 px dessus et dessous) : grand vide avant sa description, et titre décalé des photos sur ordinateur. */
.mt-etat-texte h4 { margin: 0; }
/* … et « Écran :  aucune rayure » avait un double espace (marge en plus de l'espace normale). */
.mt-etat-texte li b { margin-right: 0; }
/* Panier, « Une autre question ? » : « Notre méthode » était gris et fin à côté de « écrivez-nous »
   noir et gras. Les deux liens de la même phrase ont maintenant le même aspect. */
.pn-faq-plus a { color: var(--encre); font-weight: 600; }
/* Panier sur tablette : le récapitulatif (480 px max) restait collé à gauche avec un grand vide à droite.
   Il est centré, comme un ticket posé sur le comptoir. */
@media (max-width: 980px) { .pn-cote { width: 100%; margin-inline: auto; } }
/* Estimation entre 561 et 760 px : même chose pour le ticket, centré sous les questions. */
@media (max-width: 760px) { .est-ticket { margin-inline: auto; width: 100%; } }
/* Notre méthode, les 4 étapes du haut : entre 761 et 899 px, les cartes étaient trop étroites
   (« Vous / estimez » sur 2 lignes, cartes de hauteurs inégales). 2 par ligne, comme sur mobile. */
@media (min-width: 761px) and (max-width: 899px) { .mt-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; } }
/* Estimation, ticket vide : « 0 € » n'est plus surligné en vert (le vert est réservé à un vrai prix). */
.total strong i.nul { background: none; color: var(--encre-douce); padding: 0; }

/* Séries des grandes familles Samsung (Galaxy S, Galaxy A) : puces sous le titre de la famille (06/11) */
.est-series { margin-top: 16px; gap: 8px; }
.est-series .puce { padding: 8px 14px; font-size: 14px; }
.est-series + .est-modeles { margin-top: 22px; }

/* Panier entre 561 et 639 px : « Vos coordonnées » se coupait sur 2 lignes dans la barre d'étapes.
   Comme sur téléphone, seule l'étape en cours affiche son nom (les autres restent lues par les lecteurs d'écran). */
@media (min-width: 561px) and (max-width: 639px) {
  .est-progres li:not([aria-current="step"]) span { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Panier sur petit téléphone : « Ajouter un autre téléphone » tient sur une ligne (bouton sur toute la largeur) */
@media (max-width: 400px) { .pn-ajouter .btn { width: 100%; padding-inline: 14px; } }
/* Panier : place réservée aux cartes pendant le chargement (--attente = nombre de téléphones, posé par
   le petit script juste sous le panier). Hauteur d'une carte : 313 px, 380 px sur téléphone. */
#pn-appareils[style*="--attente"] { min-height: calc(var(--attente) * 331px - 18px); }
@media (max-width: 560px) { #pn-appareils[style*="--attente"] { min-height: calc(var(--attente) * 398px - 18px); } }
/* Estimer : la barre d'étapes est remplie par le script ; vide, elle ne prenait pas de place et toute
   la page descendait de 29 px une fois remplie. Sa place est réservée dès l'affichage. */
#progres:empty { min-height: 29px; }

/* Notre méthode : petite légende posée sur chaque photo des diaporamas (« Vous envoyez », « On teste ») */
.vue-legende { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); margin: 0;
  padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--encre);
  font-size: 14px; line-height: 1.3; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.vue-legende b { font-family: var(--f-ticket); font-weight: 500; font-size: 12px; color: var(--encre-douce); margin-right: 6px; }
/* Notre méthode : 2e liste « contrôles en plus » (pièces d'origine, blocages…), en sauge pour la distinguer */
.mt-verifs-plus { margin-top: 10px; }
.mt-verifs-plus li { background: var(--sauge, #DDE3C4); border-color: transparent; color: var(--sur-sauge, #2f3712); }

/* ==============================================================
   PASTILLES (07/11/2026) : mise en page des endroits qui en reçoivent une.
   Les couleurs et tailles des pastilles sont dans couleurs.css.
   ===================================================================== */
/* Notre méthode : encadrés avec pastille (envoi, bon à savoir, si l'état ne correspond pas) */
.mt-encadre.avec-pastille { display: flex; gap: 14px; align-items: flex-start; }
.mt-encadre + .mt-encadre { margin-top: 12px; }
/* Notre méthode : la ligne iCloud de « Avant d'envoyer », mise en avant */
.mt-coches li.mt-coche-importante { display: flex; gap: 12px; align-items: center; padding: 10px 14px 10px 10px;
  background: var(--fond); border: 1px solid #ecc9b9; border-radius: 14px; }
.mt-coches li.mt-coche-importante::before { content: none; }
.mt-coches li.mt-coche-importante b { font-weight: 600; }
/* Estimer : l'aide « Où trouver cette information ? » avec son ampoule */
.est-aide summary { display: flex; align-items: center; gap: 10px; list-style: none; }
.est-aide summary::-webkit-details-marker { display: none; }
.est-aide summary > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
=======
/* =====================================================================
   VALIDATION (valider.html) ET CONFIRMATION (confirmation.html) — 06/11
   Préfixes vd- (validation) et cf- (confirmation). Mise en page reprise du panier :
   formulaire à gauche, ticket à droite (pn-grille / pn-cote).
   ===================================================================== */
.vd-test { margin-top: 16px; max-width: 640px; padding: 10px 14px; border-radius: var(--r-ctrl); border: 1px dashed #cfd0c8; font-size: var(--t-petit); color: var(--encre-douce); }
.vd-test b { color: var(--encre); }
.vd-form { min-width: 0; display: grid; gap: 0; }
.vd-etape { display: grid; gap: 18px; padding: 0; }   /* <section> : annule le padding-block global des sections */
.vd-bloc { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--ligne); border-radius: var(--r-carte); background: var(--fond); }
.vd-sous-titre { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; padding: 0; margin: 0 0 6px; }
.vd-grille-champs { margin-top: 16px; }
.vd-bloc > .vd-grille-champs:first-child { margin-top: 0; }
.vd-type + .vd-grille-champs { margin-top: 20px; }
.vd-type legend { margin-bottom: 10px; }
.vd-texte { font-size: 15px; color: var(--encre-douce); max-width: 60ch; }
.vd-texte b { color: var(--encre); }
.vd-aide { font-size: 14px; color: var(--encre-douce); }
.vd-facultatif { font-weight: 400; font-size: 14px; color: var(--encre-douce); margin-left: 4px; }
/* Liste déroulante des pays : même aspect que les champs */
.est-champ select { width: 100%; min-height: 50px; padding: 12px 40px 12px 14px; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); font: 16px var(--f-texte); color: var(--encre);
  appearance: none; background: var(--fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.est-champ select:focus { outline: none; border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.est-champ input:disabled { background: var(--gris-clair); color: var(--encre-douce); }
/* Encart d'information (envoi payé, IBAN protégé) : icône + texte, fond lin */
.vd-encart { display: flex; gap: 16px; align-items: flex-start; background: var(--gris-clair); border-color: transparent; }
.vd-encart p { font-size: 15px; color: var(--encre-douce); max-width: 60ch; }
.vd-encart b { display: block; color: var(--encre); margin-bottom: 2px; }
/* IMEI : une ligne par téléphone, avec sa photo */
.vd-imeis { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.vd-imei { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding-top: 16px; border-top: 1px solid var(--ligne); }
.vd-imei:first-child { padding-top: 0; border-top: 0; }
.vd-imei .pn-photo { width: 64px; height: 78px; grid-row: auto; }
/* Cases à cocher (accords, « il ne s'allume plus ») */
.vd-case, .est-champ .vd-case { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 16px; line-height: 1.45; cursor: pointer; padding: 6px 0; }
.vd-case input, .est-champ .vd-case input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; accent-color: var(--noir); cursor: pointer; }
.vd-case-petite, .est-champ .vd-case-petite { font-size: 15px; color: var(--encre-douce); }
.vd-accords { margin: 0; display: grid; gap: 6px; }
.vd-accords legend { float: left; width: 100%; margin-bottom: 8px; }
.vd-rassure { padding-inline: 4px; }
/* Liste « Avant de fermer le carton » : coches dessinées */
.vd-liste { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.vd-liste li { position: relative; padding-left: 34px; font-size: 15px; color: var(--encre-douce); }
.vd-liste li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--gris-clair); }
.vd-liste li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 8px; height: 5px; border-left: 2px solid var(--encre); border-bottom: 2px solid var(--encre); transform: rotate(-45deg); }
.vd-liste b { display: block; color: var(--encre); font-weight: 600; }
.vd-plus-tard { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-inline: 4px; font-size: 15px; color: var(--encre-douce); }
/* Boutons du bas */
.vd-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.vd-nav .btn { min-width: 160px; }
@media (max-width: 560px) { .vd-nav { flex-direction: column-reverse; } .vd-nav .btn { width: 100%; } }
/* Récapitulatif de l'étape Validation */
.vd-recap { display: grid; gap: 18px; }
.vd-recap-bloc { padding: clamp(18px, 3vw, 24px); border: 1px solid var(--ligne); border-radius: var(--r-carte); font-size: 15px; line-height: 1.6; }
.vd-recap-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.vd-recap-tete h2 { font-size: 17px; font-weight: 600; }
.vd-recap-tete .pn-lien { padding: 0; font-size: 14px; }
.vd-recap-imeis { list-style: none; margin: 6px 0 0; padding: 0; }
.vd-iban { font-family: var(--f-ticket); letter-spacing: .04em; }
.vd-a-faire { color: #9a3412; }
.vd-modifier-panier { margin-top: 14px; text-align: center; font-size: var(--t-petit); }
.vd-modifier-panier a { color: var(--encre-douce); }
@media (max-width: 380px) { .est-infos-grille.vd-grille-champs { grid-template-columns: 1fr; } }

/* ---------- Confirmation ---------- */
.cf-contenu { min-width: 0; display: grid; gap: 18px; }
.cf-carte { display: flex; gap: 16px; align-items: flex-start; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-carte); background: var(--gris-clair); }
.cf-carte h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.cf-carte p { font-size: 15px; color: var(--encre-douce); max-width: 58ch; }
.cf-rappel { background: var(--fond); border: 1.5px solid #e2b8a4; }
.cf-bloc { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--ligne); border-radius: var(--r-carte); }
.cf-bloc > h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.cf-bloc > p { margin-top: 8px; font-size: 15px; color: var(--encre-douce); max-width: 60ch; }
.cf-bloc > p b { color: var(--encre); font-family: var(--f-ticket); }
/* Les prochaines étapes : une frise verticale */
.cf-suite { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; counter-reset: suite; }
.cf-suite li { counter-increment: suite; position: relative; padding: 0 0 20px 44px; font-size: 15px; color: var(--encre-douce); }
.cf-suite li:last-child { padding-bottom: 0; }
.cf-suite li::before { content: counter(suite); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #cfd0c8; background: var(--fond); font: 600 14px var(--f-texte); color: var(--encre); }
.cf-suite li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 28px; bottom: 2px; border-left: 1.5px dashed #cfd0c8; }
.cf-suite li.en-cours::before { background: var(--noir); border-color: var(--noir); color: #fff; }
.cf-suite b { display: block; color: var(--encre); font-weight: 600; }
.cf-aide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; }

/* =====================================================================
   ESPACE CLIENT (compte.html) ET CONNEXION (connexion.html) — 06/11
   Préfixes cc- (compte) et cx- (connexion). Demande du patron : sections courtes,
   côte à côte, le statut et la prochaine action toujours en premier.
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Connexion ---------- */
.cx-page { padding-bottom: var(--espace-section); }
.cx-boite { max-width: 560px; }
.cx-form { margin-top: 28px; display: grid; gap: 16px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--ligne); border-radius: var(--r-carte); }
.cx-form .btn { width: 100%; }
.cx-envoye { margin-top: 28px; display: flex; gap: 16px; align-items: flex-start; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-carte); background: var(--gris-clair); }
.cx-envoye h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.cx-envoye p { font-size: 15px; color: var(--encre-douce); }
.cx-envoye .vd-test { margin-top: 14px; }
.cx-pas-encore { margin-top: 24px; font-size: 15px; color: var(--encre-douce); }
.cx-pas-encore a { color: var(--encre); font-weight: 600; }

/* ---------- En-tête de l'espace ---------- */
.cc-tete { padding-bottom: 8px; }
.cc-entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.cc-sous { margin-top: 6px; color: var(--encre-douce); }
.cc-entete-droite { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 20px; }
.cc-choix-dossier { min-width: min(320px, 100%); }
.cc-choix-dossier label { font-size: 14px; }
.cc-page { padding-top: 24px; }
.cc-corps { display: grid; gap: 18px; }

/* ---------- Le statut (toujours en premier) ---------- */
.cc-statut { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-carte); background: var(--gris-clair); }
.cc-statut-haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 18px 32px; }
.cc-statut-haut > div:first-child { flex: 1 1 380px; }
.cc-statut-num { font-size: 14px; color: var(--encre-douce); }
.cc-statut h2 { margin-top: 6px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.cc-statut-texte { margin-top: 8px; max-width: 60ch; color: var(--encre-douce); }
.cc-statut-action { display: grid; gap: 10px; justify-items: end; }
.cc-annuler { font-size: 14px; font-weight: 500; color: var(--encre-douce); }
.cc-confirmer { max-width: 320px; display: grid; gap: 8px; justify-items: end; text-align: right; font-size: 15px; }
.cc-nouveau { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--noir); color: #fff; font-size: 12px; font-weight: 600; }
@media (max-width: 640px) { .cc-statut-action, .cc-confirmer { justify-items: stretch; text-align: left; width: 100%; } .cc-statut-action .btn { width: 100%; } }
/* La frise des étapes */
.cc-frise { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cc-frise li { display: grid; gap: 8px; font-size: 13px; color: var(--encre-douce); }
.cc-frise li::before { content: ""; height: 4px; border-radius: 99px; background: #d9d3c8; }
.cc-frise li.franchie { color: var(--encre); }
.cc-frise li.franchie::before { background: var(--encre); }
.cc-frise li.en-cours { color: var(--encre); font-weight: 600; }
.cc-frise li.en-cours::before { background: var(--olive, #6B7A2A); }
@media (max-width: 560px) { .cc-frise li:not(.en-cours) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* ---------- Rappels ---------- */
.cc-alertes { display: grid; gap: 12px; }
.cc-alertes:empty { display: none; }
.cc-alerte { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 16px 20px; border: 1.5px solid #e2b8a4; border-radius: var(--r-carte); }
.cc-alerte b { display: block; }
.cc-alerte span { font-size: 15px; color: var(--encre-douce); }

/* ---------- Contre-offre ---------- */
.cc-offres { display: grid; gap: 18px; scroll-margin-top: 110px; }
.cc-offres:empty { display: none; }
.cc-offre { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); padding: clamp(20px, 3vw, 28px); border: 1.5px solid var(--encre); border-radius: var(--r-carte); }
.cc-offre-preuves { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.cc-preuve { margin: 0; display: grid; gap: 6px; }
.cc-preuve img, .cc-preuve svg { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-ctrl); background: var(--gris-clair); }
.cc-preuve svg { padding: 18%; fill: none; stroke: #b9b2a5; stroke-width: 2.4; }
.cc-preuve figcaption { font-size: 12px; color: var(--encre-douce); }
.cc-offre h2 { margin-top: 6px; font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -0.03em; }
.cc-offre h2 s { font-size: 0.55em; font-weight: 500; color: var(--encre-douce); margin-left: 8px; }
.cc-offre-compare { margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-offre-compare div { padding: 12px 14px; border-radius: var(--r-ctrl); background: var(--gris-clair); }
.cc-offre-compare dt { font-size: 13px; color: var(--encre-douce); }
.cc-offre-compare dd { margin: 2px 0 0; font-weight: 600; }
.cc-offre-motif { margin-top: 14px; max-width: 60ch; }
.cc-offre-limite { margin-top: 10px; font-size: 14px; color: var(--encre-douce); }
.cc-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; }
.cc-confirmer-texte { flex-basis: 100%; font-weight: 600; }
@media (max-width: 700px) { .cc-offre { grid-template-columns: 1fr; } .cc-offre-preuves { max-width: 280px; } .cc-offre-actions .btn { width: 100%; } }

/* ---------- Les cartes côte à côte ---------- */
.cc-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.cc-carte { padding: clamp(20px, 2.4vw, 26px); border: 1px solid var(--ligne); border-radius: var(--r-carte); scroll-margin-top: 110px; min-width: 0; }
.cc-carte h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.cc-large { grid-column: span 2; }
@media (max-width: 1060px) { .cc-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cc-grille { grid-template-columns: 1fr; } .cc-large { grid-column: auto; } }
.cc-intro, .cc-vide, .cc-note { font-size: 14px; color: var(--encre-douce); }
.cc-intro { margin-top: 10px; }
.cc-note:empty { display: none; }
.cc-note { margin-top: 12px; }
.cc-intro a { color: var(--encre); }
.cc-carte p + p { margin-top: 10px; }
.cc-carte > div > p { font-size: 15px; line-height: 1.6; }
.cc-ligne { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.cc-carte .cc-ligne + .cc-ligne { margin-top: 0; }
.cc-ligne span { color: var(--encre-douce); }
.cc-carte .btn { margin-top: 14px; }
.cc-carte .pn-lien { margin-top: 6px; }
/* Téléphones */
.cc-telephones { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cc-telephones li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.cc-telephones .pn-photo { width: 48px; height: 58px; grid-row: auto; }
.cc-telephones b { display: block; font-size: 15px; }
.cc-telephones small { display: block; font-size: 13px; color: var(--encre-douce); }
.cc-telephones strong { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-etat { display: inline-block; margin-top: 6px; padding: 1px 8px; border: 1px solid #cfd0c8; border-radius: 8px; font-size: 12px; }
.cc-etat.ok { border-color: #b9c48d; background: var(--sauge, #DDE3C4); }
.cc-etat.defaut { border-color: #e2b8a4; background: #fbf1ec; }
.cc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 2px dashed var(--ligne); }
.cc-total span { font-size: 14px; color: var(--encre-douce); }
.cc-total b { font-size: 24px; letter-spacing: -0.02em; }
/* IBAN */
.cc-iban-form { display: grid; gap: 14px; }
.cc-iban-form .cc-boutons { margin-top: 0; }
.cc-iban-form .btn { margin-top: 0; }
/* Documents */
.cc-docs { list-style: none; margin: 0; padding: 0; display: grid; }
.cc-docs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ligne); font-size: 15px; }
.cc-docs li b { font-weight: 500; }
.cc-docs small { display: block; font-size: 13px; color: var(--encre-douce); }
.cc-docs .pn-lien { margin: 0; padding: 0; font-size: 14px; }
.cc-docs-demandes { margin-bottom: 14px; }
.cc-docs-demandes li { padding: 12px 14px; border: 1.5px solid #e2b8a4; border-radius: var(--r-ctrl); }
.cc-fichier { position: relative; overflow: hidden; min-height: 40px; padding: 0 16px; font-size: 14px; cursor: pointer; }
.cc-carte .cc-fichier { margin-top: 0; }
.cc-fichier input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cc-fichier:focus-within { outline: 2px solid var(--encre); outline-offset: 2px; }
/* Messages */
.cc-fil { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; max-height: 360px; overflow-y: auto; }
.cc-fil li { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 15px; }
.cc-fil li small { display: block; margin-top: 4px; font-size: 12px; color: var(--encre-douce); }
.cc-fil li.moi { justify-self: end; background: var(--noir); color: #fff; border-bottom-right-radius: 4px; }
.cc-fil li.moi small { color: #cfcfcf; }
.cc-fil li.equipe { justify-self: start; background: var(--gris-clair); border-bottom-left-radius: 4px; }
.cc-ecrire { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.cc-ecrire textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); font: 16px / 1.5 var(--f-texte); resize: vertical; }
.cc-ecrire textarea:focus { outline: none; border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); }
.cc-carte .cc-ecrire .btn { margin-top: 0; }
@media (max-width: 560px) { .cc-ecrire { grid-template-columns: 1fr; } }
/* Historique, nouvelle reprise */
.cc-historique { padding: 16px 22px; border: 1px solid var(--ligne); border-radius: var(--r-carte); }
.cc-historique summary { cursor: pointer; font-weight: 600; }
.cc-historique ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.cc-historique small { display: inline-block; min-width: 120px; color: var(--encre-douce); font-size: 13px; }
.cc-nouvelle { font-size: 15px; color: var(--encre-douce); }
.cc-nouvelle a { color: var(--encre); font-weight: 600; }
/* Confirmation : boutons vers l'espace client */
.cf-suivre { margin-top: 22px; }
.cf-carte .cf-iban-btn { margin-top: 14px; }
   PAGE CONTACT (contact.html), préfixe ct-
   Formulaire à gauche (même champs que la validation), raccourcis à droite.
   ===================================================================== */
.ct-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .ct-grille { grid-template-columns: 1fr; } }
.ct-bloc .vd-sous-titre { margin-top: 0; }
.ct-note, .ct-petit { margin-top: 16px; font-size: 14px; color: var(--encre-douce); }
.ct-envoyer { margin-top: 18px; }
.ct-envoye:focus { outline: none; }
.ct-envoye > p { margin-top: 10px; font-size: 16px; line-height: 1.55; }
.ct-envoye .ct-petit { margin-top: 18px; }
.ct-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ct-boutons .btn { margin: 0; }
.ct-envoye .pn-lien { margin-top: 14px; }
.ct-cote { display: grid; gap: 16px; }
.ct-cote .cc-carte p { font-size: 15px; line-height: 1.6; }
.ct-cote .ct-faq { display: block; margin-top: 8px; }
.ct-email { margin-top: 4px; flex-wrap: wrap; }
.ct-email strong { overflow-wrap: anywhere; }
=======
/* Connexion : « Ouvrir le lien comme si je l'avais reçu » (bouton sur 2 lignes sur téléphone) aligné à gauche comme le reste */
.cx-envoye .pn-lien { text-align: left; }
/* Connexion sur très petit téléphone (≤ 360 px) : « Recevoir mon lien de connexion » tient sur une ligne */
@media (max-width: 360px) { .cx-form { padding: 18px 16px; } .cx-form .btn { padding-inline: 8px; font-size: 14px; } }


/* =====================================================================
   PAGES PRODUIT (reprise/<modèle>.html, créées par outils/pages-produit.py) : préfixe pp-
   Photo + choix (capacité, état, prix, bouton) · grille des prix · 4 étapes · FAQ · autres modèles
   ===================================================================== */
.pp-haut { padding-block: clamp(28px, 4vw, 48px) var(--espace-section); }
.pp-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 8px; }
@media (max-width: 860px) { .pp-grille { grid-template-columns: 1fr; } }
.pp-photo { margin: 0; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--r-media); background: var(--lin, #F1ECE4); overflow: hidden; position: sticky; top: 110px; }
@media (max-width: 860px) { .pp-photo { position: static; aspect-ratio: 4 / 3; max-height: 340px; width: 100%; } }
.pp-photo img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.pp-photo .est-sans-photo { width: auto; height: 50%; }
.pp-choix h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; text-wrap: balance; }
.pp-max { margin-top: 8px; font-size: 18px; color: var(--encre-douce); }
.pp-max b { color: var(--encre); font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-etiquette { margin: 26px 0 10px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.pp-etats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-etats .etat small { font-family: var(--f-texte); font-size: 13px; line-height: 1.4; }
.pp-prix { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 26px; padding: 18px 20px; border-radius: var(--r-carte); background: var(--lin, #F1ECE4); }
.pp-prix span { font-weight: 600; }
.pp-prix strong { font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pp-cta { width: 100%; margin-top: 16px; }
.pp-note { margin-top: 12px; font-size: 14px; color: var(--encre-douce); }
.pp-note a { color: var(--encre); font-weight: 600; text-underline-offset: 4px; }
.pp-rassure { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; }
.pp-rassure li { display: flex; align-items: center; gap: 10px; }

/* Sections suivantes */
.pp-intro { margin-top: 10px; color: var(--encre-douce); }
.pp-tableau { margin-top: 24px; overflow-x: auto; border-radius: var(--r-carte); background: var(--fond); }
.pp-tableau table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.pp-tableau caption { caption-side: bottom; text-align: left; padding: 12px 18px 16px; font-size: 13px; color: var(--encre-douce); }
.pp-tableau th, .pp-tableau td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--ligne); }
.pp-tableau thead th { font-size: 13px; font-weight: 600; color: var(--encre-douce); }
.pp-tableau tbody th { font-weight: 600; }
.pp-tableau td { font-weight: 500; }
.pp-etapes { list-style: none; counter-reset: pp; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .pp-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pp-etapes { grid-template-columns: 1fr; } }
.pp-etapes li { counter-increment: pp; padding: 18px; border: 1px solid var(--ligne); border-radius: var(--r-carte); font-size: 15px; color: var(--encre-douce); line-height: 1.5; }
.pp-etapes li::before { content: counter(pp); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 9px; background: var(--encre); color: var(--fond); font-weight: 700; font-size: 15px; }
.pp-etapes b { display: block; margin-bottom: 4px; color: var(--encre); font-weight: 600; }
.pp-faq { margin-top: 20px; max-width: 820px; }
.pp-sous-titre { margin-top: 26px; font-size: 17px; font-weight: 600; }
.pp-liens { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.pp-liens a { display: grid; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid var(--ligne); border-radius: var(--r-ctrl); text-decoration: none; color: var(--encre); transition: border-color .15s; }
.pp-liens a:hover { border-color: var(--encre); }
.pp-liens span { font-weight: 600; }
.pp-liens small { font-size: 13px; color: var(--encre-douce); }
/* Pages de marque (reprise/iphone.html, samsung.html, google-pixel.html) : préfixe pm- */
.pm-titre { font-size: clamp(32px, 4.2vw, 50px); font-weight: 600; letter-spacing: -0.04em; }
.pm-modeles { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .pm-modeles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pm-modeles a { display: grid; gap: 2px; height: 100%; padding: 12px 12px 14px; border: 1px solid var(--ligne); border-radius: var(--r-carte); text-decoration: none; color: var(--encre); transition: border-color .15s; }
.pm-modeles a:hover { border-color: var(--encre); }
.pm-visuel { display: grid; place-items: center; height: 130px; margin-bottom: 8px; border-radius: var(--r-ctrl); background: var(--lin, #F1ECE4); overflow: hidden; }
.pm-visuel img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.pm-visuel .est-sans-photo { height: 60%; width: auto; }
.pm-nom { font-weight: 600; }
.pm-modeles small { font-size: 13px; color: var(--encre-douce); }

/* =====================================================================
   PAGE FAQ (faq.html, 11/11) : préfixe fq-
   Sommaire en puces · une section par thème (FAQ_THEMES de config.js) · lien « en savoir plus » par thème
   Le lien sous une réponse : .faq-lien (toutes les FAQ du site)
   ===================================================================== */
.faq details .faq-lien { display: inline-block; margin: -6px 0 18px; font-size: 15px; font-weight: 600; color: var(--encre);
  text-decoration: underline; text-underline-offset: 4px; }
.fq-sommaire { margin-top: 26px; gap: 8px; flex-wrap: wrap; }
.fq-sommaire .puce { padding: 8px 14px; font-size: 14px; text-decoration: none; color: var(--encre); }
.fq-corps { padding-block: 8px var(--espace-section); }
.fq-corps [data-faq="tout"] { max-width: 820px; }
.fq-theme { padding: 0; scroll-margin-top: 90px; }
.fq-theme + .fq-theme { margin-top: 44px; }
.fq-theme h2 { margin-bottom: 8px; font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.fq-plus { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--encre);
  text-decoration: underline; text-underline-offset: 4px; }
.fq-plus::after { content: " ›"; }
.fq-fin p { margin-top: 10px; color: var(--encre-douce); max-width: 56ch; }
.fq-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 520px) { .fq-boutons .btn { flex: 1 1 100%; } }
/* Estimer, « Tout fonctionne ? » → Non : liste déroulante des pannes (formulaire court, 11/11) */
.est-panne { display: grid; gap: 8px; margin-top: 22px; max-width: 620px; }
.est-panne label { font-weight: 600; }
.est-panne select { min-height: 52px; padding: 0 14px; border: 1.5px solid #cfd0c8; border-radius: var(--r-ctrl); background: var(--fond); font: 16px var(--f-texte); color: var(--encre); }
.est-panne select:focus { outline: 2px solid var(--encre); outline-offset: 2px; }


/* =====================================================================
   « COMMENT ÇA MARCHE, DE A À Z » (methode.html, 11/11) : préfixe az-
   Résumé des 8 étapes en haut · frise verticale (numéro + trait à gauche) · petits guides repliables
   ===================================================================== */
.az-resume { list-style: none; counter-reset: az; margin: clamp(26px, 3vw, 38px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .az-resume { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.az-resume li { counter-increment: az; }
.az-resume a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; height: 100%; padding: 12px 14px; border: 1px solid var(--ligne); border-radius: var(--r-ctrl); background: var(--fond); text-decoration: none; color: var(--encre); transition: border-color .15s; }
.az-resume a:hover { border-color: var(--encre); }
.az-resume a::before { content: counter(az); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--lin, #F1ECE4); font-weight: 700; font-size: 14px; }
.az-resume b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.az-resume small { font-size: 13px; color: var(--encre-douce); }

/* La frise : une colonne étroite (numéro + trait) et le contenu */
.az-frise { padding-block: clamp(16px, 2vw, 24px) var(--espace-section); }
.az-etape { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 32px); scroll-margin-top: 96px; }
.az-rail { position: relative; display: flex; justify-content: center; }
.az-rail::after { content: ""; position: absolute; top: 52px; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ligne); }
.az-etape:last-child .az-rail::after { display: none; }
.az-num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--encre); color: var(--fond); font-weight: 700; font-size: 20px; }
.az-contenu { min-width: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.az-contenu.mt-deux { align-items: start; }
.az-duree { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 99px; background: var(--lin, #F1ECE4); font-size: 14px; font-weight: 600; }
@media (max-width: 560px) { .az-etape { grid-template-columns: 36px minmax(0, 1fr); } .az-num { width: 36px; height: 36px; font-size: 16px; border-radius: 11px; } .az-rail::after { top: 40px; } }

/* Étape 2 : chaque information, et pourquoi on la demande */
.az-pourquoi { margin: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.az-pourquoi div { padding: 16px 18px; border: 1px solid var(--ligne); border-radius: var(--r-carte); }
.az-pourquoi dt { font-weight: 600; }
.az-pourquoi dd { margin: 4px 0 0; font-size: 15px; color: var(--encre-douce); line-height: 1.5; }

/* Étape 3 : les petits guides (repliables) */
.az-guides { display: grid; gap: 12px; margin-top: 22px; }
.az-guide { border: 1px solid var(--ligne); border-radius: var(--r-carte); background: var(--fond); }
.az-guide summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.az-guide summary::-webkit-details-marker { display: none; }
.az-guide summary > span:last-child { display: grid; gap: 2px; flex: 1; }
.az-guide summary b { font-weight: 600; }
.az-guide summary small { font-size: 13px; color: var(--encre-douce); }
.az-guide summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lin, #F1ECE4); font-size: 20px; transition: transform .2s; }
.az-guide[open] summary::after { transform: rotate(45deg); }
.az-pas { list-style: none; counter-reset: pas; margin: 0; padding: 0 18px 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.az-pas li { counter-increment: pas; display: grid; gap: 10px; align-content: start; }
.az-pas .photo-slot { aspect-ratio: 9 / 16; max-height: 260px; border-radius: var(--r-ctrl); }
.az-pas p { font-size: 15px; line-height: 1.5; }
.az-pas p::before { content: counter(pas) ". "; font-weight: 700; }
.az-astuce { margin: 0 18px 18px; padding: 12px 14px; border-radius: var(--r-ctrl); background: var(--lin, #F1ECE4); font-size: 15px; }
.az-tests { margin-top: 18px; }
.az-tests .mt-verifs { padding: 0 18px; }
.az-tests .mt-verifs-plus { padding-bottom: 18px; }

/* Étape 7 : les 3 cas */
.az-cas { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .az-cas { grid-template-columns: 1fr; } }
.az-cas li { padding: 18px 20px; border-radius: var(--r-carte); background: var(--lin, #F1ECE4); }
.az-cas b { font-size: 17px; font-weight: 600; }
.az-cas p { margin-top: 6px; font-size: 15px; color: var(--encre-douce); line-height: 1.5; }


/* =====================================================================
   « POURQUOI NOUS FAIRE CONFIANCE » (confiance.html, 11/11) : préfixe cf2-
   (cf- est déjà pris par la page de confirmation)
   ===================================================================== */
.cf2-tete h1 { max-width: 16ch; text-wrap: balance; }
.cf2-sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 3vw, 34px); }
.cf2-sommaire a { padding: 8px 14px; border: 1px solid var(--ligne); border-radius: 99px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--encre); transition: border-color .15s; }
.cf2-sommaire a:hover { border-color: var(--encre); }
#qui, #equipe, #coulisses, #rapport, #engagements, #exemple, #securite, #comparer, #avis { scroll-margin-top: 90px; }
.cf2-deux { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .cf2-deux { grid-template-columns: 1fr; } }
.cf2-photo { aspect-ratio: 4 / 3; border-radius: var(--r-media); }

/* L'équipe : 3 emplacements (photo + rôle) */
.cf2-equipe { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .cf2-equipe { grid-template-columns: 1fr; } }
.cf2-equipe li { display: grid; gap: 6px; align-content: start; }
.cf2-equipe .photo-slot { aspect-ratio: 4 / 5; border-radius: var(--r-carte); margin-bottom: 8px; }
.cf2-equipe b { font-size: 17px; font-weight: 600; }
.cf2-equipe p { font-size: 15px; color: var(--encre-douce); }

/* Une journée chez nous : 4 moments */
.cf2-journee { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .cf2-journee { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cf2-journee { grid-template-columns: 1fr; } }
.cf2-journee li { display: grid; gap: 6px; align-content: start; justify-items: start; }
.cf2-journee figure { width: 100%; margin: 0 0 8px; aspect-ratio: 4 / 3; border-radius: var(--r-carte); overflow: hidden; background: var(--fond); }
.cf2-journee img { width: 100%; height: 100%; object-fit: cover; }
.cf2-journee .az-duree { margin-bottom: 0; background: var(--fond); }
.cf2-journee b { font-size: 17px; font-weight: 600; }
.cf2-journee p { font-size: 15px; color: var(--encre-douce); }

/* Le vrai rapport */
.cf2-rapport { margin: 0; border-radius: var(--r-carte); overflow: hidden; border: 1px solid var(--ligne); }
.cf2-rapport img { display: block; width: 100%; height: auto; }

/* Engagements avec leur preuve */
.cf2-engagements { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .cf2-engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cf2-engagements { grid-template-columns: 1fr; } }
.cf2-engagements li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--r-carte); background: var(--fond); }
.cf2-engagements b { font-size: 17px; font-weight: 600; }
.cf2-engagements p { font-size: 15px; color: var(--encre-douce); line-height: 1.5; }
.cf2-engagements small { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--ligne); font-size: 13px; color: var(--encre); }

/* L'exemple d'écart : une fausse « carte de nouvelle offre », marquée comme exemple */
.cf2-offre { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--ligne); border-radius: var(--r-carte); background: var(--fond); }
.cf2-offre .photo-slot { aspect-ratio: 16 / 9; border-radius: var(--r-ctrl); }
.cf2-offre-motif, .cf2-offre-choix { font-size: 15px; }
.cf2-offre-prix { margin: 0; display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-ctrl); background: var(--lin, #F1ECE4); }
.cf2-offre-prix div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cf2-offre-prix dt { font-size: 15px; }
.cf2-offre-prix dd { margin: 0; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cf2-offre-prix dd.ancien { text-decoration: line-through; color: var(--encre-douce); font-weight: 500; }

/* Le comparatif et la place des avis */
.cf2-tableau { border: 1px solid var(--ligne); }
.cf2-tableau td:nth-child(2) { font-weight: 600; }
.cf2-avis-vide { margin-top: 20px; padding: 24px; border: 1.5px dashed #cfd0c8; border-radius: var(--r-carte); background: var(--fond); max-width: 720px; color: var(--encre-douce); }
/* Page 1 : renvoi vers « Pourquoi nous faire confiance » */
.az-renvoi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }

/* Tableaux en fiches sur téléphone (classe ajoutée par commun.js) : plus de colonne cachée à droite */
@media (max-width: 600px) {
  .pp-tableau table.tableau-fiches { min-width: 0; }
  .pp-tableau .tableau-fiches thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pp-tableau .tableau-fiches, .pp-tableau .tableau-fiches tbody, .pp-tableau .tableau-fiches tr,
  .pp-tableau .tableau-fiches th, .pp-tableau .tableau-fiches td { display: block; }
  .pp-tableau .tableau-fiches tr { padding: 14px 18px; border-bottom: 1px solid var(--ligne); }
  .pp-tableau .tableau-fiches tbody th { padding: 0 0 6px; border: 0; font-size: 16px; }
  .pp-tableau .tableau-fiches td { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; text-align: right; }
  .pp-tableau .tableau-fiches td::before { content: attr(data-label); color: var(--encre-douce); font-weight: 400; text-align: left; }
  .pp-tableau .tableau-fiches caption { display: block; padding: 12px 18px; }
}
/* Pages produit sur téléphone : « Vous avez un autre iPhone ? » sur 2 colonnes (une carte par ligne faisait défiler très longtemps) */
@media (max-width: 600px) {
  .pp-liens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pp-liens a { padding: 12px 12px; }
  .pp-liens span { font-size: 15px; line-height: 1.3; }
}

/* =====================================================================
   SANS PHOTOS (validé le 13/11) : « Comment ça marche » commence sans photos.
   Le guide des états et les 4 petits guides sont en texte seul, sur une colonne.
   ===================================================================== */
.mt-panneau { grid-template-columns: 1fr; }
.az-pas { grid-template-columns: 1fr; gap: 8px; }

/* =====================================================================
   PAGES LÉGALES (13/11) : préfixe lg-
   mentions-legales.html, conditions-reprise.html, confidentialite.html, cookies.html
   Sommaire à gauche (collé en haut sur ordinateur) · texte en une colonne lisible · .lg-manque = information à compléter
   ===================================================================== */
.lg-date { margin-top: 12px; font-size: var(--t-petit); color: var(--encre-douce); }
.lg-projet { margin-top: 16px; max-width: 62ch; padding: 12px 16px; border-radius: var(--r-ctrl);
  background: var(--pastille-miel, #F5E7BC); color: var(--pastille-miel-trait, #6B5213); font-size: 15px; }
.lg-corps { padding-block: 8px var(--espace-section); }
.lg-grille { display: grid; gap: 36px; }
@media (min-width: 980px) {
  .lg-grille { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
  .lg-sommaire { position: sticky; top: 100px; }
}
.lg-sommaire-titre { margin-bottom: 10px; font-weight: 600; }
.lg-sommaire ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 15px; color: var(--encre-douce); }
.lg-sommaire a { color: var(--encre-douce); text-decoration: none; }
.lg-sommaire a:hover { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.lg-texte { max-width: 760px; min-width: 0; }
.lg-texte section { padding: 0; scroll-margin-top: 90px; }
.lg-texte section + section { margin-top: 44px; }
.lg-texte h2 { margin-bottom: 12px; font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.lg-texte p, .lg-texte li { line-height: 1.65; }
.lg-texte p + p, .lg-texte p + ul, .lg-texte ul + p, .lg-texte p + .lg-tableau, .lg-texte .lg-tableau + p { margin-top: 12px; }
.lg-texte ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; list-style: disc; }
.lg-texte a { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
.lg-fiche { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 10px 20px; margin: 14px 0 0; }
.lg-fiche dt { color: var(--encre-douce); }
.lg-fiche dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .lg-fiche { grid-template-columns: 1fr; gap: 2px; }
  .lg-fiche dd + dt { margin-top: 12px; }
}
.lg-manque { padding: 1px 6px; border-radius: 6px; outline: 1px dashed var(--pastille-miel-trait, #6B5213);
  background: var(--pastille-miel, #F5E7BC); color: var(--pastille-miel-trait, #6B5213); font-size: .92em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lg-tableau { overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--r-ctrl); }
.lg-tableau table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.lg-tableau th, .lg-tableau td { padding: 12px 14px; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: top; line-height: 1.5; }
.lg-tableau th { background: var(--lin, #F1ECE4); font-weight: 600; }
.lg-tableau tr:last-child td { border-bottom: 0; }
.lg-tableau code { font-size: 13px; }
.lg-autres { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ligne); }
.lg-autres .lg-sommaire-titre { flex-basis: 100%; margin: 0; }
/* Petites mentions « Vos données » : validation, contact (newsletter : fin de site.css) */
.vd-note-donnees a, .ct-note a, .vd-case a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.vd-note-donnees { margin-top: 16px; font-size: 14px; color: var(--encre-douce); }

/* ===================== SEO LOT 2 (13/11) : pages de marque, « jumeaux », page « Téléphone cassé » ===================== */
/* Points « Ce qui fait le prix » / « Ce que nous reprenons » : comme les étapes, mais sans numéro (pas une suite) */
.pm-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pm-points-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .pm-points, .pm-points-2 { grid-template-columns: 1fr; } }
.pm-points li { padding: 20px; border: 1px solid var(--ligne); border-radius: var(--r-carte); background: var(--fond); font-size: 15px; color: var(--encre-douce); line-height: 1.55; }
.pm-points b { display: block; margin-bottom: 6px; color: var(--encre); font-weight: 600; font-size: 17px; }
.pm-points a { color: var(--encre); text-underline-offset: 3px; }
/* Page modèle : « Vous avez le Galaxy A15 5G ? » sous le prix */
.pp-jumeau { margin-top: 10px; font-size: var(--t-petit); color: var(--encre-douce); line-height: 1.5; }
.pp-jumeau a { color: var(--encre); text-underline-offset: 3px; }
/* Page « Téléphone cassé » : le bouton sous l'intro, et les noms de modèles du tableau en liens */
.pp-haut > .conteneur > .btn { margin-top: 22px; }
.pp-tableau tbody th a { color: var(--encre); text-underline-offset: 3px; }

/* =====================================================================
   ESPACE CLIENT EN BLOCS (14/11, demande du patron) : compte.html
   Deux colonnes face à face : à gauche « Ma reprise » + « Mes coordonnées »,
   à droite « Messages » (en haut) + « Documents » + « Mon virement ».
   ===================================================================== */
.cc-grille.cc-blocs { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.cc-colonne { display: grid; gap: 18px; align-content: start; min-width: 0; }
@media (max-width: 860px) { .cc-grille.cc-blocs { grid-template-columns: 1fr; } }
.cc-nouvelle-reprise { padding: 10px 18px; font-size: 15px; }
/* Frise : le délai sous l'étape, puis le rappel des délais */
.cc-frise li small { font-size: 12px; color: var(--encre-douce); font-weight: 400; margin-top: -4px; }
@media (max-width: 560px) { .cc-frise li:not(.en-cours) small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
.cc-delais { margin-top: 12px; font-size: 14px; color: var(--encre-douce); }
/* Ma reprise : tout le détail du téléphone, sous sa ligne */
.cc-telephones .cc-detail { grid-column: 1 / -1; margin-top: -2px; }
.cc-detail summary { cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.cc-detail dl, .cc-infos { margin: 10px 0 0; display: grid; }
.cc-detail dl div, .cc-infos div { display: grid; grid-template-columns: minmax(110px, 40%) minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--ligne); font-size: 14px; }
.cc-detail dt, .cc-infos dt { color: var(--encre-douce); }
.cc-detail dd, .cc-infos dd { margin: 0; overflow-wrap: anywhere; }
.cc-infos { margin-bottom: 12px; }
.cc-coord-form { display: grid; gap: 4px; margin-top: 8px; }
.cc-deux { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; }
/* Messages : pastille « Nouveau » dans le titre */
.cc-nb { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 99px; background: var(--sauge, #DDE3C4);
  color: var(--sur-sauge, #2f3712); font-size: 13px; font-weight: 600; vertical-align: middle; }
.cc-offre-fichiers { margin-top: 10px; font-size: 14px; color: var(--encre-douce); }

/* Estimation : les marques en grand, avec la photo du dernier modèle et le prix maximum (14/11, demande du patron) */
.est-marque { gap: 6px; padding: 18px 18px 22px; text-align: center; justify-items: center; }
.est-marque .visuel { display: grid; place-items: center; width: 100%; height: 190px; margin-bottom: 8px; border-radius: var(--r-ctrl); background: var(--lin, #F1ECE4); overflow: hidden; }
.est-marque .visuel img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.est-marque b { font-size: 24px; }
.est-marque small strong { color: var(--encre); font-weight: 700; }
@media (max-width: 560px) {
  .est-marques { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .est-marque { padding: 10px 8px 14px; }
  .est-marque .visuel { height: 110px; }
  .est-marque b { font-size: 16px; }
  .est-marque small { font-size: 12px; }
}

/* Validation en 2 temps (14/11) : « Voici ce qui va se passer », en tête de l'étape 1, avant toute question */
.vd-suite { padding: 20px 22px; border-radius: var(--r-carte); background: var(--lin, #F1ECE4); }
.vd-suite .vd-sous-titre { margin-top: 0; }
.vd-suite-etapes { list-style: none; counter-reset: suite; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.vd-suite-etapes li { counter-increment: suite; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; }
.vd-suite-etapes li::before { content: counter(suite); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--fond); font-weight: 700; font-size: 14px; }
.vd-suite-etapes b { font-weight: 600; }
.vd-suite-etapes span { font-size: 15px; color: var(--encre-douce); }
.vd-suite .vd-texte { margin-top: 14px; font-size: 15px; }

/* =====================================================================
   PASTILLES, 2e TOUR (14/11/2026) : mise en page des nouveaux carrés (ic-carre).
   Couleurs et tailles : bloc PASTILLES de couleurs.css. Étude : etudes/propositions-icones-2.html
   ===================================================================== */
/* Confiance : « Nos engagements, et comment les vérifier » */
.cf2-engagements li .ic-carre { margin-bottom: 4px; }
/* Comment ça marche : « Le résultat : 3 cas possibles » */
.az-cas li .ic-carre { display: grid; margin-bottom: 10px; }
/* Comment ça marche : « Vous validez » (ce qu'on demande, et pourquoi) */
.az-pourquoi dt { display: flex; align-items: center; gap: 10px; }
/* Comment ça marche : « Et après ? » */
.mt-apres { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; max-width: 58ch; }
.mt-apres li { display: flex; gap: 12px; align-items: flex-start; }
/* Espace client et Contact : un carré devant le titre des cartes */
.cc-carte h2.avec-ic { display: flex; align-items: center; gap: 10px; }
/* Espace client : le grand bloc du statut et les rappels */
.cc-statut-gauche { display: flex; gap: 16px; align-items: flex-start; }
.cc-statut-gauche > div { min-width: 0; }
.cc-alerte-corps { display: flex; gap: 14px; align-items: center; }
/* Sur téléphone : le carré du statut au-dessus du titre (le texte garde toute la largeur), rappels alignés en haut */
@media (max-width: 560px) {
  .cc-statut-gauche { flex-direction: column; gap: 12px; }
  .cc-alerte-corps { align-items: flex-start; }
}
/* Validation et confirmation : la ligne iCloud de « Avant de fermer le carton », mise en avant */
.vd-liste li.vd-liste-imp { display: flex; gap: 12px; align-items: center; padding: 10px 14px 10px 10px;
  border: 1px solid #ecc9b9; border-radius: 14px; background: var(--fond); }
.vd-liste li.vd-liste-imp::before, .vd-liste li.vd-liste-imp::after { content: none; }
/* Pages produit et « Téléphone cassé » : les 4 étapes avec leur carré (le numéro passe en petit, comme sur l'accueil) */
.pp-etapes li::before { content: none; }
.pp-etapes li .ic-carre { display: grid; margin-bottom: 10px; }
.pp-etapes b small { margin-right: 6px; font-size: 12px; font-weight: 600; color: var(--olive); }
/* Pages de marque : la ligne rassurante sous l'intro */
.pm-rassure { margin-top: 16px; }

/* =====================================================================
   DÉSINSCRIPTION DE LA NEWSLETTER (desinscription.html, 15/11) : préfixe ds-
   ===================================================================== */
.ds-corps { padding-block: 8px var(--espace-section); }
.ds-bloc { max-width: 560px; }
.ds-bloc form, .ds-bloc #ds-lien, .ds-bloc #ds-fait { display: grid; gap: 18px; justify-items: start; }
.ds-bloc [hidden] { display: none !important; }
.ds-bloc .est-champ { width: 100%; }
.ds-titre { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.ds-note { margin-top: 18px; font-size: 14px; color: var(--encre-douce); }
.ds-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ===================== GUIDE « LES 31 TESTS » (controle-31-tests.html, 16/11) : préfixe gt- ===================== */
.gt-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 520px) { .gt-boutons .btn { flex: 1 1 100%; } }
.gt-note { margin-top: 22px; max-width: 760px; color: var(--encre-douce); line-height: 1.6; }
/* Les 7 familles de tests : cartes à fond blanc, 2 colonnes sur ordinateur */
.gt-familles { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .gt-familles { grid-template-columns: 1fr; } }
.gt-famille { padding: 22px; border: 1px solid var(--ligne); border-radius: var(--r-carte); background: var(--fond); }
.gt-famille h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 19px; font-weight: 600; }
.gt-famille h3 small { font-size: 13px; font-weight: 500; color: var(--encre-douce); white-space: nowrap; }
.gt-famille ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.gt-famille li { font-size: 15px; line-height: 1.5; color: var(--encre-douce); }
.gt-famille li b { display: block; color: var(--encre); font-weight: 600; }
/* Le rapport et la suite : photo à gauche, texte à droite */
.gt-suite { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .gt-suite { grid-template-columns: 1fr; } }
.gt-rapport { margin: 0; border-radius: var(--r-media); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fond); }
.gt-rapport img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gt-cas { grid-template-columns: 1fr; }
.gt-fin .btn { margin-top: 22px; }
/* Guide « La contre-offre » (contre-offre.html, 16/11) : préfixe co- (le reste vient du guide des 31 tests) */
.co-choix { margin-top: 18px; }
.co-liste { margin: 18px 0 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--encre-douce); line-height: 1.55; }

/* =====================================================================
   CONFIANCE : PAGE CARREFOUR (16/11/2026) — confiance.html
   3 chiffres en cases sauge, puis une grille de cartes qui mènent chacune vers une page détaillée.
   ===================================================================== */
.cfh-chiffres { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 860px; }
.cfh-chiffres li { background: var(--sauge); color: var(--sur-sauge); border-radius: var(--r-carte); padding: 16px 18px; }
.cfh-chiffres b { display: block; font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.cfh-chiffres span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; }
.cfh-cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cfh-carte { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px 22px 20px; margin: 0 10px 10px 0;
  background: var(--fond); border: 1px solid var(--ligne); border-radius: var(--r-carte); color: var(--encre); text-decoration: none;
  box-shadow: 10px 10px 0 var(--sauge); transition: transform .15s ease, box-shadow .15s ease; }
.cfh-carte:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 var(--sauge); }
.cfh-carte:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; }
.cfh-carte h2 { margin: 6px 0 0; font-size: var(--t-h3, 22px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.cfh-carte p { margin: 0; color: var(--encre-douce); font-size: 15.5px; line-height: 1.5; flex: 1; }
.cfh-lien { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .cfh-carte, .cfh-carte:hover { transition: none; transform: none; } }
@media (max-width: 980px) { .cfh-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cfh-chiffres { grid-template-columns: 1fr; }
  .cfh-cartes { grid-template-columns: 1fr; gap: 14px; }
  .cfh-carte { box-shadow: 8px 8px 0 var(--sauge); margin: 0 8px 8px 0; }
}
/* Les actus du téléphone (confiance.html, 17/11) */
.cfa-liste { list-style: none; margin: var(--espace-titre, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cfa-actu { display: flex; flex-direction: column; gap: 8px; padding: 22px; margin: 0 10px 10px 0; background: var(--fond);
  border: 1px solid var(--ligne); border-radius: var(--r-carte); box-shadow: 10px 10px 0 var(--sauge); }
.cfa-date { font: 600 12px var(--f-texte); letter-spacing: .08em; text-transform: uppercase; color: #8a857a; }
.cfa-actu h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.cfa-actu p { margin: 0; color: var(--encre-douce); font-size: 15px; line-height: 1.5; }
.cfa-actu .cfa-pourvous { background: var(--sauge); color: var(--sur-sauge); border-radius: var(--r-ctrl); padding: 10px 12px; font-size: 14.5px; }
.cfa-pourvous b { color: var(--sur-sauge); }
.cfa-actu .cfa-source { margin-top: auto; font-size: 13px; color: #8a857a; }
.cfa-source a { color: inherit; }
@media (max-width: 980px) { .cfa-liste { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cfa-liste { grid-template-columns: 1fr; gap: 14px; } .cfa-actu { box-shadow: 8px 8px 0 var(--sauge); margin: 0 8px 8px 0; } }

/* Fil d'Ariane sur téléphone (17/11) : passe à la ligne entre deux étapes au lieu d'écraser « Qui sommes-nous ? » */
.fil { flex-wrap: wrap; row-gap: 2px; }
.fil a { white-space: nowrap; }

/* =====================================================================
   ESPACE CLIENT EN ONGLETS (19/11, plan validé : Portabilo/05 Idées et marketing/Espace client — proposition.md)
   compte.html : vue « Mes reprises » (À faire, en cours, terminées) et fiche d'une reprise :
   statut → rappels → contre-offre → « Votre paiement » → onglets Suivi · Diagnostic · Documents · Messages.
   ===================================================================== */
.cc-vue { display: grid; gap: 18px; }
.cc-vue[hidden] { display: none; }
.cc-retour { justify-self: start; font-size: 15px; font-weight: 600; color: var(--encre); text-underline-offset: 3px; }
.cc-retour::before { content: "‹"; margin-right: 6px; font-size: 1.2em; line-height: 1; }

/* Votre paiement : 3 réponses en ligne (montant, compte, quand), en colonne sur téléphone */
.cc-paiement { padding: clamp(20px, 2.4vw, 26px); border: 1px solid var(--ligne); border-radius: var(--r-carte); scroll-margin-top: 110px; }
.cc-paiement[hidden] { display: none; }
.cc-paiement h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.cc-paiement-lignes { margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.cc-paiement-lignes div { padding: 12px 16px; border-radius: var(--r-ctrl); background: var(--lin, #F1ECE4); min-width: 0; }
.cc-paiement-lignes dt { font-size: 13px; color: var(--encre-douce); }
.cc-paiement-lignes dd { margin: 4px 0 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.cc-paiement-lignes b { font-weight: 600; }
.cc-paiement-lignes .cc-montant { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cc-paiement-lignes .cc-manque { color: #9a4a2c; }
.cc-paiement #cc-virement:empty { display: none; }
.cc-paiement #cc-virement { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.cc-paiement #cc-virement .cc-intro { margin: 0; }
.cc-paiement #cc-virement .btn, .cc-paiement #cc-virement .pn-lien { margin: 0; }
.cc-paiement .cc-iban-form { margin-top: 14px; max-width: 520px; }

/* Les onglets : une barre simple, l'onglet ouvert souligné en noir */
.cc-onglets { display: flex; gap: 4px; margin-top: 10px; border-bottom: 1px solid var(--ligne); scroll-margin-top: 100px; }
.cc-onglets button { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 18px;
  border: 0; background: none; font: 600 16px / 1 var(--f-texte); color: var(--encre-douce); cursor: pointer; }
.cc-onglets button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.cc-onglets button[aria-selected="true"] { color: var(--encre); }
.cc-onglets button[aria-selected="true"]::after { background: var(--encre); }
@media (hover: hover) { .cc-onglets button:hover { color: var(--encre); } }
.cc-onglets button:focus-visible { outline: 2px solid var(--encre); outline-offset: -2px; border-radius: 8px; }
.cc-onglets .cc-nb { margin-left: 0; padding: 1px 8px; font-size: 12px; }
/* Sur téléphone : les 4 onglets se partagent la largeur */
@media (max-width: 560px) {
  .cc-onglets { gap: 0; }
  .cc-onglets button { flex: 1 1 0; justify-content: center; padding: 0 4px; font-size: 14px; flex-wrap: wrap; row-gap: 2px; }
  /* La pastille (« 1 » document à fournir) se pose dans le coin de l'onglet, pour garder les 4 onglets sur une ligne */
  .cc-onglets .cc-nb { position: absolute; top: 4px; right: 2px; min-width: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; text-align: center; }
}
/* Votre paiement sur téléphone et petite tablette : des lignes simples plutôt que des cadres empilés */
@media (max-width: 640px) {
  .cc-paiement-lignes { grid-auto-flow: row; gap: 0; }
  .cc-paiement-lignes div { padding: 10px 0; border-radius: 0; background: none; border-bottom: 1px solid var(--ligne); }
  .cc-paiement-lignes div:first-child { padding-top: 0; }
}
/* ⚠ La règle globale « section { padding-block } » touche aussi les <section> imbriquées : on l'annule ici */
.cc-panneau, .cc-liste-bloc { display: grid; gap: 18px; padding-block: 0; }
.cc-panneau[hidden] { display: none; }
.cc-panneau:focus { outline: none; }

/* Onglet Suivi : ce qui va se passer (étapes numérotées), toutes les étapes du dossier */
.cc-carte[hidden] { display: none; }
.cc-suite { list-style: none; counter-reset: suite; margin: 0; padding: 0; display: grid; gap: 12px; }
.cc-suite li { counter-increment: suite; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; }
.cc-suite li::before { content: counter(suite); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--lin, #F1ECE4); font-size: 13px; font-weight: 700; }
.cc-historique-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.cc-historique-liste li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
.cc-historique-liste small { color: var(--encre-douce); font-size: 13px; padding-top: 2px; }
@media (max-width: 480px) { .cc-historique-liste li { grid-template-columns: 1fr; gap: 0; } }
/* Le fil de messages, plus haut maintenant qu'il a son onglet */
#panneau-messages .cc-fil { max-height: min(60vh, 520px); }

/* Vue « Mes reprises » */
.cc-afaire { padding: clamp(20px, 2.4vw, 26px); border: 1.5px solid #e2b8a4; border-radius: var(--r-carte); }
.cc-afaire[hidden] { display: none; }
.cc-afaire h2, .cc-titre-liste { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.cc-afaire ul { list-style: none; margin: 0; padding: 0; display: grid; }
.cc-afaire li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; padding: 12px 0; border-top: 1px solid var(--ligne); }
.cc-afaire li:first-child { border-top: 0; padding-top: 0; }
.cc-afaire li b { display: block; font-weight: 600; }
.cc-afaire li small { font-size: 13px; color: var(--encre-douce); }
.cc-afaire .btn { padding: 10px 18px; font-size: 15px; }
@media (max-width: 560px) { .cc-afaire .btn { width: 100%; } }
.cc-reprises { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cc-reprise { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px;
  border: 1px solid var(--ligne); border-radius: var(--r-carte); color: var(--encre); text-decoration: none; }
@media (hover: hover) { .cc-reprise:hover { border-color: var(--encre); } }
.cc-reprise:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.cc-reprise-corps { display: grid; gap: 2px; min-width: 0; }
.cc-reprise-corps small { font-size: 13px; color: var(--encre-douce); }
.cc-reprise-corps b { font-weight: 600; }
.cc-reprise-corps span { font-size: 14px; color: var(--encre-douce); overflow-wrap: anywhere; }
.cc-reprise strong { font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 480px) { .cc-reprise { grid-template-columns: auto minmax(0, 1fr); padding: 14px 16px; } .cc-reprise strong { grid-column: 2; } }
.cc-terminees { padding: 16px 22px; border: 1px solid var(--ligne); border-radius: var(--r-carte); }
.cc-terminees[hidden] { display: none; }
.cc-terminees summary { cursor: pointer; font-weight: 600; }
.cc-terminees .cc-reprises { margin-top: 14px; }

/* Onglet Diagnostic (19/11) : état déclaré / constaté, résultat des 31 tests, photos du défaut */
#panneau-diagnostic .cc-telephones { gap: 0; }
#panneau-diagnostic .cc-telephones > li { padding: 18px 0; border-top: 1px solid var(--ligne); }
#panneau-diagnostic .cc-telephones > li:first-child { padding-top: 0; border-top: 0; }
.cc-diag-etats, .cc-diag, .cc-telephones .cc-detail { grid-column: 1 / -1; }
.cc-diag-etats { margin: 2px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-diag-etats div { padding: 10px 14px; border-radius: var(--r-ctrl); background: var(--lin, #F1ECE4); }
.cc-diag-etats dt { font-size: 13px; color: var(--encre-douce); }
.cc-diag-etats dd { margin: 2px 0 0; font-weight: 600; }
.cc-diag:empty { display: none; }
.cc-diag-attente { font-size: 14px; color: var(--encre-douce); }
.cc-diag-resume { font-size: 15px; line-height: 1.5; }
.cc-diag-resume b { font-weight: 600; }
.cc-diag-date { margin-top: 2px; font-size: 13px; color: var(--encre-douce); }
.cc-diag-detail { margin-top: 10px; }
.cc-diag-detail summary { cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.cc-diag-detail[open] summary { margin-bottom: 6px; }
.cc-diag-groupe { padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.cc-diag-groupe h4 { font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.cc-diag-groupe ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 16px; }
.cc-diag-groupe li { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.cc-diag-signe { flex: 0 0 auto; width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700;
  background: var(--sauge, #DDE3C4); color: var(--sur-sauge, #2f3712); }
.cc-diag-groupe li.defaut { font-weight: 600; }
.cc-diag-groupe li.defaut .cc-diag-signe { background: #fbf1ec; color: #9a4a2c; box-shadow: inset 0 0 0 1px #e2b8a4; }
.cc-diag-detail .cc-intro { margin-top: 10px; }
.cc-diag-photos { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.cc-diag-photos img { width: 110px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-ctrl); background: var(--lin, #F1ECE4); }
@media (max-width: 420px) { .cc-diag-etats { grid-template-columns: 1fr; } }

/* « Mon compte » (19/11) : coordonnées, compte bancaire, connexion et données */
#vue-compte .cc-carte { max-width: 760px; width: 100%; }
#vue-compte .cc-iban-form { margin-top: 14px; max-width: 520px; }
.cc-confirmation { margin-top: 14px; padding: 16px 18px; border-radius: var(--r-ctrl); background: var(--lin, #F1ECE4); display: grid; gap: 10px; justify-items: start; font-size: 15px; line-height: 1.55; }
.cc-confirmation .btn, .cc-confirmation .pn-lien { margin: 0; }
.cc-ok { color: var(--sur-sauge, #2f3712); font-weight: 600; }
.cc-actions-compte { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.cc-actions-compte li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; padding: 14px 0; border-top: 1px solid var(--ligne); }
.cc-actions-compte li > div:first-child { flex: 1 1 260px; }
.cc-actions-compte b { display: block; font-weight: 600; }
.cc-actions-compte small { display: block; margin-top: 2px; font-size: 14px; color: var(--encre-douce); }
.cc-carte .cc-actions-compte .btn { margin: 0; padding: 10px 18px; font-size: 15px; }
.cc-actions-compte .cc-confirmer { flex-basis: 100%; max-width: none; justify-items: start; text-align: left; }
@media (max-width: 560px) { .cc-carte .cc-actions-compte .btn { width: 100%; } }

/* =====================================================================
   ESPACE CLIENT AVEC MENU FIXE (19/11, choix A du client)
   Ordinateur : le menu des 8 rubriques à gauche, toujours visible (il suit la page).
   Téléphone et tablette : un bouton « Menu · <rubrique> » qui ouvre la liste des rubriques.
   Pas d'icône dans le menu (règle des pastilles, CLAUDE.md).
   ===================================================================== */
.cc-espace { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.cc-contenu { min-width: 0; }
.cc-contenu > .cc-vue { display: grid; gap: 18px; }
.cc-contenu > .cc-vue[hidden] { display: none; }
.cc-menu { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.cc-menu-bouton { display: none; }
.cc-menu-liste { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; border: 1px solid var(--ligne); border-radius: var(--r-carte); background: var(--fond); }
.cc-menu-liste a, .cc-menu-liste button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px;
  padding: 0 14px; border: 0; border-radius: var(--r-ctrl); background: none; font: 500 16px / 1.2 var(--f-texte); color: var(--encre); text-decoration: none; text-align: left; cursor: pointer; }
@media (hover: hover) { .cc-menu-liste a:hover, .cc-menu-liste button:hover { background: var(--lin, #F1ECE4); } }
.cc-menu-liste a[aria-current="page"] { background: var(--lin, #F1ECE4); font-weight: 700; box-shadow: inset 3px 0 0 var(--olive, #6B7A2A); }
.cc-menu-liste a:focus-visible, .cc-menu-liste button:focus-visible { outline: 2px solid var(--encre); outline-offset: -2px; }
.cc-menu-liste .cc-nb { margin-left: 0; min-width: 22px; padding: 1px 7px; text-align: center; font-size: 12px; }
.cc-menu-sortie { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--ligne); }
.cc-menu-sortie button { color: var(--encre-douce); font-weight: 500; }
/* Le titre de chaque rubrique */
.cc-rubrique-titre { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.03em; }
.cc-contenu .cc-carte h3, .cc-titre-liste { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.cc-choix-dossier { max-width: 460px; }
/* Accueil : chaque reprise en cours en résumé */
.cc-resume .cc-resume-paiement { margin-top: 18px; }
.cc-resume .cc-resume-paiement div { background: var(--fond); }
.cc-resume .cc-boutons { margin-top: 16px; }
.cc-accueil-vide .btn { margin-top: 14px; }
#cc-accueil-reprises:empty { display: none; }
/* Détail d'une reprise : liens vers ses messages et documents */
.cc-liens-dossier { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.cc-liens-dossier a { color: var(--encre); font-weight: 600; text-underline-offset: 3px; }
/* Paiement : un virement par reprise */
.cc-virements { list-style: none; margin: 0; padding: 0; display: grid; }
.cc-virements li { border-top: 1px solid var(--ligne); }
.cc-virements li:first-child { border-top: 0; }
.cc-virements a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 12px 0; color: var(--encre); text-decoration: none; }
.cc-virements b { font-size: 18px; font-variant-numeric: tabular-nums; margin-right: 10px; }
.cc-virements small { font-size: 13px; color: var(--encre-douce); }
.cc-virement-etat { font-size: 14px; color: var(--encre-douce); }
.cc-virements li.paye .cc-virement-etat { color: var(--sur-sauge, #2f3712); font-weight: 600; }
@media (hover: hover) { .cc-virements a:hover b { text-decoration: underline; } }
/* Aide */
.cc-aide-liens { list-style: none; margin: 0; padding: 0; display: grid; }
.cc-aide-liens li { border-top: 1px solid var(--ligne); }
.cc-aide-liens li:first-child { border-top: 0; }
.cc-aide-liens a { display: block; padding: 12px 0; color: var(--encre); font-weight: 500; text-underline-offset: 3px; }
.cc-contenu .cc-carte .cc-boutons .btn { margin-top: 0; }

/* Téléphone et tablette : le menu devient un bouton qui ouvre la liste */
@media (max-width: 900px) {
  .cc-espace { grid-template-columns: 1fr; gap: 20px; }
  .cc-menu { position: relative; top: auto; z-index: 3; }
  .cc-menu-bouton { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 16px;
    border: 1.5px solid var(--encre); border-radius: var(--r-ctrl); background: var(--fond); font: 500 16px / 1.2 var(--f-texte); color: var(--encre); cursor: pointer; }
  .cc-menu-bouton b { margin-left: auto; font-weight: 700; }
  .cc-menu-bouton b::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
  .cc-menu.ouvert .cc-menu-bouton b::after { transform: translateY(1px) rotate(-135deg); }
  .cc-menu-burger { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .cc-menu-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .cc-menu-liste { display: none; margin-top: 8px; }
  .cc-menu.ouvert .cc-menu-liste { display: grid; }
  .cc-menu-bouton:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
}
.cc-menu-bouton .cc-nb { margin-left: 0; min-width: 22px; padding: 1px 7px; text-align: center; font-size: 12px; }

/* Corrections du 19/11 (vu par le client sur la carte résumé de l'Accueil, largeurs intermédiaires) */
/* 1. Résumé de l'Accueil : les cadres « Montant » et « Virement » gardent leur marge intérieure sur téléphone */
.cc-resume .cc-resume-paiement { gap: 8px; }
.cc-resume .cc-resume-paiement div { padding: 12px 16px; border: 0; border-radius: var(--r-ctrl); background: var(--fond); }
/* 2. La frise se règle sur la largeur de SA carte (pas de l'écran) : sous 640 px de carte, seule l'étape en cours
   garde son nom et sa date (les autres restent lisibles par les lecteurs d'écran) */
.cc-statut { container-type: inline-size; }
.cc-frise li small { white-space: nowrap; }
@container (max-width: 640px) {
  .cc-frise li:not(.en-cours) span, .cc-frise li:not(.en-cours) small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cc-frise li.en-cours { grid-column: span 2; }
  .cc-frise { grid-template-columns: repeat(7, 1fr); }
}
/* 3. La barre de chaque étape occupe toute la largeur de sa colonne, même quand le nom de l'étape est masqué */
.cc-frise li { grid-template-columns: minmax(0, 1fr); }   /* étape franchie : classe « franchie » (« fait » est déjà prise par « Le saviez-vous ? », site.css) */

/* Contre-offre (21/11) : « Les écarts possibles » et l'exemple réunis dans une seule section,
   la carte d'exemple en haut à droite (avant : grand vide entre deux sections lin sur ordinateur) */
.co-ecarts { align-items: start; }
.co-exemple-titre { margin: 32px 0 8px; font-size: var(--t-h3, 22px); font-weight: 600; }

/* =====================================================================
   ESPACE CLIENT : RÉCAPITULATIF DE MA DEMANDE (compte.html#MB-…/recapitulatif, 25/11)
   ===================================================================== */
#vue-recap { display: grid; gap: 16px; }
.cc-recap { max-width: 760px; width: 100%; }
.cc-recap-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.cc-recap-tete h2 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.02em; }
.cc-recap-infos { margin: 22px 0 0; display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 0 20px; }
.cc-recap-infos dt, .cc-recap-infos dd { padding: 12px 0; border-top: 1px solid var(--ligne); }
.cc-recap-infos dt { font-size: var(--t-petit); color: var(--encre-douce); }
.cc-recap-infos dd { margin: 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .cc-recap-infos { grid-template-columns: minmax(0, 1fr); }
  .cc-recap-infos dd { border-top: 0; padding-top: 0; }
}
.cc-recap-sous { margin-top: 26px; font-size: 17px; font-weight: 600; }
.cc-recap-tels { list-style: none; margin: 10px 0 0; padding: 0; }
.cc-recap-tels li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--ligne); }
.cc-recap-tels small { display: block; margin-top: 2px; font-size: var(--t-petit); color: var(--encre-douce); }
.cc-recap-tels span { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cc-recap-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 4px; padding: 16px 18px; border-radius: var(--r-ctrl); background: var(--lin); }
.cc-recap-total strong { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.cc-recap .cc-note { margin-top: 14px; }
/* Impression : seulement le récapitulatif (pas le menu du compte, ni le bouton) */
@media print {
  .cc-menu, .cc-entete, #cc-recap-retour, #cc-recap-imprimer, .cc-test { display: none !important; }
  .cc-recap { border: 0; padding: 0; }
}

/* =====================================================================
   BARRE D'ÉTAPES (panier, Valider, confirmation, estimation) — 25/11
   - Toujours sur UNE ligne, quel que soit le nombre d'étapes (Valider en a 6 : la 6e passait à la ligne sur téléphone).
   - Revenir en arrière au doigt : les étapes faites font 4 px de haut, la zone à toucher est agrandie
     (44 px, sans rien décaler à l'écran).
   - Une étape qu'on ne peut plus rouvrir (page de confirmation) n'a plus l'air cliquable.
   ===================================================================== */
.est-progres { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.est-progres button:not(:disabled) { padding: 10px 0 30px; margin: -10px 0 -30px; }
.est-progres .est-fait button:disabled { cursor: default; }
.est-progres .est-fait button:disabled:hover span { text-decoration: none; }
