/* ============================================================
   TENDRE L’OREILLE — style.css
   Palette : Bleu marine #1a1a2e / #0f3460 + Vert #27ae60
   Polices  : Lora (titres) + Montserrat (texte)
   ============================================================ */

/* Polices hébergées sur le site (bug 40 de l'audit) : plus aucun appel à Google Fonts, qui
   recevait l'adresse IP de chaque visiteur. Fichiers woff2 (polices variables) récupérés le
   09-11-2026 sur Google Fonts (Lora v37, Montserrat v31), licence SIL Open Font License 1.1
   (/fonts/LICENCE-Lora.txt et /fonts/LICENCE-Montserrat.txt). Le navigateur ne télécharge
   le fichier « latin-ext » que si la page contient des caractères étendus (ł, ő, ş…). */
@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/lora-latin.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: 'Lora';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/lora-latin-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: 'Lora';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lora-italique-latin.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: 'Lora';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lora-italique-latin-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: 'Montserrat';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/montserrat-latin.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: 'Montserrat';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/montserrat-latin-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;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f5f5;
    color: #3d4a56;
    line-height: 1.7;
}
h1, h2, h3 {
    font-family: 'Lora', serif;
    color: #1a1a2e;
    margin-bottom: 1rem;
}
a { color: #0f3460; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.header {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: white;
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
nav {
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 12px 20px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    padding: 7px 16px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
}
nav a:hover { background: #0f3460; color: white; text-decoration: none; }
nav a.actif { background: #0f3460; color: white; }

/* ══════════════════════════════════════
   CONTAINER
══════════════════════════════════════ */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section {
    background: white;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.section h2 {
    font-size: 1.3em;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section h2 .num {
    background: #0f3460;
    color: white;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}
.section p {
    color: #555;
    line-height: 1.85;
    font-size: 0.95em;
    margin-bottom: 12px;
}
.section p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════
   SOMMAIRE (CGU)
══════════════════════════════════════ */
.sommaire {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 5px solid #0f3460;
}
.sommaire h2 { color: #1a1a2e; font-size: 1.1em; margin-bottom: 14px; }
.sommaire ol { padding-left: 20px; }
.sommaire ol li { margin-bottom: 7px; }
.sommaire ol li a { color: #0f3460; text-decoration: none; font-size: 14px; }
.sommaire ol li a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   BOITES COLORÉES (CGU)
══════════════════════════════════════ */
.box-vert, .box-rouge, .box-orange, .box-bleu {
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 16px;
}
.box-vert  { background: #f0faf4; border: 1px solid #b2dfdb; }
.box-rouge { background: #fff5f5; border: 1px solid #ffcdd2; }
.box-orange{ background: #fff8e1; border: 1px solid #ffe082; }
.box-bleu  { background: #e8f0fe; border: 1px solid #b3c4f7; }
.box-vert h3  { color: #1b5e20; font-size: 0.95em; margin-bottom: 10px; }
.box-rouge h3 { color: #b71c1c; font-size: 0.95em; margin-bottom: 10px; }
.box-orange h3{ color: #e65100; font-size: 0.95em; margin-bottom: 10px; }
.box-bleu h3  { color: #1a237e; font-size: 0.95em; margin-bottom: 10px; }

/* ══════════════════════════════════════
   LISTE DE RÈGLES (CGU)
══════════════════════════════════════ */
.rules-list { list-style: none; padding: 0; margin: 0; }
.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.93em;
    color: #555;
    line-height: 1.7;
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li .icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* ══════════════════════════════════════
   DATE MAJ
══════════════════════════════════════ */
.date-maj {
    text-align: center;
    color: #aaa;
    font-size: 12px;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

/* ══════════════════════════════════════
   RETOUR ACCUEIL
══════════════════════════════════════ */
.retour-accueil { text-align: center; padding: 30px 20px; }
.retour-accueil a {
    display: inline-block;
    background: #0f3460;
    color: white;
    padding: 13px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s;
}
.retour-accueil a:hover { background: #1a1a2e; }

/* ══════════════════════════════════════
   INTRO BOX
══════════════════════════════════════ */
.intro {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 5px solid #0f3460;
}
.intro h2 { color: #1a1a2e; font-size: 1.2em; margin-bottom: 10px; }
.intro p  { color: #555; line-height: 1.8; font-size: 0.95em; }

/* ══════════════════════════════════════
   URGENCE BOX
══════════════════════════════════════ */
.urgence-box {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 15px 18px;
    margin-bottom: 25px;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
}
.urgence-box strong { color: #e67e22; }

/* ══════════════════════════════════════
   FORMULAIRES
══════════════════════════════════════ */
.formulaire-box {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}
.formulaire-box h2 {
    font-size: 1.3em;
    margin-bottom: 5px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.formulaire-box .sous-titre {
    color: #888;
    font-size: 0.88em;
    margin-bottom: 25px;
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
}
.formulaire-box.temoignage-form {
    border-left: 5px solid #27ae60;
    display: none;
}
.formulaire-box.temoignage-form.visible { display: block; }

.champ { margin-bottom: 20px; }
.champ label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 7px;
    font-family: 'Montserrat', sans-serif;
}
.champ label span { color: #e74c3c; margin-left: 2px; }
.champ input[type="text"],
.champ input[type="email"],
.champ input[type="password"],
.champ select,
.champ textarea,
select, textarea, input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    background: white;
    color: #333;
    transition: border-color 0.2s;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus,
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0f3460;
}
.champ textarea, textarea {
    height: 140px;
    resize: vertical;
    line-height: 1.6;
}
.champ .aide-champ {
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
}

/* Compteur de caractères sous les zones de texte (js/compteur.js) */
.champ .compteur { text-align: right; }
.champ .compteur.limite { color: #c0392b; font-weight: 600; }

/* Champ piège anti-robots : sorti de l'écran (pas display:none, que certains robots repèrent) */
.champ-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Message d'erreur en haut d'un formulaire public ou de la liste des commentaires */
.formulaire-box .erreur, .liste-commentaires .erreur {
    background: #fdecea;
    border-left: 4px solid #e74c3c;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 20px;
    color: #c0392b;
}
/* Message de confirmation (ex. : commentaire signalé) */
.succes {
    background: #e8f8f0;
    border-left: 4px solid #27ae60;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 20px;
    color: #1e8449;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.consentement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
    font-size: 13px;
    color: #888;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
}
.consentement input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }

.checkbox-aide {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    padding: 12px;
    background: #fff8e1;
    border-radius: 6px;
    border: 1px solid #ffe082;
}
.checkbox-aide input { width: 18px; height: 18px; }
.checkbox-aide label { font-size: 14px; color: #666; cursor: pointer; }

/* Liste de choix (boutons radio), ex. : motif d'un signalement de commentaire */
.choix { border: 0; padding: 0; }
.choix legend {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}
.choix legend span { color: #e74c3c; margin-left: 2px; }
.choix-option { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.choix-option input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; }
.choix-option label { display: inline; margin: 0; font-weight: 400; font-size: 14px; color: #444; cursor: pointer; }
.signalement-contexte { color: #555; font-size: 0.95em; margin-bottom: 10px; }
.commentaire-cite { margin: 0 0 25px; }
.signalement-aide { font-size: 12px; color: #888; margin-top: 15px; font-family: 'Montserrat', sans-serif; }

/* ══════════════════════════════════════
   BOUTONS
══════════════════════════════════════ */
.btn, button[type="submit"] {
    display: inline-block;
    background: #0f3460;
    color: white;
    padding: 13px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    width: 100%;
    margin-top: 5px;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
}
.btn:hover, button[type="submit"]:hover {
    background: #1a1a2e;
    text-decoration: none;
}
button[type="submit"].btn-vert { background: #27ae60; }
button[type="submit"].btn-vert:hover { background: #219a52; }

.btn-saisir {
    display: inline-block;
    background: #0f3460;
    color: white;
    padding: 11px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
    width: auto;
}
.btn-saisir:hover { background: #1a1a2e; text-decoration: none; }

.btn-retour {
    display: inline-block;
    background: #0f3460;
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    width: auto;
}
.btn-retour:hover { background: #1a1a2e; }

/* ══════════════════════════════════════
   TÉMOIGNAGES (liste)
══════════════════════════════════════ */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}
.top-bar h2 { color: #1a1a2e; font-size: 1.3em; }

.temoignage {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #0f3460;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.temoignage-titre {
    font-family: 'Lora', serif;
    font-size: 1.1em;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}
.temoignage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}
.categorie {
    display: inline-block;
    background: #e8f0fe;
    color: #0f3460;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}
.date { color: #bbb; font-size: 12px; font-family: 'Montserrat', sans-serif; }
/* Texte des visiteurs : les retours à la ligne sont gardés (pre-line) et un mot ou un lien
   très long est coupé au lieu d'élargir la page (overflow-wrap). */
.temoignage p {
    line-height: 1.85;
    color: #555;
    font-size: 0.95em;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.temoignage-footer { margin-top: 15px; text-align: right; }

.aucun {
    text-align: center;
    color: #aaa;
    padding: 50px;
    background: white;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
}

/* Pagination de la liste publique : « Page précédente » à gauche, position au milieu,
   « Page suivante » à droite, même quand l'un des deux liens manque. Sur mobile, la
   position passe sous les deux liens. */
.pagination {
    display: grid;
    grid-template-areas: "precedente position suivante";
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin: 25px 0 10px;
    font-family: 'Montserrat', sans-serif;
}
.pagination a[rel="prev"] { grid-area: precedente; justify-self: start; }
.pagination-position { grid-area: position; color: #888; font-size: 13px; }
.pagination a[rel="next"] { grid-area: suivante; justify-self: end; }

/* ══════════════════════════════════════
   BOUTON COMMENTER
══════════════════════════════════════ */
.btn-commenter {
    display: inline-block;
    background: #e8f0fe;
    color: #0f3460;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-commenter:hover {
    background: #0f3460;
    color: white;
    text-decoration: none;
}

/* ══════════════════════════════════════
   COMMENTAIRES
══════════════════════════════════════ */
.commentaire {
    background: white;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 12px;
    border-left: 4px solid #27ae60;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.commentaire p {
    color: #555;
    line-height: 1.8;
    font-size: 0.93em;
    margin-bottom: 8px;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.commentaire-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #bbb;
    font-family: 'Montserrat', sans-serif;
}
/* Lien « Signaler » sous chaque commentaire : discret, mais assez grand pour le doigt */
.lien-signaler {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    margin: -6px -10px;
    border-radius: 4px;
}
.lien-signaler:hover, .lien-signaler:focus-visible {
    color: #c0392b;
    background: #fdecea;
    text-decoration: none;
}
.section-titre-commentaires {
    font-size: 1.1em;
    color: #1a1a2e;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* ══════════════════════════════════════
   PAGE ACCUEIL
══════════════════════════════════════ */
.objectifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.objectif-card {
    background: #f8f9ff;
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    border: 1px solid #e0e7ff;
}
.objectif-card .icone { font-size: 2em; margin-bottom: 10px; }
.objectif-card h3 { color: #1a1a2e; font-size: 1em; margin-bottom: 8px; }
.objectif-card p  { font-size: 0.88em; color: #666; line-height: 1.6; margin: 0; }

.etapes { margin-top: 15px; }
.etape {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 12px;
    background: #f8f9ff;
    border-radius: 8px;
}
.etape-num {
    background: #0f3460;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}
.etape-texte h3 { color: #1a1a2e; margin-bottom: 5px; font-size: 1em; }
.etape-texte p  { font-size: 0.9em; color: #666; margin: 0; line-height: 1.6; }

.urgences-liste { list-style: disc; padding-left: 25px; margin-top: 15px; }
.urgences-liste li {
    color: #555;
    font-size: 0.95em;
    line-height: 1.8;
    padding: 3px 0;
    font-family: 'Montserrat', sans-serif;
}
.urgences-liste li strong { color: #e74c3c; }

/* ══════════════════════════════════════
   PAGE CONFIRMATION / MERCI
══════════════════════════════════════ */
.message, .message-box {
    background: white;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    margin-top: 60px;
}
.icone { font-size: 3em; margin-bottom: 20px; }
/* Ressources d'aide sous la confirmation, pour qui a coché « Je cherche de l'aide » */
.ressources { margin-top: 25px; }

/* Rejoindre l'équipe (candidatures) */
.titre-page { color: #1a1a2e; font-size: 1.6em; margin: 10px 0 14px; }
.intro-rejoindre { color: #444; line-height: 1.7; margin-bottom: 22px; }
.etapes-candidature { padding-left: 22px; line-height: 1.8; color: #444; margin-bottom: 14px; }
.etapes-candidature li { margin-bottom: 6px; }
.bouton-candidature { text-align: center; margin: 26px 0 8px; }
.lien-bouton {
    display: inline-block;
    background: #27ae60;
    color: white;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 8px;
    text-decoration: none;
}
.lien-bouton:hover { background: #219a52; }
.lien-bouton:focus-visible { outline: 3px solid #0f3460; outline-offset: 3px; }

/* Bouton « Je te soutiens » (fonctionnalité 5) */
.soutien { margin: 18px 0 8px; }
.soutien form { display: inline; }
.btn-soutien {
    background: #e8f8ef;
    color: #1e8449;
    border: 2px solid #27ae60;
    border-radius: 24px;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.btn-soutien:hover { background: #d4f1e1; }
.btn-soutien:focus-visible { outline: 3px solid #0f3460; outline-offset: 2px; }
.nb-soutiens { color: #1e8449; font-size: 0.95em; margin-top: 8px; }

/* Code de suivi anonyme (fonctionnalité 4) */
.code-suivi, .resultat-suivi {
    background: white;
    border: 2px solid #27ae60;
    border-radius: 12px;
    padding: 22px 26px;
    margin: 25px 0;
    line-height: 1.7;
}
.code-suivi h2, .resultat-suivi h2 { color: #1a1a2e; font-size: 1.3em; margin-bottom: 10px; }
.code-suivi-valeur {
    font-family: 'Courier New', monospace;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 3px;
    color: #0f3460;
    text-align: center;
    margin: 10px 0;
}
.btn-copier {
    background: #0f3460;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 15px;
    cursor: pointer;
}
.btn-copier:focus-visible { outline: 3px solid #ffd54f; outline-offset: 2px; }
.code-copie { margin-left: 10px; color: #1e8449; font-weight: 600; }
.statut-suivi { font-size: 1.05em; margin: 12px 0; }

/* Coordonnées personnelles repérées dans un envoi (fonctionnalité 3) */
.alerte-coordonnees {
    background: #fff4e0;
    border-left: 4px solid #e67e22;
    color: #5c3a00;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 18px 0;
    line-height: 1.6;
}

/* Numéros d'aide selon la catégorie (fonctionnalité 2) */
.numeros-aide {
    background: #fdf6e3;
    border-left: 4px solid #e67e22;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 25px 0;
}
.numeros-aide h2 { font-size: 1.15em; color: #1a1a2e; margin-bottom: 10px; }
.numeros-aide ul { list-style: disc; padding-left: 22px; }
.numeros-aide li { color: #444; line-height: 1.7; margin-bottom: 6px; font-family: 'Montserrat', sans-serif; }
.numeros-aide li strong { color: #b3261e; }
.annonce-aide { font-size: 0.9em; color: #6b4e16; margin-top: 8px; line-height: 1.6; }
.ressources .urgences-liste li { margin-bottom: 10px; }
.message h1, .message .titre-message, .message-box h2 { color: #1a1a2e; margin-bottom: 15px; }
/* Titre principal de la confirmation : un h2 (le h1 est le nom du site), affiché à la taille d'un h1 */
.message .titre-message { font-size: 2em; }
.message p, .message-box p  { color: #666; line-height: 1.8; margin-bottom: 12px; }

/* ══════════════════════════════════════
   LOGIN
══════════════════════════════════════ */
.formulaire {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    max-width: 400px;
    margin: 100px auto;
}
.erreur {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}
/* Connexion, « mot de passe oublié » et activation d'un compte agent : texte d'aide et lien sous le formulaire */
.formulaire .aide {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.formulaire .lien-secondaire {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #666;
    font-family: 'Montserrat', sans-serif;
}
.formulaire .lien-secondaire a { color: #0f3460; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
    background: #1a1a2e;
    color: #777;
    text-align: center;
    padding: 35px 20px;
    font-size: 13px;
    line-height: 2.2;
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
}
.footer strong { color: #aaa; }
.footer a { color: #aaa; text-decoration: none; }
.footer a:hover { color: white; }
.footer .footer-rgpd {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #333;
    font-size: 11px;
    color: #555;
}

/* ══════════════════════════════════════
   ACCESSIBILITÉ
══════════════════════════════════════ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
:focus-visible {
    outline: 3px solid #27ae60;
    outline-offset: 3px;
    border-radius: 3px;
}
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #0f3460;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    z-index: 9999;
    border-radius: 0 0 6px 0;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Bouton « Quitter vite le site » : toujours visible en haut à droite, au-dessus du reste. */
.sortie-rapide {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10000;
    background: #b3261e;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.sortie-rapide:hover { background: #8c1d18; }
.sortie-rapide:focus-visible { outline: 3px solid #ffd54f; outline-offset: 2px; }
.sortie-touche { font-weight: 400; font-size: 13px; }

/* ══════════════════════════════════════
   PETITS ÉCRANS (téléphones)
══════════════════════════════════════ */
@media (max-width: 600px) {
    .sortie-rapide { top: auto; bottom: 12px; }
    .sortie-touche { display: none; }
    .header { padding: 20px 12px; }
    nav a { padding: 7px 10px; font-size: 13px; }
    .container { padding: 25px 12px; }
    .section, .formulaire-box, .intro, .sommaire { padding: 20px 16px; }
    .temoignage { padding: 18px 16px; }
    .commentaire { padding: 16px; }
    .message, .message-box { padding: 30px 20px; margin-top: 30px; }
    .formulaire { padding: 25px 20px; margin: 40px auto; }
    .pagination { grid-template-areas: "precedente suivante" "position position"; grid-template-columns: 1fr 1fr; }
    .pagination-position { justify-self: center; }
}
/* Réponse de l'équipe sous un commentaire, et lien de signalement d'un témoignage */
.reponse-equipe { margin: 10px 0 0 18px; padding: 10px 14px; border-left: 4px solid #27ae60;
    background: #eef8f1; border-radius: 6px; }
.reponse-equipe .signature { display: block; font-weight: 700; color: #1e8449; margin-bottom: 4px; }
.reponse-equipe p { white-space: pre-line; margin: 0; }
.temoignage-actions { margin-top: 12px; text-align: right; }

/* Recherche publique dans les témoignages */
.recherche { background: #fff; border-radius: 12px; padding: 18px 20px; margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.recherche .champ { margin: 0; flex: 1 1 260px; }
.recherche .champ-categorie { flex: 0 1 220px; }
.recherche .aide-champ { flex-basis: 100%; margin: 0; }
.recherche-actions { display: flex; gap: 10px; align-items: center; }
.resultats-recherche { font-weight: 600; margin: 0 0 15px; }

/* Règles du mot de passe des modérateurs */
.regles-mot-de-passe { font-size: 0.9em; color: #444; background: #f4f6fb; border-radius: 6px; padding: 10px 14px; margin: 6px 0 14px; line-height: 1.6; }
.regles-mot-de-passe p { margin: 0 0 4px; font-weight: 600; }
.regles-mot-de-passe ul { margin: 0; padding-left: 20px; }
