/* Site vitrine (planigroup.fr) — mêmes tokens que app.css (navy + accent
   cyan), composants propres au site marketing (hero, tarifs, FAQ…), et sa
   propre police de lecture (cf. ci-dessous). Charger APRÈS app.css. */

html, body { background: #fff; }

/* ── Police du site vitrine : Inter, pas Outfit ──
   Outfit est une police d'affichage (formes géométriques, contreformes fermées) :
   très bien en gros titre, fatigante à lire en paragraphe et en petit corps —
   c'est ce qui a motivé le changement (essai validé sur /offres.html d'abord,
   étendu à tout le site le 2026-08-11). Inter est dessinée pour l'écran :
   hauteur d'x plus grande (donc plus lisible à taille égale) et lettres plus
   ouvertes. La console et l'écran de connexion gardent Outfit (valeur par
   défaut de `--font` dans app.css) : seul le site vitrine est concerné.
   ⚠️ La variable est posée sur `.site`, donc sur l'élément <body> qui porte la
   classe : elle se propage à toute la page par héritage. Toute page ajoutée au
   site doit charger Inter dans son <link> Google Fonts, sinon elle retombe en
   silence sur Segoe UI. */
.site { --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-family: var(--font); }
.site a { text-decoration: none; }
.site section { padding: 72px 32px; }
.site .wrap { max-width: 1240px; margin: 0 auto; }
.site .wrap.narrow { max-width: 720px; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
/* Bandeau agrandi de 15 % le 2026-08-11 (logo et mot « Planigroup » compris) : il
   était jugé trop petit. ⚠️ `.bar` est en `nowrap` par défaut — un dépassement ne
   se voit donc PAS par un retour à la ligne, il pousse la page à déborder
   horizontalement. La largeur critique n'est pas 1440 mais **1247 px** (mesurée le
   2026-08-19 après l'ajout du 7e lien « Télécharger » : brand+nav+login+padding =
   1232 px de contenu + 15 px de barre de défilement), juste au-dessus de la
   bascule hamburger, là où les sept liens, la marque et le bouton se disputent la
   ligne. Toute nouvelle rubrique doit être remesurée là. */
.site-header .bar { max-width: 1240px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 18px; min-height: 55px; }
.site-brand { display: flex; align-items: center; gap: 11.5px; flex-shrink: 0; color: var(--navy); }
.site-brand img { width: 37px; height: 37px; border-radius: 9px; object-fit: cover; }
.site-brand span { font-size: 19.5px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; min-width: 0; margin-left: 8px; }
.site-nav a { font-size: 15.5px; font-weight: 600; padding: 8px 12.5px; border-radius: var(--rs); color: var(--muted); white-space: nowrap; }
.site-nav a:hover { color: var(--navy); }
.site-nav a.active { color: var(--navy); background: var(--bg); }
.site-login-btn { border: 0; background: var(--navy); color: #fff;
  font-family: var(--font); font-weight: 600; font-size: 16px; line-height: normal; padding: 11.5px 23px;
  border-radius: var(--rs); cursor: pointer; display: inline-flex; align-items: center; text-decoration: none;
  flex-shrink: 0; }
.site-login-btn:hover { background: var(--navy2); }
.site-hamburger { display: none; background: none; border: 0; color: var(--navy); font-size: 25px; line-height: 1;
  cursor: pointer; padding: 4px 8px; border-radius: var(--rs); }
.site-mobile-nav { display: none; flex-direction: column; padding: 8px 20px 16px; border-top: 1px solid var(--border); }
.site-mobile-nav a { padding: 11.5px 4px; font-size: 16.5px; font-weight: 600; color: var(--text2); border-bottom: 1px solid var(--border); }
.site-mobile-nav a.active { color: var(--navy); }
.site-mobile-nav a:last-child { border-bottom: 0; }

/* Bascule vers le menu ☰. Le seuil suit la largeur dont les rubriques ont
   RÉELLEMENT besoin, mesurée, pas un chiffre rond : 1250 px depuis l'ajout du
   lien « Télécharger » le 2026-08-19 (1010 px avant, pour six liens). À 1010 px,
   l'ancien seuil, les sept liens dépassaient de ~240 px — et la barre étant en
   `nowrap`, rien ne le signalait par un retour à la ligne, seulement un
   débordement horizontal de toute la page. Retoucher le nombre ou la taille des
   liens sans remesurer ce seuil rouvre le défaut. */
@media (max-width: 1250px) {
  .site-nav { display: none; }
  .site-hamburger { display: flex; align-items: center; }
  .site-header.open .site-mobile-nav { display: flex; }
}

/* Téléphones étroits : la marque garde la taille demandée (logo + « Planigroup »),
   on récupère les 44 px manquants sur les marges et le bouton, qui ne portent
   aucune information. Sans cela la page déborde horizontalement dès 430 px. */
@media (max-width: 460px) {
  .site-header .bar { padding: 12px 14px; gap: 12px; }
  .site-login-btn { font-size: 14.5px; padding: 10px 16px; }
  .site-hamburger { padding: 4px 2px; }
}

/* ── Hero ── */
.hero { background: var(--navy); padding: 80px 32px 64px; }
.hero .grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-block; background: var(--primary-l); color: var(--primary-d); font-size: 12.5px;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; }
.hero p { font-size: 17px; color: #a9b6c8; line-height: 1.6; margin: 0 0 32px; max-width: 480px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn.outline { background: transparent; border: 1px solid #33445c; color: #fff; }
.hero .btn.outline:hover { background: rgba(255,255,255,.06); }
.hero img { width: 100%; border-radius: 14px; box-shadow: 0 24px 64px rgba(0,0,0,.4); display: block; }

/* ── Bandeau info ── */
.info-band { background: var(--primary-l); border-top: 1px solid #bae6fd; border-bottom: 1px solid #bae6fd; padding: 24px 32px; }
.info-band p { max-width: 1240px; margin: 0 auto; font-size: 15.5px; color: #0c4a6e; line-height: 1.6; font-weight: 500; }

/* ── Cartes valeur / engagement ── */
.value-grid { background: var(--surface-2); }
.value-grid .grid3, .pricing-grid .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-grid .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 2px 14px rgba(13,27,42,.06); }
.value-card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-l); display: flex;
  align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.value-card h3 { font-size: 17.5px; font-weight: 700; margin: 0 0 8px; }
.value-card p { font-size: 14.5px; color: var(--text2); line-height: 1.6; margin: 0; }

/* ── Section header générique ── */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
.sec-head p { font-size: 15.5px; color: var(--text2); margin: 0; }

/* ── Carrousel ── */
.carousel-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.carousel-tabs button { border: 0; background: transparent; cursor: pointer; font-family: var(--font); font-weight: 600; font-size: 13px; line-height: normal; padding: 8px 16px; border-radius: var(--rs); color: var(--muted); }
.carousel-tabs button.active { background: var(--navy); color: #fff; }
.carousel-frame { position: relative; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.carousel-viewport { height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 10px; }
.carousel-viewport img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 28px rgba(13,27,42,.12); display: block; }
.carousel-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(13,27,42,.1); }
.carousel-nav-btn.prev { left: 16px; }
.carousel-nav-btn.next { right: 16px; }
.carousel-label { text-align: center; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--text2); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel-dots button { border: 0; padding: 0; cursor: pointer; width: 8px; height: 8px; border-radius: 999px; background: #d7dee6; transition: all .15s; }
.carousel-dots button.active { width: 22px; background: var(--accent2); }

/* ── Bandes CTA sombres ── */
.cta-band { background: var(--navy); padding: 64px 32px; }
.cta-band .row { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-band h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.cta-band p { font-size: 14.5px; color: #a9b6c8; margin: 0; }
.cta-band .actions { display: flex; gap: 14px; }

/* ── Footer ── */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 48px 32px 28px; }
.site-footer .cols { max-width: 1240px; margin: 0 auto 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand-col { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.site-footer .brand-col img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.site-footer .brand-col span { font-size: 16px; font-weight: 800; color: var(--navy); }
.site-footer .baseline { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; max-width: 260px; }
.site-footer h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin: 0 0 12px; }
.site-footer .links { display: flex; flex-direction: column; gap: 9px; }
.site-footer .links a { font-size: 13.5px; color: var(--text2); }
.site-footer .links a:hover { color: var(--navy); }
.site-footer .bottom { max-width: 1240px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); }

/* ── Offres / tarifs ── */
.pricing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 4px; gap: 2px; }
.pricing-toggle button { border: 0; font-family: var(--font); font-weight: 600; font-size: 13.5px; line-height: normal; padding: 9px 20px; border-radius: 8px; cursor: pointer; background: transparent; color: var(--text2); }
.pricing-toggle button.active { background: var(--navy); color: #fff; }
/* Second exemplaire du sélecteur, au-dessus du tableau comparatif : il se centre
   tout seul (`.sec-head` est en text-align:center, le sélecteur est inline-flex),
   il ne lui manque que l'écart avec le sous-titre. */
.sec-head .pricing-toggle { margin-top: 18px; }
.pricing-card { border: 1px solid var(--border); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid var(--accent2); box-shadow: 0 12px 32px rgba(14,165,233,.14); position: relative; }
.pricing-card .tag { position: absolute; top: -13px; left: 32px; background: var(--accent2); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pricing-card .plan-name { font-size: 13px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.pricing-card .price { font-size: 34px; font-weight: 800; margin-bottom: 2px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
/* Prix barré = tarif normal appliqué après l'offre de lancement (jamais un prix
   pratiqué antérieurement) ; masqué par site-offres-page.js passé PROMO_END.
   Ne sert plus qu'au repli texte (cf. .price-img juste en dessous), mais il doit
   rester présentable : c'est lui qui s'affiche si /api/plans annonce un tarif
   différent de celui gravé dans l'image. */
.pricing-card .price .price-was { font-size: 21px; font-weight: 600; color: var(--text2); text-decoration-thickness: 2px; }
.pricing-card .price .price-text { display: flex; align-items: baseline; gap: 10px; }
/* ── Prix en image (cartes seulement — l'en-tête du tableau comparatif est resté
   en texte) ──
   Les quatre images partagent le même cadrage (chiffres à la même hauteur, ligne de
   base au même endroit) : une hauteur imposée ici suffit donc pour les deux formules
   ET les deux périodicités, sans saut de taille à la bascule mensuel/annuel. Largeur
   libre — elle change avec le nombre de chiffres. Les marges reconstituent la hauteur
   de ligne du texte remplacé (34px), sinon « par mois » ne serait plus aligné avec
   celui de la carte Gratuit, restée en texte. */
.pricing-card .price .price-img { display: block; width: auto; height: 30px; margin: 6px 0 5px; }
.pricing-card .period { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
/* Carte avec mention de lancement : le bloc promo reprend l'écart avant la liste
   (dégradation propre si :has() n'est pas géré — l'écart reste seulement plus large). */
.pricing-card:has(.promo-line) .period { margin-bottom: 6px; }
.promo-line { font-size: 12.5px; font-weight: 600; color: var(--accent2); margin-bottom: 20px; }
.promo-banner { display: inline-block; max-width: 640px; background: var(--primary-l); border: 1px solid var(--accent2);
  border-radius: 12px; padding: 10px 18px; margin: 0 0 22px; font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.pricing-card ul { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pricing-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--text2); }
.pricing-card ul li .ck { color: var(--accent2); flex-shrink: 0; }
.pricing-card .btn { width: 100%; }
.pricing-note { max-width: 1180px; margin: 24px auto 0; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ── Tableau comparatif ── */
/* Rayon, fond ET bordure sont portés par le défileur, jamais par la table : un
   `overflow:hidden` posé sur `table.compare` (l'ancienne façon de clipper le rayon)
   en faisait un conteneur de défilement à part entière, et la colonne `sticky`
   ci-dessous se calait alors sur la table elle-même — qui ne défile jamais. Elle
   restait donc collée à rien du tout. Même correctif que `.matrix-wrap` dans
   app.css ; c'est un piège muet, le CSS sticky écrit ne prouve rien tant qu'on n'a
   pas fait défiler le tableau pour de vrai. */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; box-shadow: 0 2px 14px rgba(13,27,42,.06);
  background: #fff; border: 1px solid var(--border); }
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
table.compare th, table.compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: center; font-size: 14px; color: var(--text2); }
table.compare tr:last-child td { border-bottom: 0; }
table.compare th:first-child, table.compare td:first-child { text-align: left; position: sticky; left: 0; background: #fff; font-weight: 600; color: var(--navy); white-space: nowrap; z-index: 1; }
table.compare thead th { background: var(--navy); color: #fff; padding: 20px 18px 16px; vertical-align: top; }
/* Coin haut-gauche : case vide, on y pose le logo. En image de FOND et non en
   <img> — un fond ne participe jamais au calcul de la taille d'une cellule, la
   colonne et la hauteur de l'en-tête restent donc exactement celles imposées par
   les trois colonnes de formules. Le logo est carré : c'est la hauteur qui limite,
   d'où `auto <hauteur>` plutôt que `contain`, avec 22px réservés pour ne pas
   toucher les bords. `background-size` DOIT rester après le raccourci `background`,
   qui le réinitialise. On sert logo.png (1024px) et non logo-96.png : à ~100px de
   côté, le 96 serait flou sur tout écran HiDPI. Centré dans les deux axes : la
   largeur de cette colonne est dictée par le plus long libellé du corps du tableau,
   un calage à gauche laissait donc le logo décentré face à une case très large. */
table.compare thead th:first-child {
  background: var(--navy) url('/img/site/logo.png') no-repeat center center;
  background-size: auto calc(100% - 22px);
}
/* Taille en hausse, graisse en BAISSE (800 → 700) : en blanc sur navy et à cette
   taille, le 800 rendait le texte épais plutôt que lisible. Signalé à la lecture
   le 2026-08-10 — augmenter encore la graisse irait à l'envers du besoin.
   Ces règles ne sont pas reprises par le @media 560px (qui ne vise que `th, td`
   génériques) : l'en-tête garde sa taille sur mobile, où le tableau défile déjà. */
table.compare thead .pname { display: block; font-size: 17px; font-weight: 700; }
table.compare thead .pprice { display: block; font-size: 24px; font-weight: 700; margin-top: 5px; }
table.compare thead .pprice .per { font-size: 13px; font-weight: 500; color: #b8c4d4; margin-left: 3px; }
/* Prix barré : même traitement que sur les cartes (2px de barre), sinon la rayure
   disparaît à cette taille sur fond sombre. */
table.compare thead .pprice .price-was { font-size: 16px; font-weight: 500; color: #cbd5e1; margin-right: 7px; text-decoration-thickness: 2px; }
table.compare thead .ptag { display: inline-block; background: var(--accent2); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-bottom: 8px; }
table.compare .grp td { background: var(--surface-2); font-weight: 700; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; text-align: left; padding: 10px 18px; }
table.compare td.ok { color: var(--accent2); font-size: 17px; font-weight: 700; }
table.compare td.no { color: var(--muted); }
table.compare td.soft { font-size: 13px; }
table.compare td.hi { background: var(--primary-l); }
table.compare thead th.hi { background: var(--navy2); box-shadow: inset 0 3px 0 var(--accent2); }

/* ── FAQ accordéon ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item .q { width: 100%; text-align: left; border: 0; background: transparent; padding: 18px 20px; display: flex;
  justify-content: space-between; align-items: center; cursor: pointer; font: inherit; }
.faq-item .q span.txt { font-size: 15px; font-weight: 600; color: var(--navy); }
.faq-item .q span.chev { font-size: 14px; color: var(--muted); transition: transform .15s; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .q span.chev { transform: rotate(180deg); }
.faq-item .a { padding: 0 20px 18px; font-size: 14px; color: var(--text2); line-height: 1.7; display: none; }
.faq-item.open .a { display: block; }

/* ── Fonctionnalités ── */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); }
.feat-row:last-of-type { border-bottom: 0; }
.feat-row.rev .txt { order: 2; }
.feat-row h3 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.feat-row p { font-size: 15px; color: var(--text2); line-height: 1.65; margin: 0 0 16px; }
.feat-row ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feat-row ul li { font-size: 14.5px; color: var(--text2); display: flex; gap: 8px; }
.feat-row ul li .ck { color: var(--accent2); }
.feat-row img { width: 100%; border-radius: 14px; box-shadow: 0 12px 32px rgba(13,27,42,.1); display: block; }
.feat-split { background: var(--navy); border-radius: 20px; padding: 48px; margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.feat-split .col h3 { color: #fff; font-size: 19px; margin: 0 0 10px; }
.feat-split .col p { color: #a9b6c8; font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; }
/* Le <strong> de la colonne « Mode en ligne » porte le point du paragraphe (l'appli
   Android marche aussi en ligne) : gras seul sur ce gris, il ne se voyait pas. */
.feat-split .col p strong { color: #fff; font-weight: 700; }
.feat-split .col a { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ── Tutoriels ── */
.tuto-list { display: flex; flex-direction: column; gap: 18px; max-width: 780px; margin: 0 auto; }
.tuto-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; }
.tuto-card.featured { border-color: var(--accent2); background: var(--primary-l); }
.tuto-card .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.tuto-card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.tuto-card p { font-size: 14px; color: var(--text2); line-height: 1.65; margin: 0 0 10px; }
.tuto-card ol { margin: 0 0 12px; padding-left: 20px; font-size: 14px; color: var(--text2); line-height: 1.8; }
.tuto-card .badge-soon { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-info h2 { font-size: 22px; margin: 0 0 12px; }
.contact-info p { font-size: 14.5px; color: var(--text2); line-height: 1.7; margin: 0 0 18px; }
.contact-info .item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; color: var(--text2); }
.contact-info .item b { color: var(--navy); }
.contact-email-box { display: flex; align-items: center; gap: 14px; background: var(--primary-l); border: 1px solid #bae6fd;
  border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; }
.contact-email-box .ic { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-email-box .lbl { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: #0c4a6e; margin-bottom: 2px; }
.contact-email-box .mail { display: block; font-size: 16px; font-weight: 700; color: var(--navy); }
.contact-email-box .mail:hover { text-decoration: underline; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact-ok { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 14px 16px; border-radius: var(--rs); font-size: 14px; margin-bottom: 16px; }
#contact-ok.show { display: block; }
#contact-err { display: none; background: var(--danger-l); border: 1px solid #fca5a5; color: var(--danger-d); padding: 12px 14px; border-radius: var(--rs); font-size: 14px; margin-bottom: 16px; }
#contact-err.show { display: block; }

@media (max-width: 880px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .value-grid .grid3, .pricing-grid .grid3, .value-grid .grid4 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .feat-row, .feat-row.rev { grid-template-columns: 1fr; }
  .feat-row.rev .txt { order: 0; }
  .feat-row { padding: 32px 0; gap: 28px; }

  /* Flèches sous la capture : en dessous de 880px l'image occupe toute la
     largeur du cadre et les flèches latérales la recouvraient en partie. */
  .carousel-frame { padding: 16px 16px 72px; }
  .carousel-nav-btn { top: auto; bottom: 16px; transform: none; }
  .carousel-nav-btn.prev { left: calc(50% - 52px); }
  .carousel-nav-btn.next { right: calc(50% - 52px); }
  .feat-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .row2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-footer .cols { grid-template-columns: 1fr; }
  .carousel-viewport { height: 320px; }
  table.compare th, table.compare td { padding: 11px 14px; font-size: 13px; }
  table.compare thead th { padding: 16px 14px 12px; }
}

/* ── Page Téléchargement (/telechargement.html) ──
   Bloc autonome, en fin de fichier : ses sélecteurs `dl-*` ne recoupent aucune
   autre règle du site, et sa requête média lui est propre plutôt que d'aller
   grossir celles ci-dessus. La carte a trois états exclusifs (chargement,
   rien de publié, prêt), pilotés par /js/telechargement.js. */
.dl-hero { background: var(--navy); padding: 64px 32px 56px; }
.dl-hero h1 { font-size: 38px; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; }
.dl-hero p { font-size: 16.5px; color: #a9b6c8; line-height: 1.6; margin: 0; }
.dl-hero b { color: #fff; font-weight: 600; }

.dl-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; text-align: center; margin-bottom: 48px; }
.dl-state { color: var(--text2); font-size: 15px; }
.dl-state h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0 0 10px; }
.dl-state p { line-height: 1.6; margin: 0 0 10px; }
.dl-state p:last-child { margin-bottom: 0; }

.dl-badge { display: inline-block; background: var(--primary-l); color: var(--primary-d);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.dl-btn { font-size: 16px; padding: 14px 28px; }
.dl-meta { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 16px 0 0; }
/* L'empreinte est longue et sans espaces : sans césure forcée elle déborde du
   cadre sur téléphone. Chasse fixe pour la comparer caractère par caractère. */
.dl-sha { font-family: 'DM Mono', ui-monospace, Consolas, monospace; font-size: 11.5px;
  word-break: break-all; color: #94a3b8; }
.dl-notes { font-size: 14.5px; color: var(--text2); line-height: 1.6;
  margin: 18px auto 0; max-width: 520px; padding-top: 16px; border-top: 1px solid var(--border); }
.dl-note { font-size: 14px; color: var(--muted); }

.dl-h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 40px 0 14px; }
.dl-h2:first-of-type { margin-top: 0; }
.dl-steps { margin: 20px 0 0; padding-left: 22px; }
.dl-steps li { font-size: 15.5px; color: var(--text2); line-height: 1.7; margin-bottom: 14px; }
.dl-steps b, .dl-facts b { color: var(--navy); font-weight: 600; }
.dl-facts { margin: 16px 0 0; padding-left: 22px; }
.dl-facts li { font-size: 15.5px; color: var(--text2); line-height: 1.7; margin-bottom: 10px; }
.dl-info { background: var(--primary-l); border: 1px solid #bae6fd; border-radius: 12px;
  padding: 20px 22px; margin: 28px 0 0; }
.dl-info p { font-size: 15px; color: #0c4a6e; line-height: 1.65; margin: 0; }
.dl-info b { font-weight: 700; }
.dl-more { font-size: 15.5px; color: var(--text2); line-height: 1.7; margin: 32px 0 0; }

@media (max-width: 560px) {
  .dl-hero { padding: 48px 24px 40px; }
  .dl-hero h1 { font-size: 29px; }
  .dl-card { padding: 24px 18px; }
  .dl-btn { width: 100%; }
}
