/* Site vitrine Sentinelle DH : mêmes jetons que l'application (app/static/style.css). */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0B315B; --bleu: #155E9A; --vert: #159447; --orange: #E88A17; --rouge: #C62828;
  --papier: #F5F7F9; --surface: #FFFFFF; --remplissage: #EDF1F5; --ligne: #D9E0E7;
  --texte: #172033; --discret: #475569; --discret-2: #64748B;
  --vert-fond: #E3F3E9; --orange-fond: #FDEFD9; --bleu-fond: #E3EEF8; --navy-fond: #E7ECF3;
  --rouge-fond: #FDE4E4; --rouge-texte: #8E1B1B; --vert-texte: #0E6A33;
  --focus: #155E9A; --rayon: 10px; --ombre: 0 18px 40px -18px rgba(15, 30, 60, .28);
  --largeur: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.55; color: var(--texte); background: var(--papier); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }

.enveloppe { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }
.enveloppe-etroite { max-width: 780px; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.evitement:focus { left: 16px; }

/* Boutons : même forme que dans le produit */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px;
  font: 600 16px/1.2 inherit; font-family: inherit; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .15s, border-color .15s; }
.btn-primaire { background: var(--navy); color: #fff; }
.btn-primaire:hover { background: #072646; }
.btn-secondaire { background: var(--surface); color: var(--navy); border-color: var(--navy); }
.btn-secondaire:hover { background: var(--navy-fond); }
.btn-petit { min-height: 40px; padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.btn-bloc { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--ligne); }
.entete-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.marque img { width: 150px; height: auto; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--texte); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--bleu); }
.entete .btn { margin-left: auto; }
@media (min-width: 1100px) { .nav { display: flex; } .entete .btn { margin-left: 8px; } .marque img { width: 172px; } }

