/* ==========================================================================
   Je veux dormir — thème du site (couleurs du logo)
   Chargé APRÈS bootstrap.min.css et style.css : il remplace l'apparence
   du modèle d'origine sans toucher au fonctionnement (recherche, réservation…).
   ========================================================================== */
:root {
  --jvd-bleu: #143F7C;
  --jvd-bleu-nuit: #0D2B57;
  --jvd-orange: #F08A45;
  --jvd-orange-fonce: #DE7430;
  --jvd-creme: #FAF7F2;
  --jvd-sable: #F3EEE6;
  --jvd-texte: #1E2A3B;
  --jvd-gris: #6B7686;
  --jvd-ligne: #E7E1D7;
  --jvd-vert: #1E8E5A;
  --jvd-r: 22px;
  --jvd-ombre: 0 18px 40px -22px rgba(13, 43, 87, .35);
  --primary: var(--jvd-bleu);
  --bs-primary: #143F7C;
  --bs-primary-rgb: 20, 63, 124;
  --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- base ---------- */
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  color: var(--jvd-texte);
  background: var(--jvd-creme) !important;
}
.container-xxl.bg-white { background: var(--jvd-creme) !important; max-width: none; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Poppins', system-ui, sans-serif !important;
  color: var(--jvd-texte);
  letter-spacing: -.3px;
}
a { color: var(--jvd-bleu); }
.text-primary { color: var(--jvd-bleu) !important; }
.bg-primary { background-color: var(--jvd-bleu) !important; }
.btn { border-radius: 999px; font-weight: 600; }
.btn-primary {
  background: var(--jvd-orange) !important; border-color: var(--jvd-orange) !important; color: #fff !important;
  box-shadow: 0 12px 24px -14px rgba(240, 138, 69, .9);
}
.btn-primary:focus { background: var(--jvd-orange-fonce) !important; border-color: var(--jvd-orange-fonce) !important; }

@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--jvd-orange-fonce) !important; border-color: var(--jvd-orange-fonce) !important; } }
.btn-dark { background: var(--jvd-bleu) !important; border-color: var(--jvd-bleu) !important; color: #fff !important; }
@media (hover: hover) and (pointer: fine) { .btn-dark:hover { background: var(--jvd-bleu-nuit) !important; } }
.btn-success { background: var(--jvd-vert) !important; border-color: var(--jvd-vert) !important; }
.btn-outline-primary { color: var(--jvd-bleu) !important; border-color: var(--jvd-bleu) !important; }
@media (hover: hover) and (pointer: fine) { .btn-outline-primary:hover { background: var(--jvd-bleu) !important; color: #fff !important; } }
.form-control, .form-select { border-radius: 14px; }
.form-control:focus, .form-select:focus { border-color: var(--jvd-bleu); box-shadow: 0 0 0 .2rem rgba(20, 63, 124, .15); }
.form-check-input:checked { background-color: var(--jvd-bleu); border-color: var(--jvd-bleu); }
#spinner .spinner-border { color: var(--jvd-orange) !important; }
.jvd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ---------- en-tête ---------- */
.jvd-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--jvd-ligne);
}
.jvd-header-in { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 78px; display: flex; align-items: center; gap: 28px; }
.jvd-logo img { height: 52px; width: auto; display: block; }
.jvd-menu { display: flex; gap: 4px; flex: 0 1 auto; min-width: 0; }
.jvd-menu a {
  padding: 9px 15px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--jvd-texte);
  text-decoration: none; white-space: nowrap; transition: .2s;
}
@media (hover: hover) and (pointer: fine) { .jvd-menu a:hover { color: var(--jvd-bleu); } }
.jvd-menu a.actif { background: var(--jvd-sable); color: var(--jvd-bleu); font-weight: 600; }
.jvd-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.jvd-actions .dropdown-toggle::after { vertical-align: .15em; }
.jvd-lien-espace, .jvd-lang {
  background: none; border: 0; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--jvd-bleu);
  padding: 8px 10px; border-radius: 999px; white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .jvd-lien-espace:hover, .jvd-lang:hover { background: var(--jvd-sable); } }
