/* « Annoter mon site » : outil plein écran, feuille autonome (25/11/2026). */
:root { --bleu: #03358d; --marine: #02225b; --vif: #225fce; --bord: #dce5f1; --texte: #42506a; --fond: #eef4fd; --garder: #0c7a53; --changer: #d9600b; --enlever: #c62338; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { display: grid; grid-template-columns: 360px minmax(0,1fr); background: linear-gradient(140deg, #dfeafb, #eef5ff); color: var(--texte); font: 400 15px/1.5 Roboto, Arial, sans-serif; overflow: hidden; }
button, input, textarea { font: inherit; }
h1, h2 { color: var(--marine); line-height: 1.2; margin: 0; }
:focus-visible { outline: 3px solid #8ec5ff; outline-offset: 2px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border: 1px solid var(--bleu); border-radius: 13px; background: var(--bleu); color: #fff; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.bouton:hover { background: #0f69a3; border-color: #0f69a3; } .bouton:disabled { background: #c9d4e4; border-color: #c9d4e4; cursor: not-allowed; }
.bouton--bord { background: #fff; color: var(--bleu); border-color: #b9cdeb; } .bouton--bord:hover { background: #f1f6ff; border-color: var(--bleu); color: var(--bleu); }
.lien { border: 0; background: none; color: #7b879b; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.erreur { padding: 11px 14px; border-radius: 10px; background: #fde9ec; color: #8f1425; font-size: 14px; margin: 0; }

.barre { position: relative; display: flex; flex-direction: column; min-height: 0; background: #fff; box-shadow: 8px 0 36px #03358d14; z-index: 5; }
.barre__tete { padding: 20px 24px 14px; } .barre__logo img { display: block; height: 36px; width: auto; } .barre__tete h1 { margin-top: 18px; font-size: 22px; letter-spacing: -.02em; } .barre__aide { margin: 8px 0 0; font-size: 14px; min-height: 42px; }
.barre__adresse { padding: 0 24px 14px; } .barre__adresse label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .barre__adresse > div { display: flex; border: 1px solid var(--bord); border-radius: 13px; overflow: hidden; background: #f7faff; } .barre__adresse input { flex: 1; min-width: 0; padding: 11px 14px; border: 0; background: none; color: var(--marine); outline: 0; } .barre__adresse > div:focus-within { border-color: var(--vif); } .barre__adresse button { width: 48px; border: 0; background: none; color: var(--bleu); font-size: 20px; cursor: pointer; }
.outils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 24px; } .outils button { display: grid; justify-items: center; gap: 5px; padding: 11px 4px 9px; border: 1px solid var(--bord); border-radius: 14px; background: #fff; color: var(--texte); font-size: 13px; font-weight: 700; cursor: pointer; } .outils svg { width: 25px; height: 25px; } .outils button:hover { border-color: #92b2e3; color: var(--bleu); } .outils [aria-pressed="true"] { border-color: var(--bleu); background: var(--bleu); color: #fff; } .outils [aria-pressed="true"]:hover { color: #fff; }
.vues { display: flex; margin: 12px 24px 0; padding: 4px; border-radius: 12px; background: var(--fond); } .vues button { flex: 1; padding: 7px; border: 0; border-radius: 9px; background: none; color: var(--texte); font-size: 13px; font-weight: 600; cursor: pointer; } .vues [aria-pressed="true"] { background: #fff; color: var(--bleu); box-shadow: 0 2px 8px #03358d1f; } .vues button:disabled { opacity: .45; cursor: default; }
.notes { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 24px; scrollbar-width: thin; scrollbar-color: #c3d4ef transparent; }
.vide { padding: 26px 20px; border: 2px dashed #cddcf1; border-radius: 18px; text-align: center; } .vide strong { color: var(--marine); } .vide p { margin: 6px 0 0; font-size: 14px; }
.note { margin-bottom: 10px; padding: 13px 15px; border: 1px solid var(--bord); border-radius: 15px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; } .note:hover { border-color: #92b2e3; box-shadow: 0 6px 18px #03358d14; } .note--ouverte { cursor: default; border-color: var(--vif); } .note--ouverte > strong { display: block; margin-bottom: 10px; color: var(--marine); }
.note__tete { display: flex; align-items: center; gap: 9px; } .note__tete em { margin-left: auto; color: #7b879b; font-size: 12px; } .note p { margin: 8px 0 3px; color: #253d5e; white-space: pre-wrap; overflow-wrap: anywhere; } .note small { color: #7b879b; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etiquette { padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; } .etiquette--garder { background: #e4f6ee; color: var(--garder); } .etiquette--changer { background: #fdeee2; color: #a84604; } .etiquette--enlever { background: #fde9ec; color: #a5172a; }
.repere { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 3px solid #fff; border-radius: 50% 50% 50% 6px; background: var(--changer); color: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 4px 14px #00102e59; } .repere--garder { background: var(--garder); } .repere--enlever { background: var(--enlever); } .note__tete .repere { width: 26px; height: 26px; border-width: 0; box-shadow: none; font-size: 12px; }
.barre__pied { display: grid; gap: 9px; padding: 14px 24px 18px; border-top: 1px solid var(--bord); } .barre__passer { color: #6b7a92; font-size: 13px; text-align: center; text-underline-offset: 3px; }
.barre__merci { margin: auto 24px; text-align: center; } .barre__merci span { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #e4f6ee; color: var(--garder); font-size: 32px; } .barre__merci h2 { font-size: 24px; } .barre__merci p { margin: 10px 0 22px; }
.envoi {
    position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain; padding: 16px 24px 0;
    background: #fff; scrollbar-width: thin; scrollbar-color: #c3d4ef transparent;
}
.envoi__retour {
    align-self: flex-start; min-height: 40px; padding: 4px 0; border: 0;
    background: none; color: var(--bleu); font-size: 14px; font-weight: 600; cursor: pointer;
}
.envoi__retour:hover { text-decoration: underline; text-underline-offset: 3px; }
.envoi__compteur { margin: 10px 0; color: var(--texte); font-size: 13px; }
.creation-sans-exemple:not(.seul) .envoi__retour { display: inline-flex; align-items: center; text-decoration: none; }
.creation-sans-exemple:not(.seul) .envoi__retour:hover { text-decoration: underline; }
.creation-resume {
    display: grid; align-items: safe center; justify-items: center; min-width: 0; overflow: auto;
    padding: clamp(24px, 6vw, 92px);
    background: radial-gradient(ellipse at top right, #c5e2fb, transparent 72%), #eaf4ff;
}
.creation-resume__fiche {
    width: min(100%, 580px); min-width: 0; padding: clamp(26px, 4vw, 56px);
    border: 1px solid #d7e5f3; border-radius: 24px; background: #fff;
    box-shadow: 0 20px 60px -26px #164a7b45;
}
.creation-resume__logo { display: block; width: auto; height: 30px; max-width: 100%; margin-bottom: 30px; }
.creation-resume h2 { font-size: clamp(26px, 3vw, 39px); letter-spacing: -.035em; }
.creation-resume p { margin: 12px 0 0; }
.creation-resume dl { margin: 0; }
.creation-resume dl > div { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bord); }
.creation-resume dt { color: var(--texte); font-size: 13px; }
.creation-resume dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--marine); font-size: 18px; white-space: pre-line; }
@media (max-width: 820px) { .creation-resume { display: none; } }
.envoi__etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0 0 22px; padding: 0; }
.envoi__etapes li { position: relative; display: grid; justify-items: center; gap: 4px; color: #526480; font-size: 12px; }
.envoi__etapes li + li::before {
    content: ""; position: absolute; top: 14px; left: calc(-50% + 19px); right: calc(50% + 19px);
    height: 2px; background: var(--bord);
}
.envoi__etapes li span {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid #bacbe2; background: #fff; font-weight: 700;
}
.envoi__etapes .est-faite span { border-color: var(--vif); background: #e8f1ff; color: var(--bleu); }
.envoi__etapes [aria-current="step"] { color: var(--marine); font-weight: 700; }
.envoi__etapes [aria-current="step"] span { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.envoi__etapes li:is([aria-current="step"], .est-faite)::before { background: var(--vif); }
.envoi__legende { margin: -6px 0 16px; font-size: 13px; color: var(--texte); }
.envoi__obligatoire { color: #a43228; font-weight: 700; }
.envoi form { display: flex; flex: 1 0 auto; flex-direction: column; gap: 16px; }
.envoi__etape { display: grid; gap: 16px; min-width: 0; }
.envoi__etape h2 { font-size: 25px; letter-spacing: -.025em; text-wrap: balance; scroll-margin-top: 12px; }
.envoi__intro { margin: -7px 0 0; color: var(--texte); font-size: 14px; line-height: 1.5; }
.envoi label, .envoi legend { color: var(--marine); font-size: 14px; font-weight: 600; }
.envoi label { display: grid; gap: 5px; }
.envoi label small { color: var(--texte); font-size: 13px; font-weight: 400; }
.envoi :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
    min-width: 0; width: 100%; padding: 10px 12px; border: 1px solid #b7c9e3; border-radius: 10px;
    background: #fbfdff; color: #172744; font-size: 16px; font-weight: 400;
}
.envoi :is(input, textarea) { scroll-margin-block: 12px 88px; }
.envoi textarea { resize: vertical; }
.envoi__description { display: grid; gap: 6px; }
.envoi textarea:disabled { border-color: var(--bord); background: #edf1f6; color: #677286; }
.envoi__identite { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.envoi__choix { min-width: 0; margin: 0; padding: 0; border: 0; }
.envoi__choix legend { margin-bottom: 7px; padding: 0; }
.envoi__choix label {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 12px;
    border: 1px solid #becde2; border-radius: 10px; background: #fff; color: var(--texte); font-weight: 400; cursor: pointer;
}
.envoi__choix label + label { margin-top: 6px; }
.envoi__choix label:hover { border-color: #83a4d8; }
.envoi__choix label:has(:checked) { border-color: var(--vif); background: var(--fond); color: var(--marine); }
.envoi__choix input, .envoi .case input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--bleu); }
.envoi .case { grid-template-columns: 18px 1fr; align-items: start; gap: 9px; font-weight: 400; color: var(--texte); font-size: 13px; }
.envoi__description .case { align-items: center; min-height: 36px; cursor: pointer; }
.envoi a { color: var(--bleu); text-underline-offset: 2px; }
.envoi__actions {
    position: sticky; bottom: 0; display: flex; align-items: stretch; gap: 8px; margin-top: auto;
    padding: 12px 0 max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--bord); background: #fff;
}
.envoi__actions .bouton { flex: 1; min-height: 44px; gap: 8px; padding: 8px 10px; }
.envoi__actions .bouton--bord { flex: 0 1 auto; }
.formulaire__piege { position: absolute !important; left: -9999px; }

.scene { min-width: 0; min-height: 0; padding: 20px; } .navigateur { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px #03358d2b; }
.navigateur__barre { display: flex; align-items: center; gap: 8px; padding: 11px 18px; background: #eaf1fb; border-bottom: 1px solid #d3dff0; } .navigateur__barre i { width: 11px; height: 11px; border-radius: 50%; background: #b5c8e4; } .navigateur__barre button { width: 32px; height: 30px; margin-left: 8px; border: 0; border-radius: 8px; background: #fff; color: var(--bleu); font-size: 17px; cursor: pointer; } .navigateur__barre span { flex: 1; min-width: 0; margin-left: 8px; padding: 5px 16px; overflow: hidden; border-radius: 99px; background: #fff; color: #385073; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; } .navigateur__barre em { color: #6b7a92; font-size: 12px; font-style: normal; font-weight: 600; }
.navigateur__corps { position: relative; flex: 1; min-height: 0; background: #f3f6fb; } .defile { position: absolute; inset: 0; overflow-x: hidden; overflow-y: scroll; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #9db7dd #eef4fd; } .fond { position: relative; margin: 0 auto; background: #fff; } .colle { position: sticky; top: 0; overflow: hidden; } .colle iframe { display: block; border: 0; background: #fff; transform-origin: 0 0; pointer-events: none; } .fond > img { display: block; } .calque { position: absolute; inset: 0; z-index: 2; overflow: hidden; } .calque > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
body[data-outil="note"] .calque { cursor: crosshair; } body[data-outil="dessin"] .calque { cursor: crosshair; touch-action: none; } body[data-outil="main"] .calque { cursor: grab; }
.calque .repere { position: absolute; z-index: 3; margin: -27px 0 0 -3px; cursor: pointer; transition: transform .15s; } .calque .repere:hover { transform: scale(1.15); }
.trait { fill: none; stroke: var(--changer); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 2px #fff); } .trait--garder { stroke: var(--garder); } .trait--enlever { stroke: var(--enlever); }
.bulle { position: absolute; z-index: 5; padding: 15px; border-radius: 17px; background: #fff; box-shadow: 0 18px 50px #00102e66; cursor: default; animation: bulle .18s ease-out; } @keyframes bulle { from { opacity: 0; transform: translateY(6px); } } .bulle p { margin: 9px 0 0; color: #253d5e; white-space: pre-wrap; overflow-wrap: anywhere; }
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; } .type { padding: 8px 2px; border: 1px solid var(--bord); border-radius: 10px; background: #fff; color: var(--texte); font-size: 12px; font-weight: 700; cursor: pointer; } .type--garder[aria-pressed="true"] { background: var(--garder); border-color: var(--garder); color: #fff; } .type--changer[aria-pressed="true"] { background: #b84e06; border-color: #b84e06; color: #fff; } .type--enlever[aria-pressed="true"] { background: var(--enlever); border-color: var(--enlever); color: #fff; }
:is(.bulle,.note--ouverte) textarea { display: block; width: 100%; padding: 11px 13px; border: 1px solid #c3d4ef; border-radius: 12px; color: #172744; resize: vertical; } textarea.manque { border-color: var(--enlever); } .bulle__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; } .bulle__actions .bouton { min-height: 42px; padding: 8px 18px; }
.etat { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px; background: #f7faff; text-align: center; } .etat p { max-width: 480px; margin: 0; color: var(--marine); font-size: 18px; font-weight: 600; overflow-wrap: anywhere; } .etat__rond { display: none; width: 50px; height: 50px; border: 5px solid #d3e3ff; border-top-color: var(--vif); border-radius: 50%; animation: rond .9s linear infinite; } .etat--attente .etat__rond { display: block; } .etat [data-etat-actions] { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } @keyframes rond { to { transform: rotate(1turn); } }
.signal { position: fixed; left: 50%; bottom: 28px; z-index: 20; padding: 12px 22px; border-radius: 99px; background: var(--marine); color: #fff; transform: translateX(-50%); }
body.seul { display: grid; grid-template-columns: minmax(0,1fr); place-items: center; } .seul .scene, .seul .barre__tete h1, .seul .barre__aide { display: none; } .seul .barre { width: min(520px, calc(100% - 32px)); max-height: none; padding: 26px 10px 40px; border-radius: 26px; } .seul .barre__tete { display: grid; justify-items: center; } .seul .barre__logo { display: block; } .seul .barre__merci { margin: 22px 24px 0; }
@media (max-width: 1000px) and (min-width: 821px) { body { grid-template-columns: 310px minmax(0,1fr); } .scene { padding: 12px; } }
@media (max-width: 820px) {
    body { display: flex; flex-direction: column-reverse; } .scene { flex: 1; padding: 0; } .navigateur { border-radius: 0; } .barre { max-height: 46dvh; box-shadow: 0 -8px 30px #03358d26; } .barre__tete { padding: 10px 16px 8px; } .barre__logo, .barre__adresse, .barre__aide { display: none; } .barre__tete h1 { margin: 0; font-size: 16px; } .outils { padding: 0 16px; } .outils button { display: flex; justify-content: center; align-items: center; padding: 8px 4px; } .outils svg { width: 20px; height: 20px; } .vues { margin: 8px 16px 0; } .vues button { padding: 4px; } .notes { padding: 10px 16px; min-height: 54px; } .vide { padding: 10px 12px; border-width: 1px; } .vide p { display: none; } .barre__pied { grid-template-columns: 1fr 1fr; gap: 6px 8px; padding: 8px 16px 10px; } .barre__pied .bouton { min-height: 44px; padding: 8px; font-size: 14px; } .barre__passer { grid-column: 1 / -1; } .envoi-ouvert .barre { max-height: 100dvh; height: 100dvh; position: fixed; inset: 0; } .calque .repere { width: 28px; height: 28px; } .navigateur__barre { padding: 8px 12px; }
}
@media (max-width: 820px) {
    .barre:has(.barre__adresse) { max-height: 56dvh; }
    .barre__adresse { display: block; padding: 0 16px 8px; }
    .barre__adresse input { padding: 7px 11px; font-size: 16px; }
    .envoi-ouvert .barre:has(.barre__adresse) { max-height: 100dvh; }
    .envoi { padding-inline: max(18px, calc((100% - 30rem) / 2)); }
}
@media (max-width: 820px) and (max-height: 620px) {
    body:not(.envoi-ouvert) .barre:has(.barre__adresse) { overflow-y: auto; }
    body:not(.envoi-ouvert) .barre:has(.barre__adresse) > * { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; } }
