@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(polices/instrument-sans-400-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(polices/instrument-sans-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(polices/instrument-sans-500-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(polices/instrument-sans-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(polices/instrument-sans-600-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(polices/instrument-sans-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(polices/urbanist-600-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(polices/urbanist-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(polices/urbanist-700-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(polices/urbanist-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* mydailyaiassistant — feuille de style */
:root {
  --nuit: #123c47;
  --nuit-2: #0c2a33;
  --lagon: #1f7a8c;
  --lagon-voile: #e3f1f3;
  --ambre: #f2a541;
  --ambre-voile: #fff3e0;
  --papier: #fbfaf7;
  --blanc: #ffffff;
  --encre: #15252b;
  --gris: #56656b;
  --ligne: #dfe3df;
  --alerte: #a33a1f;
  --titre: 'Urbanist', 'Avenir Next', 'Segoe UI', sans-serif;
  --texte: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 400 1rem/1.6 var(--texte); color: var(--encre);
  background:
    linear-gradient(90deg, rgba(18, 60, 71, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(18, 60, 71, .045) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--papier);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--lagon); text-underline-offset: 3px; }
a:hover { color: var(--nuit); }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); color: var(--encre); margin: 0 0 .55em; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.sans-coupure { white-space: nowrap; }

.saut { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--encre); color: #fff; padding: .5rem .9rem; border-radius: 8px; }
.saut:focus { top: 12px; color: #fff; }

/* En-tête : logo centré */
.entete { display: flex; justify-content: center; padding: 1.4rem 1rem 1.1rem; border-bottom: 1px solid var(--ligne); background: rgba(251, 250, 247, .85); }
.signature { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--encre); white-space: nowrap; }
.signature svg { width: 34px; height: 34px; flex: none; }
.signature__nom { font: 700 1.34rem/1 var(--titre); letter-spacing: -.025em; color: var(--nuit); }
.signature__ai { font-weight: 800; background: linear-gradient(180deg, #f6b65a, #e08a1e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signature__fin { font-weight: 500; color: var(--lagon); }
.signature:hover { color: var(--encre); }

/* Plateau et dossier en deux volets */
.plateau { flex: 1; width: 100%; max-width: 1060px; margin: 0 auto; padding: 2.4rem 1rem 3.5rem; }
.dossier { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 rgba(18, 60, 71, .04), 0 22px 44px -34px rgba(18, 60, 71, .45); }

.volet { position: relative; display: flex; flex-direction: column; background: var(--nuit); color: #e3eef0; }
.volet__photo { position: relative; margin: 0; flex: 1 1 auto; min-height: 260px; }
.volet__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.volet__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 42, 51, 0) 45%, rgba(12, 42, 51, .75)); }
.volet__photo--synthese { display: none; }
.badge-agent { position: absolute; left: 1.1rem; top: 1.1rem; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border-radius: 6px; background: var(--blanc); color: var(--nuit); font: 600 .82rem/1.2 var(--texte); }
.badge-agent__point { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; animation: battement 1.8s ease-in-out infinite; }
@keyframes battement { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.volet__points { list-style: none; margin: 0; padding: 1.3rem 1.6rem 1.6rem; display: grid; gap: .7rem; border-top: 3px solid var(--ambre); }
.volet__points li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.volet__points svg { width: 20px; height: 20px; color: var(--ambre); flex: none; }
.volet__etape { display: none; padding: 1.6rem; border-top: 3px solid var(--ambre); }
.volet__numero { margin: 0; font: 800 4.2rem/1 var(--titre); color: #fff; letter-spacing: -.04em; }
.volet__numero small { font-size: .38em; font-weight: 600; color: #9fc3ca; letter-spacing: 0; margin-left: .2em; }
.volet__libelle { margin: .5rem 0 .9rem; color: #bcd6db; font-size: .92rem; }
.volet__libelle strong { color: #fff; }
.jauge__rail { height: 4px; background: rgba(255, 255, 255, .16); border-radius: 2px; overflow: hidden; }
.jauge__trace { height: 100%; width: 0; background: var(--ambre); transition: width .3s ease; }

/* volet selon l’écran */
.dossier[data-ecran="questions"] .volet__photo,
.dossier[data-ecran="encart"] .volet__photo { flex: 0 0 auto; min-height: 0; height: 190px; }
.dossier[data-ecran="questions"] .volet__points,
.dossier[data-ecran="encart"] .volet__points,
.dossier[data-ecran="synthese"] .volet__points { display: none; }
.dossier[data-ecran="questions"] .volet__etape,
.dossier[data-ecran="encart"] .volet__etape { display: block; flex: 1; }
.dossier[data-ecran="synthese"] .volet__photo--accueil { display: none; }
.dossier[data-ecran="synthese"] .volet__photo--synthese { display: block; }

.dossier__contenu { padding: 2.6rem 2.6rem 2.4rem; min-width: 0; }
.surtitre { display: inline-block; margin: 0 0 1rem; padding-bottom: .3rem; border-bottom: 2px solid var(--ambre); font: 700 .78rem/1.3 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--nuit); }
.vue h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; }
.accroche { font: 600 1.12rem/1.4 var(--titre); color: var(--lagon); }
.chapeau { color: var(--gris); font-size: 1.04rem; }
.rangee-boutons { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 0; }
.note-outil { display: flex; align-items: center; gap: .5rem; margin: 1.6rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--ligne); color: var(--gris); font-size: .9rem; }
.note-outil svg { width: 18px; height: 18px; color: var(--lagon); }

.bouton { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: 0 1.4rem; border-radius: 8px; border: 2px solid transparent; font: 700 1rem/1 var(--texte); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.bouton svg { width: 20px; height: 20px; }
.bouton--plein { background: var(--nuit); color: #fff; }
.bouton--plein:hover { background: var(--lagon); color: #fff; }
.bouton--clair { background: var(--blanc); border-color: var(--nuit); color: var(--nuit); }
.bouton--clair:hover { background: var(--lagon-voile); color: var(--nuit); }
.bouton--discret { background: transparent; color: var(--gris); padding: 0 .4rem; }
.bouton--discret:hover { color: var(--nuit); }
.bouton:disabled { opacity: .35; cursor: not-allowed; }
.bouton--plein:disabled:hover { background: var(--nuit); }

/* Étapes */
.etape { border: 0; margin: 0; padding: 0; min-width: 0; }
.etape legend { float: left; width: 100%; padding: 0; margin: 0 0 .4rem; font: 700 clamp(1.35rem, 2.6vw, 1.7rem)/1.22 var(--titre); letter-spacing: -.015em; }
.etape legend:focus, .encart h2:focus, .vue h1:focus, .vue h2:focus, .merci h2:focus { outline: none; }
.consigne { clear: both; margin: 0 0 1.1rem; color: var(--gris); font-size: .9rem; }
.compteur-choix { font-weight: 700; color: var(--lagon); }
.grille-choix { display: grid; gap: .55rem; }
.choix { position: relative; display: flex; align-items: center; gap: .85rem; min-height: 54px; padding: .7rem 3rem .7rem 1.1rem; border: 1px solid var(--ligne); border-radius: 10px; background: var(--blanc); cursor: pointer; transition: border-color .15s, background .15s; }
.choix:hover { border-color: var(--lagon); background: #f7fbfb; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choix__texte { font-weight: 500; line-height: 1.35; }
.choix__coche { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--ligne); color: transparent; }
.choix__coche svg { width: 15px; height: 15px; stroke-width: 2.4; }
.choix:has(input:checked) { border-color: var(--nuit); background: var(--lagon-voile); box-shadow: inset 4px 0 0 var(--ambre); }
.choix:has(input:checked) .choix__coche { background: var(--ambre); border-color: var(--ambre); color: var(--nuit); }
.choix:has(input:focus-visible) { outline: 3px solid var(--ambre); outline-offset: 2px; }
.choix:has(input:disabled) { opacity: .45; cursor: not-allowed; }

.encart .cliche { margin: 0 0 1.2rem; border-radius: 10px; overflow: hidden; }
.encart .cliche img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.encart__etiquette { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .6rem; color: var(--lagon); font: 700 .8rem/1 var(--texte); letter-spacing: .08em; text-transform: uppercase; }
.encart__etiquette svg { width: 17px; height: 17px; }
.encart h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.encart p { color: var(--gris); }

.pilotage { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--ligne); }

/* Synthèse */
.vue[data-vue="synthese"] h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); font-weight: 800; }
.synthese__resume { color: var(--gris); }
.titre-liste { font: 700 1rem/1.3 var(--texte); letter-spacing: 0; margin: 1.4rem 0 .8rem; }
.liste-agent { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.liste-agent li { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-left: 3px solid var(--ambre); background: var(--ambre-voile); border-radius: 0 10px 10px 0; }
.liste-agent li > svg { width: 22px; height: 22px; color: var(--nuit); flex: none; margin-top: 2px; }
.liste-agent strong { display: block; font-family: var(--titre); }
.liste-agent span { color: var(--gris); font-size: .95rem; }
.envoi, .merci { margin-top: 1.8rem; padding: 1.6rem; border: 1px solid var(--ligne); border-radius: 12px; background: #f8faf9; }
.envoi h3, .merci h2 { font-size: 1.3rem; }
.envoi__intro { color: var(--gris); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.champ { display: grid; gap: .35rem; margin-bottom: 1rem; }
.champ > label { font-weight: 600; font-size: .95rem; }
.champ small { font-weight: 400; color: var(--gris); }
.champ input[type="text"], .champ input[type="email"] { font: inherit; min-height: 48px; padding: .6rem .85rem; border: 1px solid #c9d0cc; border-radius: 8px; background: var(--blanc); color: var(--encre); }
.champ input:focus { outline: none; border-color: var(--nuit); box-shadow: 0 0 0 3px rgba(242, 165, 65, .35); }
.champ input[aria-invalid="true"] { border-color: var(--alerte); }
.accord { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.accord input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--nuit); flex: none; }
.erreur { color: var(--alerte); font-size: .87rem; font-weight: 600; }
.erreur:empty { display: none; }
.erreur--envoi { margin: .8rem 0 0; }
.merci { text-align: center; }
.merci__icone { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: .8rem; border-radius: 12px; background: var(--nuit); color: var(--ambre); }
.merci__icone svg { width: 30px; height: 30px; }
.merci p { color: var(--gris); }

/* Pages de texte */
.feuille { max-width: 760px; margin: 0 auto; padding: 2.4rem 2.6rem; background: var(--blanc); border: 1px solid var(--ligne); border-top: 4px solid var(--nuit); border-radius: 12px; }
.feuille h1 { font-size: clamp(1.8rem, 3.6vw, 2.3rem); font-weight: 800; }
.feuille h2 { font-size: 1.2rem; margin-top: 1.7em; }
.feuille p, .feuille li { color: #34454b; }
.feuille ul { padding-left: 1.2em; }
.maj { color: var(--gris); font-size: .9rem; }
.fiche { margin: 0 0 1em; padding: 1rem 1.2rem; border-left: 3px solid var(--ambre); background: var(--ambre-voile); border-radius: 0 10px 10px 0; }
.fiche p { margin: 0 0 .3em; }
.defile { overflow-x: auto; }
.tableau-cles { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tableau-cles th, .tableau-cles td { text-align: left; vertical-align: top; padding: .65rem .5rem; border-bottom: 1px solid var(--ligne); }
.tableau-cles code { background: var(--lagon-voile); padding: .1em .4em; border-radius: 4px; font-size: .88em; }

/* Pied : centré, clair */
.pied { border-top: 1px solid var(--ligne); background: var(--blanc); padding: 2.4rem 1rem 1.6rem; text-align: center; font-size: .92rem; color: var(--gris); }
.pied__cadre { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.pied__slogan { margin: .7rem 0 1.2rem; font: 600 1rem/1.4 var(--titre); color: var(--nuit); }
.pied__liens { list-style: none; margin: 0 0 1.2rem; padding: .9rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); width: 100%; }
.pied__liens a { color: var(--encre); text-decoration: none; font-weight: 500; }
.pied__liens a:hover { color: var(--lagon); text-decoration: underline; }
.pied__societe { margin: 0 0 .4rem; }
.pied__bas { margin: 0; font-size: .85rem; }

/* Bandeau */
.bandeau { position: fixed; left: 1rem; bottom: 1rem; z-index: 30; width: min(440px, calc(100% - 2rem)); padding: 1.1rem 1.2rem; background: var(--nuit); color: #e3eef0; border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(12, 42, 51, .6); }
.bandeau p { margin: 0 0 .8rem; font-size: .93rem; }
.bandeau__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.bandeau .bouton { min-height: 40px; padding: 0 1rem; font-size: .92rem; }
.bandeau .bouton--plein { background: var(--ambre); color: var(--nuit); }
.bandeau .bouton--clair { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.bandeau__lien { color: #fff; font-size: .88rem; }

@media (max-width: 820px) {
  .plateau { padding: 1.2rem .75rem 2.5rem; }
  .dossier { grid-template-columns: 1fr; }
  .volet__photo { min-height: 0; height: 210px; flex: none; }
  .volet__points { grid-template-columns: 1fr; padding: 1rem 1.2rem; }
  .dossier[data-ecran="questions"] .volet__photo, .dossier[data-ecran="encart"] .volet__photo { display: none; }
  .volet__etape { padding: .9rem 1.2rem; display: none; }
  .dossier[data-ecran="questions"] .volet__etape, .dossier[data-ecran="encart"] .volet__etape { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .2rem 1rem; }
  .volet__numero { font-size: 2.2rem; grid-row: span 2; }
  .volet__libelle { margin: 0; }
  .dossier__contenu { padding: 1.6rem 1.2rem 1.6rem; }
  .feuille { padding: 1.6rem 1.2rem; }
  .envoi, .merci { padding: 1.2rem; }
  .signature__nom { font-size: 1.12rem; }
}
@media (max-width: 420px) {
  .signature svg { width: 30px; height: 30px; }
  .signature__nom { font-size: 1.02rem; }
  .pilotage .bouton--plein { padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