.jvd-lang { color: var(--jvd-gris); }
.jvd-btn-connexion {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--jvd-bleu);
  color: var(--jvd-bleu); border-radius: 999px; padding: 8px 18px; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: .2s;
}
@media (hover: hover) and (pointer: fine) { .jvd-btn-connexion:hover { background: var(--jvd-bleu); color: #fff; } }
.jvd-header .dropdown-menu { border: 0; border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(13, 43, 87, .35); padding: 8px; margin-top: 10px !important; }
.jvd-header .dropdown-item { border-radius: 10px; padding: 9px 14px; font-size: 14.5px; }
@media (hover: hover) and (pointer: fine) { .jvd-header .dropdown-item:hover { background: var(--jvd-sable); color: var(--jvd-bleu); } }

/* ---------- haut de page (héros) ---------- */
.jvd-hero { max-width: 1240px; margin: 0 auto; padding: 26px 28px 0; }
.jvd-hero-img { position: relative; border-radius: 34px; overflow: hidden; height: 540px; background: linear-gradient(135deg, var(--jvd-bleu-nuit), var(--jvd-bleu)); }
.jvd-hero-img > img, .jvd-hero-img > picture > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jvd-hero-img > picture, .jvd-proprio .img picture { display: contents; }
.jvd-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 43, 87, .9) 0%, rgba(13, 43, 87, .55) 45%, rgba(13, 43, 87, .05) 80%); }
.jvd-hero-uni::after { background: radial-gradient(circle at 85% 30%, rgba(240, 138, 69, .35), transparent 45%); }
.jvd-hero-uni .jvd-hero-deco { position: absolute; right: 70px; top: 50%; transform: translateY(-62%); width: 300px; height: 300px; color: rgba(255, 255, 255, .12); }
.jvd-hero-texte { position: absolute; z-index: 2; left: 64px; top: 64px; max-width: 620px; color: #fff; }
.jvd-etiquette {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; margin-bottom: 20px; color: #fff;
}
.jvd-etiquette b { width: 8px; height: 8px; border-radius: 50%; background: var(--jvd-orange); }
.jvd-hero h1 { color: #fff !important; font-size: 52px; line-height: 1.08; font-weight: 700; letter-spacing: -1px; margin: 0; }
.jvd-hero h1 em { font-style: normal; color: var(--jvd-orange); }
.jvd-hero p { font-size: 18px; color: rgba(255, 255, 255, .88); margin: 18px 0 0; max-width: 500px; }

/* ---------- carte de recherche ---------- */
.jvd-recherche {
  position: relative; z-index: 5; max-width: 1144px; margin: -96px auto 0; background: #fff; border-radius: 26px;
  box-shadow: 0 30px 60px -28px rgba(13, 43, 87, .45); padding: 18px;
}
.jvd-hero + .jvd-recherche, .jvd-recherche { width: calc(100% - 96px); }
.jvd-onglets.btn-group { display: flex; gap: 8px; margin: 0 0 14px 2px; width: auto !important; flex-direction: row !important; }
.jvd-onglets .btn {
  flex: 0 0 auto; border: 0 !important; border-radius: 999px !important; background: none; color: var(--jvd-gris);
  font-weight: 600; font-size: 14px; padding: 9px 16px; display: inline-flex; align-items: center; gap: 8px; box-shadow: none !important;
}
.jvd-onglets .btn::before { font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 13px; }
.jvd-onglets .btn[data-key="habitation"]::before { content: "\f015"; }
.jvd-onglets .btn[data-key="sejour"]::before { content: "\f236"; }
.jvd-onglets .btn[data-key="professionnel"]::before { content: "\f54e"; }
@media (hover: hover) and (pointer: fine) { .jvd-onglets .btn:hover { color: var(--jvd-bleu); background: var(--jvd-sable); } }
.jvd-onglets .btn.active { background: var(--jvd-bleu) !important; color: #fff !important; }
.jvd-recherche-ligne { display: grid; grid-template-columns: 1fr 190px; gap: 12px; align-items: start; }
.jvd-recherche .form-control, .jvd-recherche .form-select {
  background-color: var(--jvd-creme); border: 1px solid var(--jvd-ligne) !important; border-radius: 16px; min-height: 56px;
  font-size: 15px; color: var(--jvd-texte); padding-left: 18px;
}
.jvd-recherche .form-control::placeholder { color: #9AA3AF; }
.jvd-recherche .localite-search .form-control {
  padding-left: 46px;
  background: var(--jvd-creme) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143F7C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E") no-repeat 16px center / 20px;
}
#suggestionsLocalites { border-radius: 16px; overflow: hidden; margin-top: 6px; }
.jvd-btn-cherche {
  background: var(--jvd-orange) !important; color: #fff !important; border-radius: 16px !important; min-height: 56px; font-size: 16px !important;
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 12px 24px -12px rgba(240, 138, 69, .8);
  text-transform: none;
}
.jvd-btn-cherche::before { font-family: 'Font Awesome 5 Free'; font-weight: 900; content: "\f002"; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .jvd-btn-cherche:hover { background: var(--jvd-orange-fonce) !important; } }
.jvd-equipements { margin-top: 14px; padding: 14px 16px 6px; border-top: 1px dashed var(--jvd-ligne); }
.jvd-equipements .form-check { margin-right: 18px; font-size: 14.5px; }

/* ---------- sections ---------- */
.jvd-section { padding: 80px 0 0; }
.jvd-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.jvd-tete h2 { font-size: 34px; line-height: 1.15; margin: 0; font-weight: 700; }
.jvd-tete p { color: var(--jvd-gris); margin: 8px 0 0; }
.jvd-titre-categorie { max-width: 1240px; margin: 0 auto; padding: 64px 28px 0; }
.jvd-titre-categorie h2 { font-size: 30px; font-weight: 700; margin-bottom: 6px; }
.jvd-titre-categorie p { color: var(--jvd-gris); margin: 0; }
#blocResultats { max-width: 1240px; margin: 0 auto; padding: 40px 0 0 !important; }

/* ---------- cartes de biens (offres + résultats, générées par JS) ---------- */
#offresContainer .card, #resultatsResidences .card {
  border: 0 !important; border-radius: var(--jvd-r) !important; overflow: hidden; background: #fff;
  box-shadow: var(--jvd-ombre) !important; transition: transform .25s, box-shadow .25s;
}
@media (hover: hover) and (pointer: fine) { #offresContainer .card:hover, #resultatsResidences .card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(13, 43, 87, .45) !important; } }
#offresContainer .card-img-top, #resultatsResidences .card-img-top { height: 220px !important; object-fit: cover; border-radius: 0 !important; }
#offresContainer .badge, #resultatsResidences .position-relative > .badge {
  border-radius: 999px !important; padding: 6px 12px; font-weight: 600; font-size: 12.5px;
}
#offresContainer .badge.bg-dark, #resultatsResidences .position-relative > .badge.bg-dark { background: rgba(255, 255, 255, .95) !important; color: var(--jvd-bleu) !important; }
#offresContainer .badge.bg-danger { background: var(--jvd-orange) !important; }
#offresContainer .badge.bg-success { background: var(--jvd-bleu) !important; }
#offresContainer .card-body, #resultatsResidences .card-body { padding: 18px 18px 20px; }
#offresContainer .card-title, #resultatsResidences .card-title { font-size: 17px; font-weight: 600; line-height: 1.3; }
#offresContainer .h5.text-primary, #resultatsResidences .h5.text-primary { font-size: 19px; font-weight: 700; color: var(--jvd-bleu) !important; }
#offresContainer .fa-map-marker-alt { color: var(--jvd-orange); }
#resultatsResidences .badge.bg-light { background: var(--jvd-sable) !important; border: 0 !important; border-radius: 999px; padding: 5px 10px; color: var(--jvd-texte) !important; }
#resultatsResidences .btn { border-radius: 14px; }
#resultatsResidences .btn-outline-secondary { border-color: var(--jvd-ligne); color: var(--jvd-gris); }

/* ---------- types de biens ---------- */
.jvd-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.jvd-type {
  background: #fff; border: 1px solid var(--jvd-ligne); border-radius: var(--jvd-r); padding: 20px; display: flex; gap: 16px;
  align-items: center; text-decoration: none; transition: .2s; color: var(--jvd-texte);
}
@media (hover: hover) and (pointer: fine) { .jvd-type:hover { border-color: var(--jvd-bleu); box-shadow: var(--jvd-ombre); color: var(--jvd-texte); } }
.jvd-type .ic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; background: var(--jvd-sable); display: grid; place-items: center; color: var(--jvd-bleu); }
.jvd-type .ic svg, .jvd-etape .ic svg, .jvd-proprio li svg, .jvd-nav-mobile svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.jvd-type .ic svg { width: 26px; height: 26px; }
.jvd-type h4 { font-size: 16px; margin: 0 0 2px; font-weight: 600; }
.jvd-type span { font-size: 13px; color: var(--jvd-gris); }

/* ---------- comment ça marche ---------- */
.jvd-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jvd-etape { background: #fff; border-radius: var(--jvd-r); padding: 30px; position: relative; box-shadow: var(--jvd-ombre); }
.jvd-etape .num { position: absolute; top: 22px; right: 26px; font-size: 52px; font-weight: 700; color: var(--jvd-sable); line-height: 1; }
.jvd-etape .ic { width: 60px; height: 60px; border-radius: 18px; background: var(--jvd-bleu); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.jvd-etape .ic svg { width: 28px; height: 28px; }
.jvd-etape h4 { font-size: 19px; margin-bottom: 6px; font-weight: 600; }
.jvd-etape p { color: var(--jvd-gris); font-size: 14.5px; margin: 0; }

/* ---------- bandeau propriétaires ---------- */
.jvd-proprio { margin-top: 80px; background: var(--jvd-bleu-nuit); border-radius: 34px; display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; color: #fff; }
.jvd-proprio .txt { padding: 54px 58px; }
.jvd-proprio h2 { color: #fff !important; font-size: 34px; line-height: 1.15; margin: 14px 0; font-weight: 700; }
.jvd-proprio h2 em { font-style: normal; color: var(--jvd-orange); }
.jvd-proprio p { color: rgba(255, 255, 255, .8); max-width: 470px; }
.jvd-proprio ul { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 10px; }
.jvd-proprio li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.jvd-proprio li svg { width: 20px; height: 20px; color: var(--jvd-orange); flex-shrink: 0; }
.jvd-proprio .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jvd-proprio .btn { padding: 13px 26px; }

/* ---------- pied de page ---------- */
.footer { background: var(--jvd-bleu-nuit) !important; margin-top: 90px !important; border-radius: 0; }
.footer .btn.btn-link { color: rgba(255, 255, 255, .7) !important; padding: 0; margin-bottom: 9px; font-weight: 400; text-align: left; }
.footer .btn.btn-link::before { display: none !important; }
@media (hover: hover) and (pointer: fine) { .footer .btn.btn-link:hover { color: #fff !important; letter-spacing: 0; box-shadow: none; } }
.footer h5 { color: #fff !important; font-size: 16px; font-weight: 600; }
.footer .copyright { border-top: 1px solid rgba(255, 255, 255, .12) !important; font-size: 13px; }
.footer .copyright a { color: rgba(255, 255, 255, .8) !important; }
.footer .jvd-footer-logo { background: #fff; border-radius: 14px; padding: 8px 12px; display: inline-block; margin-bottom: 16px; }
.footer .jvd-footer-logo img { height: 38px; display: block; }
.back-to-top { background: var(--jvd-orange) !important; border-color: var(--jvd-orange) !important; border-radius: 50% !important; }

/* ---------- fenêtres (réservation, visite, connexion) ---------- */
.modal-content { border: 0; border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(13, 43, 87, .45); }
.modal-header { border-bottom: 1px solid var(--jvd-ligne); padding: 20px 24px; }
.modal-body { padding: 22px 24px; }
.modal-footer { border-top: 1px solid var(--jvd-ligne); padding: 16px 24px; }
.modal-title { font-weight: 700; color: var(--jvd-bleu); }

/* ---------- barre de navigation mobile ---------- */
.jvd-nav-mobile { display: none; }

/* ---------- tablettes ---------- */
/* Grand écran : le menu peut se resserrer, il ne pousse jamais les boutons hors de l'écran */
.jvd-menu { overflow-x: auto; scrollbar-width: none; }
.jvd-menu::-webkit-scrollbar { display: none; }
@media (max-width: 1439px) {
  .jvd-header-in { max-width: none; gap: 18px; }
  .jvd-menu a { padding: 9px 11px; font-size: 14.5px; }
  .jvd-menu a.jvd-food-lien small { display: none; }
}
/* Écran moyen (petit portable, tablette) : menu sur une deuxième ligne */
@media (max-width: 1279px) {
  .jvd-header-in { height: auto; padding: 12px 20px; flex-wrap: wrap; row-gap: 10px; }
  .jvd-menu { order: 3; width: 100%; flex: 1 1 100%; padding-bottom: 2px; }
  .jvd-menu a { background: var(--jvd-sable); font-size: 13.5px; padding: 7px 14px; }
  .jvd-menu a.actif { background: var(--jvd-bleu); color: #fff; }
  .jvd-menu a.jvd-food-lien small { display: inline; }
}
@media (max-width: 991px) {
  .jvd-types { grid-template-columns: repeat(2, 1fr); }
  .jvd-etapes { grid-template-columns: 1fr; }
  .jvd-proprio { grid-template-columns: 1fr; }
  .jvd-proprio .img { height: 240px; }
  .jvd-hero h1 { font-size: 42px; }
}

/* ---------- téléphones ---------- */
@media (max-width: 767px) {
  .jvd-wrap { padding: 0 16px; }
  .jvd-header-in { padding: 10px 16px; gap: 10px; }
  .jvd-logo img { height: 40px; }
  .jvd-lien-espace, .jvd-actions .jvd-espace { display: none; }
  .jvd-btn-connexion { padding: 7px 14px; font-size: 13.5px; }
  .jvd-lang { padding: 6px 8px; font-size: 13.5px; }
  .jvd-hero { padding: 12px 16px 0; }
  .jvd-hero-img { height: 470px; border-radius: 26px; }
  .jvd-hero-img::after { background: linear-gradient(180deg, rgba(13, 43, 87, .88) 0%, rgba(13, 43, 87, .58) 55%, rgba(13, 43, 87, .2) 100%); }
  .jvd-hero-uni .jvd-hero-deco { width: 170px; height: 170px; right: 20px; top: auto; bottom: 120px; transform: none; }
  .jvd-hero-texte { left: 22px; right: 22px; top: 30px; }
  .jvd-hero h1 { font-size: 32px; }
  .jvd-hero p { font-size: 15px; }
  .jvd-recherche { width: calc(100% - 32px) !important; margin-top: -120px; padding: 14px; border-radius: 22px; }
  .jvd-onglets.btn-group { overflow-x: auto; margin-left: 0; scrollbar-width: none; }
  .jvd-onglets .btn { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .jvd-recherche-ligne { grid-template-columns: 1fr; }
  .jvd-section { padding-top: 56px; }
  .jvd-tete { flex-direction: column; align-items: flex-start; }
  .jvd-tete h2 { font-size: 26px; }
  .jvd-titre-categorie { padding: 44px 16px 0; }
  .jvd-titre-categorie h2 { font-size: 24px; }
  #blocResultats .container { padding: 0 16px; }
  .jvd-types { gap: 12px; }
  .jvd-type { flex-direction: column; align-items: flex-start; padding: 16px; gap: 10px; }
  .jvd-proprio { margin-top: 56px; border-radius: 26px; }
  .jvd-proprio .txt { padding: 32px 24px; }
  .jvd-proprio h2 { font-size: 26px; }
  .footer { margin-top: 60px !important; padding-bottom: 80px; }
  .back-to-top { display: none !important; }
  .jvd-nav-mobile {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040; background: #fff;
    border-top: 1px solid var(--jvd-ligne); padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); justify-content: space-around;
    box-shadow: 0 -10px 30px -20px rgba(13, 43, 87, .4);
  }
  .jvd-nav-mobile a, .jvd-nav-mobile button {
    display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 500; color: var(--jvd-gris);
    padding: 4px 2px; background: none; border: 0; text-decoration: none; font-family: inherit;
    flex: 1 1 0; min-width: 0; text-align: center; line-height: 1.2;
  }
  .jvd-nav-mobile span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .jvd-nav-mobile svg { width: 22px; height: 22px; }
  .jvd-nav-mobile .actif { color: var(--jvd-bleu); }
  .jvd-nav-mobile .actif svg { color: var(--jvd-orange); }
  body { padding-bottom: 0; }
  #btnInstallerPWA { bottom: 84px !important; }
}

/* alignement des résultats sur le titre de section */
#blocResultats > .container { max-width: none; padding: 0 40px; }
@media (max-width: 767px) { #blocResultats > .container { padding: 0 28px; } }

/* ==========================================================================
   Pages intérieures (ajouter mon établissement, réservations, demandes…)
   ========================================================================== */
.jvd-bandeau-page { max-width: 1240px; margin: 0 auto; padding: 26px 28px 0; }
.jvd-bandeau-page .in {
  position: relative; overflow: hidden; border-radius: 30px; padding: 46px 56px; color: #fff;
  background: linear-gradient(120deg, var(--jvd-bleu-nuit) 0%, var(--jvd-bleu) 100%);
}
.jvd-bandeau-page .in::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 138, 69, .45), transparent 65%); }
.jvd-ariane { font-size: 13.5px; color: rgba(255, 255, 255, .7); margin-bottom: 14px; position: relative; z-index: 1; }
.jvd-ariane a { color: #fff; text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .jvd-ariane a:hover { color: var(--jvd-orange); } }
.jvd-bandeau-page h1 { color: #fff !important; font-size: 38px; font-weight: 700; margin: 0 0 8px; position: relative; z-index: 1; }
.jvd-bandeau-page p { color: rgba(255, 255, 255, .85); margin: 0; max-width: 620px; position: relative; z-index: 1; }
.jvd-bandeau-page .btn { position: relative; z-index: 1; margin-top: 20px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); color: #fff; padding: 9px 18px; }
@media (hover: hover) and (pointer: fine) { .jvd-bandeau-page .btn:hover { background: #fff; color: var(--jvd-bleu); } }
.jvd-page { max-width: 1240px; margin: 0 auto; padding: 40px 28px 0; }
.carte-form, .jvd-page .carte {
  background: #fff !important; border-radius: 26px !important; box-shadow: var(--jvd-ombre) !important; padding: 32px !important; border: 0;
}
.groupe-champs { border: 1px solid var(--jvd-ligne) !important; border-radius: 18px !important; padding: 18px !important; background: var(--jvd-creme); }
.groupe-champs h6 { color: var(--jvd-bleu) !important; }
.jvd-page .form-control, .jvd-page .form-select { min-height: 48px; background-color: var(--jvd-creme); border: 1px solid var(--jvd-ligne); }
.jvd-page textarea.form-control { min-height: 96px; }
.jvd-page .form-label { font-weight: 600; color: var(--jvd-texte); }
.btn-outline-dark { color: var(--jvd-bleu) !important; border: 2px solid var(--jvd-ligne) !important; background: #fff; }
@media (hover: hover) and (pointer: fine) { .btn-outline-dark:hover { border-color: var(--jvd-bleu) !important; background: var(--jvd-sable) !important; } }
.cat-btn { padding: 12px 20px; }
.cat-btn.btn-dark { border: 2px solid var(--jvd-bleu) !important; }
.jvd-page .nav-tabs { border: 0; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; display: inline-flex; box-shadow: var(--jvd-ombre); }
.jvd-page .nav-tabs .nav-link { border: 0 !important; border-radius: 999px; color: var(--jvd-gris); font-weight: 600; padding: 10px 20px; }
.jvd-page .nav-tabs .nav-link.active { background: var(--jvd-bleu) !important; color: #fff !important; border: 0 !important; }
.jvd-page .alert { border-radius: 16px; border: 0; }
.etoile.pleine { color: var(--jvd-orange) !important; }
@media (max-width: 767px) {
  .jvd-bandeau-page { padding: 12px 16px 0; }
  .jvd-bandeau-page .in { padding: 30px 24px; border-radius: 24px; }
  .jvd-bandeau-page h1 { font-size: 27px; }
  .jvd-page { padding: 24px 16px 0; }
  .carte-form, .jvd-page .carte { padding: 22px !important; border-radius: 22px !important; }
  .jvd-page .nav-tabs { display: flex; border-radius: 22px; }
  .jvd-page .nav-tabs .nav-link { padding: 9px 12px; font-size: 13.5px; }
}

/* ---------- espace propriétaire (tableau de bord) ---------- */
.jvd-entete-prive { background: #fff; border-bottom: 1px solid var(--jvd-ligne); position: sticky; top: 0; z-index: 1030; }
.jvd-entete-prive .in { max-width: 1100px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.jvd-entete-prive img { height: 46px; }
.jvd-entete-prive .titre { font-weight: 600; color: var(--jvd-bleu); }
.jvd-entete-prive .titre span { color: var(--jvd-gris); font-weight: 500; }
.jvd-entete-prive .actions { margin-left: auto; display: flex; gap: 10px; }
.jvd-entete-prive .btn { padding: 8px 16px; font-size: 14px; }
.carte-bien { border-radius: 18px !important; box-shadow: var(--jvd-ombre) !important; padding: 18px !important; }
.carte-bien img.photo { border-radius: 12px !important; }
.conteneur h5 { font-weight: 700; color: var(--jvd-texte); }
.conteneur .table { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--jvd-ombre); }

/* ==========================================================================
   STYLE EN RELIEF (neumorphique) — même esprit que la page de connexion
   « Espace propriétaire » : fond gris clair, éléments sculptés par des ombres
   douces, champs « creusés ». Ce bloc est volontairement en fin de fichier
   pour remplacer l'apparence des cartes, tuiles, formulaires et fiches.
   ========================================================================== */
:root {
  --neu-fond: #ECF0F3;
  --neu-clair: #FFFFFF;
  --neu-fonce: #D1D9E6;
  --neu-relief: 10px 10px 22px var(--neu-fonce), -10px -10px 22px var(--neu-clair);
  --neu-relief-petit: 6px 6px 12px var(--neu-fonce), -6px -6px 12px var(--neu-clair);
  --neu-creux: inset 6px 6px 10px var(--neu-fonce), inset -6px -6px 10px var(--neu-clair);
  --neu-creux-petit: inset 3px 3px 6px var(--neu-fonce), inset -3px -3px 6px var(--neu-clair);
  --jvd-creme: var(--neu-fond);
  --jvd-ombre: var(--neu-relief);
}
body, .container-xxl.bg-white { background: var(--neu-fond) !important; }

/* en-tête : même fond, séparé par une ombre douce */
.jvd-header { background: rgba(236, 240, 243, .92); border-bottom: 0; box-shadow: 0 8px 22px -12px var(--neu-fonce); }
.jvd-menu a.actif { background: var(--neu-fond); box-shadow: var(--neu-creux-petit); }
.jvd-btn-connexion { background: var(--neu-fond); border: 0; box-shadow: var(--neu-relief-petit); }
@media (hover: hover) and (pointer: fine) { .jvd-btn-connexion:hover { background: var(--neu-fond); color: var(--jvd-orange); box-shadow: var(--neu-creux-petit); } }
@media (hover: hover) and (pointer: fine) { .jvd-lien-espace:hover, .jvd-lang:hover { background: var(--neu-fond); box-shadow: var(--neu-creux-petit); } }
.jvd-header .dropdown-menu { background: var(--neu-fond); box-shadow: var(--neu-relief); }
.jvd-header .dropdown-item.active { background: var(--neu-fond); box-shadow: var(--neu-creux-petit); color: var(--jvd-bleu); }

@media (hover: hover) and (pointer: fine) { .jvd-header .dropdown-item:hover { background: var(--neu-fond); box-shadow: var(--neu-creux-petit); color: var(--jvd-bleu); } }
@media (max-width: 1279px) {
  .jvd-menu { padding: 6px 4px 10px; }
  .jvd-menu a { background: var(--neu-fond); box-shadow: var(--neu-relief-petit); }
  .jvd-menu a.actif { background: var(--jvd-bleu); color: #fff; box-shadow: var(--neu-relief-petit); }
}

/* carte de recherche + champs creusés */
.jvd-recherche { background: var(--neu-fond); box-shadow: var(--neu-relief); border-radius: 30px; padding: 22px; }
.jvd-onglets.btn-group { padding: 6px; border-radius: 999px; box-shadow: var(--neu-creux); display: inline-flex !important; }
@media (hover: hover) and (pointer: fine) { .jvd-onglets .btn:hover { background: none; } }
.jvd-onglets .btn.active { background: var(--neu-fond) !important; color: var(--jvd-bleu) !important; box-shadow: var(--neu-relief-petit) !important; }
.jvd-recherche .form-control, .jvd-recherche .form-select,
.jvd-page .form-control, .jvd-page .form-select, .modal .form-control, .modal .form-select {
  background-color: var(--neu-fond) !important; border: 0 !important; box-shadow: var(--neu-creux) !important; border-radius: 22px !important;
}
.jvd-recherche .form-control:focus, .jvd-recherche .form-select:focus,
.jvd-page .form-control:focus, .jvd-page .form-select:focus, .modal .form-control:focus, .modal .form-select:focus {
  box-shadow: var(--neu-creux), 0 0 0 2px rgba(20, 63, 124, .25) !important;
}
.jvd-recherche .localite-search .form-control { background-color: var(--neu-fond) !important; }
.jvd-btn-cherche { border-radius: 22px !important; box-shadow: var(--neu-relief-petit) !important; }
.jvd-equipements { border-top: 0; margin-top: 18px; border-radius: 22px; box-shadow: var(--neu-creux-petit); padding: 14px 18px 8px; }
#suggestionsLocalites { background: var(--neu-fond); box-shadow: var(--neu-relief); border: 0; }

/* cartes des biens (offres + résultats) */
#offresContainer .card, #resultatsResidences .card {
  background: var(--neu-fond) !important; border-radius: 30px !important; padding: 12px; box-shadow: var(--neu-relief) !important;
}
@media (hover: hover) and (pointer: fine) { #offresContainer .card:hover, #resultatsResidences .card:hover { transform: translateY(-3px); box-shadow: 14px 14px 28px var(--neu-fonce), -14px -14px 28px var(--neu-clair) !important; } }
#offresContainer .card-img-top, #resultatsResidences .card-img-top { border-radius: 22px !important; height: 210px !important; }
#offresContainer .card-body, #resultatsResidences .card-body { padding: 16px 8px 8px; }
#resultatsResidences .badge.bg-light {
  background: var(--neu-fond) !important; box-shadow: var(--neu-creux-petit); border: 0 !important; padding: 7px 12px; font-size: 12.5px;
}
#offresContainer .badge.bg-success { background: var(--neu-fond) !important; color: var(--jvd-bleu) !important; box-shadow: var(--neu-relief-petit); }
#resultatsResidences .btn, .jvd-detail .btn { border-radius: 999px !important; padding-top: 12px; padding-bottom: 12px; box-shadow: var(--neu-relief-petit); border: 0 !important; }
#resultatsResidences .btn-success, .jvd-detail .btn-success { background: var(--jvd-bleu) !important; }
@media (hover: hover) and (pointer: fine) { #resultatsResidences .btn-success:hover, .jvd-detail .btn-success:hover { background: var(--jvd-bleu-nuit) !important; } }
#resultatsResidences .btn-outline-secondary, #resultatsResidences .btn:disabled.btn-outline-secondary {
  background: var(--neu-fond) !important; color: var(--jvd-gris) !important; box-shadow: var(--neu-creux-petit) !important; opacity: 1;
}
#resultatsResidences .btn-danger:disabled { background: var(--neu-fond) !important; color: #c0392b !important; box-shadow: var(--neu-creux-petit) !important; opacity: 1; }
#resultatsResidences h5.mb-0 { color: var(--jvd-bleu); }

/* tuiles, étapes, encadrés */
.jvd-type { background: var(--neu-fond); border: 0; box-shadow: var(--neu-relief); border-radius: 26px; }
@media (hover: hover) and (pointer: fine) { .jvd-type:hover { box-shadow: var(--neu-creux); border-color: transparent; } }
.jvd-type .ic { background: var(--neu-fond); box-shadow: var(--neu-relief-petit); border-radius: 50%; }
.jvd-etape { background: var(--neu-fond); box-shadow: var(--neu-relief); border-radius: 28px; }
.jvd-etape .num { color: #DDE3EA; text-shadow: 1px 1px 1px #fff; }
.jvd-etape .ic { border-radius: 50%; box-shadow: var(--neu-relief-petit); }
.carte-form, .jvd-page .carte { background: var(--neu-fond) !important; box-shadow: var(--neu-relief) !important; border-radius: 32px !important; }
.groupe-champs { background: var(--neu-fond) !important; border: 0 !important; box-shadow: var(--neu-creux-petit); border-radius: 22px !important; }
.btn-outline-dark { background: var(--neu-fond) !important; border: 0 !important; box-shadow: var(--neu-relief-petit); }
@media (hover: hover) and (pointer: fine) { .btn-outline-dark:hover { box-shadow: var(--neu-creux-petit) !important; } }
.cat-btn.btn-dark { background: var(--jvd-bleu) !important; border: 0 !important; box-shadow: var(--neu-relief-petit); }
.jvd-page .nav-tabs { background: var(--neu-fond); box-shadow: var(--neu-creux); }
.jvd-page .nav-tabs .nav-link.active { background: var(--neu-fond) !important; color: var(--jvd-bleu) !important; box-shadow: var(--neu-relief-petit); }
.btn-primary, .btn-dark { box-shadow: var(--neu-relief-petit) !important; }
.modal-content { background: var(--neu-fond); box-shadow: var(--neu-relief); border-radius: 30px; }
.modal-header, .modal-footer { border-color: transparent; }
.carte-bien { background: var(--neu-fond) !important; box-shadow: var(--neu-relief) !important; border-radius: 24px !important; }
.jvd-entete-prive { background: var(--neu-fond); border-bottom: 0; box-shadow: 0 8px 22px -12px var(--neu-fonce); }

/* ---------- fiche d'un bien ---------- */
.jvd-detail-ariane { max-width: 1240px; margin: 0 auto; padding: 26px 28px 6px; }
.jvd-detail-ariane .breadcrumb {
  display: inline-flex; flex-wrap: wrap; margin: 0; padding: 10px 20px; border-radius: 999px; background: var(--neu-fond);
  box-shadow: var(--neu-creux-petit); font-size: 13.5px;
}
.jvd-detail-ariane .breadcrumb a { text-decoration: none; font-weight: 600; }
.jvd-detail-ariane .breadcrumb-item.active { color: var(--jvd-gris); }
#contenuBien, #messageIntrouvable { max-width: 1240px; margin: 0 auto; padding: 18px 28px 0 !important; }
.neu-panneau { background: var(--neu-fond); border-radius: 30px; box-shadow: var(--neu-relief); padding: 26px; }
.neu-galerie { padding: 12px; }
.neu-galerie img, .neu-galerie .carousel-inner { border-radius: 22px !important; }
.neu-galerie img { height: 440px; max-height: none !important; object-fit: cover; width: 100%; }
.neu-galerie .carousel-indicators [data-bs-target] { width: 9px; height: 9px; border-radius: 50%; border: 0; opacity: .6; }
.neu-galerie .carousel-indicators .active { background: var(--jvd-orange); opacity: 1; }
.neu-titre { display: flex; align-items: center; gap: 14px; }
.neu-titre h1 { font-size: 30px; font-weight: 700; margin: 0; }
.neu-logo-bien { width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--neu-fond); box-shadow: var(--neu-relief-petit); }
.neu-logo-bien img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
.neu-lieu { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 18px; padding: 8px 16px; border-radius: 999px; box-shadow: var(--neu-creux-petit); color: var(--jvd-gris); font-size: 14px; }
.neu-lieu i { color: var(--jvd-orange); }
.neu-pastilles { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.neu-pastille { padding: 8px 14px; border-radius: 999px; background: var(--neu-fond); box-shadow: var(--neu-relief-petit); font-size: 13.5px; font-weight: 500; }
.neu-soustitre { font-size: 17px; font-weight: 700; color: var(--jvd-bleu); margin: 24px 0 10px; }
.neu-texte { color: var(--jvd-gris); line-height: 1.7; margin: 0; }
.neu-ligne-chambre { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 20px; box-shadow: var(--neu-creux-petit); margin-bottom: 12px; }
.neu-ligne-chambre strong { color: var(--jvd-texte); }
.neu-reserv { position: sticky; top: 104px; }
.neu-prix { font-size: 32px; font-weight: 700; color: var(--jvd-bleu); line-height: 1.1; }
.neu-prix small { font-size: 15px; font-weight: 500; color: var(--jvd-gris); }
.neu-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--jvd-gris); }
.neu-note b { color: #fff; background: var(--jvd-orange); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.neu-details { margin-top: 18px; padding: 8px 18px; border-radius: 20px; box-shadow: var(--neu-creux-petit); }
.neu-details .ligne { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--jvd-gris); border-bottom: 1px solid #DDE3EA; }
.neu-details .ligne:last-child { border-bottom: 0; }
.neu-details .ligne span:last-child { color: var(--jvd-texte); font-weight: 500; text-align: right; }
.neu-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-weight: 600; font-size: 14.5px; }
.neu-total strong { color: var(--jvd-bleu); font-size: 18px; white-space: nowrap; }
.neu-actions { margin-top: 22px; display: grid; gap: 14px; }
.neu-actions .btn { width: 100%; font-size: 16px; }
.btn-neu { background: var(--neu-fond) !important; color: var(--jvd-bleu) !important; border: 0 !important; box-shadow: var(--neu-relief-petit) !important; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .btn-neu:hover { box-shadow: var(--neu-creux-petit) !important; } }
.neu-rassurance { margin-top: 18px; font-size: 13px; color: var(--jvd-gris); text-align: center; }
#messageIntrouvable .alert { background: var(--neu-fond); box-shadow: var(--neu-relief); border: 0; border-radius: 30px; color: var(--jvd-texte); padding: 34px; }
@media (max-width: 991px) { .neu-reserv { position: static; } }
@media (max-width: 767px) {
  .jvd-detail-ariane { padding: 16px 16px 4px; }
  #contenuBien, #messageIntrouvable { padding: 14px 16px 0 !important; }
  .neu-panneau { padding: 20px; border-radius: 26px; }
  .neu-galerie { padding: 10px; }
  .neu-galerie img { height: 260px; }
  .neu-titre h1 { font-size: 23px; }
  .neu-prix { font-size: 27px; }
}

/* ---------- fiche : grille (galerie / réservation / infos) + carte ---------- */
.jvd-detail-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "galerie reserv" "infos reserv"; gap: 24px; align-items: start; }
.jvd-detail-grille .zone-galerie { grid-area: galerie; }
.jvd-detail-grille .zone-reserv { grid-area: reserv; position: sticky; top: 104px; }
.jvd-detail-grille .zone-infos { grid-area: infos; }
.jvd-detail-grille .neu-reserv { position: static; }
.neu-carte { border-radius: 22px; overflow: hidden; box-shadow: var(--neu-creux); padding: 8px; background: var(--neu-fond); }
.neu-carte iframe { display: block; width: 100%; height: 320px; border: 0; border-radius: 16px; }
.neu-soustitre.mt-0 { margin-top: 0; }
@media (max-width: 991px) {
  /* sur téléphone et tablette : photos, puis l'encadré « Réserver », puis la description */
  .jvd-detail-grille { grid-template-columns: minmax(0, 1fr); grid-template-areas: "galerie" "reserv" "infos"; }
  .jvd-detail-grille .zone-reserv { position: static; }
  .neu-carte iframe { height: 240px; }
}

/* ---------- squelettes de chargement (au lieu des ronds qui tournent) ---------- */
.carte-squelette { background: var(--neu-fond); border-radius: 30px; padding: 12px; box-shadow: var(--neu-relief); }
.carte-squelette .sq { border-radius: 14px; background: linear-gradient(90deg, #E3E8EE 0%, #F2F5F8 40%, #E3E8EE 80%); background-size: 200% 100%; animation: jvd-brille 1.3s ease-in-out infinite; }
.carte-squelette .sq-photo { height: 210px; border-radius: 22px; margin-bottom: 16px; }
.carte-squelette .sq-ligne { height: 16px; margin: 0 8px 12px; }
.carte-squelette .sq-bas { height: 22px; margin-top: 20px; margin-bottom: 8px; }
.sq-bloc { border-radius: 30px; background: linear-gradient(90deg, #E3E8EE 0%, #F2F5F8 40%, #E3E8EE 80%); background-size: 200% 100%; animation: jvd-brille 1.3s ease-in-out infinite; }
@keyframes jvd-brille { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .carte-squelette .sq, .sq-bloc { animation: none; } }

/* Onglets de recherche : ne débordent plus sur petit téléphone */
@media (max-width: 575px) {
  .jvd-onglets.btn-group { max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-left: 0; }
  .jvd-onglets.btn-group::-webkit-scrollbar { display: none; }
  .jvd-onglets .btn { flex: 0 0 auto; white-space: nowrap; }
}

/* ---------- Bons plans (abonnement aux notifications) ---------- */
.jvd-bons-plans { margin-top: 80px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 34px 38px; border-radius: 30px; background: var(--neu-fond); box-shadow: var(--neu-relief); }
.jvd-bons-plans .bp-icone { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--neu-creux); }
.jvd-bons-plans .bp-icone svg { width: 38px; height: 38px; fill: none; stroke: var(--jvd-orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jvd-bons-plans h2 { font-size: 26px; font-weight: 700; color: var(--jvd-bleu); margin: 0 0 8px; }
.jvd-bons-plans p { color: #5B6676; max-width: 640px; margin: 0; }
.jvd-bons-plans .bp-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.jvd-bons-plans .btn { border-radius: 999px; padding: 11px 22px; font-weight: 600; }
.jvd-bons-plans .bp-installer { background: var(--neu-fond); color: var(--jvd-bleu); border: 0; box-shadow: var(--neu-relief-petit); }
@media (hover: hover) and (pointer: fine) { .jvd-bons-plans .bp-installer:hover { box-shadow: var(--neu-creux-petit); color: var(--jvd-orange); } }
.jvd-bons-plans [data-etat="abonne"] { background: #1E8A5A !important; border-color: #1E8A5A !important; }
.bp-message { margin-top: 14px !important; font-size: 14px; padding: 10px 14px; border-radius: 14px; box-shadow: var(--neu-creux-petit); }
.bp-message.ok { color: #1E7A50; }
.bp-message.erreur { color: #B03A2E; }
.bp-message.info { color: var(--jvd-bleu); }
.bp-lien-pied { text-align: left; }
@media (max-width: 767px) {
  .jvd-bons-plans { grid-template-columns: 1fr; padding: 26px 22px; gap: 16px; margin-top: 56px; }
  .jvd-bons-plans .bp-icone { width: 64px; height: 64px; }
  .jvd-bons-plans .bp-icone svg { width: 28px; height: 28px; }
  .jvd-bons-plans h2 { font-size: 22px; }
  .jvd-bons-plans .btn { width: 100%; }
}
.footer .bp-message { box-shadow: none; background: rgba(255,255,255,.08); color: #fff !important; font-size: 13.5px; max-width: 320px; }

/* ---------- Invitation aux bons plans après une demande ---------- */
.jvd-invit-bp { margin-top: 16px; display: grid; gap: 14px; }
.jvd-invit-bp .ib-numero { padding: 14px 16px; border-radius: 16px; box-shadow: var(--neu-creux-petit); text-align: center; color: var(--jvd-bleu); }
.jvd-invit-bp .ib-numero b { display: block; font-size: 20px; letter-spacing: .03em; margin-top: 2px; }
.jvd-invit-bp .ib-numero small { display: block; color: #66748A; font-size: 12.5px; margin-top: 4px; }
.jvd-invit-bp .ib-corps { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border-radius: 18px; background: var(--neu-fond); box-shadow: var(--neu-relief-petit); }
.jvd-invit-bp .ib-cloche { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; box-shadow: var(--neu-creux-petit); }
.jvd-invit-bp b { color: var(--jvd-bleu); }
.jvd-invit-bp p { margin: 4px 0 0; font-size: 14px; color: #5B6676; }
.jvd-invit-bp .ib-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.jvd-invit-bp .ib-boutons .btn-primary { border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.jvd-invit-bp .ib-boutons .btn-link { color: #66748A; text-decoration: none; }
.jvd-invit-bp .ib-msg { font-size: 13.5px; margin-top: 10px; }
.jvd-invit-bp .ib-msg.ok { color: #1E7A50; font-weight: 600; }
.jvd-invit-bp .ib-msg.erreur { color: #B03A2E; }
.jvd-invit-bp .ib-msg.info { color: var(--jvd-bleu); }

/* =====================================================================
   CONFORT SUR TÉLÉPHONE — règles du skill « mobile-native »
   ===================================================================== */
/* 2. Pas de flash gris/bleu quand on touche un bouton ; pas de texte grossi en paysage */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* 5. Le tap part tout de suite (pas d'attente du double-tap) */
a, button, .btn, [role="button"], label, summary, select, input[type="checkbox"], input[type="radio"] { touch-action: manipulation; }

/* 5. Réaction dès que le doigt se pose (et pas au relâchement) */
.btn:active, .jvd-nav-mobile a:active, .jvd-nav-mobile button:active, .jvd-type:active,
.ann-puces button:active, .jvd-btn-connexion:active, .jvd-lien-espace:active, .jvd-lang:active { transform: scale(.97); }
#offresContainer .card:active, #resultatsResidences .card:active { transform: scale(.985); }
.jvd-menu a:active, .dropdown-item:active, .nav-link:active { opacity: .7; }

/* 8. Un appui long sur un bouton ne sélectionne plus son texte (le contenu, lui, reste copiable) */
button, .btn, [role="button"], .nav-link, .dropdown-item, .jvd-menu a, .jvd-nav-mobile a, .jvd-nav-mobile button,
.jvd-onglets .btn, .jvd-type, .ann-puces button, .carousel-control-prev, .carousel-control-next, .back-to-top {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}

/* 6. Faire défiler une fenêtre ou un menu ne fait plus bouger la page derrière */
.modal, .modal-body, .dropdown-menu { overscroll-behavior: contain; }
.jvd-menu, .jvd-onglets.btn-group, .admin-onglets, .table-responsive { overscroll-behavior-x: contain; }

/* 4. Champs à 16 px sur écran tactile : l'iPhone ne zoome plus tout seul */
@media (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea, select, .form-control, .form-select { font-size: 16px !important; }
}

/* 7. Encoche, barre d'accueil et application installée : le contenu reste hors des zones du système */
body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.jvd-header, .jvd-entete-prive { padding-top: env(safe-area-inset-top, 0px); }
.back-to-top { right: calc(45px + env(safe-area-inset-right, 0px)) !important; bottom: calc(45px + env(safe-area-inset-bottom, 0px)) !important; }
@media (max-width: 767px) {
  .jvd-nav-mobile { padding-left: calc(6px + env(safe-area-inset-left, 0px)); padding-right: calc(6px + env(safe-area-inset-right, 0px)); }
  .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }
}
.modal-dialog { margin-bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); }

@media (prefers-reduced-motion: reduce) {
  .btn:active, .jvd-nav-mobile a:active, .jvd-type:active, #offresContainer .card:active, #resultatsResidences .card:active { transform: none; }
}

/* ---------- JVD Food dans la barre de navigation ---------- */
.jvd-menu a.jvd-food-lien { color: var(--jvd-orange-fonce); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.jvd-menu a.jvd-food-lien small { font-size: 10.5px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: var(--jvd-orange); color: #fff; }
@media (hover: hover) and (pointer: fine) { .jvd-menu a.jvd-food-lien:hover { color: var(--jvd-orange); } }
@media (max-width: 1279px) { .jvd-menu a.jvd-food-lien { background: var(--neu-fond); color: var(--jvd-orange-fonce); } }
.jvd-nav-mobile a.jvd-food-mob { color: var(--jvd-orange-fonce); }
.jvd-nav-mobile a.jvd-food-mob svg { stroke: var(--jvd-orange); }
.jvd-espace .dropdown-header { font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--jvd-orange-fonce); }

/* pied de page : les liens passent à la ligne au lieu de sortir de l'écran */
.footer .btn.btn-link { white-space: normal; text-align: left; overflow-wrap: anywhere; }
.footer a { overflow-wrap: anywhere; }

/* Recherche sur tablette : le bouton passe sous les champs, qui ont toute la largeur */
@media (max-width: 1199px) {
  .jvd-recherche-ligne { grid-template-columns: 1fr; }
}
/* En-tête sur grand écran : centré comme le contenu */
@media (min-width: 1280px) and (max-width: 1439px) { .jvd-header-in { max-width: 1320px; } }

/* ==========================================================================
   BANDEAUX EN PHOTO ET COULEURS PAR PAGE
   Chaque page intérieure a sa couleur (classe jvd-coul-…) et une photo à droite.
   ========================================================================== */
.jvd-bandeau-page .in { --b1: var(--jvd-bleu-nuit); --b2: var(--jvd-bleu); --b3: rgba(240, 138, 69, .45);
  background: linear-gradient(120deg, var(--b1) 0%, var(--b2) 100%); min-height: 230px; }
.jvd-bandeau-page .in::after { background: radial-gradient(circle, var(--b3), transparent 65%); z-index: 0; }
.jvd-coul-lagune .in { --b1: #0A4A55; --b2: #13858A; --b3: rgba(255, 214, 102, .45); }
.jvd-coul-soleil .in { --b1: #7A2E0C; --b2: #D9662A; --b3: rgba(255, 214, 102, .5); }
.jvd-coul-indigo .in { --b1: #241F63; --b2: #4C3FB0; --b3: rgba(255, 150, 200, .4); }
.jvd-coul-foret .in  { --b1: #0D4A30; --b2: #1E8E5A; --b3: rgba(255, 214, 102, .45); }
.jvd-coul-ardoise .in { --b1: #1D2740; --b2: #3B4C72; --b3: rgba(120, 200, 255, .35); }
.jvd-bandeau-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.jvd-bandeau-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jvd-bandeau-photo picture { display: contents; }
.jvd-bandeau-photo.dessin { display: grid; place-items: center; -webkit-mask-image: none; mask-image: none; width: 40%; }
.jvd-bandeau-photo.dessin svg { width: min(230px, 80%); height: auto; color: rgba(255, 255, 255, .9); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); }
@media (max-width: 767px) {
  .jvd-bandeau-page .in { min-height: 0; padding-top: 150px !important; }
  .jvd-bandeau-photo { left: 0; width: 100%; height: 140px; bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .jvd-bandeau-photo.dessin { height: 150px; width: 100%; }
  .jvd-bandeau-photo.dessin svg { width: 120px; }
}

/* ==========================================================================
   JVD FOOD : palette choisie
   Vert foncé #14532D (principale) · Orange #F97316 (boutons, promos) · Crème #FFF7ED (fond)
   Noir doux #171717 (textes) · Vert clair #22C55E (disponible, succès, livraison)
   ========================================================================== */
body.jvd-food {
  --jvd-bleu: #14532D; --jvd-bleu-nuit: #0B3B1F; --jvd-orange: #F97316; --jvd-orange-fonce: #EA580C;
  --jvd-vert: #22C55E; --food-vert-texte: #15803D;
  --jvd-texte: #171717; --jvd-gris: #5F5A55; --jvd-ligne: #F3E1CC; --jvd-sable: #FDEBD7;
  --neu-fond: #FFF7ED; --neu-clair: #FFFFFF; --neu-fonce: #EED9C1;
  --food-degrade: linear-gradient(120deg, #0B3B1F 0%, #14532D 60%, #1E6B3C 100%);
}
/* boutons, panier et « + » en orange */
body.jvd-food .er-btn-plein, body.jvd-food .fd-barre-panier, body.jvd-food .fd-ajouter { background: var(--jvd-orange); color: #fff; }
@media (hover: hover) and (pointer: fine) { body.jvd-food .er-btn-plein:hover { background: var(--jvd-orange-fonce); } }
body.jvd-food .fd-barre-panier .fd-nb { background: #fff; color: var(--jvd-orange-fonce); }
body.jvd-food .fd-ajouter:disabled, body.jvd-food .er-btn-plein:disabled { background: #D6CCC2; }
/* le vert clair sert aux pastilles et aux fonds ; en texte on prend un vert plus foncé, lisible sur le crème */
body.jvd-food .er-msg.ok:not(:empty), body.jvd-food .er-badge.actif, body.jvd-food .b-offert, body.jvd-food .el-argent .gain b,
body.jvd-food .el-etat.prete, body.jvd-food .er-mvt .plus, body.jvd-food .er-solde.recoit .montant { color: var(--food-vert-texte); }
/* promotions et nouveautés en orange */
body.jvd-food .b-nouveau { background: var(--jvd-orange); color: #fff; }
body.jvd-food .fd-bulle.actif .rond { border-color: var(--jvd-orange); }
body.jvd-food .fd-bulle.actif { color: var(--jvd-bleu); }
body.jvd-food .jvd-entete-prive { background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); border-bottom: 0; box-shadow: 0 8px 22px -14px var(--neu-fonce); }
body.jvd-food .jvd-entete-prive::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, #14532D 0%, #14532D 55%, #F97316 100%); }
body.jvd-food .er-champ:focus { box-shadow: var(--neu-creux), 0 0 0 2px color-mix(in srgb, var(--jvd-bleu) 35%, transparent); }

/* Grande image en haut des cartes de connexion et d'inscription */
.fd-bandeau-img { margin: -28px -28px 22px; height: 190px; border-radius: 30px 30px 0 0; overflow: hidden; background: var(--food-degrade); }
.fd-bandeau-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .fd-bandeau-img { margin: -22px -18px 18px; height: 160px; border-radius: 26px 26px 0 0; } }

/* Bandeau coloré de l'espace (nom + statut) */
body.jvd-food .el-tete{ position: relative; overflow: hidden; border-radius: 28px; padding: 22px 24px; color: #fff; background: var(--food-degrade); box-shadow: var(--neu-relief); margin-bottom: 18px; }
body.jvd-food .el-tete h1{ color: #fff; }
body.jvd-food .el-tete .er-tete-lieu{ color: rgba(255, 255, 255, .88); }
body.jvd-food .el-tete::after{ content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(249, 115, 22, .45), transparent 65%); pointer-events: none; }
body.jvd-food .el-tete > *{ position: relative; z-index: 1; }
body.jvd-food .el-tete .er-inter-txt{ color: #fff; }
body.jvd-food .er-couverture, body.jvd-food .fd-resto-img { background-color: var(--jvd-bleu); background-image: var(--food-degrade); background-size: cover; background-position: center; }
body.jvd-food .el-tete .er-badge { background: rgba(255, 255, 255, .94); box-shadow: none; }
body.jvd-food .el-tete .er-interrupteur { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
body.jvd-food .el-tete .er-inter-piste { background: rgba(0, 0, 0, .18); box-shadow: none; }

/* ---------- Téléphone : les menus passent à la ligne au lieu de défiler ---------- */
@media (max-width: 1279px) {
  .jvd-menu { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
}
@media (max-width: 767px) {
  .jvd-menu { gap: 6px; }
  .jvd-menu a { padding: 7px 12px; }
  .jvd-onglets.btn-group { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
  .jvd-onglets.btn-group > .btn { flex: 0 0 auto; }
}

/* ---------- Champs de date : texte d'aide visible quand le champ est vide ---------- */
.jvd-date { position: relative; display: block; width: 100%; }
.jvd-date > input[type="date"] { display: block; width: 100%; min-width: 0; min-height: 50px; -webkit-appearance: none; appearance: none; text-align: left; }
.jvd-date > input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.jvd-date-aide { position: absolute; left: 16px; right: 44px; top: 50%; transform: translateY(-50%); display: none; pointer-events: none;
  color: #8A94A3; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jvd-date.vide .jvd-date-aide { display: block; }
.jvd-date.vide:focus-within .jvd-date-aide { display: none; }
.jvd-date.vide > input[type="date"]:not(:focus) { color: transparent; }
.jvd-date.vide > input[type="date"]:not(:focus)::-webkit-datetime-edit { color: transparent; }

/* ==========================================================================
   PERSONNE CONNECTÉE : rond avec la photo (ou les initiales) + prénom
   ========================================================================== */
.jvd-avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: inline-grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--jvd-orange), var(--jvd-orange-fonce)); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .3px;
  box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgba(0, 0, 0, .35); }
.jvd-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jvd-avatar.grand { width: 46px; height: 46px; font-size: 17px; }
.jvd-avatar.tres-grand { width: 96px; height: 96px; font-size: 34px; }
.jvd-btn-avatar { display: inline-flex !important; align-items: center; gap: 9px; padding: 4px 14px 4px 4px !important; max-width: 210px; }
.jvd-avatar-nom { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.jvd-btn-avatar.seul { border: 0; border-radius: 999px; background: var(--neu-fond); box-shadow: var(--neu-relief-petit); color: var(--jvd-texte); font: inherit; font-size: 14px; cursor: pointer; }
.jvd-entete-profil { display: flex; align-items: center; gap: 12px; padding: 10px 16px 12px; white-space: normal; }
.jvd-entete-profil b { display: block; color: var(--jvd-texte); font-size: 15px; text-transform: none; letter-spacing: 0; }
.jvd-entete-profil small { display: block; color: var(--jvd-gris); font-size: 12.5px; text-transform: none; letter-spacing: 0; font-weight: 400; overflow-wrap: anywhere; }
.jvd-profil-place[hidden] { display: none !important; }
@media (max-width: 767px) {
  .jvd-avatar-nom { max-width: 80px; }
  .jvd-btn-avatar { padding-right: 10px !important; }
}
@media (max-width: 420px) {
  .jvd-avatar-nom { display: none; }
  .jvd-btn-avatar { padding: 4px !important; }
  .jvd-btn-avatar.dropdown-toggle::after { display: none; }
}

/* fenêtre « Ma photo et mon nom » */
.jvd-dlg-profil { border: 0; padding: 0; border-radius: 26px; width: min(420px, calc(100vw - 24px)); background: #fff; color: #171717; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); font-family: 'Poppins', system-ui, sans-serif; }
.jvd-dlg-profil::backdrop { background: rgba(20, 20, 20, .45); }
.jvd-profil-form { padding: 20px 22px 22px; display: flex; flex-direction: column; }
.jvd-profil-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.jvd-profil-tete h2 { font-size: 20px; margin: 0; font-weight: 700; }
.jvd-profil-fermer { border: 0; background: #F3F1EE; width: 38px; height: 38px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.jvd-profil-photo { display: flex; align-items: center; gap: 16px; margin: 10px 0 16px; }
.jvd-profil-boutons { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.jvd-profil-btn { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #FFF1E6; color: #C2410C; font-weight: 600; font-size: 14px; cursor: pointer; }
.jvd-profil-lien { border: 0; background: none; color: #6B6560; text-decoration: underline; font: inherit; font-size: 13.5px; cursor: pointer; padding: 0; }
.jvd-profil-label { font-size: 13.5px; font-weight: 600; margin: 0 0 6px 4px; }
.jvd-profil-champ { width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid #E8DFD6; border-radius: 16px; font: inherit; font-size: 16px; }
.jvd-profil-champ:focus { outline: 2px solid #F97316; outline-offset: 1px; }
.jvd-profil-email { color: #6B6560; font-size: 13px; margin: 6px 4px 0; overflow-wrap: anywhere; }
.jvd-profil-msg { min-height: 20px; margin: 8px 4px; font-size: 14px; color: #B23B2E; }
.jvd-profil-msg.ok { color: #15803D; }
.jvd-profil-enregistrer { border: 0; border-radius: 999px; min-height: 50px; background: #F97316; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.jvd-profil-enregistrer:disabled { opacity: .6; }

/* ---------- Invitation « Recevoir nos bons plans ? » (apparaît après quelques secondes) ---------- */
.bp-invitation { position: fixed; z-index: 1060; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 30px); opacity: 0;
  width: min(460px, calc(100vw - 24px)); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center;
  padding: 16px 18px; border-radius: 22px; background: #fff; color: var(--jvd-texte); box-shadow: 0 24px 60px -18px rgba(13, 43, 87, .45);
  transition: transform .3s ease, opacity .3s ease; }
.bp-invitation.visible { transform: translate(-50%, 0); opacity: 1; }
.bp-inv-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: #FFF1E6; grid-row: span 2; align-self: start; }
.bp-inv-txt b { display: block; font-size: 16px; color: var(--jvd-bleu); }
.bp-inv-txt span { display: block; font-size: 13.5px; color: var(--jvd-gris); line-height: 1.45; margin-top: 2px; }
.bp-inv-boutons { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.bp-inv-oui, .bp-inv-non { border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bp-inv-oui { background: var(--jvd-orange); color: #fff; }
.bp-inv-non { background: #F1F3F6; color: var(--jvd-gris); }
.bp-inv-fermer { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; line-height: 1; color: #9AA3AF; cursor: pointer; padding: 4px 6px; }
@media (max-width: 767px) { .bp-invitation { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .bp-invitation { transition: none; } }
@media (min-width: 768px) {
  .bp-invitation { left: auto; right: 24px; bottom: 24px; transform: translateY(30px); }
  .bp-invitation.visible { transform: none; }
}

/* ==========================================================================
   FENÊTRE « SE CONNECTER » : e-mail + mot de passe, code seulement la 1re fois
   ========================================================================== */
.cx-intro { color: var(--jvd-gris); font-size: 14.5px; margin: 0 0 14px; line-height: 1.5; }
.cx-titre { font-weight: 700; color: var(--jvd-bleu); font-size: 17px; margin: 0 0 6px; }
.cx-mdp { position: relative; }
.cx-mdp .form-control { padding-right: 52px; }
.cx-oeil { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 18px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; opacity: .55; }
.cx-oeil.on { opacity: 1; }
.cx-msg { min-height: 0; font-size: 14px; color: #B03A2E; margin: 4px 2px 10px; }
.cx-msg:empty { margin: 0 0 10px; }
.cx-msg.ok { color: #1E7A50; }
.cx-sep { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: var(--jvd-gris); font-size: 13px; }
.cx-sep::before, .cx-sep::after { content: ""; flex: 1; height: 1px; background: var(--neu-fonce, #D1D9E6); }
.cx-btn-code { background: var(--neu-fond, #ECF0F3) !important; color: var(--jvd-bleu) !important; font-weight: 600; box-shadow: var(--neu-relief-petit); border: 0 !important; padding: 11px 16px; }
.cx-lien { font-size: 14px; text-decoration: none; margin-top: 4px; }
.cx-force { font-size: 13px; margin: 0 2px 8px; min-height: 18px; }
.cx-force.faible { color: #B03A2E; } .cx-force.moyen { color: #A26100; } .cx-force.fort { color: #1E7A50; }
.cx-regles { list-style: none; padding: 0; margin: 4px 2px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; color: var(--jvd-gris); }
.cx-regles li::before { content: "○ "; }
.cx-regles li.ok { color: #1E7A50; font-weight: 600; }
.cx-regles li.ok::before { content: "✓ "; }
@media (max-width: 420px) { .cx-regles { grid-template-columns: 1fr; } }
