/* =====================================================================
   ZONE (lazone.ci) — Feuille de style principale
   Palette dérivée du logo officiel (rouge brique) + blanc, police Montserrat.
   ===================================================================== */

:root {
    --zone-red: #bc3a3a;
    --zone-red-dark: #932e2e;
    --zone-red-darker: #6f2323;
    --zone-red-light: #d16456;
    --zone-red-tint: #fbebe9;
    --zone-dark: #241f1f;
    --zone-gray: #6c6663;
    --zone-gray-light: #efe9e6;
    --zone-bg: #faf6f4;
    --zone-white: #ffffff;
    --zone-success: #2e7d4f;
    --zone-warning: #c8862b;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-card: 0 4px 18px rgba(36, 31, 31, 0.08);
    --shadow-float: 0 18px 40px rgba(36, 31, 31, 0.16);
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Thème sombre (bouton en haut du site) ----------
   Bascule via l'attribut data-theme="dark" posé sur <html> (voir
   public/assets/js/app.js). Ne redéfinit QUE les variables utilisées comme
   surface/texte "thémables" (cartes, navbar, formulaires, pages statiques).
   Les zones volontairement toujours sombres (topbar, pied de page, bandeau
   Zone Urgente, hero, boutons) sont codées en dur ailleurs dans ce fichier
   et ne sont donc pas affectées par ce bloc. */
:root[data-theme="dark"] {
    --zone-bg: #17130f;
    --zone-white: #241f1f;
    --zone-dark: #f2ece9;
    --zone-gray: #a39c98;
    --zone-gray-light: #3a3634;
    --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.4);
    --shadow-float: 0 18px 40px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--zone-dark);
    background: var(--zone-bg);
    -webkit-font-smoothing: antialiased;
}

body { line-height: 1.6; }

/* Frein visuel contre la copie du texte du site (voir app.js pour le blocage
   du clic droit / raccourcis d'inspection) — les champs de formulaire restent
   sélectionnables pour ne pas gêner la saisie. */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
input, textarea, select, [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--zone-red); text-decoration: none; font-family: var(--font-main); }
a:hover { color: var(--zone-red-dark); }

h1, h2, h3, h4 { font-family: var(--font-main); font-weight: 700; margin: 0 0 .6em; color: var(--zone-dark); }
input, select, textarea, button { font-family: var(--font-main); }

.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;
}

