@font-face { font-family: "Inter"; src: url("assets/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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("assets/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; }

/* Charte CNoT : reprise de tailwind.config.ts de l'application */
:root {
  --canvas: #FAF4E8; --surface: #FFFFFF;
  --brand: #2D6A4F; --brand-hover: #245741; --brand-soft: #E7F0EB; --brand-ring: #9CC3AE;
  --wheat: #B45309; --wheat-soft: #FBF1E4;
  --vert-fonce: #0B4D33; --vert-clair: #3A8A35;
  --texte: #1C1917; --pierre: #57534E; --pierre-clair: #A8A29E; --bord: #E7E5E4;
  --orange: #C2410C; --orange-soft: #FFF3E6; --rouge: #B91C1C; --rouge-soft: #FDECEC;
  --ombre-carte: 0 1px 2px 0 rgb(0 0 0 / .04), 0 1px 3px 0 rgb(0 0 0 / .05);
  --ombre-panneau: 0 4px 16px -4px rgb(0 0 0 / .08);
  --largeur: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--texte); background: var(--canvas); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
.conteneur { width: min(var(--largeur), 100% - 40px); margin-inline: auto; }
.sur-titre { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wheat); }
h1, h2, h3 { color: var(--vert-fonce); letter-spacing: -.02em; line-height: 1.1; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin: .4rem 0 1rem; }
h3 { font-size: 1.1rem; font-weight: 700; }
.chapeau { font-size: 1.15rem; color: #3F3A36; max-width: 38rem; }
.chapeau b { color: var(--vert-fonce); }
section { padding: 88px 0; }
.blanc { background: var(--surface); }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; padding: .85rem 1.3rem; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: background .15s; }
.bouton:hover { background: var(--brand-hover); }
.bouton.secondaire { background: var(--surface); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand-ring); }
.bouton.secondaire:hover { background: var(--brand-soft); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgb(250 244 232 / .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgb(0 0 0 / .05); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.entete img { height: 40px; width: auto; }
.entete nav { display: flex; gap: 1.4rem; align-items: center; }
.entete nav a { text-decoration: none; color: var(--pierre); font-weight: 600; font-size: .95rem; }
.entete nav a:hover { color: var(--brand); }
.entete nav .bouton { color: #fff; padding: .6rem 1rem; }
.entete nav .bouton .court { display: none; }
@media (max-width: 860px) { .entete nav a:not(.bouton) { display: none; } }
@media (max-width: 520px) { .entete img { height: 32px; } .entete nav .bouton { font-size: .82rem; padding: .5rem .75rem; } .entete nav .bouton .long { display: none; } .entete nav .bouton .court { display: inline; } }

/* Accueil */
.une { padding: 56px 0 72px; }
.une .conteneur { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.une .chapeau { margin: 1.3rem 0 1.8rem; }
.une .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.badge { display: inline-flex; align-items: center; gap: .55rem; background: var(--brand-soft); color: var(--vert-fonce); font-weight: 700; font-size: .88rem; padding: .45rem .9rem; border-radius: 99px; margin-bottom: 1.3rem; }
.badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--vert-clair); box-shadow: 0 0 0 4px rgb(58 138 53 / .18); }
.une-visuel { position: relative; overflow: hidden; height: 560px; border-radius: 28px; background: url("assets/hero.jpg") 78% 60%/cover; box-shadow: var(--ombre-panneau); }
.une-visuel .telephone { position: absolute; left: 50%; top: 40px; width: 375px; transform: translateX(-50%) scale(.82); transform-origin: top center; }
@media (max-width: 900px) { .une .conteneur { grid-template-columns: minmax(0, 1fr); } .une-visuel { height: 520px; } }

/* Avant / après */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 2rem; }
.carte { background: var(--surface); border-radius: 18px; padding: 26px; box-shadow: var(--ombre-carte); border: 1px solid rgb(0 0 0 / .04); }
.carte.avant { background: #F5F1EA; }
.carte h3 { margin-bottom: .8rem; }
.carte ul { list-style: none; display: grid; gap: .55rem; }
.carte li { padding-left: 1.7rem; position: relative; color: #3F3A36; }
.carte.avant li::before { content: "✕"; position: absolute; left: 0; color: var(--pierre-clair); font-weight: 700; }
.carte.apres li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* Grille de fonctions */
.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.2rem; }
.fonction { background: var(--surface); border-radius: 18px; padding: 22px; box-shadow: var(--ombre-carte); border: 1px solid rgb(0 0 0 / .04); }
.blanc .fonction { background: var(--canvas); box-shadow: none; }
.fonction .pastille-icone { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 14px; }
.fonction .pastille-icone.ble { background: var(--wheat-soft); }
.fonction .pastille-icone img { width: 36px; }
.fonction .pastille-icone svg { width: 26px; height: 26px; color: var(--brand); }
.fonction p { color: #4A4541; font-size: .96rem; margin-top: .4rem; }
.fonction p.benef { position: relative; padding-left: 1.5rem; }
.fonction p.benef::before { content: "→"; position: absolute; left: 0; color: var(--wheat); font-weight: 800; }
.benefs-site { list-style: none; display: grid; gap: 1rem; margin-top: 1.4rem; }
.benefs-site b { color: var(--vert-fonce); }
.benefs-site span:not(.etiquette) { display: block; position: relative; padding-left: 1.5rem; color: #3F3A36; margin-top: .15rem; }
.benefs-site span:not(.etiquette)::before { content: "→"; position: absolute; left: 0; color: var(--wheat); font-weight: 800; }
@media (max-width: 900px) { .fonctions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fonctions { grid-template-columns: 1fr; } }

/* Simulation */
.essai .conteneur { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.etapes-essai { list-style: none; counter-reset: e; display: grid; gap: 12px; margin-top: 1.6rem; }
.etapes-essai li { counter-increment: e; background: var(--surface); border-radius: 14px; padding: 14px 16px 14px 56px; position: relative; color: #4A4541; border: 1.5px solid transparent; transition: border-color .2s, background .2s; }
.etapes-essai li::before { content: counter(e); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.etapes-essai li.actif { border-color: var(--brand-ring); background: #fff; }
.etapes-essai li.actif::before { background: var(--brand); color: #fff; }
.etapes-essai li b { color: var(--texte); display: block; }
.note-essai { margin-top: 1.2rem; font-size: .9rem; color: var(--pierre); }
@media (max-width: 900px) { .essai .conteneur { grid-template-columns: minmax(0, 1fr); } .essai .telephone { margin-inline: auto; } }

/* Bureau */
.ecrans-bureau { display: grid; gap: 22px; margin-top: 2.2rem; }
.capture { background: var(--surface); border-radius: 16px; box-shadow: var(--ombre-panneau); overflow: hidden; border: 1px solid var(--bord); }
.capture .barre-fenetre { height: 34px; background: #F2EFEA; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.capture .barre-fenetre i { width: 11px; height: 11px; border-radius: 50%; background: #DDD6CC; }
.capture figcaption { padding: 12px 18px; font-size: .92rem; color: var(--pierre); border-top: 1px solid var(--bord); }
.liste-coches { list-style: none; display: grid; gap: .7rem; margin-top: 1.4rem; }
.liste-coches li { position: relative; padding-left: 2rem; color: #3F3A36; }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/62% no-repeat; }
.etiquette { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--wheat); background: var(--wheat-soft); padding: .1rem .55rem; border-radius: 99px; vertical-align: 2px; }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .deux-colonnes { grid-template-columns: 1fr; } }

/* Référence */
.reference { background: var(--vert-fonce); color: #fff; }
.reference h2, .reference .sur-titre { color: #fff; }
.reference .sur-titre { opacity: .75; }
.reference p { color: rgb(255 255 255 / .86); max-width: 44rem; font-size: 1.08rem; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2rem; }
.chiffres div { background: rgb(255 255 255 / .08); border-radius: 16px; padding: 20px; }
.chiffres b { display: block; font-size: 1.15rem; margin-bottom: .3rem; }
.chiffres span { color: rgb(255 255 255 / .78); font-size: .95rem; }
@media (max-width: 760px) { .chiffres { grid-template-columns: 1fr; } }

/* Démarrer */
.parcours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2rem; counter-reset: p; }
.parcours div { counter-increment: p; background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--ombre-carte); }
.parcours div::before { content: counter(p); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wheat); color: #fff; font-weight: 800; margin-bottom: 14px; }
.parcours p { color: #4A4541; margin-top: .35rem; }
@media (max-width: 760px) { .parcours { grid-template-columns: 1fr; } }

/* Questions */
.questions { display: grid; gap: 10px; margin-top: 1.6rem; max-width: 52rem; }
.questions details { background: var(--canvas); border-radius: 14px; padding: 16px 20px; }
.questions summary { cursor: pointer; font-weight: 700; color: var(--vert-fonce); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.questions summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
.questions details[open] summary::after { content: "–"; }
.questions p { margin-top: .6rem; color: #4A4541; }

/* Contact */
.contacts { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; margin-top: 2rem; align-items: stretch; }
.contact { background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--ombre-carte); }
.contact .role { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wheat); }
.contact .qui { font-size: 1.25rem; font-weight: 800; color: var(--vert-fonce); margin: .3rem 0 .1rem; }
.contact .ou { color: var(--pierre); margin-bottom: 1rem; }
.contact .liens { display: flex; flex-wrap: wrap; gap: .6rem; }
.contact .liens .bouton { padding: .6rem 1rem; font-size: .95rem; }
.qr-carte { background: var(--surface); border-radius: 18px; padding: 20px; text-align: center; box-shadow: var(--ombre-carte); font-size: .85rem; color: var(--pierre); }
.qr-carte img { width: 140px; margin: 0 auto 8px; }
@media (max-width: 900px) { .contacts { grid-template-columns: 1fr; } .qr-carte { display: none; } }

/* Pied */
.pied { padding: 32px 0; color: var(--pierre); font-size: .9rem; }
.pied .conteneur { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center; }
.pied img { height: 30px; width: auto; }

/* ================= Téléphone ================= */
.telephone { position: relative; width: 100%; max-width: 375px; background: #0c0c0d; border-radius: 58px; padding: 11px;
  box-shadow: 0 0 0 3px #8e8e93, 0 0 0 4px #c7c7cc, 0 30px 60px -20px rgb(0 0 0 / .45); }
.telephone::before { content: ""; position: absolute; right: -6px; top: 190px; width: 3px; height: 92px; background: #a1a1a6; border-radius: 0 3px 3px 0; }
.telephone::after { content: ""; position: absolute; left: -6px; top: 150px; width: 3px; height: 56px; background: #a1a1a6; border-radius: 3px 0 0 3px; box-shadow: 0 72px 0 #a1a1a6; }
.telephone .ecran { position: relative; height: 740px; background: var(--canvas); border-radius: 48px; overflow: hidden; font-size: 14px; }
.telephone .ecran::before { content: "9:41"; position: absolute; top: 14px; left: 34px; font-size: 14px; font-weight: 700; color: var(--texte); z-index: 3; }
.telephone .ecran::after { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 112px; height: 32px; border-radius: 20px; background: #0c0c0d; z-index: 3; }
.telephone .defile { position: absolute; inset: 42px 0 74px 0; overflow-y: auto; scrollbar-width: none; }
.telephone .defile::-webkit-scrollbar { display: none; }
.telephone .defile.sans-nav { bottom: 0; }
.telephone .ecran .etat { position: absolute; top: 16px; right: 30px; display: flex; gap: 5px; align-items: center; z-index: 3; }
@media (max-width: 420px) { .telephone .ecran { height: 680px; } }

.ac { padding: 8px 16px 16px; }
.ac-tete { display: flex; justify-content: space-between; align-items: flex-start; }
.ac-salut { font-size: 24px; font-weight: 750; letter-spacing: -.3px; }
.ac-date { color: var(--pierre); font-size: 13px; margin-top: 2px; }
.ac-deco { background: #fff; border-radius: 10px; padding: 7px 10px; font-size: 12px; font-weight: 600; color: var(--brand); box-shadow: var(--ombre-carte); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(45 106 79 / .45); } 50% { box-shadow: 0 0 0 9px rgb(45 106 79 / 0); } }
.ac-titre { display: flex; justify-content: space-between; margin: 18px 2px 9px; font-size: 11.5px; font-weight: 700; color: var(--brand); letter-spacing: .4px; }
.ac-titre i { font-style: normal; font-weight: 500; letter-spacing: 0; }
.ligne { width: 100%; background: #fff; border-radius: 14px; padding: 10px 11px; display: flex; align-items: center; gap: 11px; margin-bottom: 8px; box-shadow: var(--ombre-carte); border: 0; font: inherit; text-align: left; color: inherit; }
button.ligne { cursor: pointer; }
.ligne.nouvelle { animation: arrivee .6s ease-out; box-shadow: 0 0 0 2px var(--brand-ring); }
@keyframes arrivee { from { opacity: 0; transform: translateY(-8px); } }
.ligne.autre { opacity: .85; }
.tuile { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.tuile.ble { background: var(--wheat-soft); }
.tuile img { width: 32px; }
.ligne .txt { flex: 1; min-width: 0; }
.ligne .nom { font-weight: 700; font-size: 13px; text-transform: uppercase; }
.ligne .mat { color: var(--pierre); font-size: 12px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ligne .dt { color: var(--pierre); font-size: 11px; margin-top: 2px; }
.ligne .qte { font-weight: 750; color: var(--brand); font-size: 16px; white-space: nowrap; }
.en-cours { font-size: 10.5px; font-weight: 700; color: var(--orange); background: var(--orange-soft); padding: 3px 8px; border-radius: 20px; white-space: nowrap; }

.nav { position: absolute; bottom: 0; left: 0; right: 0; height: 74px; background: #fff; display: flex; justify-content: space-around; align-items: flex-start; padding: 9px 8px 0; border-top: 1px solid #eee; font-size: 11px; color: var(--pierre); }
.nav div { text-align: center; padding: 5px 11px; border-radius: 10px; }
.nav .actif { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.nav .plus { color: var(--wheat); }
.nav svg { width: 22px; height: 22px; display: block; margin: 0 auto 3px; }

.sa { padding: 6px 16px 24px; }
.sa-tete { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sa-tete button { border: 0; background: #fff; width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--ombre-carte); cursor: pointer; font-size: 18px; color: var(--brand); }
.sa-tete h3 { font-size: 20px; color: var(--brand); }
.sa label { display: block; color: var(--brand); font-weight: 700; font-size: 13px; margin: 12px 2px 6px; }
.sa label i { font-style: normal; color: var(--pierre-clair); font-weight: 500; }
.sa select, .sa input { width: 100%; background: #fff; border: 1px solid var(--bord); border-radius: 11px; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--texte); appearance: none; -webkit-appearance: none; }
.sa select { background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357534E' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>") right 10px center/18px no-repeat; padding-right: 34px; }
.sa select:focus, .sa input:focus { outline: 2px solid var(--brand-ring); border-color: var(--brand); }
.cats { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 7px; }
.cats button { font: inherit; font-size: 11px; padding: 4px 9px; border-radius: 20px; background: #fff; border: 1px solid var(--bord); color: var(--pierre); cursor: pointer; }
.cats button.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.astuce { margin-top: 6px; border-radius: 11px; padding: 9px 11px; font-size: 12px; line-height: 1.4; background: var(--brand-soft); }
.astuce b { color: var(--wheat); }
.astuce.ble { background: var(--wheat-soft); }
.astuce.erreur { background: var(--rouge-soft); color: var(--rouge); font-weight: 600; }
.resultat { margin-top: 8px; text-align: center; font-weight: 800; font-size: 22px; color: var(--brand); }
.resultat small { display: block; font-size: 11px; color: var(--pierre); font-weight: 500; }
.sa .valider { width: 100%; margin-top: 16px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: 16px; padding: 14px; border-radius: 12px; border: 0; cursor: pointer; }
.sa .valider:disabled { background: var(--brand-ring); cursor: not-allowed; }
.sa .discret { width: 100%; margin-top: 8px; background: transparent; color: var(--pierre); font: inherit; font-size: 14px; padding: 10px; border: 0; cursor: pointer; text-decoration: underline; }
.recap { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--ombre-carte); font-size: 13px; color: #3F3A36; }
.recap b { color: var(--texte); }

/* Pastille « hébergé en France » (reprise de l'écran de connexion de l'appli) */
.france { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--bord); background: rgb(255 255 255 / .85); border-radius: 99px; padding: .35rem .9rem; font-size: .8rem; font-weight: 600; color: var(--pierre); box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.france svg { width: 16px; height: 16px; color: var(--brand); }
.drapeau { display: inline-flex; width: 16px; height: 10px; border-radius: 2px; overflow: hidden; border: 1px solid var(--bord); }
.drapeau i { flex: 1; } .drapeau i:nth-child(1) { background: #0055A4; } .drapeau i:nth-child(2) { background: #fff; } .drapeau i:nth-child(3) { background: #EF4135; }
.sous-actions { margin-top: 1.2rem; }
.pied-droite { display: inline-flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* Accueil PWA fidèle à l'appli (bannière + accès rapide) */
.ac-banniere { height: 140px; border-radius: 16px; margin-top: 14px; background: url("assets/hero.jpg") center 62%/cover; box-shadow: var(--ombre-panneau); }
.ac-titre.gris { color: #78716C; margin-top: 16px; }
.ac-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-carte { display: flex; align-items: flex-start; gap: 9px; border-radius: 16px; padding: 14px 12px; min-height: 96px; box-shadow: var(--ombre-carte); font: inherit; text-align: left; color: inherit; }
button.ac-carte { cursor: pointer; transition: transform .15s; }
button.ac-carte:hover { transform: translateY(-1px); }
.ac-carte.clignote { animation: pulse 1.8s ease-in-out infinite; }
.ac-carte svg { width: 32px; height: 32px; flex: none; }
.ac-carte b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.2; color: #0C0A09; }
.ac-carte span { display: block; font-size: 10.5px; line-height: 1.35; color: #78716C; margin-top: 5px; }
.ac-carte.c1 { background: rgb(231 240 235 / .75); border: 1px solid rgb(156 195 174 / .4); }
.ac-carte.c2 { background: rgb(251 241 228 / .85); border: 1px solid rgb(180 83 9 / .15); }
.ac-carte.c3 { background: rgb(231 240 235 / .45); border: 1px solid rgb(156 195 174 / .25); }
.ac-carte.c4 { background: rgb(231 240 235 / .6); border: 1px solid rgb(156 195 174 / .25); }
