/* ==========================================================================
   Alvec, pages intérieures : catalogue, fiche produit, tarifs, support,
   à propos, contact, mentions légales, compte, commande, téléchargements, 404.
   Même langage que l'accueil : fond menthe, tuiles translucides bordées de
   blanc (22 px), boutons en pilule, accent teal, blocs sombres encre-teal.
   ========================================================================== */

.page-main{background:transparent}

/* ---------------- Bandeau de titre ---------------- */
.bandeau{position:relative;color:var(--ink)}
/* Seul le retrait vertical est propre au bandeau : le retrait horizontal vient
   de .wrap, sinon le titre se décale du contenu (22 px contre 38 px entre 701
   et 1179 px) et colle aux bords sur petit écran. */
.bandeau-in{padding-block:34px 10px}
.bandeau h1{font-size:44px;font-weight:750;line-height:1.05;letter-spacing:-.04em;color:var(--ink)}
.bandeau .sub{margin-top:12px;font-size:17px;line-height:1.5;color:var(--muted);max-width:760px}

/* Fiche produit : logo + texte + prix */
.bandeau-produit{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:36px;align-items:center;padding-bottom:20px}
.bandeau-produit .logo{
  width:140px;height:140px;border-radius:32px;display:grid;place-items:center;
  border:1px solid #fff;background:linear-gradient(130deg,rgba(255,255,255,.8),rgba(255,255,255,.35));
  box-shadow:0 24px 50px -30px rgba(7,59,80,.45);
}
.bandeau-produit .logo img{width:88px;height:auto}
.bandeau-produit .cat{font-size:17px;color:var(--muted);margin-top:8px}
.bandeau-produit .prix{text-align:right}
.bandeau-produit .prix b{display:block;font-size:34px;font-weight:750;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.bandeau-produit .prix > span{display:block;font-size:13px;color:var(--muted);margin-top:2px}
/* Les deux boutons de la fiche produit. « Télécharger via le Microsoft Store »
   mesure 315 px à 15 px, payer 194 px : sans borne, la colonne « auto » de la
   grille s'étirait de toute la largeur des deux et écrasait le nom de
   l'application. La colonne est donc bornée à 340 px, les deux boutons s'y
   empilent, et la base de 220 px leur fait prendre toute cette largeur : deux
   blocs de même taille plutôt qu'un escalier, les deux actions pesant le même
   poids, seule la couleur les départage. white-space:normal parce que .btn
   impose nowrap : on veut le retour à la ligne, jamais le débordement. */
.bandeau-produit .actions{display:flex;gap:12px;margin-top:16px;justify-content:flex-end;flex-wrap:wrap;max-width:340px;margin-left:auto}
.bandeau-produit .actions .btn{flex:1 1 220px;white-space:normal;overflow-wrap:break-word;text-wrap:balance;text-align:center}

/* ---------------- Sections ---------------- */
.section{padding:34px 0}
.section + .section{padding-top:0}
.section-tete{margin-bottom:20px}
.section-tete h2{font-size:29px;font-weight:700;line-height:1.15;letter-spacing:-1px;color:var(--ink)}
.section-tete p{margin-top:6px;font-size:15px;color:var(--muted);max-width:720px}
.section-tete a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.section-blanc{padding:34px 0}
.texte{font-size:15px;line-height:1.65;color:var(--muted);max-width:760px}
.texte + .texte{margin-top:12px}

/* Boutons des pages intérieures */
.btn-page{min-height:46px;padding:10px 24px;font-size:15px}
.btn-page i{font-size:18px}

/* ---------------- Tuiles (valeurs, canaux, étapes, configuration) ---------------- */
.tuiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tuiles-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tuiles-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tuile{
  border:1px solid #fff;border-radius:22px;padding:24px;
  background:linear-gradient(130deg,rgba(255,255,255,.72),rgba(255,255,255,.26));
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.tuile:hover{transform:translateY(-3px);box-shadow:0 18px 40px -24px rgba(7,59,80,.35)}
.tuile > i{font-size:34px;color:var(--accent-icon);line-height:1;display:block}
.tuile .num{
  display:grid;place-items:center;width:36px;height:36px;border-radius:50%;
  background:var(--tint-strong);color:var(--accent-deeper);font-weight:700;font-size:15px;
}
.tuile h3{margin-top:14px;font-size:17px;font-weight:700;color:var(--ink)}
.tuile p{margin-top:6px;font-size:14px;line-height:1.55;color:var(--muted)}
.tuile a.lien{display:inline-block;margin-top:10px;font-size:14.5px;font-weight:600;color:var(--accent-deep)}
.tuile a.lien:hover{text-decoration:underline;text-underline-offset:3px}
.tuile ul{margin-top:10px}
.tuile li{font-size:14px;color:var(--muted);padding:4px 0}

/* Liste de fonctionnalités (fiche produit) */
.liste-fonctions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.liste-fonctions li{
  display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.5;color:var(--ink);
  padding:14px 18px;border:1px solid #fff;border-radius:18px;background:rgba(255,255,255,.44);
}
.liste-fonctions i{font-size:22px;color:var(--accent-icon);flex:none;margin-top:1px}
.liste-simple li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.5;color:var(--muted);padding:6px 0}
.liste-simple i{font-size:20px;color:var(--accent-icon);flex:none;margin-top:2px}

/* ---------------- Tableau comparatif ---------------- */
.tableau-wrap{position:relative;overflow-x:auto;border:1px solid #fff;border-radius:22px;background:rgba(255,255,255,.55)}
.tableau{width:100%;border-collapse:collapse;font-size:14.5px}
.tableau th,.tableau td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--divider);color:var(--ink)}
.tableau thead th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:rgba(255,255,255,.35)}
.tableau th:not(:first-child),.tableau td:not(:first-child){text-align:center;width:130px}
.tableau tbody tr:last-child td{border-bottom:0}
.tableau td i{font-size:22px;line-height:1}
.tableau .oui{color:var(--accent)}
/* Icône « non inclus » : #9dc3c8 ne donnait que 1,79:1 sur la tuile du tableau,
   très au-dessous des 3:1 exigés d'un élément graphique porteur de sens. */
