/* ViaStéri — site d'information (www.viasteri.ca). Novembre 2026.
   Les couleurs de la marque, les mêmes que l'application. Aucune police externe, aucun traceur :
   le site ne recueille rien sur ses visiteurs. */
:root {
  --sarcelle: #0d5c63;
  --vert: #1f8a4c;
  --encre: #16242a;
  --doux: #4a5f63;
  --pale: #6b8184;
  --ligne: #d6e2e1;
  --fond: #f3f7f6;
  --carte: #ffffff;
  --accent-fond: #e6f1f0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--carte); color: var(--encre);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sarcelle); }
.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── L'en-tête ── */
.entete { border-bottom: 1px solid var(--ligne); background: var(--carte); position: sticky; top: 0; z-index: 10; }
.entete .conteneur { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.entete .logo img { width: 150px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; align-items: center; font-size: 15.5px; }
.nav a { text-decoration: none; color: var(--doux); font-weight: 600; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sarcelle); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--sarcelle); }
.nav .acces { border: 1.5px solid var(--sarcelle); color: var(--sarcelle); border-radius: 8px; padding: 6px 12px; }

/* ── Les sections ── */
section { padding: 64px 0; }
section.teinte { background: var(--fond); }
h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; margin: 0 0 18px; color: var(--encre); letter-spacing: -0.5px; }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.3px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.chapeau { font-size: clamp(18px, 2vw, 21px); color: var(--doux); max-width: 640px; margin: 0 0 28px; }
.surtitre { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--vert); margin: 0 0 10px; }

/* ── L'ouverture de l'accueil ── */
.ouverture { padding: 56px 0 64px; background: linear-gradient(180deg, var(--fond), var(--carte)); }
.ouverture .conteneur { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }

/* ── Les boutons ── */
.boutons { display: flex; gap: 14px; flex-wrap: wrap; }
.bouton { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 10px; padding: 13px 22px;
          background: var(--sarcelle); color: #fff; border: 2px solid var(--sarcelle); }
.bouton.secondaire { background: transparent; color: var(--sarcelle); }

/* ── Un écran de l'application, dans un cadre ── */
.ecran { border-radius: 14px; overflow: hidden; border: 1px solid var(--ligne);
         box-shadow: 0 10px 30px rgba(13, 92, 99, .12); background: #fff; }
.legende { font-size: 14px; color: var(--pale); margin-top: 10px; }

/* ── Les points ── */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 26px; }
.point { background: var(--carte); border: 1px solid var(--ligne); border-radius: 14px; padding: 22px 22px 18px; }
section.teinte .point { border-color: transparent; }
.point p { margin: 0; color: var(--doux); }
.coche { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-fond); color: var(--vert);
         display: flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 12px; }

/* ── Deux colonnes : texte et image ── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.duo.inverse > :first-child { order: 2; }

/* ── Les étapes de « Comment ça marche » ── */
.etape { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: 30px 0; }
.etape + .etape { border-top: 1px solid var(--ligne); }
.numero { width: 38px; height: 38px; border-radius: 50%; background: var(--sarcelle); color: #fff;
          display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.etape p { color: var(--doux); margin: 0; }

/* ── Les tests : trois cartes ── */
.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.trois .point .quand { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--vert); margin-bottom: 6px; }

/* ── Une liste simple ── */
ul.liste { padding: 0; margin: 18px 0 0; list-style: none; }
ul.liste li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--ligne); }
ul.liste li::before { content: "✓"; position: absolute; left: 4px; top: 10px; color: var(--vert); font-weight: 900; }

/* ── La citation ── */
.citation { font-size: clamp(19px, 2.1vw, 22px); line-height: 1.55; color: var(--encre); margin: 0;
            border-left: 4px solid var(--vert); padding-left: 22px; }
.signature { margin-top: 14px; color: var(--doux); font-weight: 600; }

/* ── L'appel final ── */
.appel { background: var(--sarcelle); color: #fff; text-align: center; }
.appel h2 { color: #fff; }
.appel p { color: #d9ecea; max-width: 620px; margin: 0 auto 24px; font-size: 18px; }
.appel .bouton { background: #fff; color: var(--sarcelle); border-color: #fff; }

/* ── Le pied de page ── */
.pied { padding: 34px 0; border-top: 1px solid var(--ligne); font-size: 14.5px; color: var(--pale); }
.pied .conteneur { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.pied img { width: 110px; }

/* ── Une ouverture sans image : le texte garde une largeur de lecture ── */
.ouverture.simple .conteneur { display: block; }
.ouverture.simple .conteneur > * { max-width: 760px; }

/* ── Les deux sachets ── */
/* Sandra, 11 nov. : « je veux voir le sac au complet » — le sachet entier, en pleine largeur, l'un sous l'autre. */
.sachets { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 8px; }
.sachets figure { max-width: 1040px; width: 100%; margin: 0 auto; }
.sachets figcaption { text-align: center; font-weight: 700; color: var(--doux); margin-top: 10px; }


.trois.deux { grid-template-columns: repeat(2, 1fr); }

/* ── La photo de Sandra ── */
.portrait { width: 100%; max-width: 420px; margin: 0 auto; border-radius: 14px; }

/* ── Les pictogrammes des cartes ── */
.icone { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-fond); color: var(--sarcelle);
         display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.icone svg, .photo-a-venir svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8;
         stroke-linecap: round; stroke-linejoin: round; }

/* ── Des cartes empilées à côté d'une capture ── */
.pile { display: grid; gap: 16px; align-content: start; }
.duo.haut { align-items: start; margin-top: 24px; }

/* ── La place d'une photo à venir (fabriquer.py refuse de la laisser passer en silence) ── */
.photo-a-venir { aspect-ratio: 4 / 3; border: 2px dashed #9cc3c0; border-radius: 14px; background: var(--accent-fond);
                 display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
                 color: var(--sarcelle); font-weight: 700; text-align: center; padding: 20px; }
.photo-a-venir svg { width: 44px; height: 44px; }

/* ── L'appel court, au bas des pages intérieures ── */
.appel.mince { padding: 34px 0; }
.appel.mince .conteneur { display: flex; gap: 16px 26px; align-items: center; justify-content: center; flex-wrap: wrap; }
.appel.mince p { margin: 0; max-width: none; color: #fff; font-size: 19px; font-weight: 600; }

/* 🪤 Une colonne de grille s'élargit à la taille de son image (1280 px) si on ne l'en empêche pas :
   sur un téléphone, la page débordait à droite. */
.ouverture .conteneur > *, .duo > *, .etape > *, .points > *, .trois > *, .sachets > * { min-width: 0; }

/* ── Sur un téléphone ── */
@media (max-width: 820px) {
  section { padding: 44px 0; }
  .ouverture .conteneur, .duo, .etape { grid-template-columns: 1fr; gap: 26px; }
  .duo.inverse > :first-child { order: 0; }
  .trois, .trois.deux { grid-template-columns: 1fr; }
  .entete .conteneur { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .nav { margin-left: 0; gap: 14px; font-size: 15px; width: 100%; }
}
