/* Zéléa — site vitrine.
   Même langage que le produit : l'encre sur le papier, le surligneur jaune pour ce qui compte,
   le tampon vert pour ce qui est validé. Aucune ressource chargée depuis l'extérieur. */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("polices/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("polices/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("polices/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Signal"; font-weight: 600; font-display: swap; src: url("polices/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Signal"; font-weight: 700; font-display: swap; src: url("polices/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --encre: #141D30;
  --encre-2: #47546B;
  --encre-3: #6E7A8F;
  --papier: #F6F3EC;
  --feuille: #FFFFFF;
  --trait: #DDD8CC;
  --surligneur: #FFE45C;
  --tampon: #1E7247;
  --tampon-doux: #E3F2E9;
  --nuit: #101828;
  --nuit-2: #1B2840;
  --nuit-trait: #2C3A55;
  --texte: "Plex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --titre: "Signal", "Arial Narrow", "Roboto Condensed", sans-serif;
  --large: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--texte); color: var(--encre); background: var(--papier); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.04; letter-spacing: .005em; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: 26px; font-weight: 600; }
p { margin: 0; }
.cadre { max-width: var(--large); margin: 0 auto; padding: 0 24px; }
.surligne { background: linear-gradient(transparent 58%, var(--surligneur) 58%, var(--surligneur) 94%, transparent 94%); padding: 0 .08em; }
.sur-titre { font: 600 13px/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 18px; }
.chapeau { font-size: 19px; color: var(--encre-2); max-width: 62ch; margin-top: 18px; }
section { padding: 96px 0; }
@media (max-width: 760px) { section { padding: 64px 0; } body { font-size: 16px; } }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 16px/1 var(--texte); text-decoration: none;
  padding: 15px 22px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--surligneur); outline-offset: 3px; }
.btn-jaune { background: var(--surligneur); color: var(--encre); }
.btn-jaune:hover { background: #FFEC85; }
.btn-encre { background: var(--encre); color: #fff; }
.btn-contour { border-color: currentColor; background: transparent; }
.btn-petit { padding: 10px 15px; font-size: 14.5px; }

/* ---------- en-tête ---------- */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(16, 24, 40, .92); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid var(--nuit-trait); }
.entete .cadre { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 28px/1 var(--titre); text-decoration: none; letter-spacing: .01em; }
.logo i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--surligneur); color: var(--encre);
  font: 700 22px/1 var(--titre); font-style: normal; transform: rotate(-4deg); }