.tableau .non{color:#748f95}
.tableau .app{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink);text-transform:none;letter-spacing:0;font-size:14.5px}
.tableau .app img{width:22px;height:auto}

/* ---------------- Accordéon (FAQ) ---------------- */
.faq{max-width:820px;border-top:1px solid var(--divider)}
.faq-item{border-bottom:1px solid var(--divider)}
.faq-q{
  display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;
  padding:18px 4px;background:none;border:0;cursor:pointer;text-align:left;
  font-size:16px;font-weight:600;color:var(--ink);transition:color .2s var(--ease);
}
.faq-q:hover{color:var(--accent-deep)}
.faq-q i{font-size:20px;color:var(--accent);flex:none;transition:transform .3s var(--ease)}
.faq-q[aria-expanded="true"] i{transform:rotate(180deg)}
.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s var(--ease)}
/* Repliée, la réponse sort aussi de la lecture : visibility suit l'animation sans la couper. */
.faq-a > div{overflow:hidden;visibility:hidden;transition:visibility .35s var(--ease)}
.faq-item.is-open .faq-a > div{visibility:visible}
.faq-a p{padding:0 4px 18px;font-size:15px;line-height:1.6;color:var(--muted);max-width:720px}
.faq-item.is-open .faq-a{grid-template-rows:1fr}

