/* BIG CE — Petites annonces. Polices servies par le site (aucun appel à Google). */
@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/figtree-latin-400-normal.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:Figtree;font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/figtree-latin-600-normal.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:Figtree;font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/figtree-latin-700-normal.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:Figtree;font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/figtree-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Figtree;font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/figtree-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/montserrat-latin-800-normal.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-display:swap;font-weight:900;src:url(../fonts/montserrat-latin-900-normal.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-display:swap;font-weight:800;src:url(../fonts/montserrat-latin-ext-800-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:900;src:url(../fonts/montserrat-latin-ext-900-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{--navy:#0C2350;--deep:#0B3C8C;--lagon:#18C2D6;--lagon2:#8BE9EE;--sun:#FFC72C;--sun2:#FFF1CC;--sand:#F5EFE6;--cream:#FBF8F3;--white:#FFFFFF;--soft:#41557F;--ice:#EAF7F9;--line:rgba(12,35,80,.1);--red:#A3301E;--title:Montserrat,system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--navy);font-family:Figtree,system-ui,sans-serif;font-size:16px;line-height:1.5}
img{max-width:100%;height:auto;display:block}
a{color:var(--deep)}a:hover{color:var(--navy)}
h1,h2,h3{font-family:var(--title);font-weight:900;line-height:1.08;margin:0}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;border-radius:999px;background:var(--sun);color:var(--navy);font-weight:800}.skip:focus{top:12px}
:focus-visible{outline:3px solid var(--lagon);outline-offset:3px}
.wrap{max-width:1240px;margin:0 auto;padding:0 24px}
@media (max-width:600px){.wrap{padding:0 16px}}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:0;border-radius:999px;font:inherit;font-family:var(--title);font-weight:800;font-size:15px;text-decoration:none;cursor:pointer;transition:transform .3s cubic-bezier(.3,1.6,.5,1),box-shadow .3s}
.btn:hover{transform:translateY(-2px)}
.btn-sun{background:var(--sun);color:var(--navy);box-shadow:0 12px 24px -14px rgba(255,170,0,.9)}.btn-sun:hover{color:var(--navy);box-shadow:0 16px 28px -14px rgba(255,170,0,.95)}
.btn-navy{background:var(--navy);color:var(--white)}.btn-navy:hover{color:var(--white)}
.btn-ghost{background:var(--white);color:var(--navy);box-shadow:inset 0 0 0 1px rgba(12,35,80,.16)}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--white);color:var(--navy);font:inherit;font-weight:700;font-size:14.5px;text-decoration:none;cursor:pointer;transition:background .25s,color .25s,transform .25s}
.chip:hover{transform:translateY(-2px);color:var(--navy)}
.chip.on,.chip[aria-pressed="true"]{background:var(--navy);color:var(--white)}
.chip-sand{background:var(--sand)}

/* En-tête */
.top{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.admin-bar .top{top:32px}@media (max-width:782px){.admin-bar .top{top:46px}}
.top-in{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;padding-top:12px;padding-bottom:12px}
.marque{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy)}
.marque img{width:44px;height:45px}
.marque span{font-family:var(--title);font-weight:900;font-size:19px;line-height:1.05}
.cherche{flex:1 1 320px;display:flex;align-items:center;gap:8px;min-height:48px;padding:0 6px 0 16px;border-radius:999px;background:var(--sand)}
.cherche input{flex:1 1 auto;min-width:0;min-height:44px;border:0;outline:0;font:inherit;color:var(--navy);background:transparent}
.cherche button{min-height:38px;padding:0 16px;border:0;border-radius:999px;background:var(--navy);color:var(--white);font:inherit;font-weight:700;font-size:14px;cursor:pointer}
.compte{display:flex;align-items:center;gap:4px}
.rond{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--navy);text-decoration:none;transition:background .2s}
.rond:hover{background:var(--sand);color:var(--navy)}
button.rond{padding:0;border:0;background:transparent;font:inherit;cursor:pointer}
.moi{display:grid;place-items:center;width:40px;height:40px;margin:0 6px;border-radius:50%;background:var(--navy);color:var(--sun);font-family:var(--title);font-weight:900;text-decoration:none}
.moi:hover{color:var(--sun)}
@media (max-width:700px){.top-in{justify-content:space-between}.cherche{order:3;flex-basis:100%}.marque span{font-size:16px}.compte .btn{min-height:42px;padding:0 14px;font-size:14px}.rond{width:40px;height:40px}.moi{margin:0 2px}}
@media (max-width:440px){.top-in{gap:10px}.compte .rond-msg{display:none}}
@media (max-width:410px){.marque{gap:8px}.marque span{font-size:14.5px}.compte .btn{gap:4px;padding:0 12px;font-size:13.5px}.moi{margin:0 2px}}
@media (max-width:379px){.marque span{display:none}}
@media (max-width:340px){.compte .btn{width:44px;padding:0;font-size:0}.cherche{min-width:0}.cherche input{width:100%}.cherche button{padding:0 12px}}

