/* neoannonces.nc — nouveau design (décembre 2026) */
:root {
  --encre: #0f1b3d;
  --texte: #2b3550;
  --gris: #6b7489;
  --trait: #e6eaf2;
  --fond: #f6f8fc;
  --blanc: #ffffff;
  --orange: #f7801e;
  --orange-fonce: #e36a06;
  --bleu: #1565e0;
  --bleu-fonce: #0d4fb8;
  --vert: #1f9d55;
  --ombre: 0 6px 24px rgba(15, 27, 61, .08);
  --ombre-forte: 0 12px 32px rgba(15, 27, 61, .14);
  --rayon: 14px;
  --large: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.na {
  margin: 0; background: var(--blanc); color: var(--texte);
  font: 16px/1.5 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.na a { color: inherit; }
.na img { max-width: 100%; display: block; }
.na-orange { color: var(--orange); }

/* Boutons */
.na-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 999px; padding: .7rem 1.3rem; cursor: pointer;
  font: 700 .98rem/1.2 inherit; font-family: inherit; text-decoration: none; white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.na-btn-orange { background: var(--orange); color: #fff !important; box-shadow: 0 8px 20px rgba(247, 128, 30, .32); }
.na-btn-orange:hover { background: var(--orange-fonce); transform: translateY(-1px); }
.na-btn-bleu { background: var(--bleu); color: #fff !important; }
.na-btn-bleu:hover { background: var(--bleu-fonce); }
.na-btn-clair { background: var(--fond); color: var(--encre) !important; border: 1px solid var(--trait); }
.na-btn-xl { font-size: 1.2rem; padding: 1rem 2.1rem; }

/* En-tête */
.na-tete { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.na-tete-in { max-width: var(--large); margin: 0 auto; padding: .7rem 1.25rem; display: flex; align-items: center; gap: 2rem; }
.na-logo img { height: 46px; width: auto; }
.na-logo-texte { font-weight: 800; font-size: 1.4rem; color: var(--encre); text-decoration: none; }
.na-logo { text-decoration: none; flex: none; }
.na-menu { display: flex; gap: 1.6rem; font-weight: 600; color: var(--encre); }
.na-menu a { text-decoration: none; }
.na-menu a:hover { color: var(--bleu); }
.na-tete-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.na-compte { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; color: var(--encre); border: 1px solid var(--trait); border-radius: 999px; padding: .5rem 1rem; }
.na-compte:hover { border-color: var(--bleu); color: var(--bleu); }

/* Messages */
.na-flashes { max-width: var(--large); margin: 1rem auto 0; padding: 0 1.25rem; }
.na-flash { background: #eef5ff; border: 1px solid #cfe0fb; color: var(--encre); border-radius: 10px; padding: .7rem 1rem; margin-bottom: .5rem; }
.na-flash-error { background: #fff1ef; border-color: #f6cfc8; }
.na-flash-success { background: #ecf8f1; border-color: #c4e8d3; }

/* Bandeau d'accueil */
.na-hero { position: relative; background: linear-gradient(180deg, #eaf4ff 0%, #f7fbff 100%); overflow: hidden; }
.na-hero-photo { background: #fff url("/static/img/hero-accueil.webp") right 62% / auto 150% no-repeat; }
@media (min-width: 1700px) { .na-hero-photo { background-size: 62% auto; } }
.na-hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,.75) 46%, rgba(255,255,255,0) 62%),
              linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 28%);
}
.na-hero-in { position: relative; max-width: var(--large); margin: 0 auto; padding: 3.2rem 1.25rem 3.6rem; }
.na-hero-court .na-hero-in { padding: 1.4rem 1.25rem 1.2rem; }
.na-hero-court.na-hero-photo { background-position: right 60%; }
.na-hero-court.na-hero-photo::before { background: rgba(255,255,255,.82); }
.na-surtitre { margin: 0 0 1rem; font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--encre); display: flex; align-items: center; gap: .9rem; }
.na-surtitre::after { content: ""; width: 34px; height: 2px; background: var(--orange); }
.na-hero h1 { margin: 0; color: var(--encre); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; max-width: 15em; }
.na-accroche { display: flex; align-items: center; gap: .55rem; margin: 1.1rem 0 0; font-size: 1.08rem; color: var(--texte); }
.na-accroche svg { flex: none; }
.na-accroche strong { color: var(--encre); }
.na-hero-actions { display: flex; align-items: center; gap: 1.3rem; margin-top: 2rem; flex-wrap: wrap; }
.na-hero-court .na-hero-actions { margin-top: 0; }
.na-recherche { flex: 1 1 560px; display: flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: var(--ombre-forte); padding: .35rem .35rem .35rem 1.1rem; min-width: 0; }
.na-champ { display: flex; align-items: center; gap: .55rem; color: var(--gris); min-width: 0; }
.na-champ-q { flex: 2 1 0; }
.na-champ-lieu { flex: 1 1 0; border-left: 1px solid var(--trait); padding-left: 1rem; margin-left: .6rem; }
.na-champ input, .na-champ select { border: 0; outline: 0; background: transparent; font: inherit; font-size: .98rem; color: var(--encre); width: 100%; min-width: 0; padding: .65rem 0; }
.na-champ select { cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 1.4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f1b3d' stroke-width='2'/%3E%3C/svg%3E") right .2rem center no-repeat; }
.na-recherche .na-btn { padding: .8rem 1.6rem; }

/* Sections */
.na-section { max-width: var(--large); margin: 0 auto; padding: 0 1.25rem; }
.na-rubriques-bloc { margin-top: -1.6rem; position: relative; z-index: 2; }
.na-hero-court + .na-rubriques-bloc { margin-top: 1rem; }

/* Tuiles des rubriques */
.na-tuiles { display: grid; grid-template-columns: repeat(10, 1fr); gap: .75rem; }
.na-tuile { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .15rem;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: .9rem .4rem .8rem; text-decoration: none; box-shadow: var(--ombre); transition: transform .15s, border-color .15s; min-width: 0; }
.na-tuile:hover { transform: translateY(-2px); border-color: #c9d6ee; }
.na-tuile.actif { border-color: var(--bleu); box-shadow: 0 0 0 2px var(--bleu) inset, var(--ombre); }
.na-tuile-ico { font-size: 2rem; line-height: 1.1; margin-bottom: .2rem; }
.na-tuile-nom { font-weight: 700; font-size: .9rem; color: var(--encre); line-height: 1.2; }
.na-tuile-n { font-size: .78rem; color: var(--gris); }
.na-tuile-autres { position: relative; cursor: pointer; padding: 0; }
.na-tuile-autres summary { list-style: none; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .9rem .4rem .8rem; }
.na-tuile-autres summary::-webkit-details-marker { display: none; }
.na-tuile-autres .na-tuile-ico { font-size: 1.2rem; letter-spacing: .1em; color: var(--encre); padding: .45rem 0 .35rem; }
.na-autres-liste { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 10; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre-forte); padding: .4rem; min-width: 240px; text-align: left; }
.na-autres-liste a { display: flex; gap: .5rem; align-items: center; padding: .55rem .7rem; border-radius: 10px; text-decoration: none; color: var(--encre); font-weight: 600; font-size: .92rem; }
.na-autres-liste a small { margin-left: auto; color: var(--gris); font-weight: 500; }
.na-autres-liste a:hover, .na-autres-liste a.actif { background: var(--fond); }

/* Pastilles */
.na-pastilles, .na-types { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.1rem; }
.na-pastilles a, .na-types a { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; background: #fff; color: var(--encre); border: 1px solid var(--trait); border-radius: 999px; padding: .55rem 1.25rem; font-weight: 600; font-size: .95rem; }
.na-pastilles a { padding: .4rem .95rem; font-size: .88rem; }
.na-pastilles a:hover, .na-types a:hover { border-color: var(--bleu); color: var(--bleu); }
.na-pastilles a.actif, .na-types a.actif { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.na-types { position: relative; margin-top: 1.5rem; }
.na-types a { min-width: 140px; justify-content: center; }

/* Liste des annonces */
.na-titre-ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 2.2rem 0 1rem; }
.na-titre-ligne h2 { margin: 0; color: var(--encre); font-size: 1.6rem; font-weight: 800; border-left: 4px solid var(--orange); padding-left: .7rem; line-height: 1.1; }
.na-titre-ligne h2 small { font-size: .85rem; font-weight: 500; color: var(--gris); margin-left: .5rem; }
.na-lien { color: var(--bleu) !important; font-weight: 600; text-decoration: none; white-space: nowrap; }
.na-lien:hover { text-decoration: underline; }
.na-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding-bottom: 2.5rem; }
.na-carte { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.na-carte:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.na-carte-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--fond); overflow: hidden; }
.na-carte-photo img { width: 100%; height: 100%; object-fit: cover; }
.na-carte-vide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; opacity: .55; }
.na-badge-temps { position: absolute; top: .6rem; left: .6rem; background: rgba(255,255,255,.92); color: var(--encre); font-size: .74rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; }
.na-badge-prix { position: absolute; right: .6rem; bottom: .6rem; background: #fff; color: var(--encre); font-weight: 800; font-size: 1.05rem; padding: .3rem .75rem; border-radius: 10px; box-shadow: 0 4px 12px rgba(15,27,61,.18); }
.na-badge-prix.gratuit { background: var(--vert); color: #fff; }
.na-carte-corps { padding: .8rem .95rem .95rem; }
.na-carte h3 { margin: 0 0 .45rem; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--encre); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.na-carte h3 a { text-decoration: none; }
.na-carte-infos { display: flex; flex-wrap: wrap; gap: .25rem .8rem; margin: 0; font-size: .8rem; color: var(--gris); }
.na-carte-infos span { display: inline-flex; align-items: center; gap: .25rem; }
.na-carte-infos span + span::before { content: "·"; margin-right: .55rem; color: #b6bdcc; }
.na-carte-infos span + span { gap: 0; }

/* Encart Neo */
.na-carte-neo { background: linear-gradient(135deg, #e8f3ff 0%, #f3f8ff 100%); border: 1px solid #d6e6fb; border-radius: var(--rayon); padding: 1.2rem; display: flex; gap: 1rem; align-items: center; }
.na-neo-tel { flex: none; width: 74px; height: 128px; border-radius: 16px; background: #0f1b3d; padding: 6px; transform: rotate(-8deg); box-shadow: var(--ombre-forte); }
.na-neo-tel span { display: flex; width: 100%; height: 100%; border-radius: 11px; background: linear-gradient(160deg, #8fd3ff, #36a3e0); align-items: center; justify-content: center; font-size: 1.8rem; }
.na-neo-titre { margin: 0 0 .6rem; font-weight: 800; font-size: 1.05rem; line-height: 1.25; color: var(--encre); }
.na-carte-neo ul { list-style: none; margin: 0 0 .8rem; padding: 0; font-size: .86rem; }
.na-carte-neo li { padding-left: 1.4rem; position: relative; margin: .2rem 0; }
.na-carte-neo li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 800; }
.na-carte-neo .na-btn { padding: .5rem 1.1rem; font-size: .9rem; }

/* Vide, pages */
.na-vide { text-align: center; background: var(--fond); border-radius: var(--rayon); padding: 2.5rem 1rem; margin-bottom: 2.5rem; }
.na-vide h3 { margin: 0 0 .4rem; color: var(--encre); }
.na-vide p { margin: 0 0 1.2rem; color: var(--gris); }
.na-pages { display: flex; align-items: center; justify-content: center; gap: 1rem; padding-bottom: 2.5rem; color: var(--gris); font-size: .92rem; }

/* Pied de page */
.na-pied { background: var(--fond); border-top: 1px solid var(--trait); margin-top: 1rem; }
.na-pied-in { max-width: var(--large); margin: 0 auto; padding: 1.6rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--gris); }
.na-pied-in strong { color: var(--encre); }
.na-pied-liens { display: flex; gap: 1.2rem; }
.na-pied-liens a { text-decoration: none; }
.na-pied-liens a:hover { color: var(--bleu); }
/* Nos partenaires : bande de logos qui défile (deux groupes identiques, la piste avance d'un groupe puis recommence) */
.na-partenaires { border-top: 1px solid var(--trait); padding: 1rem 0 1.4rem; background: #fff; }
.na-partenaires-titre { max-width: var(--large); margin: 0 auto .7rem; padding: 0 1.25rem; font-size: .8rem; color: var(--gris); }
.na-defile { overflow: hidden; }
.na-defile-piste { display: flex; width: max-content; min-width: 200%; animation: na-defile 26s linear infinite; }
.na-defile:hover .na-defile-piste, .na-defile:focus-within .na-defile-piste { animation-play-state: paused; }
.na-defile-groupe { flex: 1 0 auto; min-width: 50%; display: flex; align-items: center; justify-content: space-around; gap: 3rem; padding: 0 1.5rem; }
.na-defile-groupe a { display: flex; align-items: center; flex: none; }
.na-defile-groupe img { height: 32px; width: auto; display: block; }  /* tous à la hauteur du logo neoplan.nc ; images rognées au ras du dessin */
.na-defile-groupe img.na-logo-texte { height: 20px; }  /* NEOcom : que des capitales, réglées sur la hauteur des lettres de neoplan.nc */
@keyframes na-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .na-defile-piste { animation: none; min-width: 100%; width: 100%; }
  .na-defile-groupe { min-width: 100%; flex-wrap: wrap; row-gap: 1rem; }
  .na-defile-groupe[aria-hidden] { display: none; }
}

/* ---------- Fiche annonce ---------- */
.na-btn-large { width: 100%; padding: .9rem 1.2rem; font-size: 1rem; }
.na-btn-vert { background: var(--vert); color: #fff !important; }
.na-gris { color: var(--gris); }
.na-petit { font-size: .8rem; }
.na-fiche { padding-top: 1.2rem; padding-bottom: 1rem; }
.na-fil { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: .9rem; color: var(--gris); }
.na-fil a { text-decoration: none; }
.na-fil a:hover { color: var(--bleu); }
.na-retour { font-weight: 600; color: var(--encre) !important; }
.na-fiche-grille { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); grid-template-rows: auto; gap: 1.5rem 2rem; align-items: start; }
.na-fiche-photo { grid-column: 1; grid-row: 1; position: relative; background: var(--fond); border: 1px solid var(--trait); border-radius: 18px; overflow: hidden; min-height: 280px; display: flex; align-items: center; justify-content: center; }
.na-fiche-photo a { display: block; width: 100%; }
.na-fiche-photo img { width: 100%; max-height: 620px; object-fit: contain; }
.na-fiche-cote { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1rem; }
.na-fiche-desc { grid-column: 1; }
.na-fiche-tete h1 { margin: 0; color: var(--encre); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; font-weight: 800; }
.na-fiche-prix { margin: .5rem 0 0; color: var(--bleu); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.1; }
.na-fiche-prix.gratuit { color: var(--vert); }
.na-fiche-prix s { font-size: 1rem; font-weight: 500; color: var(--gris); margin-left: .5rem; }
.na-fiche-pastilles { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; }
.na-fiche-pastilles a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; padding: .4rem .9rem; font-weight: 600; font-size: .9rem; color: var(--encre); }
.na-fiche-pastilles a:hover { border-color: var(--bleu); color: var(--bleu); }
.na-fiche-meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin: .8rem 0 0; font-size: .85rem; color: var(--gris); }
.na-bloc { background: #fff; border: 1px solid var(--trait); border-radius: 18px; padding: 1.2rem 1.3rem; box-shadow: var(--ombre); }
.na-bloc h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: 1.15rem; font-weight: 800; color: var(--encre); }
.na-desc-texte { margin: 0; white-space: pre-line; line-height: 1.65; overflow-wrap: anywhere; }
.na-signaler { margin-top: .9rem; font-size: .85rem; color: var(--gris); }
.na-signaler summary { cursor: pointer; display: inline-block; list-style: none; text-decoration: underline; }
.na-signaler summary::-webkit-details-marker { display: none; }
.na-signaler summary:hover { color: #c62828; }
.na-signaler form { margin-top: .7rem; max-width: 420px; background: var(--fond); border: 1px solid var(--trait); border-radius: 12px; padding: .8rem; }
.na-signaler .na-btn { align-self: flex-start; padding: .5rem 1.1rem; font-size: .9rem; }
.na-fiche-contact > p { margin: -.4rem 0 .9rem; }
.na-fiche-boutons { display: flex; flex-direction: column; gap: .6rem; }
.na-form + .na-fiche-boutons { margin-top: .8rem; }
.na-form { display: flex; flex-direction: column; gap: .7rem; }
.na-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; align-items: end; }
.na-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--encre); min-width: 0; }
.na-form label small { font-weight: 400; color: var(--gris); }
.na-form input, .na-form textarea, .na-form select { width: 100%; border: 1px solid var(--trait); border-radius: 12px; padding: .7rem .85rem; font: inherit; font-size: 1rem; font-weight: 400; color: var(--encre); background: #fff; }
.na-form input:focus, .na-form textarea:focus, .na-form select:focus { outline: 2px solid var(--bleu); outline-offset: 1px; border-color: var(--bleu); }
.na-form textarea { resize: vertical; }
.na-form .na-petit { margin: 0; }
.page-fiche .na-grille { padding-bottom: 2rem; }

@media (max-width: 900px) {
  .na-fiche-grille { display: flex; flex-direction: column; gap: 1rem; }
  .na-fiche-cote { display: contents; }
  .na-fiche-photo { order: 1; min-height: 200px; border-radius: 14px; }
  .na-fiche-vignettes { order: 1; margin-top: -.4rem; }
  .na-fiche-tete { order: 2; }
  .na-fiche-desc { order: 3; }
  .na-fiche-contact { order: 4; }
  .na-coeur-large { order: 5; }
  .na-partager { order: 6; }
  .na-fil-chemin { display: none; }
  .na-fiche-photo img { max-height: 70vh; }
}

/* ---------- Dépôt d'annonce ---------- */
.na-flash-ok { background: #ecf8f1; border-color: #c4e8d3; }
.na-centre { text-align: center; }
.na-depot { max-width: 560px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.na-depot h1 { margin: 1.2rem 0 .3rem; color: var(--encre); font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.na-depot > p, .na-depot .na-centre > p { margin: 0 0 1rem; }
.na-etapes { list-style: none; display: flex; justify-content: space-between; margin: 0; padding: 0; position: relative; }
.na-etapes::before { content: ""; position: absolute; left: 12%; right: 12%; top: 17px; height: 3px; background: var(--trait); }
.na-etapes li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--gris); }
.na-etapes li span { width: 36px; height: 36px; border-radius: 50%; background: #e3e8f2; color: var(--gris); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.na-etapes li.actif, .na-etapes li.fait { color: var(--encre); }
.na-etapes li.actif span, .na-etapes li.fait span { background: var(--bleu); color: #fff; }
.na-depot-form { margin-top: 1rem; }
.na-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.na-photo { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--fond); }
.na-photo img { width: 100%; height: 100%; object-fit: cover; }
.na-photo button { position: absolute; top: .35rem; right: .35rem; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--encre); font-size: 1.2rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.na-photo:first-child::after { content: "Principale"; position: absolute; left: .35rem; bottom: .35rem; background: var(--bleu); color: #fff; font-size: .68rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; }
.na-photo-ajout { aspect-ratio: 1; border: 2px dashed #b9c6de; border-radius: 14px; background: #f7faff; color: var(--bleu); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; font: 600 .82rem/1.2 inherit; font-family: inherit; padding: .4rem; }
.na-photo-ajout[hidden] { display: none; }
.na-photo-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: .7rem; }
.na-photo-boutons[hidden] { display: none; }
.na-photo-boutons .na-photo-ajout { aspect-ratio: auto; padding: 1.8rem .6rem; font-size: .95rem; }
.na-photo-boutons .na-photo-ajout:only-child, .na-photo-boutons .na-photo-ajout[hidden] + .na-photo-ajout { grid-column: 1 / -1; }
.na-photo-boutons .na-photo-appareil { background: var(--bleu); border: 2px solid var(--bleu); color: #fff; }
.na-photo-boutons.compact .na-photo-ajout { padding: .8rem .6rem; flex-direction: row; gap: .5rem; }
.na-photo-boutons.compact svg { width: 22px; height: 22px; }
.na-photos:empty { display: none; }
.na-depot-info { background: var(--fond); border-radius: 12px; padding: .7rem .9rem; font-size: .85rem; color: var(--gris); margin: .9rem 0; }
.na-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.na-attente-neo { text-align: center; padding: 3rem 1rem; }
.na-rond { width: 54px; height: 54px; border-radius: 50%; border: 5px solid #dbe6fb; border-top-color: var(--bleu); margin: 0 auto 1.2rem; animation: na-tourne 1s linear infinite; }
.na-rond-petit { display: inline-block; width: 18px; height: 18px; border-width: 3px; margin: 0 .5rem 0 0; vertical-align: -3px; }
@keyframes na-tourne { to { transform: rotate(360deg); } }
.na-neo-bandeau { margin-top: 1.2rem; background: linear-gradient(135deg, #f1ecff, #e9f2ff); border: 1px solid #dcd9fb; border-radius: 14px; padding: .8rem 1rem; display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; }
.na-neo-bandeau strong { color: var(--encre); font-size: 1.05rem; }
.na-neo-vide { background: #fff8ec; border-color: #f5dfb8; }
.na-a-preciser { margin: -.2rem 0 0; background: #fff8ec; border: 1px solid #f5dfb8; border-radius: 12px; padding: .65rem .8rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.na-a-preciser strong { flex-basis: 100%; color: var(--encre); font-weight: 600; }
.na-a-preciser span { background: #fff; border: 1px solid #f0d49c; border-radius: 999px; padding: .15rem .65rem; color: #7a4a00; font-weight: 600; }
.na-depot-vignettes { display: flex; gap: .5rem; margin: .9rem 0 0; overflow-x: auto; }
.na-depot-vignettes img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; flex: none; border: 2px solid transparent; }
.na-depot-vignettes img.principale { width: 110px; height: 110px; border-color: var(--bleu); }
.na-choix { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.na-choix legend { font-size: .85rem; font-weight: 600; color: var(--encre); margin-bottom: .35rem; padding: 0; }
.na-form .na-choix label { flex-direction: row; cursor: pointer; }
.na-choix input { position: absolute; opacity: 0; width: 0; }
.na-choix span { border: 1px solid var(--trait); border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .9rem; background: #fff; }
.na-choix input:checked + span { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.na-choix input:focus-visible + span { outline: 2px solid var(--bleu); outline-offset: 2px; }
.na-choix-2 label { flex: 1; }
.na-choix-2 span { display: block; width: 100%; text-align: center; padding: .7rem 1rem; }
#bloc-pro, #bloc-perso { display: flex; flex-direction: column; gap: .7rem; }
#bloc-pro[hidden], #bloc-perso[hidden] { display: none; }
.na-auto { position: relative; }
.na-auto-liste { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: .25rem 0 0; padding: .3rem; list-style: none; background: #fff; border: 1px solid var(--trait); border-radius: 12px; box-shadow: var(--ombre-forte); max-height: 320px; overflow-y: auto; }
.na-auto-liste[hidden] { display: none; }
.na-auto-liste li { display: flex; justify-content: space-between; gap: .8rem; padding: .6rem .7rem; border-radius: 8px; cursor: pointer; font-weight: 400; }
.na-auto-liste li strong { font-weight: 600; color: var(--encre); }
.na-auto-liste li span { color: var(--gris); font-size: .82rem; white-space: nowrap; }
.na-auto-liste li:hover, .na-auto-liste li.actif { background: var(--fond); }
.na-info-societe { margin: 0; background: #ecf8f1; border: 1px solid #c4e8d3; border-radius: 12px; padding: .7rem .85rem; font-size: .88rem; display: flex; flex-direction: column; gap: .25rem; }
.na-info-societe[hidden] { display: none; }
.na-info-societe strong { color: var(--encre); }
.na-info-attention { background: #fff8ec; border-color: #f5dfb8; }
.na-lien-bouton { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--bleu); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.na-depot a { color: var(--bleu); }
.na-depot a.na-btn-clair { color: var(--encre); }
.na-depot-resume { display: flex; gap: .9rem; align-items: center; background: var(--fond); border: 1px solid var(--trait); border-radius: 14px; padding: .7rem; margin: 1rem 0; }
.na-depot-resume img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; }
.na-depot-resume div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; font-size: .9rem; }
.na-depot-resume strong { color: var(--encre); font-size: 1rem; overflow-wrap: anywhere; }
.na-etat-attente { color: #a15c00; font-weight: 600; }
.na-etat-ligne { color: var(--vert); font-weight: 700; }
.na-enveloppe { font-size: 3.2rem; margin-top: 1.5rem; line-height: 1; }
.na-attend { color: var(--bleu); font-weight: 600; }
.na-code { text-align: center; font-size: 1.9rem !important; font-weight: 800 !important; letter-spacing: .4em; padding: .7rem .4rem !important; }
.na-depot .na-bloc { text-align: left; }
.na-depot .na-bloc p { margin: 0 0 .9rem; }

/* Galerie de la fiche */
.na-photo-compte { position: absolute; right: .8rem; bottom: .8rem; background: rgba(15,27,61,.75); color: #fff; font-size: .8rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }
.na-fiche-grille > * { min-width: 0; max-width: 100%; }
.na-fiche-vignettes { grid-column: 1; display: flex; gap: .5rem; overflow-x: auto; margin-top: -.8rem; }
.na-fiche-vignettes button { flex: none; width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--fond); }
.na-fiche-vignettes button.actif { border-color: var(--bleu); }
.na-fiche-vignettes img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Filtres de la liste, annonces vendues, choix du vendeur ---------- */
.na-filtres { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .7rem; margin: 0 0 1.2rem; padding: .8rem; background: var(--fond); border: 1px solid var(--trait); border-radius: var(--rayon); }
.na-filtres label { display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; font-weight: 600; color: var(--gris); }
.na-filtres input, .na-filtres select { border: 1px solid var(--trait); border-radius: 10px; padding: .5rem .7rem; font: inherit; font-size: .95rem; color: var(--encre); background: #fff; width: 9rem; }
.na-filtres select { width: 11rem; }
.na-filtres .na-btn { padding: .55rem 1.2rem; }
.na-badge-vendu { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: #c62828; color: #fff; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 1rem; padding: .3rem 1rem; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.na-badge-vendu-grand { font-size: 1.8rem; padding: .5rem 1.6rem; }
.na-carte.vendu .na-carte-photo img { filter: grayscale(.6) brightness(.85); }
.na-vendeur { margin-top: .9rem; }
.na-vendeur[hidden] { display: none; }

/* ---------- Favoris ---------- */
.na-carte { position: relative; }
.na-coeur { position: absolute; top: .55rem; right: .55rem; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--encre); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(15,27,61,.2); transition: transform .12s; }
.na-coeur:hover { transform: scale(1.08); }
.na-coeur.actif { color: #e0245e; }
.na-coeur.actif svg path { fill: currentColor; }
.na-coeur-large { position: static; width: 100%; height: auto; border-radius: 999px; border: 1px solid var(--trait); background: var(--fond); box-shadow: none; }
.na-coeur-large:hover { transform: none; border-color: #e0245e; }
.na-fav-lien { position: relative; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; color: var(--encre); padding: .5rem .2rem; }
.na-fav-lien:hover { color: #e0245e; }
.na-fav-nb { background: #e0245e; color: #fff; font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; }
.na-fav-nb[hidden] { display: none; }
.na-h1 { margin: 0; color: var(--encre); font-size: 1.6rem; font-weight: 800; border-left: 4px solid var(--orange); padding-left: .7rem; line-height: 1.1; }
.na-h1 small { font-size: .9rem; font-weight: 500; color: var(--gris); margin-left: .4rem; }
.page-favoris .na-grille { min-height: 0; padding-bottom: 1rem; }
.page-favoris .na-vide { margin-top: 1rem; }

/* Barre du bas (mobile) */
.na-barre { display: none; }

/* Tablette */
@media (max-width: 1100px) {
  .na-tuiles { grid-template-columns: repeat(5, 1fr); }
  .na-grille { grid-template-columns: repeat(3, 1fr); }
  .na-menu { gap: 1.1rem; }
}

/* Mobile */
@media (max-width: 759px) {
  body.na { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .na-tete-in { padding: .55rem 1rem; gap: .6rem; }
  .na-logo img { height: 38px; }
  .na-menu, .na-deposer-tete { display: none; }
  .na-compte span { display: none; }
  .na-compte { padding: .5rem; }

  .na-hero-photo { background-image: url("/static/img/hero-accueil-mobile.webp"); background-position: right top; background-size: cover; }
  .na-hero-photo::before { background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.88) 55%, #fff 100%); }
  .na-hero-in { padding: 1.6rem 1rem 2.4rem; }
  .na-surtitre { font-size: .7rem; letter-spacing: .16em; margin-bottom: .6rem; }
  .na-surtitre::after, .na-mot { display: none; }
  .na-tuile-n { font-weight: 600; }
  .na-hero h1 { font-size: min(1.85rem, 6.3vw); }
  .na-h1-ligne { white-space: nowrap; }
  .na-accroche { font-size: .95rem; align-items: flex-start; }
  .na-hero-actions { flex-direction: column-reverse; align-items: stretch; gap: .9rem; margin-top: 1.3rem; }
  .na-btn-xl { font-size: 1.1rem; padding: .95rem 1rem; }
  .na-recherche { flex-direction: column; align-items: stretch; border-radius: 18px; padding: .3rem .6rem .6rem; flex-basis: auto; }
  .na-champ-q { flex: none; }
  .na-champ-lieu { flex: none; border-left: 0; border-top: 1px solid var(--trait); margin-left: 0; padding-left: 0; }
  .na-recherche .na-btn { margin-top: .3rem; }
  .na-hero-court .na-hero-in { padding: 1rem 1rem 1rem; }

  .na-section { padding: 0 1rem; }
  .na-rubriques-bloc { margin-top: -1rem; }
  .na-tuiles { grid-template-columns: repeat(5, 1fr); gap: .5rem; }
  .na-tuile, .na-tuile-autres summary { padding: .6rem .2rem .55rem; }
  .na-tuile-autres { padding: 0; }
  .na-tuile-ico { font-size: 1.55rem; }
  .na-tuile-nom { font-size: .72rem; }
  .na-tuile-n { font-size: .66rem; }
  .na-autres-liste { position: fixed; left: 1rem; right: 1rem; top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); min-width: 0; }
  .na-types { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-left: -1rem; margin-right: -1rem; padding: 0 1rem .2rem; scrollbar-width: none; }
  .na-types::-webkit-scrollbar { display: none; }
  .na-types a { min-width: 0; flex: none; padding: .5rem 1rem; font-size: .9rem; }
  .na-pastilles { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-left: -1rem; margin-right: -1rem; padding: 0 1rem .2rem; scrollbar-width: none; }

  .na-titre-ligne { margin: 1.6rem 0 .8rem; }
  .na-titre-ligne h2 { font-size: 1.25rem; }
  .na-grille { grid-template-columns: 1fr; gap: .8rem; }
  .na-carte { flex-direction: row; }
  .na-carte-photo { flex: none; width: 42%; aspect-ratio: auto; min-height: 120px; }
  .na-badge-prix { display: none; }
  .na-carte-corps { padding: .7rem .8rem; display: flex; flex-direction: column; min-width: 0; }
  .na-prix-mobile { display: block !important; }
  .na-carte-infos { gap: .15rem .7rem; }
  .na-carte-infos span + span::before { display: none; }
  .na-carte-neo { padding: 1rem; }
  .na-neo-tel { width: 58px; height: 100px; }
  .na-pied-in { flex-direction: column; }

  .na-barre { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--trait);
    padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom)); justify-content: space-around; box-shadow: 0 -4px 18px rgba(15,27,61,.06); }
  .na-barre a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1rem; font-size: .7rem; font-weight: 600; color: var(--gris); text-decoration: none; }
  .na-barre a svg { width: 24px; height: 24px; }
  .na-barre a.actif { color: var(--bleu); }
  .na-filtres { gap: .5rem; padding: .6rem; }
  .na-filtres label { flex: 1 1 28%; min-width: 0; }
  .na-filtres input, .na-filtres select { width: 100%; }
  .na-filtres .na-btn { flex: 1 1 100%; }
  .na-barre a { position: relative; }
  .na-barre .na-fav-nb { position: absolute; top: -2px; left: 50%; margin-left: 6px; }
  .na-fav-lien { display: none; }
  .na-coeur { top: .4rem; right: auto; left: calc(42% - 36px - .4rem); width: 32px; height: 32px; }
  .na-coeur-large { position: static; width: 100%; height: auto; left: auto; order: 5; }
  .na-partager { order: 6; }
  .na-barre-deposer span { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-top: -24px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 2rem; font-weight: 400; line-height: 1; box-shadow: 0 6px 16px rgba(247,128,30,.4); }
}
.na-prix-mobile { display: none; margin: auto 0 0; font-weight: 800; font-size: 1.1rem; color: var(--bleu); }
.na-prix-mobile.gratuit { color: var(--vert); }

/* Rubrique Immobilier (annonces de NEOimmo) */
.na-note-immo { margin: 0 0 16px; padding: 10px 14px; background: #eef4fe; border: 1px solid #d5e3fb; border-radius: 12px; color: var(--encre); font-size: .95rem; }
.na-note-immo a { color: var(--bleu); font-weight: 700; white-space: nowrap; }

/* Rubrique Immobilier : partenariat avec NEOimmo et neoplan (03/12) */
.na-partenaire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; margin: 0 0 22px; padding: 26px 30px;
  border-radius: 20px; color: #fff; background: linear-gradient(120deg, #0f1b3d 0%, #173a8a 62%, #1565e0 100%); box-shadow: 0 10px 28px rgba(15, 27, 61, .18); }
.na-part-texte p { margin: 0 0 6px; color: rgba(255, 255, 255, .88); }
.na-part-texte .na-part-sur { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffc48a; margin-bottom: 2px; }
.na-part-texte .na-part-titre { font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 8px; }
.na-part-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.na-partenaire .na-btn.na-btn-blanc, .na-partenaire .na-btn.na-btn-blanc:hover { background: #fff; color: var(--encre); }
.na-part-lien { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* les logos des sites partenaires */
.na-part-schema { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; padding: 18px 20px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.na-part-schema.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.na-part-schema-titre { grid-column: 1 / -1; margin: 0 0 12px; font-weight: 700; color: #fff; text-align: center; }
.na-part-logo { display: flex; align-items: center; justify-content: center; height: 66px; padding: 8px 10px; background: #fff; border-radius: 14px; }
.na-part-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.na-part-logo.l1 img, .na-part-logo.l3 img { max-height: 34px; }
.na-part-suite { text-align: center; margin: 22px 0 0; }
.na-depot-immo { margin: 18px 0 0; padding: 12px 14px; background: #eef4fe; border: 1px solid #d5e3fb; border-radius: 12px; font-size: .95rem; }
.na-depot-immo a { color: var(--bleu); font-weight: 700; }
.na-depot-immo span { color: #5b6478; font-size: .88rem; }
@media (max-width: 860px) {
  .na-partenaire { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; gap: 20px; }
  .na-part-texte .na-part-titre { font-size: 1.4rem; }
  .na-part-actions .na-btn { width: 100%; text-align: center; justify-content: center; }
  .na-part-schema { padding: 14px 12px 12px; gap: 0 8px; }
  .na-part-logo { height: 50px; padding: 6px; border-radius: 11px; }
  .na-part-logo.l1 img, .na-part-logo.l3 img { max-height: 24px; }
}