/* ---------------- Formulaires ---------------- */
.formulaire{border:1px solid #fff;border-radius:26px;padding:28px;background:linear-gradient(130deg,rgba(255,255,255,.72),rgba(255,255,255,.3))}
.formulaire h2,.formulaire h3{font-size:22px;font-weight:700;letter-spacing:-.5px;color:var(--ink)}
.formulaire .sub{margin-top:4px;font-size:14px;color:var(--muted)}
.grille-champs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.champ{display:flex;flex-direction:column;gap:6px}
.champ.large{grid-column:1 / -1}
.champ label{font-size:14px;font-weight:600;color:var(--ink)}
.champ .aide{font-size:14px;color:var(--muted)}
.champ input,.champ select,.champ textarea{
  font:inherit;font-size:15px;color:var(--ink);width:100%;min-height:44px;
  padding:11px 14px;border:1.5px solid var(--champ-bord);border-radius:14px;
  background:#fff;
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease),background-color .2s var(--ease);
}
.champ input::placeholder,.champ textarea::placeholder{color:var(--placeholder)}
.champ textarea{min-height:140px;resize:vertical}
.champ input:focus-visible,.champ select:focus-visible,.champ textarea:focus-visible{border-color:var(--focus);outline:3px solid var(--focus);outline-offset:1px;border-radius:14px}
.champ.invalide input,.champ.invalide select,.champ.invalide textarea{border-color:#c0392b}
.champ .erreur{font-size:14px;color:#a32d1f;display:none}
.champ.invalide .erreur{display:block}
.case{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;color:var(--muted);line-height:1.5}
.case input{width:18px;height:18px;margin-top:2px;accent-color:var(--accent);flex:none}
.case a{color:var(--accent-deep);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.form-actions{display:flex;gap:12px;align-items:center;margin-top:20px;flex-wrap:wrap}
.form-erreur{font-size:14px;color:#a32d1f;margin-top:12px}
.form-erreur a{color:var(--accent-deep);text-decoration:underline}
.form-erreur.en-cours{color:var(--muted)}
.form-ok{font-size:14px;color:#0f6a4a;margin-top:12px}
.merci{text-align:center;padding:24px 0}
.merci i{font-size:48px;color:var(--accent)}
.merci h3{margin-top:10px;font-size:22px;color:var(--ink)}
.merci p{margin:8px auto 0;max-width:520px;font-size:15px;line-height:1.55;color:var(--muted)}
.merci .form-actions{justify-content:center}

/* Piège à robots : hors écran et hors tabulation, jamais affiché. */
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* Deux colonnes (contact : formulaire + coordonnées ; commande : étapes + récapitulatif) */
.deux-colonnes{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}
/* Une colonne de grille ne descend pas sous la largeur de son contenu sans ceci : un seul
   bouton insécable suffisait à couper tout l'écran de paiement sur téléphone. */
.deux-colonnes>*{min-width:0}
.coordonnees{border:1px solid #fff;border-radius:22px;padding:24px;background:rgba(255,255,255,.44)}
.coordonnees h2{font-size:18px;font-weight:700;color:var(--ink)}
.coordonnees ul{margin-top:14px}
.coordonnees li{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--divider);font-size:14.5px;color:var(--muted);line-height:1.5}
.coordonnees li i{font-size:22px;color:var(--accent-icon);flex:none}
.coordonnees li b{display:block;font-size:13px;color:var(--ink)}
.coordonnees a{color:var(--ink);font-weight:600}
.coordonnees a:hover{color:var(--accent-deep)}

/* ---------------- Tarifs ---------------- */
.tarifs-grille{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,420px));gap:12px}
.tarif-carte{
  display:flex;flex-direction:column;border:1px solid #fff;border-radius:22px;padding:24px;
  background:linear-gradient(130deg,rgba(255,255,255,.72),rgba(255,255,255,.26));
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.tarif-carte:hover{transform:translateY(-3px);box-shadow:0 18px 40px -24px rgba(7,59,80,.35)}
.tarif-carte img{width:56px;height:60px;object-fit:contain;object-position:left center}
.tarif-carte h3{margin-top:14px;font-size:22px;font-weight:700;letter-spacing:-.6px;color:var(--ink)}
.tarif-carte .cat{margin-top:4px;font-size:13.5px;line-height:1.4;color:var(--muted);min-height:38px}
.tarif-carte .prix{margin-top:16px;font-size:26px;font-weight:750;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.tarif-carte .prix small{display:block;font-size:13px;font-weight:500;color:var(--muted);letter-spacing:0;margin-top:2px}
/* Ici les deux boutons sont l'un sous l'autre par construction (une grille d'une
   colonne) : chacun prend toute la largeur de la carte tarif, ce qui laisse la
   place au libellé du Store. Retrait horizontal réduit de 25 à 16 px pour la
   même raison : à 320 px de large, la carte n'offre que 206 px de contenu, et
   le libellé y tient alors sur deux lignes au lieu de trois. Cible de 44 px. */
.tarif-carte .actions{display:grid;gap:8px;margin-top:auto;padding-top:18px}
.tarif-carte .actions .btn{min-height:44px;padding:10px 16px;font-size:14px;white-space:normal;overflow-wrap:break-word;text-wrap:balance}
/* Un lien n'est pas un bouton : dans cette grille il serait étiré sur toute la
   largeur et lu comme un troisième bouton. */
.tarif-carte .actions .card-lien{justify-self:start}
.tarif-carte .actions .card-essai{margin-top:0}
.pack{
  position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:28px;align-items:center;
  margin-top:12px;padding:28px;border-radius:26px;color:#fff;background:var(--ombre-encre);
}
.pack .logo{width:88px;height:88px;border-radius:24px;background:rgba(255,255,255,.96);display:grid;place-items:center}
.pack .logo img{width:52px;height:auto}
/* Voile à 16 % : le blanc du texte n'y tenait que 4,30:1 sur la fin claire du
   dégradé. À 12 %, le fond reste plus sombre et le rapport passe à 4,67:1. */
.pack .badge-pack{display:inline-block;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px;font-weight:600;letter-spacing:.02em}
.pack h3{margin-top:10px;font-size:24px;font-weight:700;letter-spacing:-.5px}
.pack p{margin-top:6px;font-size:15px;color:#cfeff2;line-height:1.5}
.pack .prix{text-align:right}
.pack .prix b{display:block;font-size:34px;font-weight:750;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
/* #9fd6dc : 3,73:1 sur la fin claire du dégradé, sous les 4,5:1 du texte
   courant. #cfeff2, déjà utilisé juste au-dessous, donne 4,92:1. */
.pack .prix s{display:block;font-size:14px;color:#cfeff2}
.pack .prix small{display:block;font-size:13px;color:#cfeff2;margin-top:2px}
.pack .actions{margin-top:14px;display:flex;justify-content:flex-end}
.inclus{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.inclus li{display:flex;align-items:center;gap:10px;font-size:14.5px;color:var(--ink);border:1px solid #fff;border-radius:18px;background:rgba(255,255,255,.44);padding:12px 14px}
.inclus i{font-size:22px;color:var(--accent-icon)}
.bande-cta{
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  padding:28px 32px;border-radius:26px;border:1px solid #fff;
  background:linear-gradient(130deg,rgba(255,255,255,.72),rgba(255,255,255,.3));
}
.bande-cta h2{font-size:22px;font-weight:700;letter-spacing:-.5px;color:var(--ink)}
.bande-cta p{margin-top:4px;font-size:15px;color:var(--muted)}
.bande-cta.marine{background:var(--ombre-encre);border:0;color:#fff}
.bande-cta.marine h2{color:#fff}
.bande-cta.marine p{color:#cfeff2}

/* ---------------- Mentions légales, guides ---------------- */
.legal{max-width:820px;border:1px solid #fff;border-radius:26px;padding:36px 40px;background:rgba(255,255,255,.5)}
.legal .maj{font-size:13px;color:var(--muted)}
.legal-note{margin-top:10px;padding:10px 14px;border-radius:14px;background:var(--tint);color:var(--accent-deep);font-size:13.5px}
html[lang="fr"] .legal-note,html[lang="en"] .legal-note{display:none}
.legal h2{margin-top:26px;font-size:19px;font-weight:700;color:var(--ink)}
.legal p{margin-top:8px;font-size:15px;line-height:1.7;color:var(--muted)}
.legal ul,.legal ol{margin-top:8px;padding-left:22px;font-size:15px;line-height:1.7;color:var(--muted)}
.legal ul{list-style:disc}
.legal p,.legal ul,.legal ol{max-width:68ch}
.legal a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.legal code{font-family:"JetBrains Mono",Consolas,monospace;font-size:13.5px;background:var(--tint);padding:2px 6px;border-radius:6px}
.doc-source{margin-top:26px;padding-top:16px;border-top:1px solid var(--divider);font-size:13.5px;color:var(--muted)}

/* ---------------- Compte / suivi ---------------- */
.compte-grille{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.demo-note{display:flex;gap:10px;align-items:center;margin-bottom:20px;padding:12px 16px;border-radius:14px;background:var(--tint);color:var(--accent-deep);font-size:13.5px}
.demo-note i{font-size:20px;flex:none}
.compte-tete{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.compte-tete h2{font-size:24px;font-weight:700;color:var(--ink)}
.compte-tete p{font-size:14px;color:var(--muted);margin-top:2px}
.onglets{display:flex;gap:4px;border-bottom:1px solid var(--divider);margin-bottom:24px}
.onglets button{position:relative;background:none;border:0;cursor:pointer;padding:12px 18px;font-size:15px;font-weight:600;color:var(--muted);transition:color .2s var(--ease)}
.onglets button::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:var(--accent-rule);transform:scaleX(0);transition:transform .3s var(--ease)}
/* --accent ne tenait que 4,19:1 sur le fond du cadre pour un libellé de 15 px. */
.onglets button[aria-selected="true"]{color:var(--accent-deep)}
.onglets button[aria-selected="true"]::after{transform:scaleX(1)}
.commande-liste{display:grid;gap:14px}
.commande-carte{border:1px solid #fff;border-radius:22px;padding:20px 24px;background:rgba(255,255,255,.5)}
.commande-carte header{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}
.commande-carte header b{font-size:16px;color:var(--ink)}
.commande-carte header time{font-size:13.5px;color:var(--muted);margin-left:10px}
.statut{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:600}
.statut.attente{background:#fff4e0;color:#8a5200}
.statut.validee{background:#e2f7ef;color:#0f6a4a}
.commande-carte ul{margin-top:12px}
.commande-carte li{display:flex;justify-content:space-between;gap:12px;font-size:14.5px;color:var(--muted);padding:6px 0;border-top:1px solid var(--divider)}
.commande-carte .total{margin-top:10px;text-align:right;font-weight:700;color:var(--ink);font-size:15px}
.licence-carte{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;border:1px solid #fff;border-radius:22px;padding:16px 20px;background:rgba(255,255,255,.5)}
.licence-carte img{width:44px;height:auto}
.licence-carte b{display:block;font-size:16px;color:var(--ink)}
.licence-carte code{display:inline-block;margin-top:4px;font-family:"JetBrains Mono",Consolas,monospace;font-size:14px;letter-spacing:.04em;color:var(--accent-deep);background:var(--tint);padding:3px 8px;border-radius:8px}
.licence-carte .attente-cle{display:block;margin-top:4px;font-size:13px;font-weight:600;color:var(--accent-deep)}
.licence-carte small{display:block;margin-top:4px;font-size:12.5px;color:var(--muted)}
.vide-etat{text-align:center;padding:36px 20px;border:1px dashed var(--divider);border-radius:22px;background:rgba(255,255,255,.35)}
.vide-etat i{font-size:40px;color:var(--accent-icon);opacity:.6}
.vide-etat h1,.vide-etat h2{margin-top:8px;font-size:24px;letter-spacing:-.5px;color:var(--ink)}
.vide-etat p{margin-top:8px;font-size:15px;color:var(--muted)}
.vide-etat .btn{margin-top:16px}

/* ---------------- Commande ---------------- */
.etapes{display:flex;gap:8px;margin-bottom:24px;padding:0;counter-reset:etape}
.etape-texte{display:none}
.etapes li{
  flex:1;display:flex;align-items:center;gap:10px;padding:12px 14px;
  border-radius:40px;border:1px solid #fff;background:rgba(255,255,255,.35);font-size:14px;font-weight:600;color:var(--muted);
}
.etapes li::before{
  counter-increment:etape;content:counter(etape);display:grid;place-items:center;flex:none;
  width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.8);color:var(--muted);font-size:13px;
}
.etapes li.actif{border-color:var(--accent);background:rgba(255,255,255,.7);color:var(--ink)}
.etapes li.actif::before{background:var(--accent);color:#fff}
.etapes li.fait{color:#0f6a4a}
.etapes li.fait::before{background:#e2f7ef;color:#0f6a4a;content:"✓"}
.etape-panneau{display:none}
.etape-panneau.actif{display:block;animation:etapeIn .4s var(--ease) both}
.etape-panneau h2[tabindex="-1"]:focus{outline:none}
@keyframes etapeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.lignes-panier{display:grid;gap:10px}
/* Place gardée pour la ligne que le script écrit : le récapitulatif ne bouge plus au chargement. */
.lignes-panier:not(.pret){min-height:77px}
@media (max-width:700px){.lignes-panier:not(.pret){min-height:139px}}
@media (max-width:520px){.lignes-panier:not(.pret){min-height:158px}}
@media (max-width:359px){.lignes-panier:not(.pret){min-height:200px}}
.ligne-panier{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:16px;align-items:center;border:1px solid #fff;border-radius:22px;padding:14px 18px;background:rgba(255,255,255,.5)}
.ligne-panier img{width:44px;height:auto}
.ligne-panier b{display:block;font-size:16px;color:var(--ink)}
.ligne-panier small{display:block;font-size:13px;color:var(--muted)}
.ligne-panier .montant{font-weight:700;color:var(--ink);font-size:15px;min-width:100px;text-align:right;font-variant-numeric:tabular-nums}
.ligne-panier .suppr{min-width:44px;min-height:44px;background:none;border:0;cursor:pointer;color:var(--muted);font-size:20px;padding:6px;border-radius:10px}
.ligne-panier .suppr:hover{color:#a32d1f;background:#fbe9e6}
.recap{position:sticky;top:120px;border:1px solid #fff;border-radius:22px;padding:22px;background:linear-gradient(130deg,rgba(255,255,255,.72),rgba(255,255,255,.3))}
.recap h2{font-size:18px;font-weight:700;color:var(--ink)}
.recap ul{margin-top:12px}
.recap li{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted);padding:7px 0;border-top:1px solid var(--divider)}
.recap .total{display:flex;justify-content:space-between;margin-top:10px;padding-top:12px;border-top:2px solid var(--divider);font-size:16px;font-weight:700;color:var(--ink)}
.recap .note{margin-top:12px;font-size:12.5px;color:var(--muted);line-height:1.5}
.choix-paiement{display:grid;gap:10px;border:0;margin:0;padding:0;min-width:0}
.choix-paiement label{
  display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:14px;align-items:center;
  padding:14px 16px;border:1px solid #fff;border-radius:18px;background:rgba(255,255,255,.5);cursor:pointer;
  transition:border-color .2s var(--ease),background-color .2s var(--ease);
}
.choix-paiement label:has(input:checked){border-color:var(--accent);background:rgba(255,255,255,.8)}
.choix-paiement label.off{cursor:not-allowed}
.choix-paiement label.off b,.choix-paiement label.off i{color:var(--muted)}
.choix-paiement input{accent-color:var(--accent);width:18px;height:18px}
.choix-paiement i{font-size:26px;color:var(--accent-icon)}
.choix-paiement b{display:block;font-size:15px;color:var(--ink)}
.choix-paiement span{display:block;font-size:13px;color:var(--muted)}
.operateurs{margin:8px 0 0 64px}
.confirmation{border:1px solid #fff;border-radius:26px;padding:28px;background:linear-gradient(130deg,rgba(255,255,255,.72),rgba(255,255,255,.3))}
.confirmation h2{font-size:26px;line-height:1.2;font-weight:700;letter-spacing:-.5px;color:var(--ink)}
.confirmation .numero{margin-top:16px;display:inline-flex;flex-direction:column;gap:2px;padding:12px 18px;border-radius:16px;background:var(--tint)}
.confirmation .numero span{font-size:12.5px;color:var(--accent-deep)}
.confirmation .numero b{font-size:22px;letter-spacing:.04em;color:var(--accent-deep)}
.confirmation h3.sous{margin-top:22px;font-size:17px;color:var(--ink)}
.confirmation .lignes-conf{margin-top:10px;max-width:520px}
.confirmation .lignes-conf li{display:flex;justify-content:space-between;gap:12px;font-size:14.5px;color:var(--muted);padding:7px 0;border-top:1px solid var(--divider)}
.confirmation .lignes-conf li.total{font-weight:700;color:var(--ink);border-top:2px solid var(--divider)}
.confirmation .licences{display:grid;gap:10px;margin-top:12px}
.confirmation .note,.note{font-size:14px;color:var(--muted);line-height:1.5}
.confirmation .note{margin-top:10px}

/* ---------------- 404 ---------------- */
.p404{text-align:center;padding:60px 0 80px}
/* Le « 404 » est un filigrane, mais il reste du texte affiché : le blanc à 90 %
   ne donnait que 1,14:1 sur le fond du cadre. Ce bleu ardoise garde l'effet de
   filigrane et atteint 3,27:1, le seuil des grands textes. */
.p404 .code{font-size:96px;font-weight:750;letter-spacing:-.05em;line-height:1;color:#5f8b96}
.p404 h1{margin-top:8px;font-size:32px;letter-spacing:-.04em;color:var(--ink)}
.p404 p{margin-top:8px;font-size:16px;color:var(--muted)}
.p404 .btn{margin-top:22px}

/* ---------------- Cartes produit générées (catalogue, fiche) ---------------- */
.grid-libre{margin-top:0}
.grid-libre.trois{grid-template-columns:repeat(3,minmax(0,1fr))}
.card-libre .cat,.card-libre .desc,.card-libre .card-foot,.card-libre .card-essai{white-space:normal}

/* ---------------- Téléchargements ---------------- */
.dl-liste{display:grid;gap:12px}
.dl-carte{
  display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:20px;align-items:center;
  border:1px solid #fff;border-radius:22px;padding:20px 24px;
  background:linear-gradient(130deg,rgba(255,255,255,.72),rgba(255,255,255,.3));
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.dl-carte:hover{transform:translateY(-2px);box-shadow:0 18px 40px -24px rgba(7,59,80,.35)}
.dl-carte > img{width:52px;height:auto}
.dl-carte h3{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:700;letter-spacing:-.4px;color:var(--ink)}
.dl-carte .cat{margin-top:2px;font-size:14.5px;color:var(--muted)}
.dl-badge{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#0f6a4a;background:#e2f7ef;border-radius:999px;padding:3px 9px}
.dl-meta{margin-top:8px;font-size:13.5px;color:var(--muted)}
.dl-sha{margin-top:10px;font-size:13px;color:var(--muted)}
.dl-sha summary{cursor:pointer;color:var(--accent-deep);width:fit-content}
.dl-sha summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.dl-sha code{display:block;margin-top:8px;overflow-wrap:anywhere;font-family:"JetBrains Mono",Consolas,monospace;font-size:12.5px;color:var(--accent-deep);background:var(--tint);padding:8px 10px;border-radius:10px}
.dl-sha p{margin-top:8px}
.dl-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch}
.dl-actions .btn{white-space:nowrap;min-height:42px;padding:8px 20px;font-size:14.5px}
.dl-actions .btn-page{min-height:46px}
.dl-attente{display:grid;place-items:center;font-size:13.5px;font-weight:600;color:var(--muted);border:1px dashed var(--divider);border-radius:40px;background:rgba(255,255,255,.35);padding:10px 16px}
.dl-carte.est-bientot > img,.dl-carte.est-bientot .dl-txt{opacity:.72}
.dl-echec{font-size:15px;color:var(--muted)}
.dl-store-note{display:flex;align-items:flex-start;gap:10px;margin-top:14px;max-width:720px;font-size:14px;line-height:1.5;color:var(--accent-deep);background:var(--tint);border-radius:14px;padding:10px 14px}
.dl-store-note i{flex:none;font-size:18px;margin-top:1px}
.bande-cta .dl-meta{margin-top:10px}

/* Galerie de captures d'écran de la fiche produit */
.captures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.capture{margin:0;border:1px solid #fff;border-radius:22px;overflow:hidden;background:rgba(255,255,255,.6);box-shadow:0 24px 60px -34px rgba(7,59,80,.5)}
.capture img{display:block;width:100%;height:auto}
.capture figcaption{padding:12px 16px;font-size:14px;color:var(--muted)}

/* Paiement Wave dans la confirmation de commande */
.wave-pay{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:14px}
.wave-pay .btn{align-self:stretch;max-width:340px;justify-content:center}
.wave-ou{font-size:14px;color:var(--muted);margin:0}
.wave-qr{display:block;width:min(270px,100%);height:auto;aspect-ratio:1;border:1px solid #fff;border-radius:18px;background:#fff;padding:10px;image-rendering:pixelated}
.wave-tete{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.wave-logo{height:44px;width:auto}
.wave-montant{margin:0}
.wave-montant span{display:block;font-size:14px;color:var(--muted)}
.wave-montant b{display:block;font-size:28px;line-height:1.15;font-weight:750;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.wave-ref{margin:0}

/* Transmission de la commande (WhatsApp / email) dans la confirmation */
/* Ce qu'il reste à faire : payer, puis envoyer la capture. Même bloc en fin de commande et
   sur le suivi. Les boutons peuvent passer à la ligne : ils ne doivent jamais couper l'écran. */
.conf-actions{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px;counter-reset:conf}
.conf-actions>li{position:relative;padding:18px 18px 18px 62px;border:1px solid #fff;border-radius:18px;background:rgba(255,255,255,.55)}
.conf-actions>li::before{counter-increment:conf;content:counter(conf);position:absolute;left:18px;top:16px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;font-size:15px;font-weight:700}
.conf-actions h3{font-size:17px;line-height:1.5;font-weight:700;color:var(--ink);margin:0 0 8px}
.conf-actions p{font-size:15px;line-height:1.55;color:var(--ink)}
.conf-actions .note,.a-regler .note{font-size:14px;color:var(--muted);margin-top:10px}
.conf-actions .btn,.wave-pay .btn{white-space:normal;text-align:center;max-width:100%}
.conf-actions>li>.btn{display:inline-flex;margin-top:2px}
.conf-delai{margin-top:14px}
.copie-ligne{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;margin-top:10px}
.copie-ligne span{flex:0 0 100%;font-size:13.5px;color:var(--muted)}
.copie-ligne b{font-size:17px;letter-spacing:.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.btn-copier{min-height:44px;padding:0 14px;border:1px solid var(--accent-deep);border-radius:12px;background:transparent;color:var(--accent-deep);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.btn-copier:hover{background:var(--tint)}
.wave-qr-bloc summary,.conf-plus summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:15px;font-weight:600;color:var(--accent-deep)}
.conf-plus{margin-top:14px;border-top:1px solid var(--divider);padding-top:6px}
.a-regler{margin-top:18px}
.a-regler>h3{font-size:19px;font-weight:700;color:var(--ink)}
.rappel-tel{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;margin-top:6px;font-size:15px;color:var(--ink)}
.lien-texte{min-height:44px;padding:0;border:0;background:none;font:inherit;font-weight:600;color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.champ .aide{display:block;margin-top:4px;font-size:14px;line-height:1.45;color:var(--muted)}
/* Sur téléphone : pas de lien inutile vers l'ordinateur. */
.vers-pc{border:0;border-radius:22px;padding:24px;width:min(440px,calc(100vw - 32px));color:var(--ink);background:#fff}
.vers-pc::backdrop{background:rgba(7,59,80,.45)}
.vers-pc h2{font-size:21px;line-height:1.25;font-weight:700;letter-spacing:-.3px;padding-right:40px}
.vers-pc p{margin-top:10px;font-size:15.5px;line-height:1.55;color:var(--muted)}
.vers-pc .vers-pc-actions{display:grid;gap:10px;margin-top:18px}
.vers-pc .btn{width:100%;justify-content:center;white-space:normal;text-align:center}
.vers-pc .btn-soft{border-color:var(--accent-deep);color:var(--accent-deep)}
.vers-pc .vers-pc-fermer{position:absolute;top:14px;right:14px}
.vers-pc [data-quand-meme]{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;font-size:14.5px;color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}

/* ---------------- Impression du récapitulatif ---------------- */
@media print{
  body{padding:0;background:#fff}
  .site{border:0;border-radius:0;box-shadow:none;background:#fff}
  .head,.foot,.etapes,.recap,.confirmation .form-actions,.cart,.scrim,.toast,.scenery{display:none !important}
  .bandeau h1,.bandeau .sub{color:#000}
  .confirmation{border:0;padding:0;background:none}
  .deux-colonnes{grid-template-columns:minmax(0,1fr)}
}

/* ---------------- Mouvement réduit ---------------- */
/* La règle universelle de styles.css ramène déjà toutes les transitions de cette
   feuille à une durée nulle. On coupe ici les deux mouvements qui lui sont
   propres, pour qu'ils n'apparaissent pas comme un saut : le panneau d'étape
   s'affiche sans glissement, l'accordéon s'ouvre sans déroulement. */
@media (prefers-reduced-motion:reduce){
  .etape-panneau.actif{animation:none}
  .faq-a,.faq-a > div,.barre-achat{transition:none}
  .tuile:hover,.tarif-carte:hover,.dl-carte:hover{transform:none}
}

/* ---------------- Tablette et mobile ---------------- */
@media (max-width:1179px){
  .bandeau-in{padding-block:28px 8px}
  .bandeau h1{font-size:34px}
  .bandeau .sub{font-size:16px}
  .bandeau-produit{grid-template-columns:100px minmax(0,1fr);gap:20px}
  .bandeau-produit .logo{width:100px;height:100px;border-radius:24px}
  .bandeau-produit .logo img{width:64px}
  .bandeau-produit .prix{grid-column:1 / -1;text-align:left}
  /* Le prix repasse à gauche sur toute la largeur : les boutons le suivent, et
     la borne de 340 px cède la place à 420 px, la ligne étant plus longue. */
  .bandeau-produit .actions{justify-content:flex-start;flex-wrap:wrap;margin-left:0;max-width:420px}
  .section{padding:28px 0}
  .tuiles,.tuiles-4,.tuiles-2,.tarifs-grille,.inclus,.liste-fonctions,.compte-grille,.grille-champs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-libre.trois{grid-template-columns:repeat(2,minmax(0,1fr))}
  .deux-colonnes{grid-template-columns:minmax(0,1fr)}
  .recap{position:static}
  .pack{grid-template-columns:auto minmax(0,1fr)}
  .pack .prix{grid-column:1 / -1;text-align:left}
  .pack .actions{justify-content:flex-start}
  .legal{padding:24px 20px}
  .dl-carte{grid-template-columns:48px minmax(0,1fr);gap:16px;padding:20px}
  .dl-carte > img{width:44px}
  .dl-actions{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap}
  .dl-actions .btn,.dl-attente{flex:1 1 auto}
}
@media (max-width:760px){.captures{grid-template-columns:1fr}}
@media (max-width:700px){
  .tuiles,.tuiles-4,.tuiles-2,.tarifs-grille,.inclus,.liste-fonctions,.compte-grille,.grille-champs,.grid-libre.trois{grid-template-columns:1fr}
  .champ.large{grid-column:auto}
  /* « Téléchargements » à 30 px mesure 239 px : il se faisait rogner par le
     cadre sous 350 px de large. La taille ne cède que sur ces écrans-là. */
  .bandeau h1{font-size:min(30px,8.6vw)}
  .bandeau-produit{grid-template-columns:1fr}
  .licence-carte{grid-template-columns:auto minmax(0,1fr)}
  .licence-carte .btn{grid-column:1 / -1}
  .p404 .code{font-size:72px}
  .dl-carte{grid-template-columns:1fr}
  .dl-carte > img{width:44px}
  .dl-actions{flex-direction:column}
  /* « Obtenir sur le Microsoft Store » sur une seule ligne mesure 282 px : la
     carte ne pouvait pas descendre en dessous et se faisait rogner par le cadre
     sur un écran de 375 px. Le libellé passe à la ligne. */
  .dl-actions .btn{white-space:normal}
  .formulaire{padding:22px;border-radius:22px}
  .pack{padding:22px}
  .bande-cta{padding:22px}
}

/* ---------- Tunnel de commande sur téléphone ---------- */
@media (max-width:640px){
  .etapes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:6px}
  .etapes li{display:block;height:5px;padding:0;border:0;border-radius:3px;background:var(--divider);font-size:0;overflow:hidden}
  .etapes li::before{display:none}
  .etapes li.actif,.etapes li.fait{background:var(--accent);border:0}
  .etape-texte{display:block;margin:0 0 16px;font-size:15px;font-weight:600;color:var(--ink)}
  .confirmation{padding:18px}
  .conf-actions>li{padding:14px}
  .conf-actions>li::before{position:static;display:inline-grid;margin:0 8px 0 0;vertical-align:middle;width:26px;height:26px;font-size:14px}
  .conf-actions h3{display:inline;vertical-align:middle}
  .conf-actions h3+*{margin-top:10px}
  .wave-pay .btn,.conf-actions>li>.btn{width:100%;justify-content:center;margin-top:10px}
}

/* Fiche produit : ce qu'il faut savoir, et les limites dites franchement. */
.faits-produit,.pas-encore{margin-top:22px;max-width:760px}
.faits-produit h3,.pas-encore h3{font-size:18px;font-weight:700;color:var(--ink)}
.faits-produit ul{list-style:disc;margin:8px 0 0;padding-left:20px}
.faits-produit li{margin:4px 0;font-size:15.5px;line-height:1.55;color:var(--ink)}
.pas-encore{padding-left:14px;border-left:3px solid var(--accent)}
.pas-encore p{margin-top:6px;font-size:15.5px;line-height:1.55;color:var(--ink)}

/* Catalogue : Permy sur toute la largeur, les applications à venir sur trois colonnes. */
@media (min-width:901px){
  #appGrid[data-catalogue]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  #appGrid[data-catalogue]{grid-template-columns:minmax(0,1fr)}
}

/* Contour de focus sur fond sombre : le teal s'y perdait. */
.bande-cta.marine :focus-visible,.pack :focus-visible{outline-color:#fff}

/* Le bouton qui fait payer : le teal le plus sombre, pour le lire en plein soleil. */
.conf-actions .btn-primary,.wave-pay .btn-primary{background:var(--accent-deep);border-color:var(--accent-deep)}

/* Sommaire des longs documents */
.sommaire{margin-top:18px;padding:14px 18px;border-radius:14px;background:var(--tint);max-width:68ch}
.sommaire p{margin:0;font-size:15px;font-weight:700;color:var(--ink)}
.sommaire ol{margin-top:6px;padding-left:22px;list-style:decimal}
.sommaire ol li{line-height:1.35}
.sommaire a{display:inline-block;padding:4px 0}

/* Document écrit en français seulement : la note ne s'adresse qu'aux autres langues. */
.doc-note{max-width:820px;margin-bottom:12px;padding:10px 14px;border-radius:14px;background:var(--tint);color:var(--accent-deep);font-size:14px}
html[lang="fr"] .doc-note{display:none}
.doc-technique{margin-top:10px;font-size:15px;color:var(--muted)}
.doc-technique summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--accent-deep)}

/* Capture : le lien mène à l'image entière, lisible sur téléphone. */
.capture a{display:block}

/* Barre d'achat de la fiche, sur téléphone, une fois les boutons de tête passés. */
.barre-achat{display:none}

@media (max-width:700px){
  .barre-achat{
    position:fixed;left:0;right:0;bottom:0;z-index:55;display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));
    background:var(--panel);border-top:1px solid var(--divider);box-shadow:0 -10px 30px -18px rgba(7,59,80,.4);
    transform:translateY(110%);visibility:hidden;
    transition:transform .3s var(--ease),visibility .3s var(--ease);
  }
  .barre-achat.visible{transform:none;visibility:visible}
  .barre-achat b{font-size:18px;font-weight:750;color:var(--ink);font-variant-numeric:tabular-nums}
  body:has(#barreAchat) .foot{padding-bottom:92px}
  body:has(.barre-achat.visible) .proposition-langue{bottom:84px}

  /* Plancher de lecture */
  .champ input,.champ select,.champ textarea{font-size:16px}
  .legal p,.legal ul,.legal ol,.legal.doc ul,.legal.doc ol,.faq-a p,.texte,.tuile p,.merci p,.vide-etat p,.bande-cta p,.formulaire .sub,.formulaire>.note,.liste-fonctions li,.coordonnees li,.section-tete p,.pas-encore p,.faits-produit li{font-size:16px}
  .note,.confirmation .note,.recap .note,.legal .maj,.legal-note,.ligne-panier small,.coordonnees li b,.legal code,.tarif-carte .cat,.tarif-carte .prix small,.dl-badge,.dl-meta,.dl-sha,.dl-sha code,.dl-attente,.dl-actions .card-lien,#produitParPoste,.doc-source,.statut,.legal.doc code,.choix-paiement span,.copie-ligne span,.licence-carte small,.licence-carte .attente-cle,.confirmation .numero span,.pack .badge-pack,.pack .prix small,.demo-note,.etapes li::before{font-size:14px}
  /* Cibles */
  .coordonnees li a,.tuile a.lien,.dl-sha summary,.sommaire a,.note>a{display:inline-flex;align-items:center;min-height:44px}
  .dl-actions .btn{min-height:44px;font-size:15px}
  .tarif-carte .actions .btn{font-size:15px}
  .sommaire a{padding:8px 0}

  /* Une ligne du panier : le nom et la corbeille, puis la quantité et le montant. */
  .ligne-panier{grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"logo nom suppr" "qty qty montant"}
  .ligne-panier img{grid-area:logo}
  .ligne-panier>div{grid-area:nom}
  .ligne-panier .qty{grid-area:qty;justify-self:start}
  .ligne-panier .montant{grid-area:montant;grid-column:auto;text-align:right;align-self:center}
  .ligne-panier .suppr{grid-area:suppr}

  /* « Les autres applications » : un rappel, pas une seconde page. */
  #autresApps .card{min-height:0;padding:16px}
  #autresApps .desc{display:none}
  #autresApps .applogo{width:48px}
  #autresApps .card-top{gap:14px}
  #autresApps .card-lien{margin-top:0}
}