.menu { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.menu a { text-decoration: none; color: #C9D2E0; }
.menu a:hover { color: #fff; }
.entete .btn-contour { color: #fff; border-color: #55637E; }
@media (max-width: 860px) { .menu { display: none; } .entete .btn { margin-left: auto; } }

/* ---------- ouverture ---------- */
.ouverture { background: radial-gradient(1200px 520px at 78% 0%, #24365A 0%, var(--nuit) 62%); color: #fff; padding: 84px 0 0; overflow: hidden; }
.ouverture .sur-titre { color: #93A1BA; }
.ouverture h1 { max-width: 17ch; }
.ouverture h1 .surligne { color: var(--encre); background: var(--surligneur); padding: 0 .14em; display: inline-block; transform: rotate(-1.2deg); }
.ouverture .chapeau { color: #C9D2E0; font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ouverture .btn-contour { color: #fff; border-color: #55637E; }
.ecran { position: relative; margin: 64px auto 0; max-width: 1040px; }
.ecran img { border-radius: 10px 10px 0 0; border: 1px solid #3A4A68; border-bottom: 0; box-shadow: 0 -20px 80px -20px rgba(255, 228, 92, .18), 0 30px 80px rgba(0, 0, 0, .5); }
.ecran .tampon { position: absolute; right: -14px; top: -26px; }
.tampon { display: inline-block; font: 700 22px/1 var(--titre); color: var(--tampon); background: var(--tampon-doux); border: 3px solid var(--tampon);
  border-radius: 5px; padding: 9px 14px 8px; transform: rotate(4deg); white-space: nowrap; }
.legende { font-size: 13px; color: #8493AD; text-align: center; padding: 14px 0 22px; }
@media (max-width: 760px) { .ouverture { padding-top: 56px; } .ecran .tampon { right: 6px; top: -22px; font-size: 17px; } }

/* ---------- bandeau de preuves ---------- */
.preuves { background: var(--encre); color: #fff; padding: 0; }
.preuves ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; font-size: 15px; }
.preuves li { display: flex; gap: 10px; align-items: baseline; color: #D5DCE8; }
.preuves li::before { content: ""; flex: 0 0 9px; height: 9px; border-radius: 50%; background: var(--surligneur); transform: translateY(-1px); }
@media (max-width: 860px) { .preuves ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .preuves ul { grid-template-columns: 1fr; } }

/* ---------- cartes ---------- */
.grille { display: grid; gap: 20px; margin-top: 44px; }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grille-3 { grid-template-columns: 1fr; } .grille-2 { grid-template-columns: 1fr; } }
.carte { background: var(--feuille); border: 1px solid var(--trait); border-radius: 10px; padding: 28px; }
.carte h3 { margin-bottom: 10px; }
.carte p { color: var(--encre-2); }
.chiffre { font: 700 58px/1 var(--titre); margin-bottom: 14px; }
.chiffre small { font-size: 26px; font-weight: 600; color: var(--encre-2); }
.note { font-size: 14px; color: var(--encre-3); margin-top: 22px; }

/* ---------- étapes ---------- */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; margin-top: 48px; }
@media (max-width: 960px) { .deux-colonnes { grid-template-columns: 1fr; gap: 36px; } }
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; gap: 26px; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 54px 1fr; gap: 16px; }
.etapes li::before { content: counter(etape); font: 700 34px/1 var(--titre); width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 8px; background: var(--surligneur); }
.etapes h3 { margin-bottom: 4px; }
.etapes p { color: var(--encre-2); }
.capture { border-radius: 10px; border: 1px solid var(--trait); box-shadow: 0 30px 70px -30px rgba(20, 29, 48, .35); }

/* ---------- agents ---------- */
.agent .etat { display: inline-block; margin-bottom: 14px; font: 600 12px/1 var(--texte); letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 4px; background: #EEEAE0; color: var(--encre-3); }
.agent .etat-ouvert { background: var(--tampon-doux); color: var(--tampon); }

/* ---------- confiance ---------- */
.nuit { background: var(--nuit); color: #fff; }
.nuit .sur-titre { color: #93A1BA; }
.nuit h2 .surligne { background: var(--surligneur); color: var(--encre); padding: 0 .14em; display: inline-block; transform: rotate(-1deg); }
.nuit .chapeau { color: #C9D2E0; }
.nuit .carte { background: var(--nuit-2); border-color: var(--nuit-trait); }
.nuit .carte p { color: #BAC5D6; }
.nuit .carte h3 { color: #fff; }

/* ---------- méthode ---------- */
.parcours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border: 1px solid var(--trait); border-radius: 10px; background: var(--feuille); overflow: hidden; }
.parcours div { padding: 28px; border-right: 1px solid var(--trait); }
.parcours div:last-child { border-right: 0; }
.parcours .duree { font: 600 13px/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--tampon); margin-bottom: 12px; }
.parcours p { color: var(--encre-2); margin-top: 8px; font-size: 16px; }
@media (max-width: 900px) { .parcours { grid-template-columns: 1fr; } .parcours div { border-right: 0; border-bottom: 1px solid var(--trait); } .parcours div:last-child { border-bottom: 0; } }

/* ---------- qui, contact, pied ---------- */
.qui { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .qui { grid-template-columns: 1fr; gap: 24px; } }
.qui p + p { margin-top: 16px; }
.qui .texte { color: var(--encre-2); font-size: 18px; }
.appel { background: var(--surligneur); text-align: center; }
.appel h2 { max-width: 18ch; margin: 0 auto; }
.appel p { max-width: 56ch; margin: 18px auto 0; font-size: 19px; }
.appel .actions { justify-content: center; }
.pied { background: var(--nuit); color: #93A1BA; padding: 36px 0; font-size: 14.5px; }
.pied .cadre { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.pied a { color: #C9D2E0; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied .droite { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- pages simples (espace client, mentions légales) ---------- */
.page-simple { min-height: calc(100vh - 68px - 96px); padding: 72px 0; }
.page-simple .cadre { max-width: 720px; }
.page-simple h1 { font-size: clamp(38px, 6vw, 60px); }
.page-simple h2 { font-size: 30px; margin: 40px 0 10px; }
.page-simple p, .page-simple li { color: var(--encre-2); }
.page-simple p + p { margin-top: 12px; }
.formulaire { margin-top: 32px; background: var(--feuille); border: 1px solid var(--trait); border-radius: 10px; padding: 28px; }
.formulaire label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--encre); }
.adresse { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0; }
.adresse input { flex: 1 1 160px; min-width: 0; font: 500 18px/1 var(--texte); padding: 14px; border: 2px solid var(--encre); border-radius: 6px 0 0 6px; color: var(--encre); }
.adresse span { display: flex; align-items: center; padding: 0 14px; background: #EEEAE0; border: 2px solid var(--encre); border-left: 0; border-radius: 0 6px 6px 0; color: var(--encre-2); font-weight: 500; }
.formulaire .btn { margin-top: 18px; }
.erreur { color: #B1271F; font-weight: 500; margin-top: 12px; min-height: 1.6em; }
.a-completer { background: var(--surligneur); padding: 0 .25em; font-weight: 600; color: var(--encre); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
