/* Pages de ville générées (orleans, montargis, briare, cosne-sur-loire, ingrannes, rogny-les-sept-ecluses) :
   retouche unslop (Damir Sokolovsky, CC BY 4.0, mode retouche) avec les choix validés sur Photo, Vidéo et Tarifs.
   Chargée après unslop-general.css par tools/pages/build.py ; ne touche ni à gien.html ni aux éléments partagés
   (barre du haut, menu, fenêtres, pied de page). Règles en !important : les styles d'origine sont dans des
   blocs <style> placés plus bas dans la page. */

/* ───────── 1. Héros : fond uni, kicker en texte, titre 700, plus de texte en dégradé ───────── */
.page-ville .vh{background:#090510!important}
.page-ville .vh .pc-hero__kicker{display:block!important;background:none!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  color:#D4BBFC!important;font-size:15px!important;font-weight:500!important;letter-spacing:.005em!important;text-transform:none!important}
.page-ville .vh__h1{font-weight:700!important;letter-spacing:-.04em!important;line-height:1.02!important}
.page-ville .vh__h1-sub{background:none!important;background-image:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;
  -webkit-text-fill-color:#D4BBFC!important;color:#D4BBFC!important;font-weight:600!important}
.page-ville .vh__sub{color:rgba(251,250,255,.72)!important}

/* Boutons : lavande unie sur fond sombre, violet foncé plein sur fond clair ; plus d'ombre ni de rebond */
.page-ville .pc-btn{transition:background-color .2s ease,border-color .2s ease,color .2s ease!important}
.page-ville .pc-btn--primary,.page-ville .dv-offer__btn--primary{background:#D4BBFC!important;background-image:none!important;color:#090510!important;box-shadow:none!important;border:0!important;transform:none!important}
.page-ville .pc-btn--primary:hover,.page-ville .dv-offer__btn--primary:hover{background:#E3D3FD!important;box-shadow:none!important;transform:none!important}
.page-ville .pc-btn--ghost,.page-ville .dv-offer__btn--ghost{background:transparent!important;border:1px solid rgba(251,250,255,.28)!important;color:#FBFAFF!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important}
.page-ville .pc-btn--ghost:hover,.page-ville .dv-offer__btn--ghost:hover{background:transparent!important;border-color:rgba(251,250,255,.55)!important;transform:none!important}
.page-ville .pc-cta .pc-btn--primary{background:#7C4DD6!important;color:#fff!important}
.page-ville .pc-cta .pc-btn--primary:hover{background:#6A3DC2!important}
.page-ville .pc-cta .pc-btn--ghost{color:#090510!important;border-color:rgba(9,5,16,.18)!important}
.page-ville .pc-cta .pc-btn--ghost:hover{border-color:rgba(9,5,16,.4)!important;color:#090510!important}

/* ── Héros, version « polish » (2026-11-23) : un seul élément riche, la photo d'une vraie réalisation,
   tout le reste calme. Grille de 4 px, rayons imbriqués, une seule entrée douce au chargement. ── */
/* La barre du haut (68 px) est déjà réservée au-dessus du héros : il remplit exactement le reste de la fenêtre */
.page-ville .vh{min-height:calc(100vh - var(--topbar-h,68px))!important;min-height:calc(100svh - var(--topbar-h,68px))!important;padding:48px 0!important}
.page-ville .vh__title{margin:0 0 20px!important}
.page-ville .vh__title .pc-hero__kicker{margin-bottom:16px!important}
.page-ville .vh__h1-sub{margin-top:16px!important}
.page-ville .vh__sub{margin:0 0 28px!important;font-size:1rem!important;line-height:1.6!important}

/* Repères de prix : une ligne de trois chiffres séparés par des filets, au-dessus des deux boutons */
.page-ville .vh-facts{display:grid;grid-template-columns:repeat(3,minmax(0,auto));justify-content:start;margin:0 0 32px;padding:0;list-style:none}
.page-ville .vh-facts li{margin:0;padding:0}
.page-ville .vh-facts li + li{border-left:1px solid rgba(251,250,255,.12);margin-left:24px;padding-left:24px}
.page-ville .vh-facts a{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:inherit}
.page-ville .vh-facts__k{font-size:13px;line-height:20px;color:rgba(251,250,255,.56);font-weight:450}
.page-ville .vh-facts__v{font-size:20px;line-height:28px;font-weight:600;color:#FBFAFF;font-variant-numeric:tabular-nums;letter-spacing:-.01em;transition:color .16s cubic-bezier(.22,1,.36,1)}
.page-ville .vh-facts a:hover .vh-facts__v,.page-ville .vh-facts a:focus-visible .vh-facts__v{color:#D4BBFC}
.page-ville .vh-facts a:focus-visible{outline:2px solid #D4BBFC;outline-offset:4px;border-radius:4px}

/* La photo : un panneau plein à angles arrondis, 540 px de large au plus (fichiers de 1080 px : net sur écran retina),
   légende en une phrase sur une bande unie, en General Sans (pas de voile, pas de police à chasse fixe) */
.page-ville .vh-figure{margin:0;width:100%;max-width:540px;justify-self:center;display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:#14111b;border:1px solid rgba(251,250,255,.08)}
.page-ville .vh-figure__img{display:block;width:100%;height:auto;aspect-ratio:var(--r,4/5);object-fit:cover;background:#14111b}
.page-ville .vh-figure__cap{margin:0;padding:12px 16px;border-top:1px solid rgba(251,250,255,.08);font-size:14px;line-height:20px;font-weight:450;color:rgba(251,250,255,.6);letter-spacing:0;text-transform:none}

/* Une seule entrée au chargement : fondu et montée de 8 px, la photo 60 ms après le texte */
@keyframes dv-vh-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.page-ville .vh__text,.page-ville .vh-figure{animation:dv-vh-in .48s cubic-bezier(.22,1,.36,1) both}
.page-ville .vh-figure{animation-delay:.06s}
@media (prefers-reduced-motion:reduce){ .page-ville .vh__text,.page-ville .vh-figure{animation:none} }

/* À partir de 1200 px : texte à gauche centré verticalement face à la photo, qui prend la moitié droite */
@media (min-width:1200px){
  .page-ville .vh__inner{max-width:1280px!important;padding:0 40px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:64px!important;align-items:center!important}
  .page-ville .vh__h1{max-width:13ch;text-wrap:balance}
  .page-ville .vh-figure__img{max-height:calc(100svh - var(--topbar-h,68px) - 144px);min-height:440px}
}
/* En dessous : héros centré, la photo après les boutons, en format paysage */
@media (max-width:1199px){
  .page-ville .vh{padding:48px 0 56px!important}
  .page-ville .vh__inner{grid-template-columns:minmax(0,1fr)!important;gap:40px!important;text-align:center!important;max-width:760px!important}
  .page-ville .vh .vh__crumbs,.page-ville .vh__actions{justify-content:center!important}
  .page-ville .vh__sub{margin-left:auto!important;margin-right:auto!important}
  .page-ville .vh-facts{justify-content:center}
  .page-ville .vh-figure{margin:0 auto;text-align:left}
  .page-ville .vh-figure__img{aspect-ratio:4/3}
}
@media (max-width:520px){
  .page-ville .vh{padding:40px 0 48px!important}
  .page-ville .vh__inner{gap:32px!important}
  .page-ville .vh-facts{grid-template-columns:repeat(3,auto);margin-bottom:28px}
  .page-ville .vh-facts li + li{margin-left:12px;padding-left:12px}
  .page-ville .vh-facts__k{font-size:12px;line-height:16px}
  .page-ville .vh-facts__v{font-size:16px;line-height:24px}
  .page-ville .vh-figure{border-radius:16px}
}

/* ───────── 2. Sections claires : fonds unis en alternance, plus de halo ───────── */
.page-ville .pc-why::before,.page-ville .pc-why-card::before,.page-ville .pc-cta::before,.page-ville .pc-cta::after{display:none!important}
.page-ville section[aria-labelledby="ville-ctx-h2"],
.page-ville section[aria-labelledby="ville-photo-h2"],
.page-ville section[aria-labelledby="ville-clients-h2"],
.page-ville section[aria-labelledby="ville-prix-h2"]{background:#F2EBFB!important;background-image:none!important}
.page-ville section[aria-labelledby="ville-services-h2"],
.page-ville section[aria-labelledby="ville-video-h2"]{background:#FBFAFF!important;background-image:none!important}
.page-ville section[aria-labelledby="ville-zone-h2"],.page-ville .pc-cta{background:#fff!important;background-image:none!important}

/* En-têtes de section : petit libellé violet foncé en casse normale */
.page-ville .pc-section-header__kicker{color:#7C4DD6!important;font-size:15px!important;font-weight:500!important;letter-spacing:.005em!important;text-transform:none!important}

/* ───────── 3. Cartes : fond blanc, filet fin, plus d'ombre ni de soulèvement ; icônes Phosphor trait fin ───────── */
.page-ville .pc-why-card{background:#fff!important;border:1px solid rgba(9,5,16,.08)!important;border-radius:12px!important;box-shadow:none!important;transform:none!important;transition:border-color .2s ease!important}
.page-ville .pc-why-card:hover{background:#fff!important;box-shadow:none!important;transform:none!important;border-color:rgba(124,77,214,.35)!important}
.page-ville .pc-why-card__icon{width:44px!important;height:44px!important;border-radius:10px!important;display:flex!important;align-items:center;justify-content:center;
  background:transparent!important;background-image:none!important;border:1px solid rgba(9,5,16,.12)!important;color:#7C4DD6!important;box-shadow:none!important;margin:0 0 18px!important}
.page-ville .pc-why-card__icon svg{fill:currentColor!important;stroke:none!important}
.page-ville .pc-why-card__title{font-weight:600!important}
.page-ville .pc-why-card__desc{font-size:.875rem!important;color:rgba(9,5,16,.64)!important}
.page-ville .gien-link{color:#7C4DD6!important}

/* ───────── 4. Réalisations : une ou deux cartes à filet fin, deux par ligne ───────── */
.page-ville .gien-clients__wrap{max-width:920px!important}
.page-ville .gien-client{flex:0 0 calc((100% - 28px) / 2)!important;background:#fff;border:1px solid rgba(9,5,16,.08)!important;border-radius:12px;overflow:hidden;padding:0 0 22px!important}
.page-ville .gien-client > :not(video){padding-left:22px;padding-right:22px}
.page-ville .gien-client__video{border-radius:0!important;margin:0 0 20px!important}
.page-ville .gien-client__name{font-weight:600!important;font-size:20px!important}
.page-ville .gien-client__place{font-size:14px!important;font-weight:500!important;color:#7C4DD6!important;text-transform:none!important;letter-spacing:.005em!important}
.page-ville .gien-carousel__btn{border-color:rgba(9,5,16,.14)!important}
/* Toutes les cartes visibles : pas de flèches ni de points (ils reviennent si l'admin en met davantage) */
@media (min-width:701px){
  .page-ville .gien-clients__wrap:not(:has(.gien-client:nth-child(3))) .gien-carousel__bar{display:none!important}
}
@media (max-width:700px){
  .page-ville .gien-client{flex:0 0 84%!important}
  .page-ville .gien-client > :not(video){padding-left:18px;padding-right:18px}
}

/* ───────── 5. Formule mensuelle, prix, communes : fond uni, du texte espacé à la place des pastilles ───────── */
.page-ville .dv-offer{background:#090510!important;background-image:none!important}
.page-ville .dv-offer__list{gap:8px 22px!important}
.page-ville .dv-offer__list li{background:none!important;border:0!important;border-radius:0!important;padding:0!important;color:rgba(251,250,255,.72)!important;font-weight:500!important}
.page-ville .dv-offer__price{border-left-width:1px!important;border-color:rgba(251,250,255,.14)!important}
@media (max-width:860px){ .page-ville .dv-offer__price{border-top-width:1px!important} }

.page-ville .gien-price__item{border-top:1px solid rgba(9,5,16,.14)!important}
.page-ville .gien-price__value{font-weight:600!important;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.page-ville .gien-price__from{color:#7C4DD6!important;font-weight:500!important}

.page-ville .gien-zone__list{gap:8px 22px!important}
.page-ville .gien-zone__list li{background:none!important;border-radius:0!important;padding:0!important;color:#2a1f40!important;font-weight:500!important;font-size:16px!important}
.page-ville .gien-zone__addr a{color:#7C4DD6!important}

/* ───────── 6. Appel final : fond blanc uni, titre 600 ───────── */
.page-ville .pc-cta__h2{font-weight:600!important}