.rubs{display:flex;gap:2px;margin:0 0 0 -12px;padding:0;overflow-x:auto;scrollbar-width:none}
.rubs::-webkit-scrollbar{display:none}
.rubs>li{list-style:none}
.rubs ul{margin:0;padding:0}
.rub-b{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border:0;border-bottom:3px solid transparent;background:transparent;font:inherit;font-weight:600;font-size:15px;color:var(--navy);text-decoration:none;white-space:nowrap;cursor:pointer}
.rub-b[aria-expanded="true"],.rub-b.on{border-bottom-color:var(--sun)}
.sous{border-top:1px solid rgba(12,35,80,.08);background:var(--white);box-shadow:0 30px 40px -30px rgba(6,34,89,.45);animation:drop .3s cubic-bezier(.2,.8,.2,1) both}
.sous[hidden]{display:none}
.sous-in{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-top:18px;padding-bottom:22px}
.sous-in>a:first-child{margin-right:10px;font-family:var(--title);font-weight:900;text-decoration:none}
@keyframes drop{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

/* Contenu */
.main{padding-top:28px;padding-bottom:72px;display:flex;flex-direction:column;gap:48px}
.main.serre{gap:20px;padding-top:22px}
.ariane{font-size:14px;color:var(--soft)}
.ariane a{color:var(--deep)}
.section{display:flex;flex-direction:column;gap:18px}
.section-t{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.section h2{font-size:28px}
@keyframes up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.up{animation:up .7s cubic-bezier(.2,.8,.2,1) both}

/* Accueil */
.hero{position:relative;overflow:hidden;display:flex;flex-wrap:wrap;align-items:center;gap:24px;min-height:340px;padding:44px 48px;border-radius:32px;background:var(--deep);color:var(--white)}
.hero-txt{flex:1 1 380px;display:flex;flex-direction:column;gap:18px;position:relative;z-index:1}
.badge-sun{align-self:flex-start;padding:7px 14px;border-radius:999px;background:var(--sun);color:var(--navy);font-family:var(--title);font-weight:800;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.hero h1{font-size:clamp(34px,5vw,50px);line-height:1.02;letter-spacing:-.01em;max-width:14ch}
.hero p{margin:0;font-size:18px;max-width:42ch;color:#DCE7F7}
.hero-act{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hero-act a.lien{color:var(--lagon2);font-weight:700}
.hero-photos{flex:1 1 360px;position:relative;height:290px}
.hero-photos .bulle{position:absolute;right:10px;top:-60px;width:300px;height:300px;border-radius:50%;background:var(--lagon);opacity:.25}
.flotte{position:absolute;width:150px;padding:8px;border-radius:18px;background:var(--white);color:var(--navy);text-decoration:none;box-shadow:0 24px 40px -20px rgba(0,0,0,.5);animation:flotte 6s ease-in-out infinite}
.flotte:hover{color:var(--navy)}
.flotte .ph{display:block;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--ice)}
.flotte .ph img{width:100%;height:100%;object-fit:cover}
.flotte b{display:block;padding:6px 4px 0;font-family:var(--title);font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flotte:nth-of-type(1){--r:-7deg;left:6%;top:34px}
.flotte:nth-of-type(2){--r:5deg;left:40%;top:0;animation-delay:-2s}
.flotte:nth-of-type(3){--r:-3deg;right:2%;top:70px;animation-delay:-4s}
@keyframes flotte{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-12px) rotate(var(--r,0deg))}}
@media (max-width:700px){.hero{padding:30px 22px;border-radius:26px}.hero-photos{display:none}}

.tuiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px}
.tuile{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 10px;border-radius:22px;background:var(--white);text-decoration:none;color:var(--navy);font-weight:700;text-align:center;line-height:1.2;transition:transform .35s cubic-bezier(.3,1.4,.5,1)}
.tuile:hover{transform:translateY(-4px);color:var(--navy)}
.tuile .ic{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--ice);color:var(--deep);transition:background .25s,transform .35s}
.tuile:hover .ic{background:var(--sun);transform:rotate(-6deg)}
.tuile small{font-weight:600;color:var(--soft)}

.etapes{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.etape{display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:24px;background:var(--white)}
.etape .n{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:var(--sun2);font-family:var(--title);font-weight:900;font-size:20px}
.etape b{font-family:var(--title);font-weight:900;font-size:19px}
.etape p{margin:0;color:var(--soft)}

/* Cartes d'annonces */
/* Grille des annonces : 5, 3 ou 2 colonnes (jamais 4), pour que les 30 cases d'une page finissent toujours leurs lignes ;
   « dense » : une annonce remonte combler le trou laissé par une carte partenaire de 2 cases (Numa, 3 novembre). */
.grille{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-flow:row dense;gap:16px}
@media (max-width:1099px){.grille{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:520px){.grille{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grille-impaire>:last-child{display:none}}
.grille.grille-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:760px){.grille.grille-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
.carte{position:relative;display:flex;flex-direction:column;padding:8px 8px 12px;border-radius:20px;background:var(--white);transition:transform .35s cubic-bezier(.3,1.4,.5,1),box-shadow .35s}
.carte:hover{transform:translateY(-6px);box-shadow:0 24px 38px -24px rgba(6,34,89,.6)}
.carte a{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--navy)}
.carte .ph{position:relative;display:block;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:var(--ice)}
.carte .ph img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.carte:hover .ph img{transform:scale(1.06)}
.carte .vide{display:grid;place-items:center;width:100%;height:100%;color:var(--deep);opacity:.45}
.pastille{position:absolute;left:10px;bottom:10px;padding:3px 10px;border-radius:999px;background:var(--navy);color:var(--white);font-size:12px;font-weight:800}
.pastille.rech{left:auto;right:10px;background:var(--sun);color:var(--navy)}
.pastille.resa{top:10px;bottom:auto;background:var(--sun);color:var(--navy)}
.carte .txt{display:flex;flex-direction:column;gap:2px;padding:0 6px}
.carte .prix{font-family:var(--title);font-weight:900;font-size:18px}
.carte .titre{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.carte .meta{font-size:13.5px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:520px){.carte{padding:6px 6px 10px;border-radius:16px}.carte .prix{font-size:16px}}

/* Liste */
.liste-t h1{font-size:clamp(28px,4vw,36px)}
.liste-t p{margin:6px 0 0;color:var(--soft)}
.filtres{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pill{position:relative}
.pill summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border-radius:999px;background:var(--white);font-weight:700;font-size:14.5px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(12,35,80,.12)}
.pill summary::-webkit-details-marker{display:none}
.pill summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.pill.actif summary{background:var(--navy);color:var(--white);box-shadow:none}
.pill[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.pill .menu{position:absolute;top:calc(100% + 8px);left:0;z-index:15;width:280px;max-height:60vh;overflow:auto;padding:8px;border-radius:20px;background:var(--white);box-shadow:0 28px 50px -22px rgba(6,34,89,.55),0 0 0 1px rgba(12,35,80,.06);animation:drop .3s cubic-bezier(.2,.8,.2,1) both}
.pill.droite{margin-left:auto}.pill.droite .menu{left:auto;right:0}
.opt{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:12px;font-weight:600;color:var(--navy);text-decoration:none}
.opt:hover{background:var(--sand);color:var(--navy)}
.opt.on{background:var(--ice)}
.opt .n{margin-left:auto;font-size:13px;color:var(--soft)}
.opt.sous{padding-left:28px;font-weight:500}
.actifs{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.actifs .chip{background:var(--ice)}
.actifs .chip::after{content:"×";font-size:18px;line-height:1}
.effacer{font-weight:700;font-size:14px;color:var(--deep)}
.vide-box{display:flex;flex-direction:column;align-items:center;gap:12px;padding:56px 24px;border-radius:28px;background:var(--white);text-align:center}
.vide-box b{font-family:var(--title);font-weight:900;font-size:22px}
.vide-box p{margin:0;max-width:40ch;color:var(--soft)}
.pages{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.pages .page-numbers{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:0 12px;border-radius:999px;background:var(--white);color:var(--navy);font-weight:700;text-decoration:none}
.pages .page-numbers.current{background:var(--navy);color:var(--white)}
.pages .dots{background:transparent}

/* Annonce */
.fiche{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);grid-template-areas:"h d" "g d" "t d" "s d";gap:18px 28px;align-items:start}
.fiche>.fiche-t{grid-area:h}.fiche>.galerie{grid-area:g}.fiche>.fiche-d{grid-area:d}.fiche>.bloc{grid-area:t}.fiche>.voisines{grid-area:s}
.fiche-d{position:sticky;top:110px;display:flex;flex-direction:column;gap:14px}
@media (max-width:980px){.fiche{grid-template-columns:minmax(0,1fr);grid-template-areas:"h" "g" "d" "t" "s"}.fiche-d{position:static}}
.fiche-t{display:flex;flex-direction:column;gap:8px}
.fiche-t h1{font-size:clamp(26px,3.4vw,38px);line-height:1.1;overflow-wrap:anywhere}
.fiche-t .gros-prix{margin-top:2px}
.galerie{display:flex;flex-direction:column;gap:12px}
.scene{position:relative;aspect-ratio:4/3;border-radius:28px;overflow:hidden;background:var(--ice)}
.scene img{width:100%;height:100%;object-fit:contain;background:#E3EDF0}
.scene .vide{display:grid;place-items:center;height:100%;color:var(--deep);opacity:.4}
.compteur{position:absolute;left:16px;bottom:16px;padding:5px 12px;border-radius:999px;background:rgba(12,35,80,.82);color:var(--white);font-size:13px;font-weight:700}
.nav-ph{position:absolute;top:50%;display:grid;place-items:center;width:46px;height:46px;margin-top:-23px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--navy);cursor:pointer;box-shadow:0 6px 14px -8px rgba(6,34,89,.5)}
.nav-ph.prec{left:14px}.nav-ph.suiv{right:14px}
.vignettes{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px}
.vignettes button{aspect-ratio:1;padding:0;border:0;border-radius:16px;overflow:hidden;background:var(--ice);cursor:pointer}
.vignettes button img{width:100%;height:100%;object-fit:cover}
.vignettes button[aria-current="true"]{box-shadow:0 0 0 3px var(--sun)}
.bloc{display:flex;flex-direction:column;gap:12px;padding:26px 28px;border-radius:26px;background:var(--white)}
.bloc h2{font-size:22px}
.desc{max-width:68ch;overflow-wrap:anywhere}
.desc p{margin:0 0 10px}
.infos{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin:6px 0 0}
.infos div{padding:12px 14px;border-radius:16px;background:var(--cream)}
.infos dt{font-size:13px;color:var(--soft)}
.infos dd{margin:0;font-weight:700}
.achat{display:flex;flex-direction:column;gap:14px;padding:26px;border-radius:26px;background:var(--white);box-shadow:0 30px 50px -40px rgba(6,34,89,.6)}
.etiq{display:flex;flex-wrap:wrap;gap:6px}
.etiq span{padding:4px 12px;border-radius:999px;background:var(--ice);font-size:13px;font-weight:700}
.etiq span.jaune{background:var(--sun2)}
.achat h1{font-size:28px;line-height:1.1;overflow-wrap:anywhere}
.gros-prix{font-family:var(--title);font-weight:900;font-size:34px;line-height:1;color:var(--deep)}
.petit{font-size:14px;color:var(--soft)}
.contact{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:20px;background:var(--cream)}
.contact b{font-size:15px}
.achat>.contact{padding:0;background:transparent}
.achat>.contact b{font-family:var(--title);font-weight:900;font-size:18px}
.vendeur{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:22px;background:var(--white)}
.vendeur .avatar,.avatar{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--navy);color:var(--sun);font-family:var(--title);font-weight:900;font-size:18px}
.vendeur>span:not(.avatar){display:flex;flex-direction:column;line-height:1.3;min-width:0}
.vendeur b{font-size:17px}
.conseil{padding:16px 18px;border-radius:22px;background:var(--sun2);font-size:14.5px}
.signaler{align-self:flex-start;font-size:14px;font-weight:700;color:var(--red)}

/* Pages simples */
.page-box{max-width:760px;display:flex;flex-direction:column;gap:16px;padding:32px;border-radius:28px;background:var(--white)}
.page-box h1{font-size:clamp(28px,4vw,38px)}
.prose p{margin:0 0 12px}

/* Formulaires */
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,380px);gap:24px;align-items:start;max-width:1040px}
@media (max-width:860px){.auth{grid-template-columns:minmax(0,1fr)}}
.form-box{display:flex;flex-direction:column;gap:18px;padding:32px;border-radius:28px;background:var(--white)}
@media (max-width:600px){.form-box{padding:24px 18px;border-radius:24px}}
.form-box h1{font-size:clamp(28px,4vw,36px)}
.form-box h2{font-size:21px}
.form-box>.petit{margin:0}
.form{display:flex;flex-direction:column;gap:18px}
.champ{display:flex;flex-direction:column;gap:6px;min-width:0}
.champ>label,.champ>.lab,.statuts legend{font-weight:700}
.facult{font-weight:500;font-size:13px;color:var(--soft)}
.champ small{font-size:13.5px;line-height:1.4;color:var(--soft)}
.champ input:not([type=checkbox]):not([type=radio]):not([type=file]),.champ select,.champ textarea{width:100%;min-height:52px;padding:12px 16px;border:1.5px solid rgba(12,35,80,.16);border-radius:16px;background:var(--cream);font:inherit;color:var(--navy);transition:border-color .2s,box-shadow .2s,background-color .2s}
.champ select{appearance:none;padding-right:46px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230C2350' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center}
.champ textarea{min-height:190px;resize:vertical;line-height:1.5}
.champ input:focus,.champ select:focus,.champ textarea:focus{outline:0;border-color:var(--deep);background-color:var(--white);box-shadow:0 0 0 4px rgba(24,194,214,.25)}
.champ.err input,.champ.err select,.champ.err textarea{border-color:var(--red);background-color:#FFF8F6}
.msg-err{margin:0;color:var(--red);font-weight:600;font-size:14px}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:600px){.duo{grid-template-columns:minmax(0,1fr)}}
.case{display:flex;gap:10px;align-items:flex-start;font-weight:600;cursor:pointer}
.case input{flex:none;width:24px;height:24px;margin:0;accent-color:var(--navy)}
.mdp,.avec-unite{position:relative;display:block}
.mdp input{padding-right:104px}
.voir{position:absolute;right:8px;top:50%;transform:translateY(-50%);min-height:38px;padding:0 14px;border:0;border-radius:999px;background:var(--sand);font:inherit;font-weight:700;font-size:13px;color:var(--navy);cursor:pointer}
.avec-unite input{padding-right:46px}
.avec-unite::after{content:attr(data-unite);position:absolute;right:18px;top:50%;transform:translateY(-50%);font-weight:800;color:var(--soft);pointer-events:none}
.btn-large{min-height:56px;padding:0 28px;font-size:16px}
.btn-petit{min-height:40px;padding:0 16px;font-size:14px}
.btn-rouge{background:var(--red);color:var(--white)}.btn-rouge:hover{color:var(--white)}
.btn[disabled]{opacity:.6;cursor:wait;transform:none}
.form>.btn{align-self:flex-start}
@media (max-width:600px){.form>.btn{align-self:stretch}}
.lien-fort{font-weight:700}
.alerte{margin:0;padding:14px 18px;border-radius:18px;font-weight:600;line-height:1.45}
.alerte.ok{background:#E2F5E9;color:#14532D}
.alerte.err{background:#FBE9E5;color:var(--red)}
.alerte.info{background:var(--ice)}
.auth-pub{display:flex;flex-direction:column;gap:14px;padding:30px;border-radius:28px;background:var(--deep);color:#DCE7F7}
.auth-pub h2{color:var(--white);font-size:22px}
.auth-pub p{margin:0}
.auth-pub hr{width:100%;margin:6px 0;border:0;border-top:1px solid rgba(255,255,255,.2)}
.auth-pub .btn{align-self:flex-start}
.statuts{margin:0;padding:0;border:0;min-width:0}
.statuts legend{margin-bottom:8px;padding:0}
.statuts-g{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:520px){.statuts-g{grid-template-columns:minmax(0,1fr)}}
.tuile-choix{position:relative;display:flex;flex-direction:column;gap:4px;padding:16px 16px 16px 50px;border-radius:18px;background:var(--cream);box-shadow:inset 0 0 0 1.5px rgba(12,35,80,.12);cursor:pointer;transition:box-shadow .2s,background .2s}
.tuile-choix input{position:absolute;left:18px;top:18px;width:20px;height:20px;margin:0;accent-color:var(--navy)}
.tuile-choix:has(input:checked){background:var(--white);box-shadow:inset 0 0 0 2px var(--navy)}
.tuile-choix small{color:var(--soft);font-size:13.5px;line-height:1.35}
.form:has(input[name="statut"][value="particulier"]:checked) .si-pro{display:none}
.bascule{display:inline-flex;align-self:flex-start;gap:4px;padding:4px;border-radius:999px;background:var(--sand)}
.bascule label{position:relative}
.bascule input{position:absolute;opacity:0;pointer-events:none}
.bascule span{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:999px;font-weight:700;cursor:pointer;transition:background .2s,color .2s}
.bascule input:checked+span{background:var(--navy);color:var(--white)}
.bascule input:focus-visible+span{outline:3px solid var(--lagon);outline-offset:2px}
.compteur-c{align-self:flex-end;margin-top:-2px;font-size:12.5px;color:var(--soft)}

/* Menu des rubriques (dépôt) */
.choix-rub{border-radius:16px}
.choix-rub-btn{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 18px 12px 16px;border:1.5px solid rgba(12,35,80,.16);border-radius:16px;background:var(--cream);font-weight:600;cursor:pointer}
.choix-rub-btn::-webkit-details-marker{display:none}
.choix-rub-btn::after{content:"";flex:none;width:9px;height:9px;border-right:2.2px solid var(--navy);border-bottom:2.2px solid var(--navy);transform:translateY(-3px) rotate(45deg);transition:transform .2s}
.choix-rub[open] .choix-rub-btn{border-color:var(--deep);background:var(--white);border-bottom-left-radius:6px;border-bottom-right-radius:6px}
.choix-rub[open] .choix-rub-btn::after{transform:translateY(2px) rotate(-135deg)}
.champ.err .choix-rub-btn{border-color:var(--red);background:#FFF8F6}
.choix-rub-panneau{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:8px;padding:12px;border-radius:18px;background:var(--white);box-shadow:0 0 0 1.5px rgba(12,35,80,.1),0 24px 40px -30px rgba(6,34,89,.5);animation:drop .25s cubic-bezier(.2,.8,.2,1) both}
.rub-groupe{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:16px;background:var(--cream)}
.rub-tete{display:flex;align-items:center;gap:10px}
.rub-tete .ic{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ice);color:var(--deep)}
.rub-tete b{font-family:var(--title);font-weight:900;font-size:15.5px}
.rub-puces{display:flex;flex-wrap:wrap;gap:6px}
.rub-puce{position:relative}
.rub-puce input{position:absolute;opacity:0;pointer-events:none}
.rub-puce span{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;background:var(--white);box-shadow:inset 0 0 0 1px rgba(12,35,80,.12);font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}
.rub-puce span:hover{background:var(--sun2)}
.rub-puce input:checked+span{background:var(--navy);color:var(--white);box-shadow:none}
.rub-puce input:focus-visible+span{outline:3px solid var(--lagon);outline-offset:2px}

/* Dépôt */
.form.depot{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
@media (max-width:980px){.form.depot{grid-template-columns:minmax(0,1fr)}}
.depot-g{display:flex;flex-direction:column;gap:18px;min-width:0}
.depot-d{position:sticky;top:120px;display:flex;flex-direction:column;gap:10px;padding:24px;border-radius:24px;background:var(--sun2)}
.depot-d b{font-family:var(--title);font-weight:900;font-size:17px}
.depot-d ul{margin:0 0 6px;padding-left:18px}
.depot-d li{margin:4px 0}
.depot-d .petit{margin:0}
@media (max-width:980px){.depot-d{position:static}}
.bloc-n{display:flex;align-items:center;gap:12px}
.bloc-n .n{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--sun2);font-size:17px}
.depot-envoi{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.depot-envoi .petit{max-width:60ch;margin:0}
@media (max-width:600px){.depot-envoi{align-items:stretch}}
.credit-geo{margin:0;font-size:12.5px}
.ph-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}
.ph-item{position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden;background:var(--ice)}
.ph-item img{width:100%;height:100%;object-fit:cover}
.ph-item .princ{position:absolute;left:8px;top:8px;padding:2px 9px;border-radius:999px;background:var(--sun);color:var(--navy);font-size:11.5px;font-weight:800}
.ph-item:not(:first-child) .princ{display:none}
.ph-item button{position:absolute;border:0;background:rgba(12,35,80,.84);color:var(--white);font:inherit;cursor:pointer}
.ph-item .retirer{right:6px;top:6px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1}
.ph-item .premier{left:6px;right:6px;bottom:6px;min-height:32px;border-radius:999px;font-size:12.5px;font-weight:700}
.ph-item:first-child .premier{display:none}
.ph-garde{position:absolute;left:6px;bottom:6px;padding:2px 8px;border-radius:999px;background:var(--white);font-size:12.5px;font-weight:700}
.js .ph-garde{display:none}
.ph-ajout{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;aspect-ratio:1;padding:8px;border:2px dashed rgba(12,35,80,.25);border-radius:16px;color:var(--deep);font-weight:700;font-size:14px;line-height:1.2;text-align:center;cursor:pointer;transition:background .2s,border-color .2s}
.ph-ajout:hover{background:var(--ice);border-color:var(--deep)}
.ph-ajout:focus-within{outline:3px solid var(--lagon);outline-offset:3px}
.ph-ajout input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ph-ajout[hidden]{display:none}
.ph-attente{background:linear-gradient(90deg,var(--ice),#fff,var(--ice));background-size:200% 100%;animation:charge 1.2s linear infinite}
@keyframes charge{to{background-position:-200% 0}}
.ph-etat{margin:0;font-size:13.5px;color:var(--soft)}
.ph-etat:empty{display:none}

/* Espace membre */
.espace-t{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.espace-t h1{font-size:clamp(28px,4vw,38px)}
.nav-espace{display:flex;flex-wrap:wrap;gap:8px}
.espace{display:flex;flex-direction:column;gap:20px;max-width:760px}
.ma-groupe{display:flex;flex-direction:column;gap:12px}
.ma-groupe h2{display:flex;align-items:center;gap:10px;font-size:20px}
.ma-groupe h2 .n{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:var(--sand);font-family:Figtree,system-ui,sans-serif;font-size:14px;font-weight:700}
.ma-liste{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.ma-ligne{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px;border-radius:22px;background:var(--white)}
@media (max-width:760px){.ma-ligne{grid-template-columns:72px minmax(0,1fr);gap:12px}.ma-act{grid-column:1/-1;justify-content:flex-start!important}}
.ma-ph{display:block;aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--ice)}
.ma-ph img{width:100%;height:100%;object-fit:cover}
.ma-ph .vide{display:grid;place-items:center;height:100%;color:var(--deep);opacity:.45}
.ma-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.ma-titre{overflow:hidden;font-weight:700;color:var(--navy);text-decoration:none;white-space:nowrap;text-overflow:ellipsis}
.ma-titre:hover{text-decoration:underline}
.ma-prix{font-family:var(--title);font-weight:900}
.ma-etat{font-size:14px;line-height:1.35;color:var(--soft)}
.ma-etat.rouge{color:var(--red);font-weight:600}
.ma-etat.vert{color:#1E6B3A;font-weight:600}
.ma-act{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}
.ma-act form{margin:0}
.supp summary,.tel-voir summary{list-style:none}
.supp summary::-webkit-details-marker,.tel-voir summary::-webkit-details-marker{display:none}
.supp[open]{flex-basis:100%}
.supp[open] summary{display:none}
.supp form{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px 14px;border-radius:16px;background:#FBE9E5;font-weight:600;color:var(--red)}
.tel-voir[open] summary{display:none}
.contact .alerte{margin:0}
.tel-num{display:inline-flex;align-items:center;min-height:52px;padding:0 22px;border-radius:999px;background:var(--white);box-shadow:inset 0 0 0 2px var(--navy);font-family:var(--title);font-weight:900;font-size:21px;letter-spacing:.02em;color:var(--navy);text-decoration:none}

/* Profil */
.a-photo{overflow:hidden;padding:0}
.a-photo img{width:100%;height:100%;object-fit:cover}
.lien-moi{display:block;text-decoration:none}
a.vendeur{color:var(--navy);text-decoration:none;transition:transform .3s cubic-bezier(.3,1.4,.5,1),box-shadow .3s}
a.vendeur:hover{color:var(--navy);transform:translateY(-3px);box-shadow:0 20px 34px -26px rgba(6,34,89,.6)}
.vendeur .vendeur-voir{margin-left:auto;font-size:28px;line-height:1;color:var(--soft)}
.vendeur-bio{margin-top:4px;font-size:14px;font-style:italic;color:var(--soft)}
.avatar-g{flex:none;display:grid;place-items:center;width:128px;height:128px;border-radius:50%;background:var(--navy);color:var(--sun);font-family:var(--title);font-weight:900;font-size:42px;box-shadow:0 0 0 6px var(--white),0 18px 34px -18px rgba(6,34,89,.6)}
.profil{display:flex;align-items:center;gap:30px;padding:34px;border-radius:30px;background:var(--white)}
.profil-txt{display:flex;flex-direction:column;gap:10px;min-width:0}
.profil-nom{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.profil-nom h1{font-size:clamp(28px,4vw,40px);overflow-wrap:anywhere}
.badge-pro{padding:5px 12px;border-radius:999px;background:var(--sun);font-family:var(--title);font-weight:900;font-size:13px}
.profil .petit{margin:0}
.bio{max-width:62ch;margin:0;line-height:1.55;overflow-wrap:anywhere}
.vide-bio{color:var(--soft);font-style:italic}
.profil-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
@media (max-width:640px){.profil{flex-direction:column;align-items:flex-start;gap:18px;padding:24px 20px}.avatar-g{width:104px;height:104px;font-size:34px}}
.avatar-choix{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.avatar-choix .avatar-g{width:96px;height:96px;font-size:32px}
.avatar-btns{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;flex:1 1 220px}
.avatar-btns small{font-size:13.5px;color:var(--soft)}
label.btn:focus-within{outline:3px solid var(--lagon);outline-offset:3px}

/* Menu du profil (rond en haut à droite) */
.menu-moi{position:relative}
.menu-moi>summary{list-style:none;cursor:pointer;border-radius:50%}
.menu-moi>summary::-webkit-details-marker{display:none}
.menu-moi-in{position:absolute;right:0;top:calc(100% + 10px);z-index:40;display:flex;flex-direction:column;width:290px;padding:8px;border-radius:22px;background:var(--white);box-shadow:0 28px 50px -22px rgba(6,34,89,.55),0 0 0 1px rgba(12,35,80,.06);animation:drop .25s cubic-bezier(.2,.8,.2,1) both}
.menu-moi-in>a:not(.menu-moi-tete){display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:14px;font-weight:600;color:var(--navy);text-decoration:none}
.menu-moi-in>a:not(.menu-moi-tete):hover{background:var(--sand)}
.menu-moi-in>a:last-child{color:var(--red)}
.menu-moi-tete{display:flex;align-items:center;gap:12px;margin-bottom:6px;padding:10px 12px 14px;border-bottom:1px solid var(--line);color:var(--navy);text-decoration:none}
.menu-moi-tete:hover{color:var(--navy)}
.menu-moi-tete>span:last-child{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.menu-moi-tete b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.menu-moi-tete .avatar{width:46px;height:46px;font-size:16px}
/* Téléphone : le menu prend toute la largeur, sous le rond (l'en-tête sert de repère). */
@media (max-width:760px){
.menu-moi-in{position:fixed;left:12px;right:12px;top:auto;width:auto;margin-top:12px;max-height:calc(100vh - 110px);overflow-y:auto;padding:10px}
.menu-moi-in>a:not(.menu-moi-tete){min-height:52px;font-size:16.5px}
}

/* Menu à trois barres (téléphone) */
.burger{display:none!important;margin-left:-8px}
@media (max-width:760px){.js .burger{display:grid!important}.js .barre-rubs,.js .sous{display:none!important}.js .top-in{padding-bottom:14px}}
.tiroir{position:fixed;inset:0;z-index:60}
.tiroir[hidden]{display:none}
html.tiroir-ouvert{overflow:hidden}
.tiroir-fond{position:absolute;inset:0;background:rgba(12,35,80,.45);animation:fondu .25s ease both}
.tiroir-in{position:absolute;left:0;top:0;bottom:0;display:flex;flex-direction:column;gap:4px;width:min(88vw,370px);padding:14px 16px 32px;overflow-y:auto;overscroll-behavior:contain;background:var(--white);box-shadow:20px 0 50px -20px rgba(6,34,89,.5);animation:glisse .3s cubic-bezier(.2,.8,.2,1) both}
.tiroir-in>.btn{margin:8px 0 4px}
.tiroir-in>.menu-moi-tete{margin:4px 0 0;padding:10px 6px 14px}
.tiroir-tete{display:flex;align-items:center;justify-content:space-between;padding:0 0 4px 6px}
.tiroir-tete b{font-family:var(--title);font-weight:900;font-size:20px}
.tiroir-titre{margin:16px 6px 4px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
.tiroir-lien{display:flex;align-items:center;gap:12px;min-height:50px;padding:0 10px;border-radius:14px;font-weight:700;color:var(--navy);text-decoration:none;cursor:pointer}
.tiroir-lien:hover{background:var(--sand);color:var(--navy)}
.tiroir-lien .ic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ice);color:var(--deep)}
summary.tiroir-lien{list-style:none}
summary.tiroir-lien::-webkit-details-marker{display:none}
summary.tiroir-lien::after{content:"";margin-left:auto;width:8px;height:8px;border-right:2.2px solid currentColor;border-bottom:2.2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.tiroir-rub[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.tiroir-rub[open]>summary{background:var(--sand)}
.tiroir-sous{display:flex;flex-direction:column;padding:4px 0 8px}
.tiroir-sous a{display:flex;align-items:center;min-height:44px;padding:0 10px 0 58px;border-radius:12px;color:var(--navy);text-decoration:none}
.tiroir-sous a:hover,.tiroir-sous a[aria-current="page"]{background:var(--ice)}
.tiroir-in>a.tiroir-lien[href*="logout"]{color:var(--red)}
@keyframes glisse{from{transform:translateX(-100%)}to{transform:none}}
@keyframes fondu{from{opacity:0}to{opacity:1}}
.profil-nom h2{font-size:clamp(24px,3.4vw,32px);overflow-wrap:anywhere}
.espace-t .btn-ghost{min-height:44px}

/* Pied de page */
.pied{background:var(--navy);color:#DCE7F7;font-size:14px}
.pied-in{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;padding-top:32px;padding-bottom:32px}
.pied b{font-family:var(--title);font-weight:900;color:var(--white)}
.pied a{color:var(--lagon2)}
/* Crédit « Site réalisé par Studio 48 » : tout en bas, discret, couleur du texte du pied de page (11 novembre 2026) */
.pied-credit{margin:0 auto;padding-top:14px;padding-bottom:22px;border-top:1px solid rgba(255,255,255,.12);font-size:12.5px;line-height:1.5;color:#DCE7F7;opacity:.82}
.pied .pied-credit a{display:inline;padding:0;color:inherit;text-decoration:underline;text-underline-offset:2px}
.pied .pied-credit a:hover{color:var(--white)}

/* Passage d'une page à l'autre (navigateurs récents) : l'en-tête reste en place, la page change en fondu court */
@view-transition{navigation:auto}
.top{view-transition-name:top}
::view-transition-old(root),::view-transition-new(root){animation-duration:.25s}
/* Trait jaune sous l'en-tête dès le clic sur un lien : la page suivante arrive (près d'une seconde depuis Tahiti) */
.nav-part .top::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--sun);transform-origin:0 50%;animation:navpart 1.6s cubic-bezier(.2,.8,.2,1) both}
@keyframes navpart{from{transform:scaleX(0)}to{transform:scaleX(.92)}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}@view-transition{navigation:none}.nav-part .top::after{display:none}}

/* Messagerie */
.rond-msg{position:relative}
.rond-msg.on{background:var(--navy);color:var(--white)}
/* Sur téléphone : le bouton Messages passe à droite de la recherche (3 novembre), même hauteur qu'elle. */
.rond-msg-tel{display:none}
@media (max-width:440px){.rond-msg-tel{display:grid;order:4;flex:none;width:48px;height:48px;background:var(--sand)}.rond-msg-tel.on{background:var(--navy)}.cherche{flex-basis:calc(100% - 60px);min-width:0}.cherche input{width:100%}.cherche>svg{flex:none}}
.badge-msg{position:absolute;top:0;right:-2px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--red);color:var(--white);font-size:11.5px;font-weight:800;line-height:19px;text-align:center;box-shadow:0 0 0 2px var(--white)}
.msg-page{padding-top:20px;padding-bottom:40px}
.msg-app{display:grid;grid-template-columns:340px minmax(0,1fr);height:min(860px,calc(100vh - 210px));min-height:560px;border-radius:28px;overflow:hidden;background:var(--white);box-shadow:0 30px 60px -46px rgba(6,34,89,.7)}
.msg-liste{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line)}
.msg-liste h1{padding:22px 22px 10px;font-size:26px}
.ml-items{list-style:none;margin:0;padding:0 10px 10px;overflow:auto;flex:1 1 auto}
.ml-conv{display:flex;align-items:center;gap:12px;padding:12px;border-radius:18px;color:var(--navy);text-decoration:none;transition:background .2s}
.ml-conv:hover{background:var(--cream);color:var(--navy)}
.ml-conv.on{background:var(--ice)}
.ml-ph{position:relative;flex:none;width:54px;height:54px;border-radius:14px;background:var(--sand)}
.ml-ph img{width:100%;height:100%;object-fit:cover;border-radius:14px;display:block}
.ml-ph .avatar{width:54px;height:54px;border-radius:14px;font-size:16px;overflow:hidden}
.ml-point{position:absolute;top:-4px;right:-4px;width:14px;height:14px;border-radius:50%;background:var(--lagon);box-shadow:0 0 0 3px var(--white)}
.ml-txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.ml-l1{display:flex;justify-content:space-between;gap:8px}
.ml-l1 b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ml-h{flex:none;font-size:12.5px;color:var(--soft)}
.ml-objet{font-size:13px;font-weight:700;color:var(--deep);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ml-extrait{font-size:14px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nonlu .ml-extrait{color:var(--navy);font-weight:700}
.ml-vide{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:8px 22px;padding:20px;border-radius:20px;background:var(--cream)}
.ml-vide p{margin:0;color:var(--soft)}
.msg-conv{display:flex;flex-direction:column;min-height:0;min-width:0}
.msg-tete{border-bottom:1px solid var(--line)}
.mt-haut{display:flex;align-items:center;gap:12px;padding:12px 18px}
.mt-retour{display:none!important;flex:none}
.mt-ph{flex:none;width:52px;height:52px;border-radius:12px;overflow:hidden;background:var(--sand);display:grid;place-items:center;color:var(--soft)}
.mt-ph img{width:100%;height:100%;object-fit:cover;display:block}
.mt-txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.3}
.mt-qui{font-weight:800;font-size:17px;color:var(--navy);text-decoration:none}
.mt-qui:hover{text-decoration:underline}
.mt-objet{font-size:14px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-objet b{color:var(--navy)}
.mt-etiq{display:flex;flex-wrap:wrap;gap:6px}
.mt-etiq:empty{display:none}
.etq{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:12.5px;font-weight:800;background:var(--sand);color:var(--navy)}
.etq.jaune{background:var(--sun2)}.etq.vert{background:#E2F5E9;color:#14532D}.etq.gris{background:var(--sand);color:var(--soft)}.etq.bleu{background:var(--ice);color:var(--deep)}
.mt-voir{flex:none}
.mt-plus{position:relative;flex:none}
.mt-plus summary{list-style:none;cursor:pointer}
.mt-plus summary::-webkit-details-marker{display:none}
.mt-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:10;width:min(310px,86vw);display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:20px;background:var(--white);box-shadow:0 24px 50px -24px rgba(6,34,89,.55),0 0 0 1px var(--line)}
.mt-menu form{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0}
.mt-menu select{width:100%;min-height:44px;padding:0 12px;border:1.5px solid rgba(12,35,80,.16);border-radius:14px;background:var(--cream);font:inherit;color:var(--navy)}
.mt-menu small{font-size:13px;color:var(--soft);line-height:1.4}
.mt-vendeur{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 18px 12px}
.mt-vendeur form{margin:0}
.mt-ok{display:inline-flex;align-items:center;gap:6px;font-weight:800;color:#14532D}
.mt-vendue summary{list-style:none}.mt-vendue summary::-webkit-details-marker{display:none}
.mt-vendue[open] summary{display:none}
.mt-vendue form,.ma-vendue form{background:var(--sun2);color:var(--navy)}
.ma-vendue[open]{flex-basis:100%}
.ma-vendue[open] summary{display:none}
a.ma-etat{font-weight:700;color:var(--deep)}
.msg-fil>*{flex-shrink:0}
.msg-fil{flex:1 1 auto;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:20px 22px;background:var(--cream)}
.mf-securite{align-self:center;margin:0 0 4px;padding:6px 14px;border-radius:999px;background:var(--sun2);font-size:13px;font-weight:600;text-align:center}
.mf-vide{align-self:center;margin:auto 0;max-width:340px;color:var(--soft);text-align:center}
.mf-jour,.mf-info{align-self:center;margin:6px 0 0;text-align:center}
.mf-jour span{padding:2px 12px;border-radius:999px;background:var(--white);font-size:12.5px;font-weight:700;color:var(--soft)}
.mf-info span{display:inline-block;padding:6px 14px;border-radius:999px;background:var(--ice);color:var(--deep);font-size:13.5px;font-weight:700}
.mf-bulle{max-width:min(72%,560px);display:flex;flex-direction:column;gap:2px}
.mf-bulle p{margin:0;padding:10px 15px;border-radius:20px 20px 20px 6px;background:var(--white);overflow-wrap:anywhere;white-space:normal}
.mf-bulle.de-moi{align-self:flex-end}
.mf-bulle.de-moi p{background:var(--navy);color:var(--white);border-radius:20px 20px 6px 20px}
.mf-bulle.de-eux{align-self:flex-start}
.mf-h{padding:0 6px;font-size:11.5px;color:var(--soft)}
.de-moi .mf-h{align-self:flex-end}
.mf-vu{align-self:flex-end;margin-top:-6px;padding:0 6px;font-size:12px;font-weight:700;color:var(--soft)}
.mf-offre{width:min(330px,88%);display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px;border-radius:22px;background:var(--white);box-shadow:0 14px 30px -22px rgba(6,34,89,.7),inset 0 0 0 1px var(--line)}
.mf-offre.de-moi{align-self:flex-end}.mf-offre.de-eux{align-self:flex-start}
.mf-offre.acceptee{box-shadow:0 14px 30px -22px rgba(6,34,89,.7),inset 0 0 0 2px var(--sun)}
.mo-t{font-size:12.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.mo-m{font-family:var(--title);font-weight:900;font-size:26px;line-height:1.05}
.mf-offre.remplacee .mo-m,.mf-offre.refusee .mo-m{text-decoration:line-through;opacity:.55}
.mo-p{font-size:13.5px;color:var(--soft)}
.mo-act{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.mo-act form{margin:0}
.mf-offre .mf-h{align-self:flex-end;padding:0}
.msg-pied{position:relative;display:flex;flex-direction:column;gap:10px;padding:12px 18px 16px;border-top:1px solid var(--line);background:var(--white)}
.msg-alerte{margin:10px 18px 0}
.msg-pied .msg-alerte{margin:0}
#msg-bas:empty{display:none}
.offre-pan summary{list-style:none}.offre-pan summary::-webkit-details-marker{display:none}
.offre-pan[open] summary{background:var(--navy);color:var(--white)}
.offre-form{display:flex;flex-direction:column;gap:12px;margin:0;padding:18px;border-radius:22px;background:var(--white)}
.offre-pan[open] .offre-form{position:absolute;left:18px;right:18px;bottom:calc(100% + 10px);z-index:6;max-width:460px;box-shadow:0 24px 50px -20px rgba(6,34,89,.55),0 0 0 1px var(--line)}
.of-prix{margin:0}
.of-choix{display:flex;flex-wrap:wrap;gap:8px}
.of-choix .chip small{font-weight:600;color:var(--soft)}
.offre-form .btn{align-self:flex-start}
.msg-idees{display:flex;flex-wrap:wrap;gap:6px}
.msg-idees .chip{min-height:36px;font-size:14px}
.msg-ecrire{display:flex;align-items:flex-end;gap:10px;margin:0}
.msg-ecrire textarea{flex:1 1 auto;min-width:0;min-height:52px;max-height:180px;padding:14px 20px;border:0;border-radius:26px;background:var(--sand);font:inherit;color:var(--navy);line-height:1.45;resize:none}
.msg-ecrire textarea:focus{outline:2px solid var(--lagon);outline-offset:0}
.msg-envoi{flex:none;display:grid;place-items:center;width:52px;height:52px;border:0;border-radius:50%;background:var(--sun);color:var(--navy);cursor:pointer;transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.msg-envoi:hover{transform:scale(1.08) rotate(-8deg)}
.msg-envoi:disabled{opacity:.5;cursor:default;transform:none}
.msg-bloque{margin:0;padding:14px 16px;border-radius:18px;background:var(--sand);color:var(--soft);font-weight:600}
.msg-choisir{margin:auto;display:flex;flex-direction:column;align-items:center;gap:8px;max-width:340px;padding:40px 20px;color:var(--soft);text-align:center}
.msg-choisir b{color:var(--navy);font-size:18px}
.msg-choisir p{margin:0}
@media (max-width:860px){
	.msg-page{padding-top:12px}
	.msg-app{display:block;height:auto;min-height:0;border-radius:22px;overflow:visible}
	.msg-app.avec-conv .msg-liste{display:none}
	.msg-app:not(.avec-conv) .msg-conv{display:none}
	.msg-liste{border-right:0}
	.msg-liste h1{padding:18px 16px 8px;font-size:24px}
	.ml-items{padding:0 6px 8px;overflow:visible}
	.mt-retour{display:grid!important;width:40px;height:40px}
	.mt-haut{gap:10px;padding:10px 12px}
	.mt-vendeur{padding:0 12px 10px}
	.msg-fil{overflow:visible;min-height:52vh;padding:16px 12px;border-radius:0}
	.msg-pied{position:sticky;bottom:0;z-index:5;padding:10px 12px calc(12px + env(safe-area-inset-bottom));border-radius:0 0 22px 22px;box-shadow:0 -12px 24px -20px rgba(6,34,89,.5)}
	.mf-bulle{max-width:84%}
	.offre-pan[open] .offre-form{left:12px;right:12px}
}
@media (max-width:520px){.mt-voir{display:none}.mt-qui{font-size:16px}.mt-ph{width:46px;height:46px}}

/* Espace Immobilier (3 novembre 2026) : /immobilier/, onglets, filtres du bien ; cartes « Maison · F3 · 85 m² » ; loyers « / mois » */
.par-mois{margin-left:4px;font-family:Figtree,system-ui,sans-serif;font-size:.68em;font-weight:700;color:var(--soft);white-space:nowrap}
.carte .carac{font-size:13.5px;font-weight:700;color:var(--deep);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pastille.agence{background:var(--lagon);color:var(--navy)}
.immo-tete{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:end;gap:12px 24px;padding:34px 0 0 40px;border-radius:30px;background:linear-gradient(135deg,var(--navy) 0%,var(--deep) 100%);color:var(--white)}
.immo-tete-txt{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:34px;min-width:0}
.immo-sur{display:inline-flex;align-items:center;gap:8px;padding:6px 14px 6px 10px;border-radius:999px;background:rgba(255,255,255,.1);color:var(--lagon2);font-family:var(--title);font-weight:800;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.immo-tete h1{font-size:clamp(28px,4.4vw,44px);line-height:1.04;text-wrap:balance}
.immo-tete p{margin:0;max-width:46ch;font-size:17px;color:#DCE7F7}
.immo-deco{display:block;width:100%;max-width:420px;height:auto;justify-self:end;align-self:end}
@media (max-width:760px){.immo-tete{grid-template-columns:minmax(0,1fr);padding:26px 0 0 22px;border-radius:24px}.immo-tete-txt{padding:0 22px 0 0}.immo-deco{max-width:210px;margin:-34px 0 0 auto}}
.immo-onglets{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -24px;padding:2px 24px}
.immo-onglets::-webkit-scrollbar{display:none}
.immo-onglets .chip{flex:none;box-shadow:inset 0 0 0 1px rgba(12,35,80,.12)}
.immo-onglets .chip.on{box-shadow:none}
.immo-onglets .n,.immo-ouvrir .n{display:inline-grid;place-items:center;min-width:24px;height:22px;padding:0 6px;border-radius:999px;background:var(--sand);color:var(--navy);font-size:12.5px}
.immo-onglets .chip.on .n{background:var(--sun);color:var(--navy)}
@media (max-width:600px){.immo-onglets{margin:0 -16px;padding:2px 16px}}
.immo-filtres{padding:20px;border-radius:24px;background:var(--white)}
.immo-champs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 14px;align-items:end}
.immo-champs .champ>label{font-size:13.5px}
.immo-champs .champ input:not([type=checkbox]):not([type=radio]),.immo-champs .champ select{min-height:46px;padding-top:9px;padding-bottom:9px;border-radius:14px}
.immo-mots{grid-column:span 2}
.immo-act{grid-column:span 2;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.immo-ouvrir{display:none}
@media (max-width:980px){.immo-champs{grid-template-columns:repeat(2,minmax(0,1fr))}.immo-act{grid-column:1/-1}}
@media (max-width:760px){
	.immo-filtres{padding:0;background:transparent}
	.js .immo-ouvrir{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--navy);color:var(--white);font:inherit;font-weight:700;cursor:pointer}
	.js .immo-ouvrir .n{background:var(--sun)}
	.js .immo-champs{display:none}
	.js .immo-filtres.ouvert .immo-champs{display:grid;margin-top:12px}
	.immo-champs{padding:18px;border-radius:22px;background:var(--white)}
	.immo-mots{grid-column:1/-1}
	.immo-act .btn{flex:1 1 auto}
}
@media (max-width:359px){.immo-champs{grid-template-columns:minmax(0,1fr);gap:12px}}
@media (max-width:760px){.immo-champs{gap:12px}.immo-champs .champ select{padding-right:34px;padding-left:12px;background-position:right 12px center}}
.immo-compte{margin:0;color:var(--soft)}
.immo-note{max-width:70ch;margin:8px 0 0;color:var(--soft)}
.prix-m2{font-weight:700;color:var(--soft)}
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:600px){.trio{grid-template-columns:minmax(0,1fr)}}
.immo-bien{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:20px;background:var(--ice)}
.immo-bien>b{font-family:var(--title);font-weight:900;font-size:16px}
.js .immo-bien:not(.on){display:none}
.immo-pub{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:-20px;padding:20px 24px;border-radius:24px;background:linear-gradient(135deg,var(--navy) 0%,var(--deep) 100%);color:var(--white);text-decoration:none;transition:transform .35s cubic-bezier(.3,1.4,.5,1)}
.immo-pub:hover{transform:translateY(-3px);color:var(--white)}
.immo-pub b{font-family:var(--title);font-weight:900;font-size:20px}
.immo-pub-t{flex:1 1 300px;min-width:0;color:#DCE7F7}
.immo-pub .btn{margin-left:auto}
@media (max-width:600px){.immo-pub{margin-top:-28px;padding:18px}.immo-pub .btn{margin-left:0}}
/* Recherche : suggestions pendant la frappe (5 novembre 2026) — rubriques, annonces, puis « Voir toutes les annonces » */
.cherche{position:relative}
.sugg{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:40;display:flex;flex-direction:column;padding:8px;border-radius:20px;background:var(--white);box-shadow:0 18px 48px rgba(12,35,80,.18),0 0 0 1px var(--line);overflow-y:auto;overscroll-behavior:contain;max-height:min(70vh,560px);text-align:left}
.sugg[hidden]{display:none}
.sugg-t{margin:8px 10px 4px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.sugg a{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 10px;border-radius:14px;color:var(--navy);text-decoration:none;flex:none}
.sugg a:hover,.sugg a[aria-selected="true"]{background:var(--ice)}
.sugg-r{flex-wrap:wrap;column-gap:10px!important;row-gap:0!important}
.sugg-r b{font-weight:700}
.sugg-r span{color:var(--soft);font-size:14px}
.sugg-ph{flex:none;width:48px;height:48px;border-radius:10px;object-fit:cover;background:var(--sand)}
.sugg-x{display:flex;flex-direction:column;min-width:0;gap:2px}
.sugg-n{font-weight:600;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sugg-n mark{background:var(--sun2);color:inherit;border-radius:3px;padding:0 1px}
.sugg-m{font-size:13px;color:var(--soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sugg-tout{margin-top:4px;justify-content:center;text-align:center;font-weight:700;border-top:1px solid var(--line)}
.rech-flou{margin:6px 0 0;color:var(--soft);font-size:14px}
@media (max-width:700px){.sugg{top:calc(100% + 6px);border-radius:16px;padding:6px}}
@media (max-width:440px){.sugg{right:-58px}} /* sous la barre et le bouton Messages, toute la largeur */
/* Rubriques qui ont des sous-rubriques : une petite flèche vers le bas, comme dans le menu du téléphone (Xavier, 5 novembre 2026) ;
   elle se retourne quand les sous-rubriques sont ouvertes. */
.rub-b[data-sous]::after{content:"";flex:none;width:7px;height:7px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;opacity:.7;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
.rub-b[data-sous][aria-expanded="true"]::after{opacity:1;transform:translateY(2px) rotate(-135deg)}
@media (prefers-reduced-motion:reduce){.rub-b[data-sous]::after{transition:none}}
@media (max-width:960px){.rub-b{padding:0 8px;font-size:14px}.rub-b[data-sous]::after{margin-left:6px;width:6px;height:6px}} /* avec les flèches, la barre tient jusqu'à 761 px */

/* Test béton (5 novembre 2026) : zones tactiles d'au moins 24 px (norme WCAG 2.2) */
.ariane a,.pied a,.signaler{display:inline-block;padding-block:4px}
/* Sur téléphone, les menus des filtres s'ouvrent sous la rangée, sur toute sa largeur (le 2e débordait de l'écran) */
@media (max-width:600px){
  .filtres{position:relative}
  .filtres .pill{position:static}
  .filtres .pill .menu,.filtres .pill.droite .menu{left:0;right:0;width:auto}
}

/* Pictogrammes des rubriques « lignes épurées » (Xavier, 29 novembre 2026) : sans rond, un peu plus grands */
.tuile .ic.pic{width:68px;height:68px;border-radius:0;background:none}
.tuile .ic.pic img{display:block;width:68px;height:68px}
.tuile:hover .ic.pic{background:none;transform:rotate(-4deg) scale(1.06)}

/* Annonce sans photo : le dessin de sa rubrique (30 novembre 2026). En fin de fichier pour passer après .scene et .ma-ph. */
.vide.dessin,.scene .vide.dessin,.ma-ph .vide.dessin{opacity:1;background:radial-gradient(75% 60% at 50% 46%,var(--white) 0,rgba(255,255,255,0) 72%),var(--ice)}
.carte .ph .vide.dessin img,.scene .vide.dessin img,.ma-ph .vide.dessin img{width:58%;max-width:170px;height:auto;aspect-ratio:1;object-fit:contain;background:none;opacity:.88}
.scene .vide.dessin img{width:36%;max-width:240px}
.ma-ph .vide.dessin img{width:72%}