/* Accroche */
.accroche { padding: 36px 0 28px; background: var(--surface); border-bottom: 1px solid var(--ligne); }
.accroche-in { display: grid; gap: 32px; }
.surtitre { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vert-texte); margin-bottom: 12px; }
h1 { font-size: clamp(30px, 5.4vw, 42px); font-weight: 800; text-wrap: balance; }
.chapo { margin-top: 16px; font-size: 18px; color: var(--discret); max-width: 36em; }
.chapo strong { color: var(--texte); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions .btn { flex: 1 1 260px; }
.rassurance { margin-top: 12px; font-size: 14px; color: var(--discret-2); }
.accroche-visuel { position: relative; margin: 0; padding-bottom: 28px; }
.ecran-bureau { border: 10px solid #1E2634; border-radius: 14px; overflow: hidden; box-shadow: var(--ombre); background: #1E2634; }
.ecran-mobile { position: absolute; right: -4px; bottom: 34px; width: 27%; border: 6px solid #111827; border-radius: 18px; overflow: hidden; box-shadow: var(--ombre); background: #111827; }
.accroche-visuel figcaption { position: absolute; left: 0; bottom: 0; font-size: 13px; color: var(--discret-2); }
@media (min-width: 960px) {
  .accroche { padding: 36px 0 32px; }
  .accroche-in { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; }
  .actions .btn { flex: 0 1 auto; }
}

/* Sections */
section { padding: 48px 0; }
.titre-section { font-size: clamp(25px, 4.6vw, 34px); font-weight: 800; }
.intro-section { margin-top: 10px; color: var(--discret); font-size: 18px; }
.note { margin-top: 14px; font-size: 14px; color: var(--discret-2); }

.video { padding-bottom: 8px; }
.video-cadre { margin-top: 20px; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); background: var(--navy); aspect-ratio: 16 / 9; }
.video-cadre video { width: 100%; height: 100%; }

.constat-liste { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.constat-liste li { background: var(--surface); border: 1px solid var(--ligne); border-left: 4px solid var(--orange); border-radius: 8px; padding: 16px 18px; color: var(--discret); }
.constat-liste b { color: var(--texte); display: block; }
@media (min-width: 860px) { .constat-liste { grid-template-columns: repeat(3, 1fr); } }

/* Fonctionnalités */
.fonctions { background: var(--surface); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.fonction { display: grid; gap: 22px; margin-top: 40px; align-items: center; }
.fonction h3 { font-size: 23px; font-weight: 800; margin-bottom: 12px; }
.fonction ul { margin: 0; padding-left: 20px; color: var(--discret); display: grid; gap: 8px; }
.fonction ul b { color: var(--texte); }
.fonction-image { border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); }
.etiquette { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.etiquette-orange { background: var(--orange-fond); color: #8A4B00; }
.etiquette-bleu { background: var(--bleu-fond); color: var(--bleu); }
.etiquette-vert { background: var(--vert-fond); color: var(--vert-texte); }
@media (min-width: 900px) {
  .fonction { grid-template-columns: .9fr 1.1fr; gap: 48px; margin-top: 64px; }
  .fonction-inverse .fonction-texte { order: 2; }
}
.atouts { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 12px; }
.atouts li { background: var(--papier); border: 1px solid var(--ligne); border-radius: 8px; padding: 16px 18px; }
.atouts b { display: block; color: var(--navy); margin-bottom: 4px; }
.atouts span { color: var(--discret); font-size: 15px; }
@media (min-width: 700px) { .atouts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .atouts { grid-template-columns: repeat(4, 1fr); } }

/* Solution : une vraie séquence, donc numérotée */
.solution { background: var(--surface); border-top: 1px solid var(--ligne); }
.chaine { list-style: none; counter-reset: etape; margin: 26px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.chaine li { counter-increment: etape; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.chaine li::before { content: counter(etape); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy);
  font-weight: 800; display: grid; place-items: center; }
.chaine b { color: var(--navy); font-size: 18px; }
.chaine span { color: var(--discret); font-size: 15px; }
@media (min-width: 760px) {
  .chaine { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 26px 22px; }
  .chaine li { grid-template-columns: 1fr; border-bottom: 0; border-top: 3px solid var(--navy); padding: 14px 0 0; }
  .chaine li::before { grid-row: auto; border: 0; width: auto; height: auto; place-items: start; font-size: 13px; color: var(--discret-2); content: "Étape " counter(etape); font-weight: 600; }
}
@media (min-width: 1200px) { .chaine { grid-template-columns: repeat(6, 1fr); } }

/* Comment ça marche */
.mise-en-service { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.mise-en-service li { display: grid; gap: 2px; }
.mise-en-service b { color: var(--navy); }
.mise-en-service span { color: var(--discret); font-size: 15px; }
@media (min-width: 860px) { .mise-en-service { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* Cas d'usage : liste de définitions sur deux colonnes, sans cartes */
.cas-liste { margin: 22px 0 0; display: grid; gap: 18px 40px; }
.cas-liste dt { font-weight: 700; color: var(--navy); }
.cas-liste dd { margin: 4px 0 0; color: var(--discret); font-size: 15px; }
@media (min-width: 860px) { .cas-liste { grid-template-columns: 1fr 1fr; } }

/* Kobo et ODK */
.kobo { background: var(--bleu-fond); }
.kobo-in { display: grid; gap: 24px; }
.kobo-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kobo-liste li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--bleu); }
.kobo-liste li:last-child { border-left-color: var(--discret-2); }
.kobo-liste b { color: var(--navy); }
.kobo-liste span { color: var(--discret); font-size: 15px; }
@media (min-width: 960px) { .kobo-in { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }

/* Sécurité : intitulé à gauche, explication à droite */
.securite { background: var(--surface); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.securite-liste { margin: 22px 0 0; border-top: 1px solid var(--ligne); }
.securite-liste > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.securite-liste dt { font-weight: 700; color: var(--navy); }
.securite-liste dd { margin: 0; color: var(--discret); font-size: 15px; }
@media (min-width: 860px) { .securite-liste > div { grid-template-columns: 260px 1fr; gap: 24px; } }

/* Offres : un vrai tableau comparatif */
.offres-tableau { margin-top: 24px; overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--surface); }
.offres-tableau table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
.offres-tableau th, .offres-tableau td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--ligne); }
.offres-tableau thead th { color: var(--navy); font-size: 17px; background: var(--remplissage); }
.offres-tableau tbody th { font-weight: 600; color: var(--texte); width: 30%; }
.offres-tableau td { color: var(--discret); }
.offres-tableau tbody tr:last-child > * { border-bottom: 0; }
.offres-glisser { margin-top: 16px; font-size: 14px; color: var(--discret-2); }
@media (min-width: 700px) { .offres-glisser { display: none; } }

/* Démarrer en deux temps */
.deux-temps { display: grid; gap: 18px; margin-top: 22px; }
.deux-temps > div { background: var(--surface); border: 1px solid var(--ligne); border-radius: 8px; padding: 18px 20px; }
.deux-temps h3 { font-size: 19px; margin-bottom: 8px; }
.deux-temps p, .deux-temps ul { color: var(--discret); font-size: 15px; }
.deux-temps ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
/* Offres : à qui s'adresse chacune */
.offres-cibles { margin: 22px 0 0; display: grid; gap: 12px; }
.offres-cibles dt { font-weight: 700; color: var(--navy); }
.offres-cibles dd { margin: 2px 0 0; color: var(--discret); font-size: 15px; }
@media (min-width: 860px) { .offres-cibles { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
/* Preuves (section en attente des premiers cas clients réels) */
.preuves-liste { margin-top: 22px; display: grid; gap: 18px; }
.preuve { margin: 0; background: var(--surface); border: 1px solid var(--ligne); border-radius: 8px; padding: 18px 20px; }
.preuve blockquote { margin: 0; font-size: 17px; color: var(--texte); }
.preuve figcaption { margin-top: 12px; display: grid; font-size: 14px; color: var(--discret); }
.preuve figcaption b { color: var(--navy); }
@media (min-width: 860px) { .preuves-liste { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .deux-temps { grid-template-columns: 1fr 1fr; } }

.publics-liste { margin-top: 14px; font-size: 18px; color: var(--discret); }

/* Essai */
.essai { background: var(--navy-fond); }
.etapes { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.etapes li { display: flex; gap: 14px; background: var(--surface); border-radius: 8px; padding: 18px; border: 1px solid var(--ligne); }
.etape-num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.etapes p { color: var(--discret); font-size: 15px; margin-top: 2px; }
@media (min-width: 860px) { .etapes { grid-template-columns: repeat(3, 1fr); } }

/* Formulaire */
.demande { background: var(--navy); color: #fff; }
.demande-in { display: grid; gap: 28px; }
.demande h2 { color: #fff; font-size: clamp(26px, 5vw, 36px); font-weight: 800; }
.demande-texte > p { margin-top: 12px; color: #D5DEEA; font-size: 18px; }
.contacts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.contacts li { display: flex; flex-direction: column; }
.contacts span { font-size: 13px; color: #A9B8CC; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.contacts a { color: #fff; font-weight: 600; font-size: 18px; }
.formulaire { background: var(--surface); color: var(--texte); border-radius: 12px; padding: 22px 18px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .5); }
@media (min-width: 900px) { .demande-in { grid-template-columns: .85fr 1fr; gap: 56px; align-items: start; } .formulaire { padding: 30px; } }
.choix { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.choix legend { font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.option { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--ligne); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.option:has(input:checked) { border-color: var(--navy); background: var(--navy-fond); }
.option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: 0 0 auto; }
.option b { display: block; color: var(--navy); }
.option small { display: block; color: var(--discret); font-size: 14px; }
.champ { margin-bottom: 14px; }
.champ label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.facultatif { font-weight: 400; color: var(--discret-2); }
.champ input { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--texte); background: #fff;
  border: 1.5px solid #8494A7; border-radius: 8px; }
.champ input:hover { border-color: #5E6F84; }
.champ input:focus { outline: 3px solid rgba(21, 94, 154, .25); border-color: var(--bleu); }
.champ input[aria-invalid="true"] { border-color: var(--rouge); }
.erreur { color: var(--rouge-texte); font-size: 14px; margin-top: 6px; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.confidentialite { font-size: 14px; color: var(--discret); margin: 4px 0 16px; }
.message { border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; font-size: 15px; }
.message:focus { outline: none; }
.message-ok { background: var(--vert-fond); color: var(--vert-texte); border: 1px solid #A8D9BB; }
.message-erreur { background: var(--rouge-fond); color: var(--rouge-texte); border: 1px solid #F2B8B8; }
.message-info { background: var(--orange-fond); color: #7A4300; border: 1px solid #F3D29E; }
.message b { display: block; margin-bottom: 2px; }
.formulaire.envoye .choix, .formulaire.envoye .champ, .formulaire.envoye .confidentialite, .formulaire.envoye #envoyer { display: none; }

/* Questions */
.questions details { background: var(--surface); border: 1px solid var(--ligne); border-radius: 8px; margin-top: 12px; }
.questions summary { cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--navy); list-style-position: outside; }
.questions details p { padding: 0 18px 16px; color: var(--discret); }
.confid { padding-top: 8px; }
.confid p { margin-top: 12px; color: var(--discret); font-size: 15px; }

/* Pied */
.pied { background: #0A2442; color: #C9D4E2; padding: 32px 0 96px; font-size: 15px; }
.pied-in { display: grid; gap: 8px; justify-items: start; }
.pied b { color: #fff; }
.pied a { color: #fff; }
@media (min-width: 860px) { .pied { padding-bottom: 32px; } }

/* Barre d'action mobile */
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--ligne); transform: translateY(110%); transition: transform .2s; }
.barre-mobile.visible { transform: none; }
@media (min-width: 860px) { .barre-mobile { display: none; } }