/* ---------- Icônes (SVG en masque, couleur héritée) ---------- */
.ic { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.ic-mail { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E"); }
.ic-phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .3 2 .6 2.9a2 2 0 0 1-.4 2.1L8 10a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.9.5 2.9.6a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .3 2 .6 2.9a2 2 0 0 1-.4 2.1L8 10a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.9.5 2.9.6a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.ic-pin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.ic-search { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
.ic-user { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }

/* ---------- Icônes favoris (cœur, vide / plein) ---------- */
.ic-heart { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }
.ic-heart-filled { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E"); }
.ic-info { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); }
.ic-camera { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); }

/* ---------- Icônes thème clair / sombre ---------- */
.ic-sun { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E"); }
.ic-moon { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E"); }

/* ---------- Icônes assistant (bulle rouge) ---------- */
.ic-chat { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.ic-send { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E"); }
.ic-arrow-up { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='19' x2='12' y2='5'/%3E%3Cpolyline points='5 12 12 5 19 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='19' x2='12' y2='5'/%3E%3Cpolyline points='5 12 12 5 19 12'/%3E%3C/svg%3E"); }
.ic-logout { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); }

/* ---------- Icônes réseaux sociaux (badges) ---------- */
.ic-facebook { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000' d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/%3E%3C/svg%3E"); }
.ic-instagram { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.4' fill='%23000'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.4' fill='%23000'/%3E%3C/svg%3E"); }
.ic-linkedin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z'/%3E%3C/svg%3E"); }
.ic-tiktok { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0h88a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0h88a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z'/%3E%3C/svg%3E"); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo-dark { height: 34px; }
.auth-card-logo {
    height: 46px; margin: 0 auto 18px; display: block;
    animation: zone-logo-wiggle 6s ease-in-out infinite; transform-origin: center;
}
.error-page-logo { height: 50px; margin-bottom: 20px; }
.logo-badge { display: inline-flex; background: #ffffff; padding: 10px 16px; border-radius: var(--radius-md); margin-bottom: 14px; }
.logo-badge .brand-logo { height: 34px; }

/* ---------- Animation du logo (page d'accueil uniquement) ----------
   Repos la plupart du temps, puis un petit mouvement bref et remarquable
   (léger agrandissement + balancement) toutes les 6 secondes, en boucle
   continue — attire l'œil sans jamais gêner la lecture. */
.page-home .brand { animation: zone-logo-wiggle 6s ease-in-out infinite; transform-origin: center; }
@keyframes zone-logo-wiggle {
    0%, 82%, 100% { transform: scale(1) rotate(0deg); }
    86% { transform: scale(1.09) rotate(-5deg); }
    90% { transform: scale(1.09) rotate(5deg); }
    94% { transform: scale(1.04) rotate(-2deg); }
    97% { transform: scale(1) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
    .page-home .brand, .auth-card-logo { animation: none; }
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: .7em 1.5em;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: all .15s ease;
    font-family: var(--font-main);
}
.btn-primary { background: var(--zone-red); color: #ffffff; }
.btn-primary:hover { background: var(--zone-red-dark); color: #ffffff; }
.btn-outline { background: transparent; color: var(--zone-red); border-color: var(--zone-red); }
.btn-outline:hover { background: var(--zone-red-tint); color: var(--zone-red-dark); }
.btn-outline-light { background: transparent; color: #ffffff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }
.btn-ghost { background: transparent; color: var(--zone-gray); border-color: var(--zone-gray-light); }
.btn-light { background: #ffffff; color: var(--zone-red); }
.btn-light:hover { background: var(--zone-red-tint); }
.btn-success { background: var(--zone-success); color: #fff; }
.btn-warning { background: var(--zone-warning); color: #fff; }
.btn-danger { background: var(--zone-red-dark); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: .4em .9em; font-size: .82rem; border-radius: 6px; }
.btn-hero { padding: .85em 1.9em; white-space: nowrap; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* =====================================================================
   HEADER — barre supérieure + navigation principale + méga-menu
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 200; }

.topbar { background: #241f1f; color: #d8d1cf; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; gap: 16px; }
.topbar-contact { display: flex; gap: 20px; }
.topbar-contact a { color: #d8d1cf; display: inline-flex; align-items: center; }
.topbar-contact a:hover { color: #ffffff; }
.topbar-meta { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 6px; color: #8b8583; }
.lang-switch a { color: #d8d1cf; font-weight: 600; }
.lang-switch a:hover, .lang-switch a.is-active { color: #ffffff; }

/* ---------- Bouton thème clair / sombre (topbar) ---------- */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,.1); color: #d8d1cf; padding: 0; flex-shrink: 0;
}
.theme-toggle:hover { background: var(--zone-red); color: #ffffff; }
.theme-toggle .ic { margin: 0; width: 13px; height: 13px; }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: inline-block; }

/* ---------- Réseaux sociaux flottants (suivent le défilement) ---------- */
.social-float {
    position: fixed; top: 50%; right: 0; transform: translateY(-50%);
    z-index: 250; display: flex; flex-direction: column;
    box-shadow: var(--shadow-float); border-radius: var(--radius-sm) 0 0 var(--radius-sm); overflow: hidden;
}
.social-float a {
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    background: #241f1f; color: #ffffff; transition: background .15s ease;
}
.social-float a:hover { background: var(--zone-red); }
.social-float .ic { width: 16px; height: 16px; margin: 0; }
@media (max-width: 780px) {
    .social-float a { width: 32px; height: 32px; }
    .social-float .ic { width: 13px; height: 13px; }
}

/* ---------- Logo : variante claire sur navbar/tiroir sombres ---------- */
.brand-logo-theme-dark { display: none; }
:root[data-theme="dark"] .brand-logo-theme-light { display: none; }
:root[data-theme="dark"] .brand-logo-theme-dark { display: block; }

/* ---------- Assistant ZONE (bulle rouge, bas gauche) ---------- */
.chatbot-widget { position: fixed; left: 24px; bottom: 24px; z-index: 260; }
.chatbot-toggle {
    width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--zone-red); color: #ffffff; box-shadow: var(--shadow-float);
    display: flex; align-items: center; justify-content: center;
}
.chatbot-toggle:hover { background: var(--zone-red-dark); }
.chatbot-toggle .ic { width: 24px; height: 24px; margin: 0; }
.chatbot-panel {
    position: absolute; bottom: 72px; left: 0; width: 320px; max-height: 440px;
    background: var(--zone-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-float);
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.chatbot-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.chatbot-panel-header {
    background: var(--zone-red); color: #ffffff; padding: 14px 16px; font-weight: 700;
    display: flex; align-items: center; justify-content: space-between;
}
.chatbot-panel-close { background: none; border: none; color: #ffffff; font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 0; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; max-height: 300px; }
.chatbot-message { font-size: .88rem; line-height: 1.45; padding: 9px 12px; border-radius: var(--radius-md); max-width: 88%; }
.chatbot-message-bot { background: var(--zone-gray-light); color: var(--zone-dark); align-self: flex-start; border-bottom-left-radius: 4px; }
.chatbot-message-user { background: var(--zone-red); color: #ffffff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chatbot-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chatbot-suggestions:empty { display: none; }
.chatbot-suggestion-chip {
    background: var(--zone-red-tint); color: var(--zone-red-dark); border: 1px solid transparent;
    border-radius: var(--radius-pill); padding: 6px 12px; font-family: var(--font-main); font-size: .78rem;
    font-weight: 600; cursor: pointer; text-align: left; transition: background .15s ease, border-color .15s ease;
}
.chatbot-suggestion-chip:hover { background: var(--zone-white); border-color: var(--zone-red); }
.chatbot-form { display: flex; border-top: 1px solid var(--zone-gray-light); padding: 10px; gap: 8px; }
.chatbot-form input {
    flex: 1; border: 1px solid var(--zone-gray-light); border-radius: var(--radius-pill); padding: 9px 14px;
    font-family: var(--font-main); font-size: .88rem; background: var(--zone-bg); color: var(--zone-dark);
}
.chatbot-form button {
    background: var(--zone-red); border: none; color: #ffffff; width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.chatbot-form button:hover { background: var(--zone-red-dark); }
.chatbot-form button .ic { margin: 0; width: 15px; height: 15px; }
@media (max-width: 480px) {
    .chatbot-widget { left: 14px; bottom: 14px; }
    .chatbot-toggle { width: 50px; height: 50px; }
    .chatbot-panel { width: calc(100vw - 28px); left: -10px; }
}

/* ---------- Bouton "remonter en haut" (rond noir, bas droite) ---------- */
.scroll-top-btn {
    position: fixed; right: 24px; bottom: 24px; z-index: 260;
    width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
    background: #111111; color: #ffffff; box-shadow: var(--shadow-float);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s, background .15s ease;
}
.scroll-top-btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: #000000; }
.scroll-top-btn .ic { width: 20px; height: 20px; margin: 0; color: #ffffff; }
@media (max-width: 480px) {
    .scroll-top-btn { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

.navbar { background: var(--zone-white); border-bottom: 1px solid var(--zone-gray-light); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 24px; }

.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav > a { color: var(--zone-dark); font-weight: 600; font-size: .94rem; }
.main-nav > a:hover { color: var(--zone-red); }
.nav-urgent { color: var(--zone-red) !important; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    background: none; border: none; cursor: pointer; font-family: var(--font-main);
    color: var(--zone-dark); font-weight: 600; font-size: .94rem; display: inline-flex; align-items: center; gap: 6px; padding: 0;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded="true"] { color: var(--zone-red); }
.chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .15s ease; }
.nav-dropdown-toggle[aria-expanded="true"] .chevron { transform: rotate(-135deg); margin-top: 3px; }

.nav-dropdown-menu {
    position: absolute; top: calc(100% + 14px); left: 0; background: var(--zone-white);
    border-radius: var(--radius-md); box-shadow: var(--shadow-float); padding: 10px;
    min-width: 220px; display: none; flex-direction: column; gap: 2px; z-index: 50;
}
.nav-dropdown-menu.is-open { display: flex; }
.nav-dropdown-menu-right { left: auto; right: 0; }
.nav-dropdown-menu a { color: var(--zone-dark); font-size: .9rem; font-weight: 500; padding: 9px 12px; border-radius: var(--radius-sm); }
.nav-dropdown-menu a:hover { background: var(--zone-red-tint); color: var(--zone-red-dark); }
.nav-dropdown-all { color: var(--zone-red) !important; font-weight: 700 !important; border-top: 1px solid var(--zone-gray-light); margin-top: 4px; padding-top: 12px !important; }
/* Menu "Zones" : liste simple des grandes catégories, en colonnes. */
.nav-dropdown-mega { min-width: 420px; max-width: 640px; max-height: 75vh; overflow-y: auto; }
.nav-dropdown-mega-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 22px; align-items: start;
}
/* Menu "Métiers" : liste plus longue à une colonne, défilement vertical. */
.nav-dropdown-menu-scroll { max-height: 70vh; overflow-y: auto; min-width: 260px; }
.nav-dropdown-cat { font-weight: 600 !important; }

@media (max-width: 700px) {
    .nav-dropdown-mega { min-width: 90vw; max-width: 96vw; }
}
@media (max-width: 480px) {
    .nav-dropdown-mega-grid { grid-template-columns: 1fr; }
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.account-link { display: inline-flex; align-items: center; font-weight: 600; font-size: .9rem; color: var(--zone-dark); }
.account-link:hover { color: var(--zone-red); }
.account-toggle { display: inline-flex; align-items: center; color: var(--zone-dark); }
/* Icône "Connexion" / compte : pastille ronde noire (remplace l'icône simple).
   Connecté : icône + prénom. Déconnecté : icône seule, "Connexion" en info-bulle
   (attribut title) au survol plutôt qu'en texte visible. */
.account-link-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%; background: #000000;
    margin-right: 9px; flex-shrink: 0; transition: background .15s ease;
}
.account-link .account-link-icon { margin-right: 0; }
.account-toggle .account-link-icon { margin-right: 9px; }
.account-link:hover .account-link-icon, .account-toggle:hover .account-link-icon { background: var(--zone-red); }
.account-link-icon .ic { width: 15px; height: 15px; margin: 0; color: #ffffff; }
.btn-cta { white-space: nowrap; }

/* ---------- Bouton CTA "bicolore" (Ajouter une zone) ---------- */
.btn-split-cta {
    display: inline-flex;
    align-items: stretch;
    height: 50px;
    border-radius: var(--radius-pill);
    overflow: hidden;
    white-space: nowrap;
    box-shadow: var(--shadow-card);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-split-cta:hover, .btn-split-cta:focus-visible { transform: translateY(-1px); box-shadow: var(--shadow-float); }
.btn-split-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
    background: var(--zone-red-darker);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}
.btn-split-label {
    display: flex;
    align-items: center;
    background: var(--zone-red-light);
    color: #ffffff;
    font-weight: 700;
    font-size: .9rem;
    padding: 0 20px 0 16px;
}
.btn-split-cta--block { display: flex; width: 100%; }
.btn-split-cta--block .btn-split-label { flex: 1; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--zone-dark); margin: 5px 0; transition: all .2s ease; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Menu mobile (tiroir) ---------- */
.mobile-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.mobile-drawer.is-open { visibility: visible; }
.mobile-drawer-backdrop { position: absolute; inset: 0; background: rgba(36,31,31,.55); opacity: 0; transition: opacity .2s ease; }
.mobile-drawer.is-open .mobile-drawer-backdrop { opacity: 1; }
.mobile-drawer-panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 340px);
    background: var(--zone-white); box-shadow: var(--shadow-float);
    display: flex; flex-direction: column; gap: 4px; padding: 20px;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mobile-drawer-close { background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--zone-gray); cursor: pointer; padding: 0 6px; }
.mobile-drawer-panel > a { color: var(--zone-dark); font-weight: 600; font-size: 1rem; padding: 12px 6px; border-bottom: 1px solid var(--zone-gray-light); }
.mobile-drawer-group { border-bottom: 1px solid var(--zone-gray-light); }
.mobile-drawer-group summary { color: var(--zone-dark); font-weight: 600; font-size: 1rem; padding: 12px 6px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.mobile-drawer-group summary::-webkit-details-marker { display: none; }
.mobile-drawer-group summary::after { content: '+'; color: var(--zone-red); font-weight: 700; }
.mobile-drawer-group[open] summary::after { content: '−'; }
.mobile-drawer-sub { display: flex; flex-direction: column; padding: 0 6px 12px 12px; }
.mobile-drawer-sub a { padding: 8px 0; font-size: .92rem; color: var(--zone-gray); }
.mobile-drawer-sub-cat { font-weight: 700; color: var(--zone-dark) !important; padding-top: 12px !important; }
.mobile-drawer-sub-cat:first-child { padding-top: 8px !important; }
.mobile-drawer-sub-subcat { padding-left: 14px !important; font-size: .86rem !important; }
.mobile-drawer-divider { height: 1px; background: var(--zone-gray-light); margin: 10px 0; }
.mobile-drawer-hi { padding: 6px; font-weight: 600; color: var(--zone-gray); font-size: .9rem; }
.mobile-drawer-lang { display: flex; gap: 14px; padding: 14px 6px 0; margin-top: 10px; border-top: 1px solid var(--zone-gray-light); }
.mobile-drawer-lang a { font-size: .88rem; font-weight: 600; color: var(--zone-gray); }
.mobile-drawer-lang a.is-active { color: var(--zone-red); }
.mobile-drawer-cta { margin-top: 14px; }

/* ---------- Flash messages ---------- */
.flash {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin: 16px auto;
    font-weight: 600;
    font-size: .92rem;
}
.flash-success { background: #e5f4ea; color: var(--zone-success); }
.flash-error { background: var(--zone-red-tint); color: var(--zone-red-dark); }

/* ---------- Alerte abonnement (fiche visible par son propriétaire uniquement) ---------- */
.subscription-alert {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    background: var(--zone-red-tint); color: var(--zone-red-dark);
    padding: 14px 18px; border-radius: var(--radius-md); margin: 18px 0; font-weight: 600; font-size: .92rem;
}
.subscription-alert p { margin: 0; flex: 1 1 260px; }

/* ---------- Page d'abonnement (offres payantes) ---------- */
.subscription-page { padding: 50px 20px 80px; max-width: 900px; }
.subscription-intro { max-width: 680px; }
.subscription-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
.subscription-tier-card {
    background: var(--zone-white); border: 1px solid var(--zone-gray-light); border-radius: var(--radius-md);
    padding: 26px; display: flex; flex-direction: column; gap: 8px; text-align: left;
}
.subscription-tier-card-highlight { border-color: var(--zone-red); box-shadow: var(--shadow-card); }
.subscription-tier-card h2 { font-size: 1.15rem; margin: 0; }
.subscription-price { font-size: 1.6rem; font-weight: 800; color: var(--zone-red); margin: 4px 0; }
.subscription-price span { font-size: .85rem; font-weight: 600; color: var(--zone-gray); }
.subscription-tier-desc { color: var(--zone-gray); font-size: .9rem; flex: 1; }
@media (max-width: 780px) {
    .subscription-tiers { grid-template-columns: 1fr; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: 44px 0 78px; text-align: center; isolation: isolate; }

/* ---------- Carrousel de visuels d'arrière-plan (5 photos, synchronisées ---------- */
/* avec le carrousel de texte .hero-slide via app.js) + voile sombre commun ---------- */
/* pour garder le texte lisible quel que soit le fond actif. ---------- */
.hero-bg-slides { position: absolute; inset: 0; z-index: -3; }
.hero-bg-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-bg-slide.is-active { opacity: 1; }
.hero-bg-slide-voyage { background-image: url("../images/hero/hero-voyage-tourisme.jpg"); }
.hero-bg-slide-restauration { background-image: url("../images/hero/hero-restauration.jpg"); }
.hero-bg-slide-commerces { background-image: url("../images/hero/hero-commerces-marches.jpg"); }
.hero-bg-slide-urgente { background-image: url("../images/hero/hero-zone-urgente.jpg"); }
.hero-bg-slide-hebergement { background-image: url("../images/hero/hero-hebergement.jpg"); }
.hero-bg-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(20,10,10,.55) 0%, rgba(20,10,10,.72) 100%); }
.hero-inner { color: #ffffff; position: relative; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: #ffd9d2; margin-bottom: 10px; }
.hero-title {
    font-family: var(--font-main), sans-serif;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 2.6rem;
    line-height: 1.15;
    letter-spacing: .01em;
    margin-bottom: .25em;
}
.hero-title span { display: block; color: #ffffff; }
.hero-subtitle { max-width: 600px; margin: 0 auto 1.2em; font-size: 1.05rem; opacity: .95; }

/* ---------- Carrousel de bannières héro ---------- */
.hero-slides { position: relative; min-height: 190px; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: heroSlideIn .5s ease; }
@keyframes heroSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-dots { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 20px; }
.hero-dot {
    width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
    background: rgba(255,255,255,.4); cursor: pointer; transition: background .2s, transform .2s;
}
.hero-dot:hover { background: rgba(255,255,255,.7); }
.hero-dot.is-active { background: #ffffff; transform: scale(1.3); }

.hero-pills { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: .85rem; }
.hero-pills span { color: #ffd9d2; font-weight: 600; }
.hero-pills a {
    background: rgba(255,255,255,.14); color: #ffffff; padding: 7px 16px;
    border-radius: var(--radius-pill); font-weight: 600; border: 1px solid rgba(255,255,255,.3);
}
.hero-pills a:hover { background: rgba(255,255,255,.24); color: #ffffff; }

.hero-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 980px;
    margin: 26px auto 0;
    position: relative;
    transform: translateY(40px);
}
.hero-search-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--zone-white);
    padding: 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    width: 100%;
}
.hero-search-field { flex: 1 1 170px; display: flex; align-items: center; gap: 8px; background: var(--zone-gray-light); border-radius: var(--radius-md); padding: 0 14px; }
.hero-search-field-main { flex: 2 1 240px; }
.hero-search-field .ic { color: var(--zone-gray); flex-shrink: 0; }
.hero-search input, .hero-search select {
    width: 100%;
    border: none;
    background: transparent;
    padding: 13px 0;
    font-family: var(--font-main);
    font-size: .95rem;
    color: var(--zone-dark);
}
.hero-search input:focus, .hero-search select:focus { outline: none; }
.hero-search input::placeholder { color: var(--zone-gray); }

/* ---------- Bande défilante (marquee) ---------- */
.marquee { background: var(--zone-red); overflow: hidden; padding: 18px 0; margin-top: 30px; }
.marquee-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: marquee-scroll 75s linear infinite; }
.marquee-item { height: 30px; width: auto; display: block; opacity: .85; }
.marquee-item:nth-child(odd) { opacity: 1; }
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track, .partners-track { animation: none; }
}

/* ---------- Sections génériques ---------- */
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--zone-red); margin: 0 0 8px; }
.section-title { font-size: 1.6rem; text-align: center; margin-bottom: 1.2em; }
.section-title-left { font-size: 1.7rem; margin-bottom: .8em; }

/* ---------- Categories ---------- */
.categories-section { padding: 20px 20px 60px; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.category-card {
    background: var(--zone-white);
    border: 1px solid var(--zone-gray-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    color: var(--zone-dark);
    font-weight: 600;
    font-size: .92rem;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    display: flex;
    flex-direction: column;
}
.category-card:hover { transform: translateY(-4px); color: var(--zone-red); box-shadow: var(--shadow-card); border-color: transparent; }
.category-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    background-color: var(--zone-red-tint);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.category-photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%);
}
.category-card-body { padding: 12px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.category-icon-badge {
    position: absolute;
    left: 10px; bottom: 10px;
    z-index: 1;
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--zone-white);
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.category-icon-badge::before {
    content: '';
    position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
    background-color: var(--zone-red);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
/* repli générique : conserve l'ancienne classe .category-icon (utilisée ailleurs, ex. cartes favoris) */
.category-icon {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--zone-red-tint);
    position: relative;
}
.category-icon::before {
    content: '';
    position: absolute; inset: 0; margin: auto; width: 22px; height: 22px;
    background-color: var(--zone-red);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.category-count { font-size: .76rem; font-weight: 600; color: var(--zone-gray); }

/* ---------- Icônes par catégorie (une illustration distincte par slug ; */
/* la puce générique ci-dessus reste le repli pour un slug non listé) ---------- */
.category-icon-sante::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E"); }
.category-icon-restauration::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 2v6a1.5 1.5 0 0 0 3 0V2M8.5 8v14M17 2c-1.8 0-3.2 1.6-3.2 4.5S15.2 11 17 11v11'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M7 2v6a1.5 1.5 0 0 0 3 0V2M8.5 8v14M17 2c-1.8 0-3.2 1.6-3.2 4.5S15.2 11 17 11v11'/%3E%3C/svg%3E"); }
.category-icon-education::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c0 1.5 3 3 6 3s6-1.5 6-3v-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c0 1.5 3 3 6 3s6-1.5 6-3v-5'/%3E%3C/svg%3E"); }
.category-icon-services-publics::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 21h18M4 21V10M20 21V10M8 21V10M16 21V10M2 10l10-6 10 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 21h18M4 21V10M20 21V10M8 21V10M16 21V10M2 10l10-6 10 6'/%3E%3C/svg%3E"); }
.category-icon-services-financiers::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/svg%3E"); }
.category-icon-transports::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 13l1.5-5A2 2 0 0 1 6.4 6.5h11.2A2 2 0 0 1 19.5 8l1.5 5'/%3E%3Crect x='2' y='13' width='20' height='6' rx='2'/%3E%3Ccircle cx='7' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 13l1.5-5A2 2 0 0 1 6.4 6.5h11.2A2 2 0 0 1 19.5 8l1.5 5'/%3E%3Crect x='2' y='13' width='20' height='6' rx='2'/%3E%3Ccircle cx='7' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E"); }
.category-icon-artisans-reparateurs::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94z'/%3E%3C/svg%3E"); }
.category-icon-hebergement::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8'/%3E%3Cpath d='M2 20v-3a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v3'/%3E%3Cpath d='M2 20h20'/%3E%3Cpath d='M6 12V8a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8'/%3E%3Cpath d='M2 20v-3a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v3'/%3E%3Cpath d='M2 20h20'/%3E%3Cpath d='M6 12V8a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E"); }
.category-icon-commerces-achats::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
.category-icon-loisirs-bien-etre::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 21 12 17.77 5.82 21 7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 21 12 17.77 5.82 21 7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); }

/* ---------- Photos par catégorie (grille "Découvrez les lieux & services") ----------
   Chaque carte affiche une photo réelle liée à la catégorie, placée dans
   public/assets/images/categories/category-{slug}.jpg (déposer le fichier au
   nom exact suffit à l'activer : la couleur de secours ci-dessous ne s'affiche
   que tant qu'aucune photo n'est présente). */
.category-photo-sante { background-image: url("../images/categories/category-sante.jpg"); }
.category-photo-restauration { background-image: url("../images/categories/category-restauration.jpg"); }
.category-photo-education { background-image: url("../images/categories/category-education.jpg"); }
.category-photo-services-publics { background-image: url("../images/categories/category-services-publics.jpg"); }
.category-photo-services-financiers { background-image: url("../images/categories/category-services-financiers.jpg"); }
.category-photo-transports { background-image: url("../images/categories/category-transports.jpg"); }
.category-photo-artisans-reparateurs { background-image: url("../images/categories/category-artisans-reparateurs.jpg"); }
.category-photo-hebergement { background-image: url("../images/categories/category-hebergement.jpg"); }
.category-photo-commerces-achats { background-image: url("../images/categories/category-commerces-achats.jpg"); }
.category-photo-loisirs-bien-etre { background-image: url("../images/categories/category-loisirs-bien-etre.jpg"); }

/* ---------- Feature cards (communauté / comment ça marche) ---------- */
.features-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 10px 20px 60px; }
.feature-card {
    background: var(--zone-white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-card);
    display: flex; gap: 18px; align-items: flex-start;
}
.feature-icon { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; background: var(--zone-red-tint); position: relative; }
.feature-icon::before {
    content: ''; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px;
    background-color: var(--zone-red); -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
}
.feature-icon-community::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.feature-icon-howto::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 2-3 4'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 2-3 4'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E"); }
.feature-card h3 { margin-bottom: .3em; }
.feature-card p { color: var(--zone-gray); margin: 0 0 .8em; font-size: .92rem; }
.feature-link { font-weight: 700; font-size: .88rem; }

/* ---------- Conseils / tips ---------- */
.tips-section { background: var(--zone-white); padding: 60px 20px; margin-top: 10px; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tip-card { background: var(--zone-bg); border-radius: var(--radius-md); padding: 26px; }
.tip-number { display: inline-block; font-size: 1.6rem; font-weight: 800; color: var(--zone-red-tint); -webkit-text-stroke: 1.5px var(--zone-red); margin-bottom: 8px; }
.tip-card h3 { font-size: 1.02rem; margin-bottom: .3em; }
.tip-card p { color: var(--zone-gray); font-size: .9rem; margin: 0; }

/* ---------- Bandeau urgent ---------- */
.urgent-banner { background: #241f1f; color: #ffffff; padding: 44px 0; }
.urgent-banner-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.urgent-banner h2 { color: #ffffff; margin-bottom: .2em; }
.urgent-banner p { margin: 0; color: #d8d3d1; }

/* ---------- Pages statiques (À propos / Contact) ---------- */
.static-page { padding: 50px 20px 80px; max-width: 960px; }
.static-page-content p { margin-bottom: 1.2em; color: var(--zone-dark); }

/* ---------- À propos : logo, Mission/Vision/Concept, équipe ---------- */
.about-logo-wrap { text-align: center; margin-bottom: 18px; }
.about-logo { height: 64px; width: auto; }
.about-highlight {
    margin: 34px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.about-highlight-item {
    background: var(--zone-red); color: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); padding: 26px 24px;
}
.about-highlight-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: .5em; }
.about-highlight-item p { color: rgba(255,255,255,.92); font-size: .92rem; margin: 0; }
.about-concept-box {
    background: var(--zone-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
    padding: 28px 30px; margin: 0 0 34px;
}
.about-concept-box .about-tagline { color: var(--zone-red); font-weight: 700; font-style: italic; margin-bottom: .8em; }
.about-offers { margin-top: 40px; }
.about-offers-intro { color: var(--zone-gray); margin-bottom: 20px; }
.about-offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.about-offer-card { background: var(--zone-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 22px 20px; border-top: 4px solid var(--zone-red); }
.about-offer-card h3 { font-size: 1rem; margin-bottom: .5em; }
.about-offer-card p { font-size: .88rem; color: var(--zone-gray); margin: 0; }
.about-offer-card-urgent { border-top-color: var(--zone-red-dark); }
.about-offer-link { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 700; }
.about-team { margin-top: 40px; }
.about-team-intro { color: var(--zone-gray); margin-bottom: 20px; }
.about-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.about-team-card { background: var(--zone-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 24px 18px; text-align: center; }
.about-team-avatar {
    width: 64px; height: 64px; border-radius: 50%; background: var(--zone-red-tint);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.about-team-avatar .ic { width: 28px; height: 28px; margin: 0; color: var(--zone-red-dark); }
.about-team-card h4 { margin: 0 0 4px; font-size: .98rem; color: var(--zone-dark); }
.about-team-card p { margin: 0; font-size: .82rem; color: var(--zone-gray); }
@media (max-width: 720px) {
    .about-highlight { grid-template-columns: 1fr; }
}
.coming-soon-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.contact-info-card { background: var(--zone-white); border-radius: var(--radius-md); padding: 24px; text-align: center; box-shadow: var(--shadow-card); }
.contact-info-card .ic { width: 26px; height: 26px; color: var(--zone-red); margin: 0 0 10px; }
.contact-info-card h3 { font-size: .95rem; margin-bottom: .3em; }
.contact-countries { display: block; font-size: .85rem; line-height: 1.5; color: var(--zone-gray); }
.contact-note { color: var(--zone-gray); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-category-title { font-size: 1.15rem; margin: 30px 0 12px; }
.faq-category-title:first-of-type { margin-top: 10px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.faq-item {
    background: var(--zone-white); border: 1px solid var(--zone-gray-light);
    border-radius: var(--radius-md); padding: 4px 18px;
}
.faq-item summary {
    padding: 14px 0; cursor: pointer; font-weight: 600; color: var(--zone-dark);
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--zone-red); font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding: 0 0 16px; color: var(--zone-gray); line-height: 1.6; }

/* ---------- Résultats de recherche ---------- */
.results-page { padding: 40px 20px 70px; }
.filters-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filters-bar input, .filters-bar select {
    padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--zone-gray-light);
    font-family: var(--font-main);
}
.geo-status { color: var(--zone-gray); font-size: .88rem; margin-bottom: 14px; }
.results-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.results-list { display: flex; flex-direction: column; gap: 14px; max-height: 600px; overflow-y: auto; }
.results-map, .place-map, .place-form-map, .urgent-map {
    height: 600px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card);
    position: relative; z-index: 1; /* isole les z-index internes de Leaflet (jusqu'à 1000)
    pour qu'ils ne passent jamais au-dessus du header (sticky, z-index 200) */
}
.place-map { height: 220px; margin-top: 16px; }
.place-form-map { height: 320px; margin-bottom: 14px; }
.results-empty { color: var(--zone-gray); text-align: center; padding: 30px; }

.result-card {
    background: var(--zone-white);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--zone-red);
    cursor: pointer;
    display: block;
}
.result-card h3 { font-size: 1.02rem; margin: 0 0 4px; }
.result-card .result-meta { font-size: .85rem; color: var(--zone-gray); }
.result-card .result-distance { color: var(--zone-red); font-weight: 700; font-size: .85rem; }

/* ---------- Annuaire géolocalisé Bénin ---------- */
.count-pill { font-size: .82rem; font-weight: 700; color: var(--zone-red-dark); background: var(--zone-red-tint); padding: 8px 14px; border-radius: var(--radius-pill); white-space: nowrap; }
.results-list .list-group-title {
    position: sticky; top: 0; z-index: 1; background: var(--zone-bg);
    padding: 10px 4px 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: var(--zone-red-dark);
}
.benin-card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.benin-card-specs { font-size: .88rem; color: var(--zone-gray); margin: 0 0 8px; line-height: 1.4; }
.benin-card-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .82rem; }
.benin-card-actions .benin-card-tel { color: var(--zone-gray); }
.benin-card-actions a { color: var(--zone-red); font-weight: 600; }
.benin-card-actions a:hover { color: var(--zone-red-dark); text-decoration: underline; }
.annuaire-benin-source { max-width: 900px; }
.benin-metiers-chips { background: var(--zone-red-tint); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 18px; }
.benin-metiers-chips-label { margin: 0 0 8px; font-size: .82rem; font-weight: 600; color: var(--zone-red-dark); }
.benin-metiers-chips-list { display: flex; flex-wrap: wrap; gap: 8px; }
.benin-metier-chip {
    background: var(--zone-white); color: var(--zone-red-dark); border: 1px solid var(--zone-red);
    border-radius: var(--radius-pill); padding: 6px 14px; font-family: var(--font-main); font-size: .82rem;
    font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.benin-metier-chip:hover { background: var(--zone-red); color: #ffffff; }

/* ---------- Badges / statuts ---------- */
.badge { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; margin-bottom: 10px; }
.badge-spotlight { background: #fff3cd; color: #8a6416; }
.badge-pub { background: var(--zone-red-tint); color: var(--zone-red-dark); }

.status-pill { padding: 3px 10px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; text-transform: capitalize; }
.status-en_attente, .status-signale { background: #fff3cd; color: #8a6416; }
.status-valide, .status-publie, .status-actif { background: #e5f4ea; color: var(--zone-success); }
.status-rejete, .status-masque, .status-bloque { background: var(--zone-red-tint); color: var(--zone-red-dark); }

/* ---------- Fiche établissement ---------- */
.place-detail { padding: 40px 20px 70px; }
.breadcrumb { font-size: .85rem; color: var(--zone-gray); margin-bottom: 20px; }
.place-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.place-meta { color: var(--zone-gray); margin-bottom: .6em; }
.place-rating { color: var(--zone-red); font-weight: 700; }
.place-photo { width: 100%; border-radius: var(--radius-md); margin: 16px 0; box-shadow: var(--shadow-card); }
.review-list { list-style: none; padding: 0; }
.review-item { border-bottom: 1px solid var(--zone-gray-light); padding: 14px 0; }
.review-stars { color: var(--zone-red); font-weight: 700; margin-left: 8px; }
.place-info-card { background: var(--zone-white); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-card); }

/* ---------- Favoris ---------- */
.place-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.place-title-row h1 { margin-bottom: .3em; }
.favorite-toggle-form { margin: 0; }
.favorite-toggle {
    display: inline-flex; align-items: center; gap: 6px; background: var(--zone-white);
    border: 1px solid var(--zone-gray-light); border-radius: var(--radius-pill);
    padding: 8px 16px; font-size: .85rem; font-weight: 700; color: var(--zone-dark);
    cursor: pointer; white-space: nowrap;
}
.favorite-toggle:hover { border-color: var(--zone-red); color: var(--zone-red); }
.favorite-toggle .ic-heart-filled { display: none; color: var(--zone-red); }
.favorite-toggle.is-favorite { border-color: var(--zone-red); color: var(--zone-red); }
.favorite-toggle.is-favorite .ic-heart { display: none; }
.favorite-toggle.is-favorite .ic-heart-filled { display: inline-block; }
.favorite-login-hint { font-size: .85rem; color: var(--zone-gray); margin: 0; }
.favorites-page { padding: 50px 20px 80px; }
.favoris-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 20px; }
.favoris-card { background: var(--zone-white); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-card); border-left: 4px solid var(--zone-red); position: relative; }
.favoris-card h3 { font-size: 1.02rem; margin: 0 0 4px; }
.favoris-card h3 a { color: var(--zone-dark); }
.favoris-card h3 a:hover { color: var(--zone-red); }
.favoris-card .result-meta { font-size: .85rem; color: var(--zone-gray); margin-bottom: 10px; }
.favoris-remove-form { margin: 0; }
.favoris-remove-btn {
    background: none; border: 1px solid var(--zone-gray-light); border-radius: var(--radius-pill);
    padding: 6px 14px; font-size: .8rem; font-weight: 700; color: var(--zone-gray); cursor: pointer;
}
.favoris-remove-btn:hover { border-color: var(--zone-red); color: var(--zone-red); }

/* ---------- Signalement d'avis ---------- */
.review-report-form { margin: 6px 0 0; }
.review-report-btn { background: none; border: none; padding: 0; font-size: .8rem; color: var(--zone-gray); text-decoration: underline; cursor: pointer; }
.review-report-btn:hover { color: var(--zone-red); }

/* ---------- Formulaires ---------- */
.auth-page, .place-form-page, .urgent-page { padding: 50px 20px 80px; }
.auth-card {
    max-width: 440px; margin: 0 auto; background: var(--zone-white);
    padding: 34px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
    text-align: center;
}
.auth-card h1 {
    margin-top: 0; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em;
}
.admin-login-body {
    background-color: var(--zone-dark);
    background-image:
        linear-gradient(160deg, rgba(188,58,58,.88) 0%, rgba(36,31,31,.93) 65%),
        url("../images/admin/login-pattern.jpg");
    background-repeat: no-repeat, repeat;
    background-size: cover, 220px auto;
}
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.admin-login-page .auth-card {
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    border-radius: var(--radius-lg);
}
.admin-login-page .auth-card h1 { font-size: 1.6rem; white-space: nowrap; color: #000000; }
.admin-login-page .auth-card-logo { animation: none; }
.auth-form, .place-form, .urgent-form, .review-form, .admin-form, .contact-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.auth-form label, .place-form label, .urgent-form label, .review-form label, .admin-form label, .contact-form label { font-weight: 600; font-size: .88rem; margin-top: 6px; }
.auth-form input, .auth-form select,
.place-form input, .place-form select, .place-form textarea,
.urgent-form select, .urgent-form textarea,
.review-form select, .review-form textarea,
.admin-form input, .admin-form select, .admin-form textarea,
.contact-form input, .contact-form select, .contact-form textarea {
    padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--zone-gray-light);
    font-family: var(--font-main); font-size: .95rem; width: 100%; background: var(--zone-white); color: var(--zone-dark);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.auth-switch { margin-top: 16px; font-size: .9rem; }
.field-hint { font-size: .82rem; color: var(--zone-gray); margin: 4px 0 10px; }

/* ---------- Formulaire de publication (fiche établissement) ---------- */
.place-form-page .section-title { text-transform: uppercase; letter-spacing: .03em; }
.place-form-intro { text-align: center; color: var(--zone-gray); max-width: 620px; margin: 0 auto 8px; }
.place-form-required-note { text-align: center; font-size: .82rem; color: var(--zone-gray); margin: 0 0 30px; }
.place-form-required-note span { color: var(--zone-red); font-weight: 700; }
.place-form-card {
    max-width: 760px; margin: 0 auto; background: var(--zone-white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden;
}
.form-section { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px; border-bottom: 1px solid var(--zone-gray-light); }
.form-section:last-of-type { border-bottom: none; }
.form-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.form-section-icon {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 38px; height: 38px; border-radius: 50%; background: var(--zone-red-tint);
}
.form-section-icon .ic { width: 18px; height: 18px; margin: 0; color: var(--zone-red); }
.form-section-header h2 { margin: 0; font-size: 1.05rem; }
.form-section-submit { display: flex; flex-direction: column; padding: 26px 32px 32px; background: var(--zone-bg); }
.form-section-submit .field-hint { text-align: center; margin: 0 0 14px; }
.phone-input-group { display: flex; align-items: stretch; gap: 8px; }
.phone-prefix {
    display: flex; align-items: center; justify-content: center;
    padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--zone-gray-light);
    background: var(--zone-bg); color: var(--zone-dark); font-weight: 700; font-size: .92rem;
    white-space: nowrap;
}
.phone-input-group input { flex: 1; }
.contact-form { max-width: 100%; margin: 26px 0 0; background: var(--zone-white); padding: 26px; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.contact-note { max-width: 720px; }

/* ---------- Bande partenaires (contact) ---------- */
.partners-marquee { background: var(--zone-bg); border-top: 1px solid rgba(108,102,99,.15); overflow: hidden; padding: 16px 0 10px; margin-top: 0; }
.partners-marquee-label { text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--zone-red); margin-bottom: 20px; }
.partners-track { display: flex; align-items: center; gap: 70px; width: max-content; animation: marquee-scroll 95s linear infinite; }
.partners-item { height: 44px; width: auto; display: block; opacity: .92; }

/* ---------- Zone Urgente ---------- */
.urgent-title { color: var(--zone-red); }
.urgent-intro { color: var(--zone-gray); max-width: 720px; }
.urgent-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.urgent-form { background: var(--zone-white); padding: 22px; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.alert-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.alert-item { background: var(--zone-white); border-left: 4px solid var(--zone-red); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-card); }
.alert-item span { color: var(--zone-gray); font-size: .82rem; float: right; }
.urgent-nearby-section { background: var(--zone-red-tint); border: 1px solid var(--zone-red); border-radius: var(--radius-md); padding: 20px 22px; margin-bottom: 30px; }
.urgent-nearby-section h2 { margin-top: 0; }
.urgent-nearby-hint { color: var(--zone-red-dark); font-size: .85rem; margin: 0 0 10px; }
.urgent-nearby-section .alert-item { border-left-color: var(--zone-red-dark); }

/* ---------- Footer ---------- */
.site-footer { background: #241f1f; color: #cfc9c6; padding: 38px 0 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 240px 1fr 220px; gap: 28px; padding-bottom: 20px; }
.footer-brand p { color: #a49d9a; margin: 0 0 5px; max-width: 240px; }
.footer-tagline { font-size: .86rem; }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a {
    width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08);
    color: #ffffff; display: inline-flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--zone-red); }
.footer-social .ic { width: 15px; height: 15px; margin: 0; }
.footer-links { display: grid; grid-template-columns: .8fr .9fr .9fr 1.1fr; gap: 20px; }
.footer-links h4 { color: #ffffff; font-size: .9rem; margin: 0 0 10px; white-space: nowrap; }
.footer-links a { display: block; color: #cfc9c6; font-size: .88rem; margin-bottom: 6px; white-space: nowrap; }
.footer-links a:hover { color: var(--zone-red-light); }
.footer-newsletter h4 { color: #ffffff; font-size: .9rem; margin: 0 0 10px; }
.footer-newsletter p { color: #a49d9a; font-size: .85rem; margin-bottom: 10px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
    flex: 1; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid #453f3d;
    background: #322c2b; color: #ffffff; font-family: var(--font-main); font-size: .88rem;
}
.newsletter-form input::placeholder { color: #8b8481; }
.newsletter-form .btn { padding: .6em 1.1em; }
.footer-countries { grid-column: 1 / -1; margin-top: 2px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-countries h4 { color: #ffffff; font-size: .9rem; margin-bottom: 8px; }
.footer-countries-list {
    display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 10px;
    max-height: 82px; overflow: hidden;
}
.footer-countries-list a {
    color: #cfc9c6; font-size: .82rem; white-space: nowrap;
    background: rgba(255,255,255,.06); padding: 5px 12px; border-radius: var(--radius-pill);
}
.footer-countries-list a:hover { background: var(--zone-red); color: #ffffff; }
/* Pays déjà couverts (annuaire réel en ligne) : mis en évidence par défaut
   dans le rouge du logo, pas seulement au survol. */
.footer-countries-list a.is-live { background: var(--zone-red); color: #ffffff; font-weight: 700; }
.footer-countries-list a.is-live:hover { background: var(--zone-red-dark); }
.footer-bottom { border-top: 1px solid #3a3634; padding: 12px 20px; font-size: .8rem; color: #ffffff; text-align: center; }

/* ---------- Bandeau de consentement aux cookies ---------- */
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
    background: #241f1f; color: #ffffff; padding: 18px 24px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
    transform: translateY(100%); transition: transform .25s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .85rem; line-height: 1.5; max-width: 720px; color: #d8d1cf; }
.cookie-banner a { color: #ffffff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 620px) {
    .cookie-banner { flex-direction: column; align-items: stretch; }
    .cookie-banner-actions { justify-content: flex-end; }
}
.cookie-manage-confirm { display: inline-block; margin-left: 12px; font-size: .85rem; color: var(--zone-red-dark); font-weight: 600; }

/* ---------- Erreurs ---------- */
.error-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--font-main); padding: 20px; }
.error-page h1 { font-size: 5rem; color: var(--zone-red); margin: 0; }

/* =====================================================================
   Admin — back-office ZONE
   Palette de la marque (rouge brique / noir profond), inspirée d'un
   dashboard fintech moderne : page grise, cartes blanches arrondies
   flottantes, barre latérale claire avec onglet actif plein, topbar
   avec profil et actions rapides.
   ===================================================================== */
.admin-body { background: var(--zone-bg); }
.admin-shell { display: flex; min-height: 100vh; gap: 22px; padding: 22px; align-items: flex-start; }
.admin-sidebar {
    width: 250px; flex-shrink: 0; background: var(--zone-white); color: var(--zone-dark);
    padding: 24px 16px; display: flex; flex-direction: column; gap: 4px;
    position: sticky; top: 22px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.admin-sidebar .brand { padding: 0 8px; margin-bottom: 4px; }
.admin-sidebar-tag { color: var(--zone-gray); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 8px 22px; font-weight: 700; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; }
.admin-nav a {
    color: var(--zone-gray); padding: 11px 14px; border-radius: var(--radius-pill);
    font-weight: 600; font-size: .9rem; transition: background .15s ease, color .15s ease;
}
.admin-nav a:hover { background: var(--zone-red-tint); color: var(--zone-red-dark); }
.admin-nav a.is-active { background: var(--zone-dark); color: var(--zone-white); }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.admin-topbar {
    background: var(--zone-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
    padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.admin-topbar-hello { font-weight: 800; font-size: 1.05rem; color: var(--zone-dark); }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; }
.admin-profile-chip {
    display: flex; align-items: center; gap: 9px; background: var(--zone-bg);
    padding: 6px 14px 6px 6px; border-radius: var(--radius-pill);
}
.admin-profile-avatar {
    width: 30px; height: 30px; border-radius: 50%; background: var(--zone-red); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; flex-shrink: 0;
}
.admin-profile-name { font-weight: 700; font-size: .86rem; color: var(--zone-dark); white-space: nowrap; }
.admin-logout-btn {
    width: 38px; height: 38px; border-radius: 50%; background: var(--zone-dark); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .15s ease;
}
.admin-logout-btn:hover { background: #000000; }
.admin-logout-btn .ic { margin: 0; width: 16px; height: 16px; color: #fff; }

.admin-content { flex: 1; min-width: 0; }
.admin-page-title { margin: 0 0 6px; font-size: 1.4rem; }
.admin-page-subtitle { margin: 0 0 22px; color: var(--zone-gray); font-size: .92rem; }
.admin-section-title { font-size: 1.1rem; margin-top: 30px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { background: var(--zone-white); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-card); border-left: none; }
.stat-card-alert { background: var(--zone-red); }
.stat-card-alert .stat-value { color: #ffffff; }
.stat-card-alert .stat-label { color: rgba(255,255,255,.85); }
.stat-value { display: block; font-size: 2rem; font-weight: 800; color: var(--zone-red); }
.stat-label { color: var(--zone-gray); font-size: .88rem; }

.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--zone-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.admin-table th, .admin-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--zone-gray-light); font-size: .9rem; }
.admin-table th { background: transparent; color: var(--zone-gray); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--zone-gray-light); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--zone-bg); }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.inline-form { display: inline; }
.admin-message-cell { max-width: 320px; white-space: normal; }
.admin-filters { display: flex; gap: 8px; margin-bottom: 18px; }
.admin-filters a { padding: 8px 16px; border-radius: var(--radius-pill); background: var(--zone-white); font-weight: 600; font-size: .85rem; box-shadow: var(--shadow-card); }
.admin-filters a.active { background: var(--zone-dark); color: var(--zone-white); }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.category-admin-block { background: var(--zone-white); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 10px; box-shadow: var(--shadow-card); }
.category-admin-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.category-admin-header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.subcategory-list { margin: 8px 0 0; padding-left: 18px; color: var(--zone-gray); font-size: .88rem; }
.subcategory-list-editable { list-style: none; padding-left: 0; }
.subcategory-list-editable li { margin: 6px 0; }
.subcategory-edit-row { display: flex; gap: 8px; align-items: center; }
.subcategory-edit-row input { padding: 7px 10px; border-radius: var(--radius-sm); border: 1px solid var(--zone-gray-light); font-family: var(--font-main); font-size: .85rem; flex: 1; background: var(--zone-white); color: var(--zone-dark); }
.review-comment-cell { max-width: 260px; }

/* ---------- Leaflet : cohérence typographique ---------- */
.leaflet-container, .leaflet-popup, .leaflet-control { font-family: var(--font-main) !important; }

/* =====================================================================
   Responsive — tablette puis mobile
   ===================================================================== */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-links { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
    .footer-newsletter { grid-column: 1 / -1; max-width: 380px; }
}

/* Le menu principal bascule en tiroir mobile dès 1080px : au-delà de 780px
   et en-deçà de 1080px (tablette portrait/paysage), 5 liens + compte + CTA
   ne tiennent plus confortablement sur une seule ligne — le tiroir offre
   une bien meilleure expérience tactile que des liens compressés. */
@media (max-width: 1080px) {
    .main-nav, .header-actions { display: none; }
    .nav-toggle { display: block; }
}

@media (max-width: 900px) {
    .results-layout, .place-detail-grid, .urgent-layout, .admin-two-col, .features-section { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; width: auto; }
    .admin-shell { flex-direction: column; padding: 14px; gap: 14px; }
    .admin-topbar { padding: 14px 16px; }
    .tips-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .form-row-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
    .hero { padding: 30px 0 62px; }
    .hero-title { font-size: 2rem; }
    .hero-slides { min-height: 260px; }
    .hero-search { margin-top: 20px; transform: translateY(26px); gap: 12px; }
    .hero-search-fields { padding: 10px; }
    .hero-search-field, .hero-search-field-main { flex: 1 1 100%; }
    .btn-hero { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: left; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-links a, .footer-links h4 { white-space: normal; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }

    /* Recherche géolocalisée (/recherche), annuaire Bénin (/annuaire-benin)
       et Zone Urgente (/urgence) : cartes bien moins hautes qu'en desktop
       (600px poussait le contenu très bas sur téléphone), champs de filtre
       empilés en pleine largeur (plus faciles à toucher qu'en ligne serrée). */
    .results-page, .urgent-page, .annuaire-benin-page { padding: 26px 16px 50px; }
    .results-map, .place-form-map, .urgent-map { height: 300px; }
    .results-list { max-height: 420px; }
    .filters-bar { flex-direction: column; align-items: stretch; }
    .filters-bar input, .filters-bar select, .filters-bar .count-pill { width: 100%; padding: 12px 14px; }
    .filters-bar .count-pill { text-align: center; }
    .benin-card-actions { flex-wrap: wrap; row-gap: 6px; }
    .urgent-nearby-section { padding: 16px; }
    .benin-metiers-chips { padding: 12px 14px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }
    .marquee-item { height: 22px; }
    .admin-login-page .auth-card h1 { font-size: 1.25rem; }
    .contact-grid { grid-template-columns: 1fr; }
}
