/* ══════════════════════════════════════ */
/* ── Accueil · slider Héritage : hauteur fixe de la citation ── */
/* ══════════════════════════════════════ */

/* Le texte de .heritage-origin-quote change selon l'onglet (01/02/03) et
   sa hauteur variait (188px ↔ 176px en DE, jusqu'à 200px en FR), ce qui
   faisait « sauter » toute la mise en page mobile. On impose une hauteur
   minimale commune = la plus grande citation mesurée (200px), pour que le
   bloc garde une taille constante au changement d'onglet. Desktop (>820px)
   est déjà uniforme (160px), on ne le touche pas. */
@media (max-width: 820px) {
  .heritage-origin-quote {
    min-height: 200px !important;
  }
}

/* La légende (« Ksar Ezzit · Herkunft von ANISO », « Familienerbe seit 1914 »,
   « Eine Begegnung. … ») doit TOUJOURS commencer sur sa propre ligne sous la
   citation, comme sur desktop. Le système de révélation au scroll applique
   `.reveal-text:is(small, .kicker) { display: inline-block }` : sur mobile
   (où aucune règle ne force block) cette légende devenait inline-block et
   se collait à la fin du texte de la citation. On rétablit block partout. */
.heritage-origin-quote small {
  display: block !important;
}

/* ══════════════════════════════════════ */
/* ── Header : position fixe en RTL (arabe) ── */
/* ══════════════════════════════════════ */

html[dir="rtl"] .header > .hamb {
  grid-column: 1 !important;
}

html[dir="rtl"] .header > .head-actions {
  grid-column: 3 !important;
}

/* ══════════════════════════════════════ */
/* ── Hero : barre de musique + coordonnées alignées ── */
/* ══════════════════════════════════════ */

.story-audio-player,
.hero-coordinates {
  bottom: 90px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
}

/* ══════════════════════════════════════ */
/* ── Hero : lueur dorée sous les compteurs ── */
/* ══════════════════════════════════════ */

/* Chaque compteur (.hero-numbers > div) possède son propre ::after
   (trait doré + lueur box-shadow). La .v2 le pose à bottom:-13px : la lueur
   flotte trop bas et semble appartenir à l'élément voisin. On la remonte à
   un très faible décalage (-4px) pour qu'elle soit directement attachée au
   bas de SON compteur — un ::after par compteur, aucun ombrage global. */
.hero .hero-facts .hero-numbers > div:after {
  bottom: -4px !important;
}

/* ══════════════════════════════════════ */
/* ── Cartes villas : contour rectangulaire (ancien style) ── */
/* ══════════════════════════════════════ */

/* La .v2 force border-radius:16px sur les cartes et leurs images ;
   on revient au contour rectangulaire d'origine. */
.villa-card,
.villa-card .villa-image {
  border-radius: 0 !important;
}

/* ══════════════════════════════════════ */
/* ── Boutons villas « Tous les détails » / « Réserver » ── */
/* ── sans arrondis (contour rectangulaire)                  ── */
/* ══════════════════════════════════════ */

/* La .v2 arrondit ces deux boutons (border-radius:10px) ; on revient au
   contour rectangulaire d'origine, comme les cartes. Les deux mots
   (« Alle Details », « Reservieren », etc.) restent sur une seule ligne. */
.details-btn,
.select-btn {
  border-radius: 0 !important;
  white-space: nowrap !important;
}

/* La .v2 force flex:1 + min-width:0 sur ces boutons : avec nowrap, le texte
   long (« Kostenlos anfragen ») débordait et était coupé. On rétablit une
   largeur minimale égale au texte (fit-content) : aucun texte coupé, l'espace
   restant est toujours réparti également entre les deux boutons. */
.villa-bottom > div .details-btn,
.villa-bottom > div .select-btn {
  flex: 1 1 auto !important;
  min-width: fit-content !important;
}

/* La .v2 transforme les étiquettes d'équipement des cartes villas en
   pilules (border-radius:999px). On les rend rectangulaires. */
.feature-chips span {
  border-radius: 0 !important;
}

/* ══════════════════════════════════════ */
/* ── Réserve : logo ANISO Olive Reserve ── */
/* ── à droite du bouton « Private Reserve ──
    anfragen », dans l'espace vide entre le
    bouton et l'image de fond              ── */
/* ══════════════════════════════════════ */

/* La .v2 place la plaque au centre de l'image de fond (.reserve-visual).
   On la déplace à côté du bloc « ANISO Olive Reserve / Rare · Selected ·
   Distinctive / Private Reserve anfragen » : à droite du bouton, entre le
   texte et l'image de fond. Le nouveau wrapper .reserve-actions aligne le
   texte (gauche) et la plaque (droite) sur la même ligne. */
.reserve-actions {
  display: flex !important;
  align-items: center !important;
  gap: clamp(16px, 3vw, 42px) !important;
  justify-content: space-between !important;
  margin-top: 6px !important;
}

.reserve-actions .reserve-actions-copy {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.reserve-actions .reserve-plaque {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  aspect-ratio: 1 !important;
  width: clamp(120px, 16vw, 230px) !important;
  flex: none !important;
  clip-path: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  transition: none !important;
}

.reserve-actions .reserve-plaque:after {
  display: none !important;
}

.reserve-actions .reserve-plaque img {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* Petits écrans : le bloc texte et la plaque passent en colonne pour rester
   lisibles et ne pas déborder de la colonne. */
@media (max-width: 640px) {
  .reserve-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }

  .reserve-actions .reserve-plaque {
    width: min(200px, 100%) !important;
    margin-inline: auto !important;
  }
}

/* ══════════════════════════════════════ */
/* ── Logistique : image centrée + texte + survol ── */
/* ══════════════════════════════════════ */

/* La .v2 étire le cadre visuel à toute la hauteur de la colonne de texte :
   la photo flotte alors dans un grand vide sombre. On garde le cadre ajusté
   à la hauteur réelle de l'image mais on le CENTRE verticalement dans la
   colonne pour que la photo soit recentrée dans la section. */
.logistics-section .logistics-visual {
  align-self: center !important;
}

/* Légende « ANISO · Quality Logistics / Sorgfalt, die mitreist. /
   Ksar Ezzit → Destination » : texte légèrement agrandi. */
.logistics-section .logistics-visual figcaption small {
  font-size: 8px !important;
}

.logistics-section .logistics-visual figcaption b {
  font-size: 21px !important;
}

.logistics-section .logistics-visual figcaption span {
  font-size: 9px !important;
}
/* Translation verticale : la légende entière (bloc « ANISO · Quality
   Logistics / Sorgfalt, die mitreist. / Ksar Ezzit → Destination ») est
   décalée au maximum vers le bas (position d'origine : bottom:26px desktop /
   22px mobile) tout en restant dans le cadre. La légende devient une ligne
   flex : textes à gauche, « Temperaturbewusst » (rectangle doré) à droite,
   alignés sur la même baseline. */
.logistics-section .logistics-visual figcaption {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 18px !important;
  transform: translateY(22px) !important;
}

/* Colonne de gauche : les trois lignes de texte empilées. */
.logistics-section .logistics-visual figcaption .logistics-caption-main {
  display: block !important;
}

/* ── « Temperaturbewusst » : rectangle doré ──
   L'ancien badge « Schutzkonzept · Temperaturbewusst » (coin haut-droit de
   l'image) a été supprimé. L'information est conservée dans la légende,
   encadrée d'un rectangle doré. La marge basse remonte le rectangle pour
   centrer verticalement la ligne « Temperaturbewusst » exactement sur la
   ligne « Sorgfalt, die mitreist. » (le b du bloc de gauche). */
.logistics-section .logistics-visual figcaption .logistics-temp-note {
  flex: 0 0 auto !important;
  color: #ead79f !important;
  font: 400 11px var(--serif) !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
  border: 1px solid #d9bd76 !important;
  background: #d9bd7614 !important;
  padding: 6px 14px !important;
  margin-top: 0 !important;
  margin-bottom: 17.5px !important;
  text-align: center !important;
}

/* Mobile : la légende reste empilée, MAIS « Ksar Ezzit → Destination » et le
   rectangle doré « Temperaturbewusst » sont alignés HORIZONTALEMENT sur la
   même ligne. Le bloc de gauche passe en display:contents pour que ses trois
   lignes (small, b, span) deviennent des items flex directs : small et b
   prennent chacun une ligne complète (flex-basis 100 %), et le span partage
   la dernière ligne avec le badge (span à gauche, badge à droite). */
@media (max-width: 560px) {
  .logistics-section .logistics-visual figcaption {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 5px 6px !important;
    transform: translateY(14px) !important;
  }

  .logistics-section .logistics-visual figcaption .logistics-caption-main {
    display: contents !important;
  }

  /* « ANISO · Quality Logistics » et « Sorgfalt, die mitreist. » :
     une ligne complète chacun. */
  .logistics-section .logistics-visual figcaption .logistics-caption-main small,
  .logistics-section .logistics-visual figcaption .logistics-caption-main b {
    flex: 0 0 100% !important;
  }

  /* « Ksar Ezzit → Destination » : sur la dernière ligne, à gauche. */
  .logistics-section .logistics-visual figcaption .logistics-caption-main span {
    flex: 0 1 auto !important;
    font-size: 8px !important;
    white-space: nowrap !important;
  }

  /* « Temperaturbewusst » : sur la même ligne, à droite (format compact
     pour tenir à côté du texte même sur les petits écrans), légèrement
     translaté vers le bas pour l'aligner optiquement sur la baseline. */
  .logistics-section .logistics-visual figcaption .logistics-temp-note {
    padding: 2px 6px !important;
    font-size: 8px !important;
    letter-spacing: 0.02em !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    transform: translateY(3px) !important;
  }
}

/* Suppression du zoom au survol : la .v2 agrandit l'image
   (transform:scale(1.025)) avec une transition lente de 1.1s. On neutralise
   les deux pour que l'image reste fixe au survol. */
.logistics-section .logistics-visual img {
  transition: none !important;
}

.logistics-section .logistics-visual:hover img {
  transform: none !important;
}

/* ══════════════════════════════════════ */
/* ── Produit : sélecteur de contenance ── */
/* ── directement sous la bouteille (mobile) ── */
/* ══════════════════════════════════════ */

/* En mono-colonne (≤1120px), .product-copy est une colonne flex : le
   sélecteur .product-formats est poussé tout en bas, loin de la bouteille.
   On le remonte en tête de colonne (order:-1) pour qu'il soit directement
   sous l'image de la bouteille. */
@media (max-width: 1120px) {
  .product-signature .product-copy .product-formats {
    order: -1 !important;
  }
}

/* ══════════════════════════════════════ */
/* ── Barre de musique : version complète ── */
/* ══════════════════════════════════════ */

/* Restaure le lecteur complet (bloc "title + play/pause only" de la .v2). */
.story-audio-player {
  z-index: 98 !important;
  grid-template-columns: 54px minmax(0, 1fr) 122px !important;
  grid-template-rows: auto auto !important;
  width: min(388px, 100vw - 44px) !important;
  min-height: 70px !important;
  align-items: stretch !important;
  /* La .v2 arrondit le cadre (border-radius:3px) ; on reprend le contour
     rectangulaire d'origine. */
  border-radius: 0 !important;
}

.story-audio-volume,
.story-audio-seek {
  display: grid !important;
}

/* Ligne de progression en bas */
.story-audio-player > progress {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 2px !important;
  z-index: 2 !important;
  border: 0 !important;
}

/* Curseur de position : fraction 0..1 (même convention que le design) */
.story-audio-seek {
  grid-area: 2/1/auto/-1 !important;
  display: grid !important;
}

/* ══════════════════════════════════════ */
/* ── Heritage : bouton gold après le slider ── */
/* ══════════════════════════════════════ */

.heritage-intro > .duo-cta {
  grid-column: 1 / -1 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* ══════════════════════════════════════ */
/* ── Heritage : bouton « Depuis 1914 · … — Ouvrir l'histoire » ── */
/* ── doré permanent + survol plus intense                    ── */
/* ══════════════════════════════════════ */

/* État permanent : le fond doré reste visible pour que le bouton
   se distingue toujours du reste. Au survol, le doré devient plus
   soutenu avec une ombre plus marquée et la flèche avance. */
.heritage-facts .heritage-fact-link {
  background: linear-gradient(135deg, #b48c38, #e2ca87 58%, #b18a38) !important;
  box-shadow: 0 14px 30px #392d1326, inset 0 1px #fff6 !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.heritage-facts .heritage-fact-link:hover,
.heritage-facts .heritage-fact-link:focus-visible {
  transform: scale(1.03) !important;
}

.heritage-facts .heritage-fact-link:hover,
.heritage-facts .heritage-fact-link:focus-visible {
  background: linear-gradient(135deg, #9a7528, #d4b96e 50%, #a07a24) !important;
  box-shadow: 0 18px 40px #392d1340, inset 0 1px #fff8 !important;
}

.heritage-facts .heritage-fact-link:before {
  border-color: #fff8d79e !important;
}

.heritage-facts .heritage-fact-link:hover:before,
.heritage-facts .heritage-fact-link:focus-visible:before {
  border-color: #fffbe8c0 !important;
}

.heritage-facts .heritage-fact-link b {
  color: #10291a !important;
}

.heritage-facts .heritage-fact-link span {
  color: #32472f !important;
}

.heritage-facts .heritage-fact-link i {
  color: #10291a !important;
  transition: transform 0.35s !important;
}

.heritage-facts .heritage-fact-link:hover i,
.heritage-facts .heritage-fact-link:focus-visible i {
  transform: translate(2px, -50%) !important;
}

/* ══════════════════════════════════════ */
/* ── Booking : fond du bandeau assorti à la section Héritage ── */
/* ══════════════════════════════════════ */

/* Le bandeau qui porte la carte de réservation (.booking-stage) utilisait un
   fond crème « papier » (#fbf9f3). On reprend le fond de la section suivante
   (.heritage-intro) pour harmoniser les deux blocs — la carte elle-même
   redevient verte (règle dédiée ci-dessous).

   IMPORTANT : le dégradé est passé en HORIZONTAL (90°) au lieu de 112°.
   Le bandeau .booking-stage est beaucoup moins haut que .heritage-intro ;
   avec un dégradé diagonal, la portion de ligne de dégradé visible dans le
   bandeau court reste proche du départ → le côté droit s'affiche blanc,
   alors que la section Héritage (haute) atteint déjà son extrémité grise.
   Un dégradé horizontal rend la couleur de chaque bord indépendante de la
   hauteur de l'élément.

   Couleur de fin : #e2dece, mesurée sur le bord supérieur droit RÉEL de la
   section Héritage (.heritage-intro) une fois son animation de révélation
   terminée. Les deux sections étant collées (gap = 0 à l'état stable), ce
   sont exactement les mêmes couleurs de part et d'autre de la jonction :
   plus aucun « seam » visible à droite de la carte de réservation (l'ancien
   #ddd8c8 était trop sombre et formait une bande verticale ~95% de largeur). */
.booking-stage {
  background: radial-gradient(circle at 84% 23%, #d2b56f29, #0000 31%),
    linear-gradient(90deg, #fbf8f0 0%, #e2dece 100%) !important;
}

/* ≤820px : la .v2 passe .heritage-intro en dégradé vertical
   linear-gradient(#fbf8f0, #eee8dc). On aligne le bandeau du booking sur ce
   même dégradé vertical pour une continuité parfaite entre les deux blocs. */
@media (max-width: 820px) {
  .booking-stage {
    background: linear-gradient(#fbf8f0, #eee8dc) !important;
  }
}

/* ══════════════════════════════════════ */
/* ── Booking : carte verte (comme le projet de référence) ── */
/* ══════════════════════════════════════ */

/* La carte de réservation reprend le fond vert foncé du site d'origine :
   dégradé vert profond avec un léger reflet doré, texte crème/or pour rester
   lisible. Les onglets 01/02 (déjà verts) se fondent dans la carte. */
.booking {
  isolation: isolate !important;
  color: #f6edd8 !important;
  background: radial-gradient(circle at 18% 0, #c6a34d1f, #0000 27%),
    linear-gradient(135deg, #081b11, #102c1b 55%, #07170e) !important;
  border: 1px solid #dcbe7063 !important;
  /* Ombre noire externe retirée (0 34px 90px …) ; on garde seulement le
     liseré interne subtil pour que la bordure reste nette. */
  box-shadow: inset 0 0 0 1px #ffffff06 !important;
}

/* Mode « 02 · Précommander » : le site d'origine donne à la carte un
   dégradé légèrement différent (or en haut à droite, 145°, verts plus
   sombres) pour distinguer le configurateur de précommande. La largeur est
   gérée par la .v2 (mêmes breakpoints que la carte séjour :
   min(1240px,92vw) → calc(100vw-32px) à 821-1040 → calc(100%-24px) à ≤820),
   donc on n'impose aucune largeur ici — imposer une largeur fixe avec
   !important écrase ces breakpoints et la carte « bouge » par rapport à la
   carte séjour (c'était le bug : à 1024px la carte restait à 942px au lieu
   des 992px du site d'origine).

   Correction du débordement : la .v2 passe la carte précommande en
   overflow:visible (alors que la carte séjour est en overflow:hidden). Le
   commutateur d'onglets (.booking-mode-switch) utilise une marge négative
   horizontale (-21px) pour être « à fond perdu ». En overflow:visible, ces
   21px dépassent de la carte et provoquent un débordement horizontal de la
   page (scrollbar) dès que la marge extérieure de la carte est inférieure à
   21px (≤1040px). On rétablit overflow:hidden pour que la carte précommande
   reste strictement contenue dans son conteneur, exactement comme la carte
   séjour : même largeur, même alignement, aucun reflow au changement
   d'onglet. */
.booking.booking-preorder {
  background: radial-gradient(circle at 82% -8%, #e2c16c29, #0000 31%),
    linear-gradient(145deg, #06150d, #0d2a19 58%, #06140c) !important;
  overflow: hidden !important;
}

/* Liseré doré en haut de la carte + reflet diagonal discret */
.booking:before {
  background: linear-gradient(90deg, #0000, #96732f 12%, #f2d88c 50%, #96732f 88%, #0000) !important;
  height: 2px !important;
}

.booking:after {
  content: "" !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: linear-gradient(110deg, #0000 35%, #ffffff06 50%, #0000 65%) !important;
  position: absolute !important;
  inset: 0 !important;
}

/* Titre « Votre séjour à Ksar Ezzit » + méta : clair sur le vert */
.book-title {
  border-bottom: 1px solid #dec27c2e !important;
}

/* Icône calendrier ◇ du titre (classe générique : on la scope à la carte
   pour ne jamais affecter un autre élément du site qui porterait ce nom). */
.booking .calendar {
  color: #e2c575 !important;
  border: 1px solid #e2c67f61 !important;
  border-radius: 50% !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  font-size: 16px !important;
  display: grid !important;
}

.book-title b {
  color: #fff3d4 !important;
}

.book-title small {
  color: #9eada1 !important;
}

.book-title aside {
  color: #9dac9f !important;
  /* « ✓ Direkt beim Estate » a été supprimé : le badge restant
     (● Live-Verfügbarkeit) est poussé à droite pour reprendre sa place. */
  justify-content: flex-end;
}

.book-title aside span:first-child {
  color: #d8bd75 !important;
}

/* Formulaire : champs translucides sur le vert, libellés or */
.booking form {
  background: #ffffff05 !important;
  border-color: #dec27c2e !important;
  box-shadow: none !important;
}

.booking label {
  background: #ffffff06 !important;
  border-right-color: #dec27c2e !important;
}

.booking label:hover,
.booking label:focus-within {
  background: #dabe7713 !important;
  box-shadow: inset 0 -1px #d2b66d !important;
}

.booking label > small {
  color: #bda76f !important;
}

.booking label > span {
  color: #e0c67b !important;
}

.booking input,
.booking select {
  color: #f7f0de !important;
  color-scheme: dark !important;
}

.booking input::placeholder {
  color: #96a399 !important;
}

.booking option {
  color: #15271a !important;
  background: #f7f2e7 !important;
}

.booking input::-webkit-calendar-picker-indicator {
  filter: invert() sepia(0.55) saturate(0.75) !important;
  opacity: 0.8 !important;
}

/* Bouton « Vérifier la disponibilité » : or sur vert */
.booking form > button {
  isolation: isolate !important;
  color: #102719 !important;
  background: linear-gradient(135deg, #b89343, #ecd895 52%, #b78f3c) !important;
  box-shadow: inset 0 0 0 1px #ffffff52, 0 8px 24px #0003 !important;
}

/* Avertissement en temps réel quand la date de départ est antérieure
   ou égale à la date d'arrivée. On surligne les deux champs et on
   affiche un message discret sous le formulaire (avant le bouton). */
.booking label.date-invalid {
  background: #4a1f1c2e !important;
  border-right-color: #c45c5026 !important;
}
.booking label.date-invalid:hover,
.booking label.date-invalid:focus-within {
  background: #c45c5024 !important;
  box-shadow: inset 0 -1px #c45c50 !important;
}
/* Champ Départ verrouillé tant que l'arrivée n'est pas choisie :
   le calendrier natif ne peut pas s'ouvrir (readOnly) et le curseur
   indique visuellement que la sélection est bloquée. */
.booking label.departure-locked {
  cursor: not-allowed;
}
.booking label.departure-locked input {
  cursor: not-allowed;
  opacity: .65;
}

/* Le widget de réservation n'affiche plus le sélecteur du nombre de voyageurs.
   On rééquilibre la grille (3 colonnes : Anreise · Abreise · Unterkunft). */
.booking form {
  grid-template-columns: 1fr 1fr 1.5fr !important;
  position: relative;
}
.booking form > button {
  grid-column: 1 / -1 !important;
}
@media (width<=1040px) and (width>=821px) {
  .booking form { grid-template-columns: 1fr 1fr 1.3fr !important; }
}
@media (max-width: 820px) {
  .booking form { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  .booking form { grid-template-columns: 1fr !important; }
}

/* Le message d'erreur est positionné en ABSOLU (hors flux) : il flotte sous
   le formulaire SANS déplacer le champ « Unterkunft » ni le bouton
   « Verfügbarkeit prüfen » — tous les composants restent alignés comme à
   l'origine (une seule ligne : Anreise · Abreise · Unterkunft, puis le bouton). */
.booking .book-date-hint {
  position: absolute;
  z-index: 5;
  left: 6px;
  right: 6px;
  top: calc(100% + 10px);
  margin: 0;
  padding: 10px 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: #ffd9d3;
  background: #7e2d25;
  border: 1px solid #c45c50;
  border-radius: 3px;
  letter-spacing: .005em;
  box-shadow: 0 14px 32px rgba(0,0,0,.42), inset 0 1px 0 #ffffff14;
  animation: booking-hint-in .18s ease-out;
  pointer-events: none;
  max-width: calc(100% - 12px);
}
@keyframes booking-hint-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ══════════════════════════════════════ */
/* ── Heritage : hommage final en pleine largeur ── */
/* ══════════════════════════════════════ */

/* Le corps de l'histoire (.hassouna-story-body) est mis en colonnes
   (columns:3 290px) : chaque paragraphe est confiné dans une colonne étroite
   (~330px), ce qui produit des retours à la ligne très fréquents — quelques
   mots par ligne. Le dernier paragraphe (l'hommage « Son œuvre et son amour
   de la terre… ») traverse désormais toutes les colonnes et occupe toute la
   largeur disponible du récit. Il faut aussi annuler le max-width:540px
   hérité de la règle globale .intro p, qui le rebride après le column-span. */
.hassouna-story-body p:last-child {
  column-span: all !important;
  max-width: none !important;
}

/* La citation mémoriale (blockquote « … Qu'il repose en paix. ») est limitée
   à width:260px par la règle globale .intro blockquote (qui positionne aussi
   le bloc en absolu pour l'image d'intro). Le footer desktop est en grille
   `minmax(0,1fr) auto` : le blockquote est la 1re colonne (1fr) et doit donc
   occuper toute la largeur restante à côté du bouton. On annule la largeur
   fixe et le positionnement absolu hérités pour lui rendre toute la place,
   bornée à une largeur de lecture confortable. */
.hassouna-story footer .memorial-note {
  width: auto !important;
  min-width: 0 !important;
  position: static !important;
  bottom: auto !important;
  right: auto !important;
  box-shadow: none !important;
  max-width: min(850px, 100%) !important;
}

/* ══════════════════════════════════════ */
/* ── Hero : musique & localisation, mêmes dimensions ── */
/* ══════════════════════════════════════ */

/* Sur desktop (barres côte à côte en bas du hero), le lecteur audio
   (gauche) prend exactement la même taille que la barre de coordonnées
   (droite) : 270 px de large, même hauteur. On laisse le mobile (barres
   empilées, pleine largeur) inchangé. */
@media (min-width: 821px) {
  .story-audio-player,
  .hero-coordinates {
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
    height: 84px !important;
    min-height: 84px !important;
    max-height: 84px !important;
    box-sizing: border-box !important;
  }

  /* Lecteur complet tenu dans 270×84 : colonnes resserrées,
     rangée seek en bas (grille 2 lignes), progression en absolu. */
  .story-audio-player {
    grid-template-columns: 46px minmax(0, 1fr) 74px !important;
    grid-template-rows: minmax(0, 1fr) 24px !important;
    gap: 0 !important;
  }

  .story-audio-main {
    grid-area: 1/1 !important;
    width: 46px !important;
    min-height: 0 !important;
  }

  .story-audio-meta {
    grid-area: 1/2 !important;
    align-self: center !important;
    padding: 8px 9px 6px 11px !important;
  }

  .story-audio-meta b {
    font-size: 13px !important;
  }

  /* « Original Estate Audio » : toujours sur une seule ligne */
  .story-audio-meta small {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 6px !important;
    letter-spacing: 0.1em !important;
  }

  .story-audio-meta small i {
    width: 8px !important;
    margin-right: 5px !important;
  }

  .story-audio-volume {
    grid-area: 1/3 !important;
    grid-template-columns: 26px 1fr !important;
    gap: 5px !important;
    padding: 0 7px !important;
  }

  .story-audio-volume > button {
    width: 26px !important;
    height: 26px !important;
  }

  .story-audio-seek {
    grid-area: 2/1/auto/-1 !important;
    padding: 0 7px !important;
  }
}

/* ══════════════════════════════════════ */
/* ── Mobile : hero (stats + barres sans chevauchement) ── */
/* ══════════════════════════════════════ */

/* Spécificité `.hero .hero-facts` requise : la .v2 force bottom:78px!important
   avec ce sélecteur, qui écrase sinon toutes les autres valeurs. */
@media (max-width: 820px) {
  /* Hero : colonne flex. Le contenu central (flex:1) prend tout l'espace
     libre et les trois barres (stats / coordonnées / lecteur audio) s'empilent
     en FLUX NORMAL en bas du hero — plus aucun « bottom: » absolu. Un
     chevauchement devient physiquement impossible, quel que soit le `dvh`
     (barre d'URL iOS ouverte au chargement → hero plus court) ou la hauteur
     réelle des barres (rendu des polices iOS, textes plus longs). */
  .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: calc(100dvh - 115px) !important;
    min-height: 640px !important;
    max-height: none !important;
  }
  @supports not (height: 1dvh) {
    .hero {
      height: calc(100vh - 115px) !important;
      min-height: 640px !important;
    }
  }

  /* Contenu central : remplit exactement l'espace au-dessus des barres
     (flex-basis:0 → la boîte grandit jusqu'aux barres) et centre son contenu.
     `position:static` est indispensable (une règle .v2 rend le bloc `absolute`)
     ET `transform:none`/`left:auto` : la .v2 positionne aussi le bloc avec
     `left:50%; transform:translate(-50%)` — avec position:static, `left` est
     ignoré mais le `transform` resterait actif et pousserait tout le contenu
     (logo, slogan, titre) de 50% de sa largeur vers la gauche, hors écran. */
  .hero .hero-center {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 12px !important;
    order: 0 !important;
  }

  /* Statistiques : flux normal, pleine largeur */
  .hero .hero-facts {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    bottom: auto !important;
    width: calc(100% - 28px) !important;
    order: 1 !important;
  }

  .hero .hero-facts .hero-numbers {
    position: static !important;
    width: 100% !important;
    justify-content: space-between !important;
  }

  .hero .hero-facts .hero-numbers > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    padding-inline: 6px !important;
  }

  .hero .hero-facts .hero-numbers b {
    font-size: clamp(17px, 5.5vw, 24px) !important;
  }

  .hero .hero-facts .hero-numbers span {
    font-size: 6px !important;
    letter-spacing: 0.08em !important;
  }

  /* Barre de localisation : flux normal, alignée à droite */
  .hero-coordinates {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    align-self: flex-end !important;
    margin: 10px 14px 0 0 !important;
    order: 2 !important;
  }

  /* Lecteur audio : flux normal, pleine largeur sous la barre de coords.
     `margin-bottom: 66px` garde le lecteur au-dessus de la barre CTA fixe
     « ANISO Kraft Olive » ET soulève toute la pile (compteurs + localisation
     + lecteur) un peu vers le haut, comme demandé.
     `transform:none` requis : une règle .v2 (≤820px) applique
     `transform:translate(-50%); left:50%` sur le lecteur — avec position
     static, `left` est ignoré mais le transform décalerait le lecteur de
     50% vers la gauche (hors écran). */
  .story-audio-player {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: calc(100% - 24px) !important;
    min-height: 44px !important;
    align-self: center !important;
    /* `margin-bottom: 66px` : soulève toute la pile (compteurs + localisation
       + lecteur) au-dessus de la barre CTA fixe « ANISO Kraft Olive » —
       demandé : translater les barres et les compteurs un peu vers le haut. */
    margin: 6px 0 66px !important;
    order: 3 !important;
  }

  /* Barre plus compacte : la .v2 force min-height:69px sur le bouton
     lecture, ce qui pousse le lecteur vers ~90px de haut. On resserre la
     rangée contrôle/méta et la rangée seek pour une hauteur réduite. */
  .story-audio-main {
    min-height: 30px !important;
    width: 42px !important;
  }

  .story-audio-meta {
    padding-block: 3px !important;
  }

  .story-audio-seek {
    padding-block: 2px !important;
  }

  /* Boutons de contrôle plus petits sur mobile : volume (gauche du panneau
     de droite) et boutons ±15s de la rangée seek. */
  .story-audio-volume > button {
    width: 22px !important;
    height: 22px !important;
    font-size: 8px !important;
  }

  .story-audio-seek > button {
    width: 22px !important;
    height: 20px !important;
    font-size: 8px !important;
  }

  .story-audio-seek > button small {
    font-size: 5px !important;
  }

  /* iOS Safari : les inputs range conservent parfois l'apparence native
     (piste plus haute, pouce ~28px) même avec `appearance:none` standard →
     la barre de musique est plus GRANDE sur iPhone que sur Android. On force
     -webkit-appearance:none et une hauteur de piste fixe pour un rendu
     strictement identique, et on réduit le pouce. */
  .story-audio-seek > input[type="range"],
  .story-audio-volume input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
  }

  .story-audio-player input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 8px !important;
    height: 8px !important;
  }

  .story-audio-player input[type="range"]::-moz-range-thumb {
    width: 8px !important;
    height: 8px !important;
  }

  /* Titre « Aniso & Ksar Ezzit » : la .v2 force 20px!important sur mobile,
     le texte déborde alors de la colonne du milieu (elle est coincée entre le
     bouton lecture et le volume) et se retrouve tronqué/recouvert. On réduit
     la taille et on autorise le retour à la ligne pour qu'il soit toujours
     entièrement lisible. */
  .story-audio-meta b {
    font-size: 10px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .story-audio-meta small {
    font-size: 6px !important;
  }

  /* Le bundle .v2 force la ligne « Tippen, um die Geschichte zu hören »
     (.story-audio-meta > span) en display:block!important sur ≤820px, ce qui
     ajoute ~15px de hauteur à la colonne centrale → le lecteur est plus haut
     qu'Android/iPad. On la masque : le lecteur reste compact et identique
     partout. */
  .story-audio-meta > span {
    display: none !important;
  }
}

/* ══════════════════════════════════════ */
/* ── Heritage : 2 blocs d'info SOUS la photo (desktop) ── */
/* ══════════════════════════════════════ */

/* Comme sur le site de référence, la zone basse de la photo du slider est
   occupée par DEUX rectangles d'information : la citation (bloc crème à
   liseré or) puis la barre d'onglets 01/02/03. La .v2 positionne ces blocs
   en absolu (quote bottom:108px par-dessus la photo, onglets bottom:0) et
   l'ancienne correction ajoutait un padding-bottom:350px qui laissait une
   grande bande vide sous l'image. On remet les deux blocs en flux normal,
   groupés juste sous la photo : photo → citation → onglets. */
@media (min-width: 821px) {
  .heritage-story-slider {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    align-self: start !important;
    width: min(100%, 540px) !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .heritage-slide-media {
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .heritage-origin-quote {
    order: 2 !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 22px 24px 20px !important;
    min-height: 160px !important;
  }
  .heritage-origin-quote small {
    display: block !important;
  }

  .heritage-slide-controls {
    order: 3 !important;
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
}

/* ══════════════════════════════════════ */
/* ══════════════════════════════════════ */
/* ── Header « scrolled » : rétablir le verre dépoli ── */
/* ══════════════════════════════════════ */

/* Le CSS compilé ne déclare que `-webkit-backdrop-filter` sur
   `.header.scrolled` (fond à 76 % d'opacité). Chrome / Edge / Firefox ne
   reconnaissent pas ce préfixe : la barre n'avait donc aucun flou et le
   contenu qui défile dessous restait parfaitement net derrière elle —
   très visible sur les sections sombres (ex. #estate), où cela se lit
   comme des éléments superposés. On rétablit le flou prévu au design. */
.header.scrolled {
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}

/* ── Mobile : marque à gauche, traduction puis menu à droite ── */
/* ══════════════════════════════════════ */

/* La marque occupe le coin gauche ; le sélecteur de langue et le menu restent
   groupés dans les deux cellules de droite. */
@media (max-width: 820px) {
  html:not([dir="rtl"]) .header {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 10px !important;
  }

  html:not([dir="rtl"]) .header > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin-inline: 0 !important;
    transform: translateX(10px) !important;
  }

  html:not([dir="rtl"]) .header .brand-copy {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    border-left: 0 !important;
    padding: 0 !important;
    margin-top: 4px !important;
  }

  html:not([dir="rtl"]) .header .brand-copy > b {
    font-size: 25px !important;
    letter-spacing: 0.15em !important;
  }

  html:not([dir="rtl"]) .header .brand-copy > small {
    justify-content: flex-start !important;
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
  }

  html:not([dir="rtl"]) .header .brand-copy > small i {
    width: 12px !important;
  }

  html:not([dir="rtl"]) .header > .head-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  html:not([dir="rtl"]) .header > .head-actions .lang-switch {
    width: 56px !important;
    min-width: 56px !important;
    height: 35px !important;
    padding: 3px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  html:not([dir="rtl"]) .header > .head-actions .lang-switch summary {
    width: 48px !important;
    min-width: 48px !important;
    height: 27px !important;
    justify-content: space-between !important;
    gap: 0 !important;
    padding: 0 7px 0 9px !important;
    box-sizing: border-box !important;
  }

  html:not([dir="rtl"]) .header > .head-actions .lang-switch summary i {
    margin-left: auto !important;
  }

  html:not([dir="rtl"]) .header > .hamb {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 42px !important;
    box-sizing: border-box !important;
    justify-content: flex-end !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(76, 92, 71, 0.3) !important;
  }
}

@media (max-width: 560px) {
  html:not([dir="rtl"]) .header .brand-copy > b {
    font-size: 22px !important;
  }

  html:not([dir="rtl"]) .header .brand-copy > small {
    font-size: 7.5px !important;
  }
}

/* Mobile RTL : MÊMES positions que les autres langues (marque à gauche,
   langue puis menu à droite). Seul le TEXTE est arabe ; la mise en page
   reste identique au LTR (verrou direction:ltr), l'interlettrage reste à 0
   pour préserver les liaisons arabes (la règle 10a le garantit déjà). */
@media (max-width: 820px) {
  html[dir="rtl"] .header {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 10px !important;
  }

  html[dir="rtl"] .header > .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    margin-inline: 0 !important;
    transform: translateX(10px) !important;
  }

  html[dir="rtl"] .header .brand-copy {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    border-left: 0 !important;
    padding: 0 !important;
    margin-top: 4px !important;
  }

  html[dir="rtl"] .header .brand-copy > b {
    font-size: 25px !important;
  }

  html[dir="rtl"] .header .brand-copy > small {
    justify-content: flex-start !important;
    font-size: 10px !important;
  }

  html[dir="rtl"] .header .brand-copy > small i {
    width: 12px !important;
  }

  html[dir="rtl"] .header > .head-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  html[dir="rtl"] .header > .head-actions .lang-switch {
    width: 56px !important;
    min-width: 56px !important;
    height: 35px !important;
    padding: 3px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  html[dir="rtl"] .header > .head-actions .lang-switch summary {
    width: 48px !important;
    min-width: 48px !important;
    height: 27px !important;
    justify-content: space-between !important;
    gap: 0 !important;
    padding: 0 7px 0 9px !important;
    box-sizing: border-box !important;
  }

  html[dir="rtl"] .header > .head-actions .lang-switch summary i {
    margin-left: auto !important;
  }

  html[dir="rtl"] .header > .hamb {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 42px !important;
    box-sizing: border-box !important;
    justify-content: flex-end !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(76, 92, 71, 0.3) !important;
  }
}

@media (max-width: 560px) {
  html[dir="rtl"] .header .brand-copy > b {
    font-size: 22px !important;
  }

  html[dir="rtl"] .header .brand-copy > small {
    font-size: 7.5px !important;
  }

  html[dir="rtl"] .drawer-x {
    left: auto !important;
    right: 16px !important;
  }
}

@media (min-width: 560.02px) and (max-width: 820px) {
  html[dir="rtl"] .drawer-x {
    left: auto !important;
    right: 16px !important;
  }
}

/* Même logique anti-chevauchement qu'en mobile : le contenu central remplit
   l'espace au-dessus des stats (flex), donc le grand crest ne peut plus
   chevaucher la barre de statistiques aux hauteurs laptop (le cas se
   produisait à 1280-1366 px : chevauchement de 11-17 px). Les barres
   musique/localisation restent en absolu dans les coins bas. */
@media (min-width: 821px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .hero .hero-center {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex: 1 1 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding-bottom: 12px !important;
  }

  /* Stats : flux normal en bas du hero, chiffres centrés.
     `margin-bottom` aligné sur le `bottom` des barres (36px) : compteurs et
     barres reposent sur la même ligne, bien alignés. */
  .hero .hero-facts {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-bottom: 70px !important;
  }

  /* Barres audio/localisation : ANCRÉES AU CONTENEUR DU CONFIGURATEUR.
     La carte (.booking) est centrée dans .booking-stage avec :
       · 821–1040px  → largeur calc(100vw - 32px)  → bord gauche/droit à 16px ;
       · >1040px     → largeur min(1240px, 92vw)   → bord à max(4vw, 50vw-620px).
     On aligne donc le bord gauche du lecteur audio et le bord droit du bloc
     coordonnées sur les bords EXACTS de la carte (même formule de centrage
     que la carte elle-même), et on neutralise le transform hérité
     (translateX(-50%)) : plus aucune dérive horizontale selon la taille
     d'écran. Les DEUX barres partagent le même `bottom` → même niveau. */
  .story-audio-player {
    position: absolute !important;
    top: auto !important;
    bottom: 70px !important;
    left: 16px !important;
    right: auto !important;
    transform: none !important;
  }

  .hero-coordinates {
    position: absolute !important;
    left: auto !important;
    right: 16px !important;
    bottom: 70px !important;
    transform: none !important;
  }
}

/* >1040px : la carte passe à width:min(1240px, 92vw) ; les deux barres suivent
   le même bord (max(4vw, 50vw - 620px)) pour rester collées à ses coins. */
@media (min-width: 1041px) {
  .story-audio-player {
    left: max(4vw, 50vw - 620px) !important;
    right: auto !important;
    bottom: 70px !important;
    transform: none !important;
  }

  .hero-coordinates {
    left: auto !important;
    right: max(4vw, 50vw - 620px) !important;
    bottom: 70px !important;
    transform: none !important;
  }
}

/* ── Mobile : bandeau cookies compact ──
   Le bandeau (.v2) s'étire en colonne (~192px de haut) et recouvre les barres
   du hero au premier chargement sur mobile. On le resserre : description
   masquée, paddings et boutons réduits → un bandeau bas, nettement moins
   intrusif, qui ne masque plus tout le bas du hero. */
@media (max-width: 560px) {
  .cookie {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .cookie > div:first-child {
    gap: 9px !important;
  }

  .cookie > div:first-child > span {
    font-size: 20px !important;
  }

  .cookie p small {
    display: none !important;
  }

  .cookie p b {
    font-size: 11px !important;
  }

  .cookie > div:last-child {
    gap: 6px !important;
  }

  .cookie button {
    min-height: 32px !important;
    padding: 0 9px !important;
    font-size: 6.5px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }
}

/* ── Très petits écrans (≤ 560px) ──
   Rien à corriger ici : le hero en colonne flex (ci-dessus) centre déjà le
   contenu dans l'espace libre au-dessus des barres empilées en flux normal.
   L'ancien `margin-top: -150px` a été supprimé — il remontait le contenu
   pour compenser le positionnement absolu des barres, désormais inutile. */

/* ══════════════════════════════════════ */
/* ── Mobile : légende Logistique sous la photo ── */
/* ══════════════════════════════════════ */

/* La .v2 (≤560px) positionne la légende en absolu (bottom:26px) dans un
   large padding de 92px sous la photo : le label + texte flottent alors
   « sous l'image » dans un vide détaché. On passe la légende en flux normal,
   proprement au-dessous de la photo, dans le cadre. */
@media (max-width: 560px) {
  .logistics-section .logistics-visual {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 28px 28px 22px !important;
  }

  .logistics-section .logistics-visual:after {
    inset: 28px 28px 22px !important;
  }

  .logistics-section .logistics-visual figcaption {
    position: static !important;
    margin-top: 18px !important;
    padding-left: 10px !important;
  }
}



/* ================================================== */
/* ── Drawer : vidéo à gauche, nav à droite ── */
/* ================================================== */

.drawer {
  width: min(860px, 96vw) !important;
}

/* Grille : visuel+video colonne 1 (gauche), nav colonne 2 (droite) */
.drawer-shell {
  grid-template-columns: minmax(320px, 1.3fr) minmax(320px, 1fr) !important;
  grid-template-rows: 1fr !important;
}

.drawer-visual-rail,
.drawer-video-rail {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: relative !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.drawer-video-rail video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 2 !important;
}

.drawer-navigation-panel {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: 22px 26px max(26px, env(safe-area-inset-bottom)) !important;
}

/* Liens menu */
.drawer-navigation-panel .drawer-menu-group a,
.drawer-navigation-panel .drawer-menu-group a:nth-child(n) {
  font-size: 13px !important;
  min-height: 34px !important;
  padding: 6px 20px 6px 0 !important;
}

.drawer-menu-group a {
  font-size: 13px !important;
}

/* Titres de groupe */
.drawer-navigation-panel .drawer-menu-group > small {
  font-size: 6.5px !important;
  padding-bottom: 5px !important;
  letter-spacing: 0.24em !important;
}

/* Contact */
.drawer-navigation-panel .drawer-contact {
  font-size: 13px !important;
  min-height: 40px !important;
  padding: 10px 14px !important;
  margin-top: 14px !important;
}

/* Brand */
.drawer-navigation-panel .brand-copy > b {
  font-size: 20px !important;
}

/* Booking */
.drawer-book {
  font-size: 10px !important;
  padding: 8px 14px !important;
  min-height: 38px !important;
}

/* Bouton fermeture du menu.
   NB : il est rendu HORS du <div class="drawer"> (animé en transform). Un
   ancêtre transformé devient le bloc conteneur des descendants position:fixed
   → sur iOS Safari le bouton restait piégé dans le drawer décalé et se
   retrouvait hors écran. Sorti du drawer, il reste ancré au viewport.
   La croix est transparente (sans fond blanc) et posée dans le coin
   supérieur droit du menu, sur la même ligne que la marque « KSAR EZZIT /
   ORGANIC ESTATE » (qui reste dans le coin gauche), avec une marge de
   sécurité pour la barre d'état des iPhone. */
.drawer-x {
  position: fixed !important;
  left: auto;
  right: auto;
  /* Position verticale : remonté (14px → 8px) pour la version mobile ;
     le desktop (>820px) redéfinit top à max(40px, …) plus bas. */
  top: max(8px, env(safe-area-inset-top)) !important;
  z-index: 165 !important;
  display: block !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #e5c97d !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 32px !important;
  font-weight: 300 !important;
  line-height: 44px !important;
  text-align: center !important;
  box-shadow: none !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45) !important;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

/* La croix est alignée sur le bord droit du drawer (44px + marge 16px),
   au même niveau vertical que la marque « KSAR EZZIT / ORGANIC ESTATE »
   qui reste dans le coin gauche. */
@media (max-width: 560px) {
  .drawer-x {
    left: calc(100vw - 60px) !important;
  }
}

@media (min-width: 560.02px) and (max-width: 820px) {
  .drawer-x {
    left: calc(100vw - 60px) !important;
  }
}

@media (min-width: 820.02px) {
  .drawer-x {
    /* Desktop : le drawer est ancré à gauche (min(860px, 96vw) de large).
       La croix rejoint le coin supérieur droit du menu, à 16px du bord
       droit du drawer. */
    left: calc(min(860px, 96vw) - 60px) !important;
    top: max(40px, env(safe-area-inset-top)) !important;
  }
}

/* Barre de marque « KSAR EZZIT / ORGANIC ESTATE » au-dessus de la vidéo.
   Sur desktop la marque reste dans le panneau de navigation (.drawer-intro) ;
   la barre n'apparaît qu'en mobile/tablette (≤ 820px). */
.drawer-brand-rail {
  display: none !important;
}

@media (max-width: 820px) {
  .drawer-brand-rail {
    display: flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    /* La marque reste dans le coin gauche ; la croix de fermeture est posée
       dans le coin droit de la barre (position fixe, hors drawer). */
    padding: 13px 16px 11px !important;
    background: linear-gradient(180deg, #0b2213, #06170d) !important;
    border-bottom: 1px solid rgba(223, 197, 130, 0.22) !important;
  }

  .drawer-brand-rail .brand-copy {
    text-align: left !important;
    align-items: flex-start !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-left: 0 !important;
  }

  .drawer-brand-rail .brand-copy > b {
    color: #fff1ca !important;
    font-size: 18px !important;
    letter-spacing: 0.15em !important;
    line-height: 1.05 !important;
    text-shadow: none !important;
  }

  .drawer-brand-rail .brand-copy > small {
    color: #c8aa62 !important;
    font-size: 5.5px !important;
    letter-spacing: 0.24em !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-top: 5px !important;
  }

  .drawer-brand-rail .brand-copy > small i {
    width: 12px !important;
  }

  /* La marque a déménagé au-dessus de la vidéo : on ne la répète pas dans le
     panneau de navigation en mobile. */
  .drawer-intro {
    display: none !important;
  }
}

/* ── Tablette (≤ 820px) : marque, vidéo en haut, nav en bas ── */
@media (max-width: 820px) {
  .drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .drawer-shell {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto minmax(330px, 48dvh) minmax(0, 1fr) !important;
    height: 100% !important;
  }

  .drawer-navigation-panel {
    overflow-y: auto !important;
    min-height: 0 !important;
  }

  .drawer-visual-rail,
  .drawer-video-rail {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .drawer-navigation-panel {
    grid-column: 1 !important;
    grid-row: 3 !important;
    padding: 18px 16px max(22px, calc(16px + env(safe-area-inset-bottom))) !important;
  }
}

/* ── Mobile (≤ 560px) : le menu occupe TOUT l'écran ── */
@media (max-width: 560px) {
  .drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .drawer-shell {
    grid-template-rows: auto minmax(286px, 46dvh) minmax(0, 1fr) !important;
    height: 100% !important;
  }

  .drawer-visual-rail,
  .drawer-video-rail {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .drawer-navigation-panel {
    grid-column: 1 !important;
    grid-row: 3 !important;
    padding: 15px 13px max(20px, calc(13px + env(safe-area-inset-bottom))) !important;
  }
}

/* ══════════════════════════════════════ */
/* ── /wissen : hauteur uniforme des images ── */
/* ══════════════════════════════════════ */

/* Le CSS .v2 agrandit certaines vignettes de la grille Knowledge : 250px
   pour le 1er bloc, 300px pour le 6e (mobile ET desktop). On rétablit une
   hauteur uniforme : 320px sur PC (>820px), 250px en mobile/tablette. */
.knowledge-grid > a figure,
.knowledge-grid > a:first-child figure,
.knowledge-grid > a:nth-child(6) figure {
  height: 250px !important;
}

@media (min-width: 820.02px) {
  .knowledge-grid > a figure,
  .knowledge-grid > a:first-child figure,
  .knowledge-grid > a:nth-child(6) figure {
    height: 320px !important;
  }
}

/* Bloc 03 : la bouteille utilise désormais la version alpha (fond transparent),
   on supprime donc le fond beige appliqué par le CSS .v2. */
.knowledge-image-03 img {
  background: transparent !important;
  /* Halo doré autour de la bouteille (suit le contour grâce au canal alpha) */
  filter:
    drop-shadow(0 0 6px rgba(212, 175, 55, 0.55))
    drop-shadow(0 0 18px rgba(212, 175, 55, 0.38))
    drop-shadow(0 0 42px rgba(212, 175, 55, 0.22)) !important;
}

/* ══════════════════════════════════════ */
/* ── /wissen : « ANISO Wissen » sous la navbar fixe mobile ── */
/* ══════════════════════════════════════ */

/* Sur /wissen (mobile), la section Knowledge est la première de la page :
   son padding-haut .v2 (82px) est inférieur à la hauteur de la navbar
   fixe (72–95px) et le titre « ANISO Wissen » passait dessous. */
@media (max-width: 820px) {
  .knowledge-section {
    padding-top: 112px !important;
  }
}

/* Navigation par ancre (menu → #wissen) : la section s'arrête sous la
   navbar au lieu d'atterrir à y=0. */
#wissen {
  scroll-margin-top: 96px;
}

/* ══════════════════════════════════════ */
/* ── Footer : texte blanc agrandi ── */
/* ══════════════════════════════════════ */

/* ─ Nav links ─ */
.footer-main > nav > a {
  font-size: 13px !important;
  margin: 14px 0 !important;
}

/* ─ Nav titles (gold, keep readable) ─ */
.footer-main > nav > b {
  font-size: 17px !important;
  margin-bottom: 20px !important;
}

/* ─ Brand tagline (« ORGANIC ESTATE ») — alignée sur « KRAFT OLIVE » ─ */
.footer-brand .brand-copy > small {
  font-size: 15px !important;
}

/* Les deux tirets décoratifs autour du mot sont retirés */
.footer-brand .brand-copy > small i {
  display: none !important;
}

/* ─ « KRAFT OLIVE » — même taille que « ORGANIC ESTATE » ─ */
.footer-aniso-world > strong {
  font-size: 15px !important;
}

/* ─ Brand description ─ */
.footer-brand > p {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* ─ Location ─ */
.footer-location b {
  font-size: 14px !important;
}

.footer-location small {
  font-size: 10px !important;
}

/* ─ Contact info ─ */
.footer-contact {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

/* ─ ANISO world ─ */
.footer-aniso-world > p {
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.footer-main .footer-aniso-world > a {
  font-size: 11px !important;
}

.footer-aniso-world > div a {
  font-size: 10px !important;
}

/* ─ Architecture strip ─ */
.footer-architecture b {
  font-size: 15px !important;
}

.footer-architecture small {
  font-size: 9px !important;
}

/* ─ Newsletter ─ */
.footer-newsletter > div > p {
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.footer-newsletter form > label:first-child span {
  font-size: 12px !important;
}

.newsletter-consent {
  font-size: 12px !important;
}

.footer-newsletter form > button {
  font-size: 12px !important;
  min-width: 230px !important;
  min-height: 48px !important;
  padding: 12px 28px !important;
}

/* ─ Crown note ─ */
.footer-crown-note {
  font-size: 12px !important;
  line-height: 1.6 !important;
}

/* ── Footer crown logos ── */
.footer-crown-left,
.footer-crown-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-crown-logo-crest {
  height: 120px;
  width: auto;
  opacity: 0.85;
  flex-shrink: 0;
}

.footer-crown-logo-eco {
  height: 120px;
  width: 120px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 1;
  flex-shrink: 0;
  background: radial-gradient(circle, #1a3a24 0%, #0a1b12 100%);
  padding: 8px;
}

.footer-crown-right .footer-crown-note {
  border: none;
  text-align: left;
  padding: 0;
  margin: 0;
}

/* ── Mobile (≤820px) : empilé, centré ──
   Ordre souhaité (4 éléments centrés, l'un sous l'autre) :
   1) logo ANISO (crest) → 2) titre « Die Welt von Ksar Ezzit /
   Bleiben. Erleben. / Herkunft schmecken. » → 3) symbole éco
   (estate-ecosystem-symbol.png) → 4) note « Organic Estate / Ein Ort für
   Natur, Gastfreundschaft und die Kraft der Olive. »
   left et right passent en display:contents : leurs enfants deviennent des
   items directs de la grille du crown, l'ordre est contrôlé via `order`. */
@media (max-width: 820px) {
  .footer-crown {
    grid-template-columns: 1fr !important;
    justify-items: center;
    text-align: center;
    gap: 22px !important;
  }

  /* left et right deviennent transparents (display:contents) : leurs enfants
     deviennent des items directs de la grille du crown, l'ordre est contrôlé
     via `order`. !important nécessaire : le CSS .v2 cible
     `.footer-crown > div:last-child` (right) avec display:grid. */
  .footer-crown-left,
  .footer-crown-right {
    display: contents !important;
  }

  /* 1) Logo ANISO centré */
  .footer-crown-left > img {
    order: 1;
  }

  /* 2) Titre « Die Welt von Ksar Ezzit / Bleiben. Erleben. /
     Herkunft schmecken. » */
  .footer-crown-left > div {
    order: 2;
  }

  /* 3) Symbole Estate Ecosystem */
  .footer-crown-logo-eco {
    order: 3;
  }

  /* 4) Note « Organic Estate / Ein Ort für Natur, Gastfreundschaft und die
     Kraft der Olive. » : ré-affichée et centrée. */
  .footer-crown-right .footer-crown-note {
    order: 4;
    display: block !important;
    text-align: center;
    margin: 0;
  }

  .footer-crown-logo-crest {
    height: 96px;
  }

  .footer-crown-logo-eco {
    height: 96px;
    width: 96px;
  }
}

@media (max-width: 520px) {
  .footer-crown-logo-crest {
    height: 78px;
  }

  .footer-crown-logo-eco {
    height: 78px;
    width: 78px;
  }
}

/* ─ Bottom bar ─ */
.footer-bottom {
  font-size: 10px !important;
}

.footer-bottom nav button {
  font-size: 10px !important;
}

/* Liens légaux : mêmes proportions que les boutons précédents (aucun
   soulignement, taille de police alignée). */
.footer-bottom nav a {
  color: inherit !important;
  text-decoration: none !important;
  font-size: 10px !important;
  background: 0 0 !important;
  border: 0 !important;
  padding: 0 !important;
}

.footer-bottom nav a:hover {
  color: #f4e8c7 !important;
}

/* ══════════════════════════════════════ */
/* ── Séparateur Réserve → Animaux ── */
/* ══════════════════════════════════════ */

/* Les sections Réserve et Animaux partagent le même fond crème. En 1 colonne
   (≤980px), l'image de la Réserve se retrouve empilée juste au-dessus de
   l'image des Animaux et les deux se touchent. On trace une fine ligne dorée
   en haut de la section Animaux pour les distinguer nettement. */
#tiere {
  position: relative !important;
}

#tiere::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, #0000, #c7a95e 22%, #f0dc9e 50%, #c7a95e 78%, #0000);
}

/* ══════════════════════════════════════ */
/* ── Performance : hero en WebP ── */
/* ══════════════════════════════════════ */

.hero {
  background-image: url("/images/hero-estate.webp");
}
/* ══════════════════════════════════════ */
/* ══════════════════════════════════════ */
/* ── Précommande : porte d'accès par code ── */
/* ══════════════════════════════════════ */

/* Page /vorbestellen : fond forêt avec halos dorés, liseré or en haut. */
.preorder-access {
  min-height: 78vh;
  /* La barre de navigation est fixe (topline 31px + header 72px = 103px) :
     le contenu de la page démarre sous elle. On laisse donc une marge haute
     généreuse pour que l'écusson doré ne soit plus masqué par le menu. */
  padding: clamp(150px, 18vh, 200px) 18px 88px;
  position: relative;
  background:
    radial-gradient(58% 42% at 88% -4%, #d7b76517, #0000 60%),
    radial-gradient(46% 34% at -4% 104%, #d7b76510, #0000 55%),
    linear-gradient(160deg, #071d11, #0a2517 55%, #0c2d1b);
}

.preorder-access:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #0000, #c7a95e 22%, #f0dc9e 50%, #c7a95e 78%, #0000);
}

.preorder-access-shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* En-tête de la page : écusson doré, titre serif, sous-titre doux. */
.preorder-access-head {
  text-align: center;
  margin-bottom: 36px;
}

.preorder-access-crest {
  width: 110px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 8px 22px #0000005c);
}

.preorder-access-head .kicker {
  color: #d8bb70;
  letter-spacing: 0.28em;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.preorder-access-head h1 {
  color: #fff4d9;
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 400;
  letter-spacing: 0.015em;
  margin: 12px 0 10px;
}

.preorder-access-head p {
  color: #92a89a;
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Colonne unique et centrée : on ne montre d'abord que le panneau du code ;
   le formulaire de demande d'accès apparaît en dessous après un clic sur le
   bouton « Je n'ai pas de compte ». */
.preorder-access-stack {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  align-items: start;
}

.preorder-panel {
  background: radial-gradient(circle at 0 0, #d7b76529, #0000 43%),
    linear-gradient(135deg, #071d11f5, #0c2d1bf0);
  border: 1px solid #e1c67b7a;
  border-radius: 6px;
  padding: 28px;
  color: #fff3d4;
  box-shadow: 0 20px 55px #03120947, inset 0 1px #ffffff09;
  position: relative;
  overflow: hidden;
}

.preorder-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, #0000 28%, #fff7d30f 45%, #0000 62%);
}

/* En-tête interne : numéro doré + titre + sous-titre. */
.preorder-panel-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.preorder-panel-head > span {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #10291a;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  background: linear-gradient(135deg, #b48c38, #e2ca87 58%, #b18a38);
  box-shadow: 0 8px 18px #392d1333, inset 0 1px #fff6;
}

.preorder-panel-head p {
  margin: 2px 0 0;
}

.preorder-panel-head b {
  color: #fff4d9;
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.preorder-panel-head small {
  color: #92a89a;
  display: block;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 5px;
}

/* ── Panneau code ── */
.preorder-access-form {
  display: grid;
  gap: 12px;
}

.preorder-access-form > label {
  display: grid;
  gap: 6px;
}

.preorder-access-form label small,
.preorder-request-form label small {
  color: #bda668;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preorder-code-field {
  position: relative;
  display: block;
}

.preorder-code-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #d8bb70;
  font-style: normal;
  font-size: 15px;
  pointer-events: none;
}

.preorder-code-field input {
  width: 100%;
  box-sizing: border-box;
  background: #0000002e;
  border: 1px solid #e1c67b40;
  border-radius: 3px;
  color: #fff4d9;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 14px 13px 42px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.preorder-code-field input:focus {
  border-color: #d8bb70;
  box-shadow: 0 0 0 3px #d8bb7017;
}

.preorder-access-form button,
.preorder-request-form > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #b48c38, #e2ca87 58%, #b18a38);
  border: 0;
  border-radius: 3px;
  color: #10291a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 13px 18px;
  box-shadow: 0 10px 22px #392d1326, inset 0 1px #fff6;
}

.preorder-access-form button i,
.preorder-request-form > button i {
  font-style: normal;
  font-size: 15px;
}

.preorder-access-form button:disabled,
.preorder-request-form > button:disabled {
  opacity: 0.55;
  cursor: default;
}

.preorder-access-form button:not(:disabled):hover,
.preorder-request-form > button:not(:disabled):hover {
  filter: brightness(1.07);
}

.preorder-access-error {
  color: #f0b7a0;
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 12px;
}

.preorder-access-error i {
  font-style: normal;
}

.preorder-code-note {
  color: #92a89a;
  font-size: 11.5px;
  line-height: 1.6;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e1c67b2e;
}

.preorder-code-note i {
  color: #d8bb70;
  font-style: normal;
  margin-right: 6px;
}

/* ── Panneau demande de compte ── */
.preorder-request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preorder-request-form > label:not(.preorder-request-consent):not(.preorder-request-message) {
  display: grid;
  gap: 5px;
}

.preorder-request-message,
.preorder-request-consent,
.preorder-request-form > button,
.preorder-request-error {
  grid-column: 1 / -1;
}

.preorder-request-form input,
.preorder-request-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0000002e;
  border: 1px solid #e1c67b40;
  border-radius: 3px;
  color: #fff4d9;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  padding: 11px 13px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.preorder-request-form input:focus,
.preorder-request-form textarea:focus {
  border-color: #d8bb70;
  box-shadow: 0 0 0 3px #d8bb7017;
}

.preorder-request-form textarea {
  min-height: 96px;
  resize: vertical;
}

.preorder-request-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.preorder-request-consent input {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  accent-color: #d8bb70;
}

.preorder-request-consent span {
  color: #92a89a;
  font-size: 12px;
  line-height: 1.55;
}

.preorder-request-error {
  margin-top: 0;
}

/* Confirmation d'envoi de la demande. */
.preorder-request-ok {
  background: #0000002e;
  border: 1px solid #e1c67b40;
  border-radius: 4px;
  padding: 24px 22px;
  text-align: center;
}

.preorder-request-seal {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  color: #10291a;
  font-size: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b48c38, #e2ca87 58%, #b18a38);
  box-shadow: 0 10px 24px #392d1333, inset 0 1px #fff6;
}

.preorder-request-ok b {
  color: #e2c97f;
  display: block;
  font-size: 15px;
}

.preorder-request-ok p {
  color: #92a89a;
  font-size: 12.5px;
  line-height: 1.65;
  margin: 8px auto 0;
  max-width: 420px;
}

/* Bouton « Je n'ai pas de compte → Demander un accès » : il révèle le
   formulaire de demande sous le panneau du code. */
.preorder-toggle-request {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
  padding: 15px 16px;
  background: #ffffff08;
  border: 1px dashed #e1c67b4d;
  border-radius: 3px;
  color: #f4e6c0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  transition: background 0.25s, border-color 0.25s;
}

.preorder-toggle-request:hover {
  background: #dabe7713;
  border-color: #d8bb70;
}

.preorder-toggle-request i {
  flex: none;
  color: #d8bb70;
  font-style: normal;
  font-size: 15px;
}

.preorder-panel-request {
  animation: preorder-reveal 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes preorder-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .preorder-access {
    padding: 132px 14px 64px;
  }

  .preorder-access-crest {
    width: 60px;
  }

  .preorder-panel {
    padding: 20px 16px;
  }

  .preorder-request-form {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Bouton « Jetzt vorbestellen » dans le header, à côté du sélecteur de
   langue. Reprend le gabarit .head-book (masqué ≤920px) avec le dégradé or. */
.head-actions .head-preorder {
  background: linear-gradient(135deg, #b48c38, #e2ca87 58%, #b18a38);
  color: #10291a;
  border: 0;
  border-radius: 3px;
  font-weight: 700;
  padding: 12px 18px;
  box-shadow: 0 10px 22px #392d1326, inset 0 1px #fff6;
  text-decoration: none;
}

.head-actions .head-preorder:hover {
  filter: brightness(1.07);
}

/* Quand le bouton bascule en « Se déconnecter » (utilisateur connecté
   sur /vorbestellen) : design IDENTIQUE à « Précommander » — fond or
   dégradé plein — avec seulement le texte réduit pour rester discret. */
.head-actions .head-preorder.is-logout {
  font-size: 8px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(135deg, #b48c38, #e2ca87 58%, #b18a38);
  color: #10291a;
  border: 0;
  border-radius: 3px;
  font-weight: 700;
  padding: 12px 18px;
  box-shadow: 0 10px 22px #392d1326, inset 0 1px #fff6;
}

.head-actions .head-preorder.is-logout:hover {
  filter: brightness(1.07);
}

/* Page /vorbestellen · vue vérifiée : le bandeau .booking-stage est rendu
   directement sous la barre de navigation FIXE (topline 31px + header ≈ 84px).
   Le bundle lui applique margin-top:-52px (chevauchement voulu avec le hero
   de la page d'accueil) — ici ce négatif fait passer le haut du configurateur
   DERRIÈRE la nav. On annule le décalage et on démarre sous la barre, comme
   le fait le portail d'accès (.preorder-access). */
.preorder-page-stage {
  margin-top: 0 !important;
  padding-top: clamp(130px, 17vh, 185px) !important;
  padding-bottom: 40px !important;
}

@media (max-width: 560px) {
  .preorder-page-stage {
    padding-top: 118px !important;
    padding-bottom: 24px !important;
  }
}

/* Les trois boutons du header (Vorbestellen, langue, ANISO) sont poussés
   vers le bord droit : on compense une partie du padding du header (4,5vw)
   pour rapprocher le groupe du bord de l'écran. */
@media (min-width: 921px) {
  .header > .head-actions {
    margin-right: min(-2.2vw, -30px) !important;
  }
}

/* Sur mobile, la précommande quitte le header et est rendue après le
   formulaire de disponibilité. Le bouton desktop reste inchangé. */
@media (max-width: 920px) {
  .head-actions .head-preorder {
    display: none !important;
  }
}

.booking-mobile-preorder {
  display: none;
}

@media (max-width: 920px) {
  .booking-mobile-preorder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 16px 0 0;
    padding: 0 18px;
    color: #102719;
    background: linear-gradient(135deg, #b89343, #ecd895 52%, #b78f3c);
    border: 1px solid #f5e7b5;
    box-shadow: inset 0 0 0 1px #ffffff52, 0 8px 24px #0003;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  .booking-mobile-preorder:focus-visible,
  .booking-mobile-preorder:hover {
    filter: brightness(1.06);
  }
}

/* ── Mobile : « ⌕ Verfügbarkeit prüfen » (submit du formulaire) et
   « Jetzt vorbestellen » (.booking-mobile-preorder) ont EXACTEMENT la même
   taille — même largeur (354px, x=18) et même hauteur (52px) — pour former
   deux boutons jumeaux empilés sous le formulaire. */
@media (max-width: 920px) {
  .booking form > button[type="submit"] {
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
  }

  .booking-mobile-preorder {
    width: calc(100% - 16px) !important;
    min-height: 52px !important;
    margin: 16px auto 0 !important;
  }
}

/* ── Bouton traduction : fond transparent, pas de bordure ni cercle ── */
/* Le sélecteur de langue se fond dans la barre de navigation. */
.lang-switch {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  gap: 4px !important;
  padding: 4px 6px !important;
}

.lang-switch summary {
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* ══════════════════════════════════════ */
/* ── Lien ANISO : flottant en bas à gauche ── */
/* ══════════════════════════════════════ */

/* Le lien « ANISO Kraft Olive » a quitté la barre de navigation : il flotte
   en bas à gauche de l'écran, en position fixe (ne bouge pas au scroll),
   comme la barre .mobile-booking de la version mobile. */
.head-aniso-fab {
  display: none;
}

/* ── Lien ANISO dans /vorbestellen ──
   Rendu directement dans la page, APRÈS la section d'accès. En mobile il
   s'insère dans le flux (juste sous le panneau « Zugangscode ») sur toute
   la largeur ; en desktop il revient à un petit bouton flottant dans le coin
   inférieur droit, presque de la même taille que le bouton « vorbestellen ». */
.head-aniso-fab.vorbestellen-aniso {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: linear-gradient(145deg, #0c2416, #1c4429 52%, #102e1b);
  color: #fff;
  border: 1px solid #2c5a3a;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  min-height: 48px;
  padding: 0 24px;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 10px 22px rgba(6, 20, 11, 0.35);
  transition: filter 0.28s, transform 0.28s, box-shadow 0.28s;
}

.head-aniso-fab.vorbestellen-aniso:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 14px 28px rgba(6, 20, 11, 0.45);
}

.head-aniso-fab.vorbestellen-aniso span {
  color: #fff;
  font-size: 11px;
}

/* Mobile : bandeau forêt derrière le bouton ANISO (fin de page) pour
   prolonger la section d'accès — pas de fond papier derrière le bouton.
   La marge sous le bouton est incluse dans le padding du bandeau. */
@media (max-width: 920px) {
  .vorbestellen-aniso-wrap {
    background:
      radial-gradient(58% 42% at 88% -4%, #d7b76517, #0000 60%),
      linear-gradient(160deg, #071d11, #0a2517 55%, #0c2d1b);
    padding: 44px 18px 48px;
  }

  .head-aniso-fab.vorbestellen-aniso {
    margin-bottom: 0;
    width: 100%;
  }
}

@media (min-width: 921px) {
  .head-aniso-fab {
    background: linear-gradient(145deg, #0c2416, #1c4429 52%, #102e1b);
    color: #fff;
    border: 1px solid #2c5a3a;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 90;
    text-decoration: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 10px 22px rgba(6, 20, 11, 0.35);
    transition: filter 0.28s, transform 0.28s, box-shadow 0.28s;
  }

  .head-aniso-fab:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 14px 28px rgba(6, 20, 11, 0.45);
  }

  .head-aniso-fab span {
    color: #fff;
    font-size: 11px;
  }

  /* /vorbestellen desktop : petit bouton flottant dans le coin inférieur
     droit, presque de la même taille que le bouton « vorbestellen ». */
  .head-aniso-fab.vorbestellen-aniso {
    position: fixed;
    bottom: 24px !important;
    right: 24px !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: none;
    margin: 0;
    min-height: 40px !important;
    padding: 0 18px !important;
    font-size: 9px !important;
    z-index: 90;
  }

  .head-aniso-fab.vorbestellen-aniso:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
  }
}

@media (max-width: 390px) {
  .head-actions .head-preorder {
    padding: 8px 10px;
    font-size: 7.5px;
  }
}
/* Porte d'accès dans l'onglet 02 du widget de réservation (accueil). */
.booking .preorder-gate {
  padding: 30px 22px;
  text-align: center;
}

.booking .preorder-gate b {
  color: #fff4d9;
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.booking .preorder-gate p {
  color: #92a89a;
  font-size: 13px;
  line-height: 1.65;
  margin: 8px auto 18px;
  max-width: 480px;
}

.booking .preorder-gate a {
  background: linear-gradient(135deg, #b48c38, #e2ca87 58%, #b18a38);
  border-radius: 3px;
  color: #10291a;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 22px;
  text-decoration: none;
}

/* ══════════════════════════════════════ */
/* ── Hero : collé sous la barre de navigation fixe ── */
/* ══════════════════════════════════════ */

/* La barre de navigation est fixe : topline (31px) + header desktop (72px)
   = 103px. Sur mobile, le header mesure 64px, donc le hero doit commencer à
   95px pour éviter une bande blanche entre la navigation et le slider. */
.hero {
  margin-top: 103px !important;
}

@media (min-width: 821px) {
  .hero {
    height: calc(100vh - 103px) !important;
  }
}

@media (max-width: 820px) {
  .hero {
    margin-top: 95px !important;
    height: calc(100dvh - 95px) !important;
  }

  @supports not (height: 1dvh) {
    .hero {
      height: calc(100vh - 95px) !important;
    }
  }
}

/* ══════════════════════════════════════ */
/* ── Page Vorbestellen : lecteur audio en bas à gauche ── */
/* ══════════════════════════════════════ */

/* Le lecteur est placé par le Hero en flux normal sur l'accueil ; sur la
   page /vorbestellen on l'ancre en bas à gauche de l'écran (fixe). La
   spécificité .preorder-page-audio .story-audio-player (0-2-0) bat les
   règles globales 0-1-0 (position/bottom/left/transform/margin). */
.preorder-page-audio .story-audio-player {
  position: fixed !important;
  top: auto !important;
  right: auto !important;
  bottom: 22px !important;
  left: 18px !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 60 !important;
  width: min(388px, calc(100vw - 36px)) !important;
}

@media (max-width: 560px) {
  .preorder-page-audio .story-audio-player {
    bottom: 16px !important;
    left: 12px !important;
    width: min(330px, calc(100vw - 24px)) !important;
  }
}

/* ══════════════════════════════════════════════ */
/* ── iOS Safari : menu de langue ── */
/* ══════════════════════════════════════════════ */

/* WebKit n'applique pas le masquage natif du <details> fermé lorsqu'un enfant
   possède un `display` explicite : comme .lang-switch-options est en
   display:grid, le panneau des 6 langues restait affiché en permanence sur
   iPhone/iPad (Chromium le masque via un slot interne, d'où la différence
   Android / iOS). On force le masquage quand le sélecteur est fermé. */
.lang-switch:not([open]) .lang-switch-options {
  display: none !important;
}

/* ── Header étroit (≤ 380px, iPhone SE / mini) ── */
/* La grille 1fr auto 1fr + gap:25px débordait : la pastille de langue était
   rognée sur le bord droit de l'écran. On resserre les espacements. */
@media (max-width: 380px) {
  .header {
    gap: 10px !important;
  }

  .head-actions {
    gap: 7px !important;
  }

  .head-actions .head-preorder {
    padding: 7px 8px !important;
    font-size: 7px !important;
    letter-spacing: 0.06em !important;
  }
}

/* ══════════════════════════════════════════════ */
/* ── Quality certification carousel · center mode ── */
/* (clone du slider « Offres » aniso-agence-studio)   */
/* ══════════════════════════════════════════════ */

/* ── Barre de résultats séjours : le tri ne doit pas déborder ── */
/* « La nostra raccomandazione » (IT) poussait le <select> à 280px et
   créait 25px de débordement horizontal à 375px (les écrans ≤360px
   débordaient dans TOUTES les langues). On autorise le rétrécissement
   du libellé/sélecteur : le select reste dans la largeur de l'écran. */
@media (max-width: 560px) {
  .resultbar > span {
    flex-shrink: 0;
  }

  .resultbar > label {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .resultbar select {
    max-width: 100%;
    min-width: 0;
  }
}

.quality-carousel {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.quality-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 20px;
  color: #e1c57c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.quality-carousel-header span:last-child {
  color: #f7e9c4;
  font: 400 16px/1 var(--serif);
  letter-spacing: .08em;
}

.quality-carousel-stage {
  position: relative;
  padding: 0 clamp(40px, 6vw, 56px);
}

.quality-carousel-view {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 432px;
}

.quality-carousel-card {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 33.333%;
  width: 33.333%;
  padding: 10px;
  pointer-events: none;
  transition:
    transform 2s cubic-bezier(.16, 1, .3, 1),
    opacity 2s cubic-bezier(.16, 1, .3, 1),
    filter 2s cubic-bezier(.16, 1, .3, 1);
}

.quality-carousel-card.active {
  pointer-events: auto;
  transform: translateX(0%) scale(1);
  opacity: 1;
  filter: none;
  z-index: 2;
}

.quality-carousel-card.next { transform: translateX(100%) scale(.85); }
.quality-carousel-card.prev { transform: translateX(-100%) scale(.85); }

.quality-carousel-card.next,
.quality-carousel-card.prev {
  opacity: .14;
  filter: blur(2px) brightness(.45);
  z-index: 1;
}

.quality-carousel-card.far { opacity: 0; z-index: 0; }

/* Carte qualité : rectangulaire, aplat sobre — alignée sur le langage
   graphique du site (bordures fines dorées #d6c28e, fonds plats, serif). */
.quality-carousel-slide {
  position: relative;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d6c28e;
  border-radius: 0;
  background: #0d2a1b;
  box-shadow: 0 10px 26px #d6c28e2e;
  cursor: grab;
  touch-action: pan-y;
  transition:
    box-shadow 2s cubic-bezier(.16, 1, .3, 1),
    border-color 2s cubic-bezier(.16, 1, .3, 1);
}

.quality-carousel-slide:active { cursor: grabbing; }

/* Reflet glassmorphism supprimé : pas dans le design général du site. */
.quality-carousel-slide::after {
  display: none;
}

.quality-carousel-slide:hover::after {
  display: none;
}

.quality-carousel-card.active .quality-carousel-slide {
  border-color: #e5ca80;
  box-shadow: 0 12px 30px #d6c28e3d;
}

.quality-carousel-card.active .quality-carousel-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px #d6c28e4d;
}

.quality-carousel-art {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  height: 200px;
  margin-bottom: 4px;
  padding: 16px;
  background: #0a2113;
  border-bottom: 1px solid #d6c28e33;
}

.quality-carousel-art .seal-art.certification-logo {
  display: grid;
  place-items: center;
  width: min(170px, 100%);
  height: 170px;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
}

.quality-carousel-art .seal-art.certification-logo img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px #00000038);
}

.quality-carousel-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 22px 24px 26px;
}

.quality-carousel-copy b {
  margin-top: 0;
  color: #e5c77b;
  font: 400 clamp(21px, 2.2vw, 29px)/1.12 var(--serif);
  letter-spacing: -.02em;
}

.quality-carousel-copy p {
  max-width: none;
  margin: 12px auto 0;
  color: #c7d0c5;
  font: 13.5px/1.68 var(--serif);
}

/* Flèches rondes glassmorphism, à l'extérieur du carrousel. */
.quality-carousel-arrow {
  position: absolute;
  top: calc(50% - 56px);
  transform: translateY(-50%);
  z-index: 10;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #f2d88c;
  cursor: pointer;
  background: transparent;
  border: 1px solid #d6c28e66;
  border-radius: 0;
  box-shadow: none;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.quality-carousel-arrow:hover,
.quality-carousel-arrow:focus-visible {
  color: #10271a;
  background: #e5ca80;
  border-color: #e5ca80;
  transform: translateY(-50%) scale(1.08);
  box-shadow: none;
}

.quality-carousel-arrow:active {
  transform: translateY(-50%) scale(.95);
}

.quality-carousel-arrow:focus-visible {
  outline: 2px solid #f3dc96;
  outline-offset: 3px;
}

.quality-carousel-arrow--left { left: clamp(4px, 1vw, 12px); }
.quality-carousel-arrow--right { right: clamp(4px, 1vw, 12px); }

/* Dots : cercles -> gold pill when active. */
.quality-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.quality-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  cursor: pointer;
  background: #ffffff3d;
  border: 0;
  border-radius: 50%;
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
}

.quality-carousel-dots button.active {
  width: 32px;
  background: #d6c28e;
  border-radius: 2px;
  box-shadow: none;
}

.quality-carousel-dots button:focus-visible {
  outline: 2px solid #f3dc96;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .quality-carousel-header {
    padding: 0 6px 16px;
  }

  .quality-carousel-stage { padding: 0 32px; }

  /* La hauteur de la vue ne doit PAS suivre la carte active : chaque langue
     a des longueurs de texte différentes par sceau, donc la section entière
     se déplaçait à chaque rotation. Toutes les cartes sont empilées dans la
     même cellule de grille → hauteur = carte la plus haute, constante,
     quel que soit le sceau affiché ni la langue. */
  .quality-carousel-view {
    display: grid;
    /* Contre-pied à l'align-items:flex-start hérité de la règle de base :
       chaque carte doit s'étirer à la hauteur de la cellule (carte la plus
       haute), sinon la carte visible change de hauteur — et son bord inférieur
       bouge — à chaque rotation dès que les textes diffèrent d'un sceau à
       l'autre. La hauteur devient constante, quelle que soit la carte active
       ni la langue. */
    align-items: stretch;
    min-height: 0;
  }

  .quality-carousel-view > .quality-carousel-card {
    grid-area: 1 / 1;
    align-self: stretch;
  }

  /* Cartes inactives rendues mais invisibles (pas de display:none : il
     retirerait la carte du flux et ferait varier la hauteur à nouveau). */
  .quality-carousel-card:not(.active) { visibility: hidden; }
  .quality-carousel-card.active { visibility: visible; }

  /* Mobile : une seule carte visible, pleine largeur. */
  .quality-carousel-card {
    position: relative;
    left: auto;
    width: 100%;
    padding: 6px;
  }

  .quality-carousel-card.active {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  /* Les transforms translateX(±100%) des cartes latérales (effet desktop)
     créaient ~200px de débordement horizontal de la page sur mobile : le
     viewport pouvait alors se déplacer latéralement (surtout iOS Safari) et
     le header fixe — langue + menu — semblait « décalé vers la droite »,
     voire introuvable. Toutes les cartes sont empilées dans la même cellule
     de grille : plus besoin de transform, on le neutralise. */
  .quality-carousel-view > .quality-carousel-card {
    transform: none !important;
  }

  .quality-carousel-art { height: 180px; }

  .quality-carousel-art .seal-art.certification-logo {
    width: min(150px, 100%);
    height: 150px;
  }

  .quality-carousel-copy { padding: 18px 18px 22px; }

  .quality-carousel-copy b { font-size: clamp(23px, 6.4vw, 30px); }

  .quality-carousel-copy p {
    font-size: 13px;
    line-height: 1.6;
  }

  .quality-carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .quality-carousel-arrow--left { left: -6px; }
  .quality-carousel-arrow--right { right: -6px; }

  .quality-carousel-dots {
    gap: 8px;
    margin-top: 16px;
  }

  .quality-carousel-dots button { width: 6px; height: 6px; }

  .quality-carousel-dots button.active { width: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .quality-carousel-card,
  .quality-carousel-slide,
  .quality-carousel-slide::after,
  .quality-carousel-arrow,
  .quality-carousel-dots button {
    transition: none;
  }
}

/* ── Grille Qualité : interligne entre le titre et le texte ── */
.quality-grid article b {
  margin-bottom: 14px;
}


/* ══════════════════════════════════════════════ */
/* ── Footer « Die Welt von Ksar Ezzit » : ── */
/* ── note Organic Estate décalée à droite ── */
/* ══════════════════════════════════════════════ */

/* Sur desktop (> 1060px) :
   Colonne 1 : Crest + Titre (flex row, alignés)
   Colonne 2 : Eco + Note (flex row, alignés à droite) */
@media (min-width: 1061px) {
  .premium-footer .footer-crown {
    grid-template-columns: 1fr auto !important;
    align-items: center;
  }

  .footer-crown-left {
    grid-column: 1;
  }

  .footer-crown-right {
    grid-column: 2;
    justify-self: end;
  }

  .footer-crown-right .footer-crown-note {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .footer-crown-right .footer-crown-note span {
    font-size: 9px !important;
  }
}

/* ══════════════════════════════════════════════ */
/* ── Quality carousel · offer-style reference ── */
/* ══════════════════════════════════════════════ */

.quality-filterbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 5px;
  border: 1px solid #d6c28e66;
  border-radius: 999px;
  background: #ffffff12;
  box-shadow: 0 12px 28px #06160d1f;
}

.quality-filterbar button {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #c6d0c5;
  background: transparent;
  cursor: pointer;
  font: 700 8px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s, background-color .25s, border-color .25s, transform .25s;
}

.quality-filterbar button:hover,
.quality-filterbar button:focus-visible {
  color: #fff4d5;
  border-color: #d6bc724f;
  outline: none;
  transform: translateY(-1px);
}

.quality-filterbar button.active {
  color: #102719;
  background: linear-gradient(135deg, #b99243, #e9d38f 55%, #b68b38);
  border-color: #e9d38f;
  box-shadow: 0 7px 18px #0000002e;
}

@media (max-width: 700px) {
  .quality-filterbar {
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 16px;
    padding: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .quality-filterbar::-webkit-scrollbar {
    display: none;
  }

.quality-filterbar button {
    flex: 0 0 auto;
    min-height: 32px;
    padding-inline: 13px;
    font-size: 7px;
  }
}

/* ══════════════════════════════════════════════ */
/* ── Animation globale : convergence au scroll ── */
/* ── tous les blocs de texte, tout le site ── */
/* ══════════════════════════════════════════════ */

/* SiteBehaviors ajoute `reveal-text` (+ `reveal-left`/`reveal-right`) à
   chaque bloc de texte de `main`, puis `is-visible` quand il entre dans le
   viewport. Les titres arrivent depuis la gauche, les paragraphes, labels
   et petites lignes depuis la droite : les deux parties se rejoignent. */

@media (prefers-reduced-motion: no-preference) {
  .reveal-text {
    transition:
      opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
  }

  .reveal-text.reveal-left {
    opacity: 0;
    transform: translateX(-28px);
  }

  .reveal-text.reveal-right {
    opacity: 0;
    transform: translateY(26px);
    transition-delay: 0.04s;
  }

  .reveal-text.is-visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
    transition-delay: 0s;
  }

  .reveal-text.reveal-right.is-visible {
    transition-delay: 0.06s;
  }

  .reveal-text:is(small, .kicker) {
    display: inline-block;
  }

  /* Fonds de sections : apparition depuis le bas */
  .reveal-ready,
  .b2b-reveal {
    transform: translateY(56px) !important;
  }

  .reveal-ready.is-visible,
  .b2b-reveal.is-visible {
    transform: none !important;
  }

  /* ── Fluidité globale ──
     Une seule courbe d'easing, douce et naturelle, appliquée à toutes les
     transitions et animations existantes (aucune transition n'est ajoutée
     là où il n'y en a pas). Les révélations et micro-interactions gagnent en
     souplesse. */
  *,
  *::before,
  *::after {
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  }

  .reveal-ready,
  .b2b-reveal {
    transition-duration: 1.2s !important;
  }

  .reveal-text {
    transition-duration: 0.95s !important;
  }

  .quality-slider-slide,
  .quality-carousel-slide {
    animation-duration: 0.6s !important;
  }

  .quality-slider-controls button,
  .quality-slider-dots button,
  .quality-carousel-arrow,
  .quality-carousel-dots button,
  .head-aniso-fab {
    transition-duration: 0.35s !important;
  }

  .quality-slider,
  .quality-carousel,
  .booking,
  .villa-card,
  .experience-grid article,
  .partner-cards article,
  .quality-grid article,
  .press-service-grid article,
  .knowledge-grid > a {
    transition-duration: 0.5s !important;
  }

  /* Menu (drawer) : ouverture/fermeture plus douce */
  .drawer {
    transition:
      transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  }

  .backdrop,
  .drawer-menu-group a,
  .drawer-menu-group a span,
  .drawer-contact,
  .drawer-book,
  .drawer-x {
    transition-duration: 0.35s !important;
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  }
}

/* ── ANISO Kraft Olive : signal discret d'action ── */
@media (prefers-reduced-motion: no-preference) {
  .head-aniso-fab:not(.vorbestellen-aniso) {
    isolation: isolate;
    overflow: hidden;
    box-shadow: 0 14px 32px #0c21124d, 0 0 0 0 #d6b85f66;
  }

  .head-aniso-fab:not(.vorbestellen-aniso)::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -70%;
    bottom: -70%;
    left: -42%;
    width: 30%;
    pointer-events: none;
    background: linear-gradient(90deg, #0000, #f0d47c99, #0000);
    transform: rotate(18deg) translateX(-260%);
    animation: aniso-fab-sheen 5.5s cubic-bezier(0.22, 0.61, 0.36, 1) 1.4s infinite;
  }

  .head-aniso-fab:not(.vorbestellen-aniso)::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    border: 1px solid #e1c36b99;
    opacity: 0.45;
    animation: aniso-fab-pulse 2.8s ease-in-out infinite;
  }

  .head-aniso-fab:not(.vorbestellen-aniso) > span {
    position: relative;
    z-index: 1;
  }

  @keyframes aniso-fab-sheen {
    0%, 62% { transform: rotate(18deg) translateX(-260%); }
    78%, 100% { transform: rotate(18deg) translateX(740%); }
  }

  @keyframes aniso-fab-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.9; }
  }
}

/* Page B2B : le header global est fixe comme sur la home. Le contenu commence
   sous la topline et le header, sans recopier une seconde navigation locale. */
.b2b-page {
  padding-top: 103px;
}

@media (max-width: 820px) {
  .b2b-page {
    padding-top: 95px;
  }
}

/* B2B : reprendre les mêmes repères que la navigation globale. */
.b2b-page .b2b-hero-bg {
  object-position: center;
}

.b2b-page .b2b-bottle-halo {
  display: none !important;
}

.b2b-page .b2b-bottle-stage img,
.b2b-page .b2b-real-bottle img {
  background: transparent;
  filter: drop-shadow(0 0 18px #d6b85f8a) drop-shadow(0 28px 28px #00000055);
}

/* B2B hero : la bouteille (et son label) sont positionnés en absolu dans
   leur parent. Pour remonter la bouteille SANS déplacer le label
   "Die Hauptmarke des Estates" (qui est ancré en absolute par rapport au
   parent), on translate uniquement l'image de la bouteille avec transform.
   Le parent reste à bottom: 0 ; le label ne bouge pas. */
.b2b-page .b2b-bottle-stage img {
  transform: translateY(-70px) !important;
}

@media (max-width: 820px) {
  .b2b-page .b2b-bottle-stage img {
    transform: translateY(-50px) !important;
  }
}

@media (max-width: 560px) {
  .b2b-page .b2b-bottle-stage img {
    transform: translateY(-36px) !important;
  }
}

/* B2B hero : label "Die Hauptmarke des Estates" sous la bouteille.
   Le fichier compilé v2 le fixe à 6px, ce qui le rend quasi illisible.
   On augmente la taille (desktop + mobile) et on le décale vers la droite
   en version mobile pour qu'il ne soit pas collé au bord. */
.b2b-page .b2b-bottle-stage span {
  font-size: 9px !important;
  padding: 8px 12px !important;
  letter-spacing: .14em !important;
  white-space: nowrap !important;
  max-width: 78% !important;
  right: 8px !important;
  bottom: 24px !important;
}

@media (max-width: 820px) {
  .b2b-page .b2b-bottle-stage span {
    font-size: 8px !important;
    padding: 6px 10px !important;
    right: 28px !important;
    bottom: 22px !important;
  }
}

@media (max-width: 560px) {
  .b2b-page .b2b-bottle-stage span {
    font-size: 7px !important;
    padding: 5px 9px !important;
    right: 22px !important;
    bottom: 18px !important;
  }
}

/* ── Galerie : grille uniforme ──
   Le fichier compilé donne des tailles différentes à chaque carte
   (feature/wide/tall/portrait/standard via grid-area: span N/span M).
   On annule tous les spans : chaque carte occupe exactement une cellule
   de même taille. Mobile : une seule image par ligne. */
.gallery-section .gallery-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: 320px !important;
  grid-template-rows: none !important;
  grid-auto-flow: row !important;
}

.gallery-section .gallery-card {
  grid-area: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

@media (max-width: 1080px) {
  .gallery-section .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 300px !important;
  }
}

@media (max-width: 820px) {
  .gallery-section .gallery-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 300px !important;
  }
}

/* B2B : rendre les textes de lecture plus confortables. */
.b2b-page .b2b-hero-copy > p,
.b2b-page .b2b-volume-ladder > div:first-child > p,
.b2b-page .b2b-section-heading > p,
.b2b-page .b2b-label-copy > p,
.b2b-page .b2b-quality-copy > p,
.b2b-page .b2b-project-copy > p {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

.b2b-page .b2b-architecture p,
.b2b-page .b2b-solution-grid p,
.b2b-page .b2b-solution-grid li,
.b2b-page .b2b-process-grid p,
.b2b-page .b2b-documents small,
.b2b-page .b2b-quality-metrics small,
.b2b-page .b2b-project-promise b {
  font-size: 11px !important;
  line-height: 1.6 !important;
}

/* Qualité : montrer toute la photo et placer la légende dans sa propre zone. */
.b2b-page .b2b-quality figure {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: #0b2416;
  padding: 28px 32px;
}

.b2b-page .b2b-quality figure > img {
  flex: 0 0 auto;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.b2b-page .b2b-quality figcaption {
  position: static !important;
  margin-top: 20px;
  padding: 20px 22px !important;
}

.b2b-page .b2b-quality figcaption small {
  font-size: 8px !important;
}

.b2b-page .b2b-quality figcaption b {
  font-size: 24px !important;
}

.b2b-page .b2b-quality figcaption span {
  font-size: 11px !important;
}

@media (max-width: 700px) {
  .b2b-page .b2b-hero-copy > p,
  .b2b-page .b2b-volume-ladder > div:first-child > p,
  .b2b-page .b2b-section-heading > p,
  .b2b-page .b2b-label-copy > p,
  .b2b-page .b2b-quality-copy > p,
  .b2b-page .b2b-project-copy > p {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  .b2b-page .b2b-quality figure > img {
    padding: 0 !important;
  }

  .b2b-page .b2b-quality figcaption {
    margin-top: 16px;
    padding: 17px 18px !important;
  }

  .b2b-page .b2b-quality figcaption small {
    font-size: 7px !important;
  }

  .b2b-page .b2b-quality figcaption b {
    font-size: 20px !important;
  }

  .b2b-page .b2b-quality figcaption span {
    font-size: 10px !important;
  }
}

/* ── B2B : blocs de texte plus grands et plus lisibles ── */
.b2b-page .b2b-audience small {
  font-size: 11px !important;
  line-height: 1.6 !important;
}

.b2b-page .b2b-audience b {
  font-size: 17px !important;
}

.b2b-page .b2b-volume-ladder article p {
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.b2b-page .b2b-volume-ladder article small {
  font-size: 8.5px !important;
}

.b2b-page .b2b-volume-ladder article strong {
  font-size: 19px !important;
}

.b2b-page .b2b-solution-grid p {
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.b2b-page .b2b-solution-grid li {
  font-size: 10.5px !important;
  line-height: 1.55 !important;
}

.b2b-page .b2b-solution-grid article > small {
  font-size: 7.5px !important;
}

.b2b-page .b2b-solution-grid a {
  font-size: 8.5px !important;
}

.b2b-page .b2b-compare p {
  font-size: 12.5px !important;
  line-height: 1.6 !important;
}

.b2b-page .b2b-compare small {
  font-size: 11px !important;
}

.b2b-page .b2b-options span {
  font-size: 9px !important;
  padding: 9px 12px !important;
}

.b2b-page .b2b-process-grid p {
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.b2b-page .b2b-documents small {
  font-size: 9.5px !important;
}

.b2b-page .b2b-project-promise b {
  font-size: 14px !important;
}

.b2b-page .b2b-form-grid label {
  font-size: 8.5px !important;
}

.b2b-page .b2b-form-grid input,
.b2b-page .b2b-form-grid select,
.b2b-page .b2b-form-grid textarea {
  font-size: 12.5px !important;
  padding: 13px 14px !important;
}

@media (max-width: 700px) {
  .b2b-page .b2b-audience small {
    font-size: 10.5px !important;
  }

  .b2b-page .b2b-volume-ladder article p,
  .b2b-page .b2b-solution-grid p {
    font-size: 12px !important;
  }

  .b2b-page .b2b-solution-grid li,
  .b2b-page .b2b-compare p {
    font-size: 11.5px !important;
  }

  .b2b-page .b2b-process-grid p {
    font-size: 11.5px !important;
  }
}

/* ── Qualité : séparation mobile avec la grille suivante ── */
@media (max-width: 820px) {
  #qualitaet.section {
    padding-bottom: 120px !important;
  }
}

/* ── Label Atelier : bouteilles mock redessinées ── */
.b2b-page .b2b-mock-bottle {
  border-radius: 14px 14px 46px 46px;
  background:
    radial-gradient(circle at 32% 12%, #ffffff14, transparent 46%),
    linear-gradient(160deg, #0d2417 0%, #1d4a2c 42%, #0a1d11 100%);
  border: 1px solid #d8bc7245;
  box-shadow:
    0 34px 60px #00000066,
    inset 0 1px #ffffff14,
    0 0 34px #d6b85f26;
}

.b2b-page .b2b-mock-bottle > i {
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(90deg, #0a1c11, #2c5c38 50%, #08150d);
  box-shadow: inset 0 8px 0 #c9a95c;
}

.b2b-page .b2b-mock-bottle > div {
  border-radius: 6px;
  background: linear-gradient(170deg, #f7f1e2, #ece2c9);
  border: 1px solid #c9a95c;
  box-shadow: inset 0 0 0 5px #ffffffa8, 0 10px 24px #0000003d;
}

.b2b-page .b2b-mock-bottle.private > div {
  background: linear-gradient(170deg, #12241a, #0b1a11);
  border-color: #8a6f33;
  box-shadow: inset 0 0 0 5px #22382a, 0 10px 24px #0000004d;
}

.b2b-page .b2b-mock-bottle.private > div small {
  color: #cfae5f;
}

.b2b-page .b2b-mock-bottle.private > div b {
  color: #f2e3b8;
}

.b2b-page .b2b-mock-bottle.private > div span {
  color: #8fa394;
}

/* Qualité : préserver un espace stable avant la grille LAB/360°/LOT/EU. */
#qualitaet .quality-carousel {
  padding-bottom: 42px;
}

@media (max-width: 700px) {
  #qualitaet .quality-carousel {
    padding-bottom: 64px;
  }
}

/* ══════════════════════════════════════ */
/* ── Duo section : bouton premium /histoire ── */
/* ══════════════════════════════════════ */

.duo-cta {
  display: flex !important;
  justify-content: center !important;
  margin-top: 48px !important;
  padding-top: 32px !important;
  border-top: 1px solid var(--line) !important;
}

@keyframes duo-cta-breathe {
  0%, 100% {
    transform: translateY(0) !important;
  }
  40% {
    transform: translateY(-5px) !important;
  }
  60% {
    transform: translateY(-3px) !important;
  }
}

@keyframes duo-cta-glow {
  0%, 100% {
    border-color: rgba(181, 154, 91, 0.27) !important;
    box-shadow:
      0 4px 20px rgba(16, 37, 21, 0.3),
      inset 0 1px 0 rgba(226, 202, 135, 0.1) !important;
  }
  50% {
    border-color: rgba(181, 154, 91, 0.55) !important;
    box-shadow:
      0 8px 30px rgba(16, 37, 21, 0.35),
      inset 0 1px 0 rgba(226, 202, 135, 0.15),
      0 0 20px 2px rgba(181, 154, 91, 0.2) !important;
  }
}

@keyframes duo-text-nudge {
  0%, 50%, 100% {
    transform: translateX(0) !important;
  }
  70% {
    transform: translateX(4px) !important;
  }
  85% {
    transform: translateX(1px) !important;
  }
}

.duo-cta-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 18px 40px !important;
  background: linear-gradient(135deg, #102515, #1a3a22 50%, #0d2016) !important;
  color: #e2ca87 !important;
  border: 1px solid #b59a5b44 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  overflow: hidden !important;
  transition: box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
  animation: duo-cta-breathe 2.5s ease-in-out infinite, duo-cta-glow 2.5s ease-in-out infinite !important;
}

/* Liseré doré en haut */
.duo-cta-btn::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #b59a5b 30%, #e2ca87 50%, #b59a5b 70%, transparent) !important;
  opacity: 0.6 !important;
}

/* Effet de brillance au survol */
.duo-cta-shine {
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 60% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(226, 202, 135, 0.08),
    rgba(226, 202, 135, 0.15),
    rgba(226, 202, 135, 0.08),
    transparent
  ) !important;
  transition: left 0.7s ease !important;
}

.duo-cta-btn:hover .duo-cta-shine {
  left: 120% !important;
}

/* Texte */
.duo-cta-text {
  position: relative !important;
  z-index: 2 !important;
}

/* Texte animé : le → glisse légèrement vers la droite en boucle */
.duo-cta-text {
  position: relative !important;
  z-index: 2 !important;
  animation: duo-text-nudge 2.5s ease-in-out infinite !important;
}

/* Survole : changement de couleur + ombre dorée + flèche qui avance */
.duo-cta-btn:hover {
  background: linear-gradient(135deg, #b59a5b, #d6c28e 50%, #b59a5b) !important;
  color: #102515 !important;
  border-color: #b59a5b !important;
  box-shadow:
    0 8px 32px rgba(181, 154, 91, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-3px) !important;
  animation: none !important;
}

.duo-cta-btn:hover .duo-cta-text {
  transform: translateX(4px) !important;
  animation: none !important;
}

/* Clic : retour rapide */
.duo-cta-btn:active {
  transform: translateY(0) !important;
  transition-duration: 0.15s !important;
}

/* ══════════════════════════════════════ */
/* ── Mobile : bouton duo-cta ── */
/* ══════════════════════════════════════ */

@media (max-width: 560px) {
  .duo-cta {
    margin-top: 32px !important;
    padding-top: 24px !important;
  }

  .duo-cta-btn {
    padding: 14px 28px !important;
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }
}

/* ══════════════════════════════════════ */
/* ── Reduced motion : pas d'animation ── */
/* ══════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .duo-cta-btn,
  .duo-cta-text,
  .duo-cta-shine {
    transition: none !important;
  }

  /* Force les animations du bouton même quand reduced-motion est actif */
  .duo-cta-btn {
    animation: duo-cta-breathe 2.5s ease-in-out infinite, duo-cta-glow 2.5s ease-in-out infinite !important;
    animation-play-state: running !important;
  }

  .duo-cta-text {
    animation: duo-text-nudge 2.5s ease-in-out infinite !important;
    animation-play-state: running !important;
  }

  .duo-cta-btn:hover {
    transform: none !important;
  }
}

/* ══════════════════════════════════════ */
/* ── StoryHero : page /histoire ──
   Même langage visuel que la section « Héritage familial 1914 » : fond
   forest, texte crème, deux colonnes. Chaque chapitre = image à GAUCHE
   qui reste FIXE pendant le scroll (position:sticky) + contenu à DROITE
   qui défile. Une fois le bloc lu, le chapitre suivant prend le relais
   avec sa propre image. Aucun cycle automatique ni panneau caché. */
/* ══════════════════════════════════════ */

.story-hero {
  background: var(--forest) !important;
  color: #f8f3e8 !important;
}

/* ── Intro ── */

.story-hero-header {
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: clamp(56px, 8vw, 110px) clamp(16px, 3vw, 40px) 40px !important;
}

.story-hero-header h2 {
  font: 400 clamp(38px, 4.5vw, 62px) / 1.05 var(--serif) !important;
  letter-spacing: -0.02em !important;
  margin: 12px 0 24px !important;
  color: #f8f3e8 !important;
}

.story-hero-header h2 em {
  color: #ead79f !important;
  font-weight: 400 !important;
}

.story-hero-header p {
  color: #cfd9cf !important;
  font: 15px / 1.78 var(--serif) !important;
  max-width: none !important;
  margin-bottom: 14px !important;
}

.story-hero-lead {
  font-size: 16px !important;
}

/* ── Stats ── */

.story-hero-stats {
  display: flex !important;
  gap: 0 !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 0 clamp(16px, 3vw, 40px) !important;
}

.story-hero-stats article {
  flex: 1 1 0 !important;
  text-align: center !important;
  padding: 28px 16px !important;
  position: relative !important;
}

/* Séparateur vertical doré entre les stats */
.story-hero-stats article:not(:last-child)::after {
  content: '' !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 1px !important;
  height: 36px !important;
  background: linear-gradient(180deg, transparent, #d4b96f33, transparent) !important;
}

.story-hero-stats b {
  display: block !important;
  font: 400 clamp(32px, 4vw, 44px) var(--serif) !important;
  color: #d4b96f !important;
  line-height: 1 !important;
  text-shadow: 0 1px 12px #d4b96f22 !important;
}

.story-hero-stats span {
  display: block !important;
  margin-top: 8px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font: 500 9px var(--sans) !important;
  color: #b8c9b4 !important;
}

/* ── Chapitres : image sticky à gauche, contenu défilant à droite ── */

.story-chapter {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  align-items: stretch !important;
  border-top: 1px solid #ffffff1f !important;
  height: 100vh !important;
  max-height: 860px !important;
  overflow: hidden !important;
}

/* L'image occupe toute la hauteur du chapitre (pas de sticky). */
.story-chapter-media {
  position: relative !important;
  top: auto !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 2px solid #d4b96f !important;
  box-shadow: inset 0 0 0 4px #0c1f13, inset 0 0 0 6px #d4b96f44 !important;
}

.story-chapter-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 32% !important;
  display: block !important;
}

/* Badge du chapitre, posé sur l'image (coin haut-gauche, proche du bord). */
.story-chapter-badge {
  position: absolute !important;
left: 6px !important;
  top: 6px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  padding: 10px 16px !important;
  background: #06160dc2 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid #ebd7a06b !important;
}

.story-chapter-badge b {
  font: 400 26px var(--serif) !important;
  color: #d4b96f !important;
}

.story-chapter-badge span {
  font: 500 11px var(--sans) !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #f8f3e8 !important;
}

/* Colonne contenu : panneau élégant scrollable dans la hauteur du chapitre. */
.story-chapter-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: clamp(32px, 5vw, 60px) clamp(28px, 6vw, 90px) !important;
  scrollbar-width: thin !important;
  scrollbar-color: #d4b96f44 transparent !important;
  background: linear-gradient(180deg, #0c1f1312, #0c1f1318 30%, #0c1f1312 70%, #0c1f1308) !important;
  border-left: 1px solid #d4b96f15 !important;
  position: relative !important;
}

/* Lueur dorée en haut du panneau contenu */
.story-chapter-copy::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 80px !important;
  background: linear-gradient(180deg, #d4b96f08, #0000) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}



/* Barre de défilement discrète (Chrome/Safari) */
.story-chapter-copy::-webkit-scrollbar {
  width: 5px !important;
}
.story-chapter-copy::-webkit-scrollbar-thumb {
  background: #d4b96f44 !important;
  border-radius: 4px !important;
}
.story-chapter-copy::-webkit-scrollbar-track {
  background: transparent !important;
}

.story-chapter-copy h3 {
  font: 400 clamp(26px, 3vw, 38px) / 1.1 var(--serif) !important;
  margin: 0 0 8px !important;
  color: #f8f3e8 !important;
  text-shadow: 0 2px 16px #00000040 !important;
  letter-spacing: -0.01em !important;
}

/* Kicker doré sous le titre */
.story-chapter-copy > small {
  display: inline-block !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font: 700 8px var(--sans) !important;
  color: #d4b96f !important;
  margin-bottom: 28px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #d4b96f1a !important;
}

.story-chapter-copy > p:not([class]) {
  color: #dde5d8 !important;
  font: 15px / 1.92 var(--serif) !important;
  margin-bottom: 0 !important;
  padding-bottom: 18px !important;
  max-width: none !important;
  text-align: justify !important;
  hyphens: auto !important;
  letter-spacing: 0.005em !important;
}

/* Séparation dorée élégante entre les paragraphes */
.story-chapter-copy > p:not([class]):not(:last-child)::after {
  content: '' !important;
  display: block !important;
  width: 100% !important;
  max-width: 80px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #d4b96f33 30%, #d4b96f33 70%, transparent) !important;
  margin: 0 auto !important;
  margin-top: 18px !important;
}

/* ── Biographie Jdidi Hassouna (chapitre 02) ── */

.story-bio-title {
  font: italic 500 clamp(19px, 2.5vw, 22px) / 1.35 var(--serif) !important;
  color: #ead79f !important;
  margin: 32px 0 8px !important;
  text-shadow: 0 1px 10px #00000030 !important;
}

.story-bio-name {
  font: 500 12px var(--serif) !important;
  letter-spacing: 0.08em !important;
  color: #d4b96f !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #d4b96f1a !important;
}

.story-memorial {
  margin: 26px 0 0 !important;
  padding: 24px 28px !important;
  background: linear-gradient(135deg, #dbc17e15, #d4b96f0a) !important;
  border-left: 3px solid #d4b96f !important;
  font: italic 15.5px / 1.75 var(--serif) !important;
  color: #f8eed5 !important;
}

/* ── Citation (chapitre 01) & signatures (chapitre 03) ── */

.story-hero-quote {
  background: linear-gradient(135deg, #dbc17e15, #d4b96f0a) !important;
  border-left: 3px solid #d4b96f !important;
  padding: 26px 30px !important;
  margin: 22px 0 0 !important;
  font: italic 16.5px / 1.6 var(--serif) !important;
  color: #f8eed5 !important;
  position: relative !important;
}

.story-hero-quote::before {
  content: '\201C' !important;
  position: absolute !important;
  top: -8px !important;
  left: 16px !important;
  font: 60px var(--serif) !important;
  color: #d4b96f33 !important;
  line-height: 1 !important;
}

.story-hero-quote cite {
  display: block !important;
  margin-top: 12px !important;
  font: 8px var(--sans) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #d4b96f !important;
  font-style: normal !important;
}

.story-signatures {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 26px !important;
  margin-top: 34px !important;
  padding-top: 20px !important;
  border-top: 1px solid #d4b96f22 !important;
}

.story-signatures span {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.story-signatures em {
  font: 400 24px var(--serif) !important;
  color: #ead79f !important;
  font-style: normal !important;
}

.story-signatures small {
  font-size: 9px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #9fb2a2 !important;
}

.story-signatures i {
  font: italic 400 22px var(--serif) !important;
  color: #d4b96f !important;
}

/* ── Compteurs dorés dans chaque chapitre ── */

.story-chapter-stats {
  display: flex !important;
  gap: 0 !important;
  margin-top: 28px !important;
  padding-top: 20px !important;
  border-top: 1px solid #d4b96f22 !important;
}

.story-chapter-stats > div {
  flex: 1 1 0 !important;
  text-align: center !important;
  padding: 14px 10px !important;
  border-right: 1px solid #d4b96f18 !important;
}

.story-chapter-stats > div:last-child {
  border-right: 0 !important;
}

.story-chapter-stats b {
  display: block !important;
  font: 400 26px var(--serif) !important;
  color: #d4b96f !important;
  text-shadow: 0 1px 8px #d4b96f33 !important;
}

.story-chapter-stats span {
  display: block !important;
  margin-top: 4px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-size: 7.5px !important;
  color: #9fb2a2 !important;
}

/* ── Tablette : empilé, hauteur auto, pas de scroll interne ── */

@media (max-width: 820px) {
  .story-chapter {
    grid-template-columns: 1fr !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .story-chapter-media {
    height: 380px !important;
    max-height: 380px !important;
  }

  .story-chapter-copy {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding: 42px clamp(20px, 5vw, 40px) 52px !important;
  }
}

/* ── Mobile ── */

@media (max-width: 560px) {
  .story-hero-header h2 {
    font-size: clamp(30px, 9vw, 38px) !important;
  }

  .story-hero-stats {
    flex-direction: column !important;
  }

  .story-hero-stats article {
    border-right: 0 !important;
    padding: 22px 16px !important;
  }

  /* Séparateur horizontal entre les stats sur mobile */
  .story-hero-stats article:not(:last-child)::after {
    right: auto !important;
    top: auto !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 36px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, #d4b96f33, transparent) !important;
  }

  .story-chapter-media {
    height: 300px !important;
  }

  .story-chapter-badge b {
    font-size: 20px !important;
  }

  .story-chapter-badge span {
    font-size: 9px !important;
  }
}

/* ══════════════════════════════════════════════════════════════ */
/* ── Private Harvest : workspace premium après validation ── */
/* ══════════════════════════════════════════════════════════════ */

/* Direction : un bureau de souscription éditorial, forêt profonde + papier
   ivoire. Les contrôles restent calmes ; le ledger porte la décision finale. */
.booking.booking-preorder {
  border: 1px solid #bd9a4f !important;
  border-radius: 8px !important;
  box-shadow: 0 28px 70px #10271933, inset 0 1px #ffffff12 !important;
}

.booking.booking-preorder::before {
  background: linear-gradient(90deg, #0000, #a88135 18%, #f0d992 50%, #a88135 82%, #0000) !important;
  height: 2px !important;
}

.harvest-console-head {
  grid-template-columns: minmax(0, 1.5fr) auto minmax(280px, 0.72fr) !important;
  gap: 28px !important;
  min-height: 112px !important;
  margin: 0 20px !important;
  padding: 22px 4px 20px !important;
}

.harvest-console-title {
  align-items: flex-start !important;
  gap: 7px !important;
}

.harvest-console-title small {
  color: #d1b66b !important;
  font-size: 9px !important;
  letter-spacing: 0.2em !important;
}

.harvest-console-title b {
  color: #fff2ce !important;
  font-size: clamp(24px, 2.2vw, 32px) !important;
  line-height: 1.05 !important;
}

.harvest-console-title em {
  color: #aebbad !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

.harvest-toggle {
  min-height: 48px !important;
  padding: 0 18px !important;
  border-color: #c5a85d80 !important;
  color: #ead596 !important;
  background: #ffffff08 !important;
  font-size: 8px !important;
}

.harvest-deadline {
  padding-inline: 28px !important;
}

.harvest-deadline small {
  font-size: 8px !important;
}

.harvest-deadline b {
  font-size: 22px !important;
}

.harvest-deadline span {
  font-size: 9px !important;
}

.harvest-console-head .preorder-customer-switch {
  border-radius: 3px !important;
}

.harvest-console-head .preorder-customer-switch button {
  min-height: 48px !important;
  padding-inline: 16px !important;
  font-size: 9px !important;
}

.booking form.harvest-cockpit {
  margin: 0 18px !important;
  border: 1px solid #c5a85d52 !important;
  box-shadow: 0 22px 50px #10271924 !important;
}

.harvest-destination {
  min-height: 104px !important;
  gap: 14px !important;
  padding: 18px 22px !important;
}

.harvest-strip-title {
  gap: 14px !important;
}

.harvest-strip-title > span {
  width: 34px !important;
  height: 34px !important;
  flex-basis: 34px !important;
  font-size: 12px !important;
  border-color: #b9954b !important;
}

.harvest-strip-title b {
  font-size: 19px !important;
}

.harvest-strip-title small {
  font-size: 10px !important;
}

.booking .harvest-cockpit label > small {
  margin-bottom: 7px !important;
  font-size: 9px !important;
  letter-spacing: 0.14em !important;
}

.booking .harvest-cockpit input,
.booking .harvest-cockpit select {
  height: 48px !important;
  padding-inline: 14px !important;
  font-size: 14px !important;
  border-color: #30483440 !important;
}

.harvest-configurator {
  padding: 12px 24px 18px !important;
}

.harvest-config-section {
  padding: 25px 0 26px !important;
}

.harvest-config-section > header {
  gap: 13px !important;
  margin-bottom: 17px !important;
}

.harvest-config-section > header > span {
  width: 31px !important;
  height: 31px !important;
  flex-basis: 31px !important;
  font-size: 12px !important;
  border-color: #b9954b !important;
}

.harvest-config-section > header b {
  font-size: 20px !important;
}

.harvest-config-section > header small {
  margin-top: 5px !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

.harvest-container-choice > button {
  min-height: 78px !important;
  padding: 12px 16px !important;
}

.harvest-container-choice > button b {
  font-size: 16px !important;
}

.harvest-container-choice > button small {
  margin-top: 5px !important;
  font-size: 9px !important;
}

.harvest-size-choice {
  margin-top: 12px !important;
}

.harvest-size-choice > button {
  min-height: 60px !important;
  padding: 9px 10px !important;
}

.harvest-size-choice b {
  font-size: 16px !important;
}

.harvest-size-choice small {
  margin-top: 4px !important;
  font-size: 9px !important;
}

.harvest-label-choice > button {
  min-height: 86px !important;
  padding: 12px 10px !important;
}

.harvest-label-choice i {
  font-size: 13px !important;
}

.harvest-label-choice b {
  font-size: 14px !important;
}

.harvest-label-choice small {
  margin-top: 6px !important;
  font-size: 9px !important;
}

.harvest-label-preview {
  min-height: 86px !important;
  padding: 9px 12px !important;
}

.harvest-label-preview img {
  object-fit: contain !important;
  background: #f6f0e3 !important;
}

.harvest-label-preview b {
  font-size: 13px !important;
}

.harvest-label-preview em {
  font-size: 8px !important;
}

.harvest-quantity-tools {
  gap: 14px !important;
}

.harvest-unit-choice > button {
  min-height: 48px !important;
  font-size: 9px !important;
}

.harvest-stepper {
  min-height: 58px !important;
}

.harvest-stepper > button {
  font-size: 22px !important;
}

.booking .harvest-stepper input {
  height: 28px !important;
  font-size: 17px !important;
}

.harvest-payment-choice {
  margin-top: 12px !important;
}

.harvest-payment-choice > button {
  min-height: 62px !important;
  padding: 10px !important;
}

.harvest-payment-choice b {
  font-size: 14px !important;
}

.harvest-payment-choice small {
  margin-top: 5px !important;
  font-size: 9px !important;
}

.harvest-ledger {
  align-self: start !important;
  min-height: 100% !important;
  padding: 28px 24px 24px !important;
  border-left-color: #d0b66d52 !important;
}

.harvest-ledger > header {
  padding-bottom: 18px !important;
}

.harvest-ledger > header small {
  font-size: 8px !important;
}

.harvest-ledger > header b {
  font-size: 25px !important;
}

.harvest-ledger > header span {
  font-size: 9px !important;
}

.harvest-tank-panel {
  grid-template-columns: 104px 1fr !important;
  gap: 18px !important;
  padding: 22px 4px 20px !important;
}

.harvest-tank {
  width: 94px !important;
  height: 166px !important;
}

.harvest-tank-panel b {
  font-size: 34px !important;
}

.harvest-tank-panel small,
.harvest-tank-panel span {
  font-size: 9px !important;
}

.harvest-tank-panel em {
  font-size: 11px !important;
}

.harvest-tank-panel strong {
  font-size: 8px !important;
}

.harvest-order-facts {
  padding: 15px 0 !important;
}

.harvest-order-facts > div {
  padding: 8px 2px !important;
}

.harvest-order-facts dt {
  font-size: 9px !important;
}

.harvest-order-facts dd {
  font-size: 12px !important;
}

.harvest-total {
  padding-top: 18px !important;
}

.harvest-total small {
  font-size: 8px !important;
}

.harvest-total b {
  font-size: 44px !important;
}

.harvest-total span {
  font-size: 9px !important;
}

.harvest-contact {
  gap: 14px !important;
  padding: 20px 22px !important;
}

.harvest-contact > label > small {
  font-size: 9px !important;
}

.harvest-contact input {
  height: 48px !important;
  font-size: 14px !important;
}

.harvest-submit-row {
  min-height: 82px !important;
  gap: 28px !important;
  padding: 16px 22px !important;
}

.harvest-consent span {
  font-size: 10px !important;
  line-height: 1.6 !important;
}

.harvest-submit-row > div > span b {
  font-size: 21px !important;
}

.harvest-submit-row > div > span small {
  font-size: 8px !important;
}

.harvest-submit-row button {
  min-height: 52px !important;
  min-width: 260px !important;
  font-size: 9px !important;
}

@media (max-width: 1080px) {
  .harvest-console-head {
    grid-template-columns: 1fr auto !important;
  }

  .harvest-console-title,
  .harvest-console-head .preorder-customer-switch {
    grid-column: 1 / -1 !important;
  }

  .harvest-workspace {
    grid-template-columns: 1fr !important;
  }

  .harvest-ledger {
    border-top: 1px solid #d0b66d52 !important;
    border-left: 0 !important;
    position: static !important;
  }
}

@media (max-width: 700px) {
  .preorder-page-stage {
    padding-inline: 0 !important;
  }

  .booking.booking-preorder {
    margin-inline: 9px !important;
    width: calc(100% - 18px) !important;
  }

  .harvest-console-head {
    gap: 18px !important;
    margin-inline: 14px !important;
    padding: 20px 2px !important;
  }

  .harvest-console-title b {
    font-size: 24px !important;
  }

  .harvest-console-title em {
    font-size: 10px !important;
  }

  .harvest-deadline {
    padding-inline: 12px !important;
  }

  .harvest-deadline b {
    font-size: 19px !important;
  }

  .harvest-console-head .preorder-customer-switch button {
    min-height: 45px !important;
    padding-inline: 10px !important;
    font-size: 8px !important;
  }

  .booking form.harvest-cockpit {
    margin-inline: 10px !important;
  }

  .harvest-destination {
    padding: 18px 16px !important;
  }

  .harvest-configurator {
    padding-inline: 16px !important;
  }

  .harvest-ledger {
    padding: 24px 18px 22px !important;
  }

  .harvest-tank-panel {
    grid-template-columns: 96px 1fr !important;
  }

  .harvest-contact,
  .harvest-submit-row {
    padding-inline: 16px !important;
  }

  .harvest-submit-row button {
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 560px) {
  .harvest-console-title small {
    font-size: 7px !important;
  }

  .harvest-console-title b {
    font-size: 21px !important;
  }

  .harvest-console-title em {
    font-size: 8px !important;
  }

  .harvest-config-section > header b {
    font-size: 18px !important;
  }

  .harvest-config-section > header small,
  .harvest-strip-title small {
    font-size: 9px !important;
  }

  .harvest-quantity-tools {
    gap: 10px !important;
  }

  .harvest-tank-panel {
    grid-template-columns: 88px 1fr !important;
    gap: 13px !important;
  }

  .harvest-tank {
    width: 78px !important;
    height: 142px !important;
  }

  .harvest-tank-panel b {
    font-size: 29px !important;
  }

  .harvest-total b {
    font-size: 38px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .harvest-collapsible,
  .preorder-panel-request,
  .harvest-tank > i {
    animation: none !important;
    transition: none !important;
  }
}


/* ══════════════════════════════════════════════ */
/* ── Pages Villas (/villen/*) : refonte élégante ── */
/* ── hero plein cadre, chips verre, carte équipements ── */
/* ── sticky, galerie généreuse, CTA or/forêt ── */
/* ══════════════════════════════════════════════ */

/* ── 1. Header subpage : micro-interactions ── */
.subpage-header nav a:not(:last-child) {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.subpage-header nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.subpage-header nav a:not(:last-child):hover {
  color: #9a8044;
}

.subpage-header nav a:not(:last-child):hover::after {
  transform: scaleX(1);
}

.subpage-header nav a:last-child {
  transition: background 0.25s ease;
}

.subpage-header nav a:last-child:hover {
  background: #22452c !important;
}

/* ── 2. Hero plein cadre ── */
.villa-detail-hero {
  min-height: clamp(580px, 82vh, 760px) !important;
  align-items: flex-end !important;
}

/* Kssour : on annule le « contain » + fond dégradé de l'original,
   l'image couvre tout le hero comme les autres villas */
.villa-detail-hero.villa-kssour-detail > img {
  object-fit: cover !important;
  object-position: center 68% !important;
  background: none !important;
}

/* Overlay : plus profond en bas pour asseoir le texte */
.villa-detail-hero:after {
  background:
    linear-gradient(180deg, rgba(2, 12, 6, 0.42), rgba(2, 12, 6, 0) 34%),
    linear-gradient(90deg, rgba(2, 12, 6, 0.72), rgba(3, 15, 7, 0.18) 66%, rgba(3, 15, 7, 0.05)),
    linear-gradient(rgba(0, 0, 0, 0) 42%, rgba(3, 13, 7, 0.82)) !important;
}

/* Fondu du bas du hero vers le fond crème de la page */
.villa-detail-hero:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(rgba(248, 245, 236, 0), rgba(248, 245, 236, 0.55) 62%, #f8f5ec);
}

.villa-detail-hero > div {
  padding-bottom: 26px;
}

/* Kicker : filet or */
.villa-detail-hero small {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  font-size: 10px !important;
  letter-spacing: 0.22em !important;
}

.villa-detail-hero small::before {
  content: "";
  width: 34px;
  height: 1px;
  background: #d5b86d;
  flex: none;
}

.villa-detail-hero h1 {
  text-shadow: 0 2px 26px rgba(2, 12, 6, 0.45);
}

.villa-detail-hero p {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #dde6dd !important;
}

/* Chips de caractéristiques : verre dépoli bordé d'or */
.villa-detail-facts {
  gap: 10px !important;
  margin-top: 28px !important;
}

.villa-detail-facts span {
  background: rgba(4, 17, 9, 0.44) !important;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border: 1px solid rgba(241, 221, 167, 0.42) !important;
  padding: 12px 16px !important;
  font-size: 10px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f3ecd8;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.villa-detail-facts span:hover {
  border-color: rgba(241, 221, 167, 0.85) !important;
  background: rgba(4, 17, 9, 0.62) !important;
}


/* ── 3. Intro : kicker fileté d'or, texte aéré ── */
.villa-detail-intro small.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #9a8044 !important;
  letter-spacing: 0.2em !important;
}

.villa-detail-intro small.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.villa-detail-intro p {
  font-size: 16px !important;
  line-height: 1.85 !important;
  color: #4c564d !important;
}

.villa-detail-intro article > p:first-of-type {
  font-size: 17.5px;
  line-height: 1.75;
  color: #35402f !important;
}

/* ── 4. Carte équipements : crème + liseré or, sticky desktop ── */
.villa-detail-box {
  position: sticky;
  top: 34px;
  align-self: start;
  border: 1px solid var(--line) !important;
  border-top: 3px solid var(--gold) !important;
  background: #f6f2e7 !important;
  padding: 40px 36px !important;
  box-shadow: 0 22px 44px rgba(28, 38, 29, 0.07);
}

.villa-detail-box small {
  font-size: 9px !important;
  letter-spacing: 0.2em !important;
}

.villa-detail-box h3 {
  font-size: 27px !important;
  margin: 12px 0 22px !important;
}

.villa-detail-box ul {
  gap: 0 !important;
  border-top: 1px solid var(--line);
}

.villa-detail-box li {
  color: #54604f !important;
  font-size: 11.5px !important;
  line-height: 1.5;
  letter-spacing: 0.03em;
  padding: 11px 0 !important;
  border-bottom: 1px dashed var(--line);
  transition: color 0.2s ease, padding-left 0.25s ease;
}

.villa-detail-box li:hover {
  color: #2c3a2b !important;
  padding-left: 5px;
}

/* ── 5. Galerie : grille généreuse, zoom lent ── */
.villa-detail-gallery {
  gap: 12px !important;
  margin: 80px 0 !important;
  grid-template-rows: 320px 320px !important;
  grid-template-columns: 1.35fr 0.7fr 0.7fr !important;
}

.villa-detail-gallery figure {
  position: relative;
  background: #e7e1d2;
}

/* fin liseré intérieur discret au survol */
.villa-detail-gallery figure::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(243, 236, 216, 0);
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.villa-detail-gallery figure:hover::after {
  border-color: rgba(243, 236, 216, 0.55);
}

.villa-detail-gallery img {
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

.villa-detail-gallery figure:hover img {
  transform: scale(1.045) !important;
}

/* ── 6. CTA : dégradé forêt + or, bouton soigné ── */
.villa-detail-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(210, 179, 97, 0.2), rgba(0, 0, 0, 0) 34%),
    linear-gradient(135deg, #0a2413, #1d452b) !important;
  border: 1px solid rgba(216, 185, 105, 0.36);
  padding: 56px 50px !important;
}

.villa-detail-cta small {
  font-size: 9px !important;
  letter-spacing: 0.22em !important;
}

.villa-detail-cta h2 {
  font-size: clamp(34px, 3.4vw, 46px) !important;
  letter-spacing: -0.02em;
}

.villa-detail-cta > a {
  position: relative;
  padding: 19px 30px !important;
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  background: linear-gradient(135deg, #ddc07a, #c9a95c) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.25s ease;
}

.villa-detail-cta > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

.villa-detail-cta > a:active {
  transform: translateY(0);
}

/* Liseré décoratif bas-gauche du bandeau CTA */
.villa-detail-cta::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 130px;
  height: 130px;
  pointer-events: none;
  background: radial-gradient(circle at 0 100%, rgba(213, 184, 109, 0.16), rgba(0, 0, 0, 0) 70%);
}

/* ── 7. Responsive (syntaxe classique, compat Safari < 16.4) ── */
@media (max-width: 920px) {
  .villa-detail-hero {
    min-height: 66vh !important;
  }

  .villa-detail-hero p {
    font-size: 16px !important;
  }

  .villa-detail-box {
    position: static;
    padding: 32px 26px !important;
  }

  .villa-detail-gallery {
    grid-template-rows: 300px 230px !important;
    grid-template-columns: 1fr 1fr !important;
    margin: 56px 0 !important;
  }

  .villa-detail-cta {
    padding: 44px 32px !important;
  }
}

@media (max-width: 560px) {
  .villa-detail-hero {
    min-height: 78vh !important;
    padding: 56px 6vw 44px !important;
  }

  .villa-detail-hero:before {
    height: 60px;
  }

  .villa-detail-hero > div {
    padding-bottom: 10px;
  }

  .villa-detail-hero p {
    font-size: 15px !important;
  }

  .villa-detail-facts {
    gap: 8px !important;
  }

  .villa-detail-facts span {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding: 11px 8px !important;
    font-size: 9px !important;
  }

  .villa-detail-gallery {
    grid-template-rows: 230px repeat(3, 170px) !important;
    grid-template-columns: 1fr !important;
  }

  .villa-detail-gallery figure::after {
    inset: 7px;
  }

  .villa-detail-cta {
    padding: 40px 24px !important;
  }

  .villa-detail-cta > a {
    width: 100%;
    text-align: center;
    padding: 18px 20px !important;
  }
}


/* Page /mission : le titre "Die Mission von ANISO" est caché derrière le header
   fixe en version mobile (le header mesure 64px en mobile, le <main> n'a qu'un
   padding-top de 58px). On ajoute un padding-top d'au moins 120px à la section
   mission en mobile pour que le titre soit confortablement dégagé de la navbar,
   et un scroll-margin identique pour que les ancres (#mission) atterrissent
   sous la navbar. */
@media (max-width: 820px) {
  .mission-section { padding-top: 120px !important; }
  .mission-section, #mission { scroll-margin-top: 96px; }
}

/* Page /estate-karte : même traitement que /mission — le titre "Interaktive
   Estate-Karte" est caché derrière la navbar fixe en version mobile (header
   64 px, <main> 58 px de padding-top). On dégage la section de la navbar. */
@media (max-width: 820px) {
  .estate-map-section { padding-top: 120px !important; }
  .estate-map-section, #estate-karte { scroll-margin-top: 96px; }
}
@media (min-width: 821px) {
  .estate-map-section, #estate-karte { scroll-margin-top: 96px; }
}

/* Page /galerie : même traitement que /mission — le titre "Kuratierte Estate
   Galerie" est caché derrière la navbar fixe en version mobile. */
@media (max-width: 820px) {
  .gallery-section { padding-top: 120px !important; }
  .gallery-section, #galerie { scroll-margin-top: 96px; }
}
@media (min-width: 821px) {
  .gallery-section, #galerie { scroll-margin-top: 96px; }
}

/* Page /presse-service : même traitement que /mission — le titre
   "Presse · Partner · Vertrauen" est caché derrière la navbar fixe en mobile. */
@media (max-width: 820px) {
  .press-service { padding-top: 120px !important; }
  .press-service, #presse-service { scroll-margin-top: 96px; }
}
@media (min-width: 821px) {
  .press-service, #presse-service { scroll-margin-top: 96px; }
}
@media (min-width: 821px) {
  .mission-section, #mission { scroll-margin-top: 96px; }
}

/* ══════════════════════════════════════ */
/* ── Tiroir de réservation villas (paiement en ligne Konnect) ── */
/* ══════════════════════════════════════ */

/* Blocage du scroll de fond quand le tiroir est ouvert. */
body.villa-booking-open {
  overflow: hidden !important;
}

/* Le tiroir s'appuie sur les classes du thème (.booking-drawer-wrap …).
   Quelques corrections spécifiques au montage React : */

/* Message d'erreur interne aux étapes. */
.booking-drawer .bd-error {
  color: #7a2e21 !important;
  background: #f7e8e2 !important;
  border-left: 2px solid #a54b33 !important;
  margin: 10px 0 14px !important;
  padding: 10px 12px !important;
  font: 11px/1.5 var(--sans) !important;
}

/* Le récap des étapes 2-3 utilise .step-buttons ; boutons cohérents. */
.booking-drawer .step-buttons button {
  min-height: 46px !important;
}

/* Petits écrans : la carte « villa choisie » respire mieux. */
@media (max-width: 480px) {
  .booking-drawer {
    padding: 26px 18px 30px !important;
  }
  .booking-drawer .chosen-villa {
    grid-template-columns: 88px 1fr !important;
    height: auto !important;
  }
  .booking-drawer .chosen-villa > span {
    padding: 12px !important;
  }
  .booking-drawer .chosen-villa b {
    font-size: 16px !important;
  }
  .booking-drawer .guest-grid {
    grid-template-columns: 1fr !important;
  }
  .rate-plan {
    padding-right: 16px !important;
  }
  .rate-plan > strong {
    position: static !important;
    display: block !important;
    margin-top: 10px !important;
    transform: none !important;
  }
}

/* RTL (arabe) : tiroir qui s'ouvre depuis la gauche. */
html[dir="rtl"] .booking-drawer-wrap {
  place-items: stretch start !important;
}
html[dir="rtl"] .booking-drawer {
  border-left: 0 !important;
  border-right: 1px solid #b59a5b6b !important;
  box-shadow: 20px 0 70px #0000004d !important;
}

/* ══════════════════════════════════════ */
/* ── Page de statut / retour de paiement ── */
/* ══════════════════════════════════════ */

.villa-booking-result {
  background: radial-gradient(1200px 520px at 50% -8%, rgba(212,185,111,.10), transparent 60%),
    radial-gradient(900px 460px at 88% 4%, rgba(212,185,111,.05), transparent 55%),
    linear-gradient(175deg, #0a1f15 0%, #071510 55%, #081710 100%);
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.villa-booking-result-card {
  background: #fbf8f0;
  border: 1px solid #b59a5b6b;
  border-top: 3px solid #244d31;
  width: min(560px, 100%);
  box-shadow: 0 30px 80px rgba(3, 10, 6, .5);
}

.booking-result-state {
  text-align: center;
  padding: 54px 40px 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-result-state .booking-result-check,
.booking-result-state .booking-result-cross {
  color: #fff;
  background: #1e4c31;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  font: 400 28px var(--serif);
}

.booking-result-state.failed .booking-result-cross,
.booking-result-state.error .booking-result-cross {
  background: #8b5a2b;
}

.booking-result-state .booking-result-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #d9cfa9;
  border-top-color: #1e4c31;
  animation: booking-spin .9s linear infinite;
  display: block;
}

@keyframes booking-spin {
  to { transform: rotate(360deg); }
}

.booking-result-state > small {
  color: #927b42;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-top: 20px;
  font-size: 9px;
  font-weight: 700;
}

.booking-result-state h1 {
  font: 400 clamp(28px, 5vw, 40px)/1.1 var(--serif);
  color: #18321f;
  margin: 14px 0 6px;
}

.booking-result-state h1.second {
  margin-top: 0;
}

.booking-result-state h2 {
  font: 400 30px/1.1 var(--serif);
  color: #18321f;
  margin: 14px 0 6px;
}

.booking-result-state p {
  color: #5b645c;
  font: 14px/1.6 var(--serif);
  max-width: 420px;
  margin: 10px auto;
}

.booking-result-state .booking-result-ref {
  font-size: 12px;
}

.booking-result-state .booking-result-total {
  border-block: 1px solid var(--line);
  width: min(300px, 90%);
  padding: 14px 0;
  margin: 14px auto 4px;
}

.booking-result-state .booking-result-total b {
  display: block;
  color: #1e4c31;
  font: 400 26px var(--serif);
  margin-top: 6px;
}

.booking-result-state .booking-result-total small {
  display: block;
  color: #6b746b;
  margin-top: 6px;
  font-size: 12px;
}

.booking-result-cta {
  margin-top: 20px;
  background: #1e4c31;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 1px solid #1e4c31;
  padding: 14px 24px;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.booking-result-link {
  margin-top: 16px;
  color: #7b642f;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-bottom: 1px solid #b59a5b;
  padding-bottom: 5px;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.booking-result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.booking-result-actions .booking-result-link {
  margin-top: 0;
}

/* ══════════════════════════════════════════════════════════════ */
/* ── Réservation villas · thème sombre premium (vert forêt + or) ── */
/* Scopé sous .kd-reserve (drawer) et .villa-booking-result.      */
/* ══════════════════════════════════════════════════════════════ */

.kd-reserve,
.kd-reserve *,
.villa-booking-result,
.villa-booking-result * {
  box-sizing: border-box;
}

/* Références couleur du thème premium (mêmes tons que /vorbestellen). */
.kd-reserve {
  --kf-bg: #08140d;
  --kf-panel: rgba(255, 255, 255, .028);
  --kf-panel-2: rgba(255, 255, 255, .05);
  --kf-line: rgba(212, 185, 111, .16);
  --kf-line-2: rgba(212, 185, 111, .34);
  --kf-gold: #d4b96f;
  --kf-gold-2: #e8d5a0;
  --kf-cream: #f6efdd;
  --kf-muted: #9db09f;
  --kf-faint: #8ea393;
  --kf-metal: linear-gradient(135deg, #b48c38, #e2ca87 58%, #b18a38);
  color-scheme: dark;
}

/* ---------- fond & cadre ---------- */
.kd-reserve .booking-drawer-wrap {
  z-index: 260;
  background: rgba(4, 10, 6, .6);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.kd-reserve .modal-bg {
  background: rgba(3, 8, 5, .62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.kd-reserve .booking-drawer {
  display: flex;
  flex-direction: column;
  width: min(680px, 100vw);
  height: 100%;
  min-height: 0;
  max-height: 100%;
  color: var(--kf-cream);
  background:
    radial-gradient(640px 300px at 112% -4%, rgba(212, 185, 111, .09), transparent 58%),
    radial-gradient(420px 260px at -12% 108%, rgba(212, 185, 111, .05), transparent 55%),
    linear-gradient(172deg, #0c2317 0%, #08160e 46%, #060f0a 100%);
  border: 0;
  border-left: 1px solid rgba(212, 185, 111, .22);
  padding: 0;
  overflow: hidden;
  box-shadow: -34px 0 90px rgba(0, 0, 0, .55);
}
.kd-reserve .booking-drawer::before {
  content: "";
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4b96f 18%, #f4e3b0 50%, #d4b96f 82%, transparent);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

/* bouton fermer */
.kd-reserve .drawer-close {
  z-index: 5;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 185, 111, .28);
  color: #f2e6c4;
  background: rgba(255, 255, 255, .03);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .25s, border-color .25s, transform .25s;
}
.kd-reserve .drawer-close:hover {
  background: rgba(212, 185, 111, .14);
  border-color: rgba(212, 185, 111, .55);
  transform: rotate(90deg);
}

/* ---------- tête fixe (titre + progression) ---------- */
.kd-reserve .drawer-top {
  flex: 0 0 auto;
  padding: 26px 58px 18px 30px;
  border-bottom: 1px solid rgba(212, 185, 111, .13);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}
.kd-reserve .drawer-top > span {
  font: 400 21px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
  color: var(--kf-cream);
}
.kd-reserve .drawer-top > span::first-letter {
  color: var(--kf-gold);
}
.kd-reserve .progress-unit i {
  color: #7e8f83;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(212, 185, 111, .14);
  width: 27px;
  height: 27px;
  font-size: 10px;
  letter-spacing: 0;
}
.kd-reserve .progress-unit i.active {
  color: #102515;
  background: linear-gradient(150deg, #e9d7a1, #c9a95c);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(212, 185, 111, .45);
}
.kd-reserve .progress-unit b {
  background: rgba(212, 185, 111, .22);
}

/* ---------- vignette « villa choisie » (panier) ---------- */
.kd-reserve .chosen-villa {
  flex: 0 0 auto;
  margin: 20px 30px 4px;
  height: 92px;
  grid-template-columns: 118px 1fr;
  border: 1px solid rgba(212, 185, 111, .2);
  background: linear-gradient(120deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  position: relative;
}
.kd-reserve .chosen-villa::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(212, 185, 111, .1);
  pointer-events: none;
}
.kd-reserve .chosen-villa img {
  filter: saturate(.9) contrast(1.03);
}
.kd-reserve .chosen-villa > span {
  padding: 15px 18px 12px;
  align-content: center;
}
.kd-reserve .chosen-villa small {
  color: var(--kf-gold);
  letter-spacing: .16em;
  font-size: 7px;
}
.kd-reserve .chosen-villa b {
  font: 400 19px Georgia, "Times New Roman", serif;
  letter-spacing: .01em;
  color: #fbf4e2;
  margin: 4px 0 3px;
}
.kd-reserve .chosen-villa i {
  color: var(--kf-muted);
  font-size: 10px;
}

/* ---------- contenu défilant ---------- */
.kd-reserve .booking-drawer-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 30px 30px;
}
.kd-reserve .book-step {
  animation: kd-step-in .4s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes kd-step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* kicker + titres d'étape */
.kd-reserve .step-kicker {
  color: var(--kf-gold);
  letter-spacing: .22em;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kd-reserve .step-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--kf-gold), transparent);
}
.kd-reserve .book-step h3 {
  font: 400 29px/1.12 Georgia, "Times New Roman", serif;
  color: #fbf4e2;
  margin: 9px 0 22px;
}

/* libellés + champs */
.kd-reserve .book-step > label,
.kd-reserve .guest-grid label {
  color: #c3cdc5;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}
.kd-reserve .book-step > label:not(.privacy):not(.extra):not(.rate-plan),
.kd-reserve .guest-grid label {
  color: var(--kf-faint);
  letter-spacing: .14em;
  font-size: 7.5px;
}
.kd-reserve .book-step input:not([type="checkbox"]):not([type="radio"]),
.kd-reserve .book-step select,
.kd-reserve .book-step textarea,
.kd-reserve .guest-grid input,
.kd-reserve .guest-grid select,
.kd-reserve .guest-grid textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(212, 185, 111, .18);
  background: rgba(255, 255, 255, .035);
  color: #f0e8d3;
  font: 13px "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  border-radius: 3px;
  outline: none;
  margin-top: 8px;
  padding: 10px 13px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.kd-reserve .book-step input::placeholder,
.kd-reserve .guest-grid input::placeholder,
.kd-reserve .book-step textarea::placeholder {
  color: rgba(199, 208, 199, .42);
  text-transform: none;
}
.kd-reserve .book-step input:focus,
.kd-reserve .book-step select:focus,
.kd-reserve .book-step textarea:focus,
.kd-reserve .guest-grid input:focus,
.kd-reserve .guest-grid select:focus,
.kd-reserve .guest-grid textarea:focus {
  border-color: rgba(212, 185, 111, .6);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 0 0 3px rgba(212, 185, 111, .12);
}
/* Liste déroulante ouverte : options sur fond vert (Chrome/Edge/Safari). */
.kd-reserve select option,
.kd-reserve select optgroup {
  background-color: #0d2418;
  color: #f0e8d3;
}
.kd-reserve select option:checked {
  background-color: #153a26;
  color: #f6efdd;
}
.kd-reserve select option:hover {
  background-color: #1c4630;
}

/* Champ date désactivé tant que l'arrivée n'est pas choisie. */
.kd-reserve .book-step input[type="date"]:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.kd-reserve .book-step select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #c9ab62 50%), linear-gradient(135deg, #c9ab62 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
  cursor: pointer;
}
.kd-reserve .book-step textarea {
  min-height: 78px;
  resize: vertical;
  line-height: 1.55;
}
.kd-reserve .drawer-dates {
  gap: 12px;
  margin-bottom: 16px;
}
.kd-reserve .drawer-dates input {
  text-transform: none;
  letter-spacing: normal;
}

/* rangée disponibilité (étape 1) */
.kd-reserve .drawer-availability {
  align-items: center;
  gap: 11px;
  margin: 4px 0 2px;
  padding: 11px 13px;
  border: 1px solid rgba(212, 185, 111, .16);
  border-left: 2px solid var(--kf-gold);
  background: rgba(212, 185, 111, .05);
}
.kd-reserve .drawer-availability > span {
  color: var(--kf-gold);
  font-size: 7px;
  animation: kd-pulse-dot 1.8s ease-in-out infinite;
}
@keyframes kd-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.kd-reserve .drawer-availability p {
  margin: 0;
}
.kd-reserve .drawer-availability b {
  display: block;
  font: 500 11px "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #efe3bd;
}
.kd-reserve .drawer-availability small {
  display: block;
  color: var(--kf-muted);
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: normal;
  text-transform: none;
}

/* prix en tête d'étape */
.kd-reserve .drawer-price {
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin: 12px 0 4px;
  padding: 13px 0;
  border-block: 1px solid rgba(212, 185, 111, .13);
}
/* Le bundle d'origine peint .drawer-price en crème (barre blanche) alors que
   ce tiroir est sombre : le montant or pâle #efe0b4 devenait illisible sur
   fond clair. On remplace la barre par un panneau de verre sombre assorti au
   thème du tiroir — le montant doré reste, maintenant lisible. Le variant
   « free » (flux Camper, fond clair volontaire) n'est pas concerné. */
.kd-reserve .drawer-price:not(.free-drawer-price) {
  background: linear-gradient(135deg, rgba(212, 185, 111, .1), rgba(212, 185, 111, .03));
  border: 1px solid rgba(212, 185, 111, .24);
  border-radius: 3px;
  padding: 14px 16px;
}
.kd-reserve .drawer-price:not(.free-drawer-price) > span {
  color: #d9cfae;
}
.kd-reserve .drawer-price > span {
  color: var(--kf-faint);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 7.5px;
  font-weight: 700;
}
.kd-reserve .drawer-price > span small {
  display: block;
  color: #6f8376;
  margin-top: 4px;
  letter-spacing: .02em;
  text-transform: none;
  font-size: 9px;
  font-weight: 400;
}
.kd-reserve .drawer-price > b {
  color: #efe0b4;
  font: 400 26px Georgia, "Times New Roman", serif;
  white-space: nowrap;
}
.kd-reserve .free-drawer-price > b {
  color: var(--kf-gold-2);
}

/* ---------- boutons ---------- */
.kd-reserve .book-step > .next,
.kd-reserve .step-buttons .next {
  background: linear-gradient(135deg, #173a24, #21502f 55%, #173a24);
  color: #f7efd9;
  border: 1px solid rgba(212, 185, 111, .35);
  min-height: 52px;
  font-size: 9px;
  letter-spacing: .18em;
  font-weight: 700;
  border-radius: 3px;
  width: 100%;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .03);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.kd-reserve .book-step > .next::after,
.kd-reserve .step-buttons .next::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 46%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 248, 220, .22), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.kd-reserve .book-step > .next:hover,
.kd-reserve .step-buttons .next:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .42), 0 0 22px rgba(212, 185, 111, .18);
}
.kd-reserve .book-step > .next:hover::after,
.kd-reserve .step-buttons .next:hover::after {
  left: 130%;
}
.kd-reserve .book-step > .next:disabled,
.kd-reserve .step-buttons .next:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.kd-reserve .step-buttons {
  gap: 9px;
  margin-top: 10px;
}
.kd-reserve .step-buttons > button:not(.next) {
  border: 1px solid rgba(212, 185, 111, .25);
  color: var(--kf-muted);
  background: rgba(255, 255, 255, .02);
  min-height: 48px;
  letter-spacing: .12em;
  font-size: 8.5px;
  border-radius: 3px;
  transition: border-color .25s, color .25s, background .25s;
}
.kd-reserve .step-buttons > button:not(.next):hover {
  border-color: rgba(212, 185, 111, .55);
  color: var(--kf-cream);
  background: rgba(212, 185, 111, .06);
}

/* ---------- étapes 2 : tarifs ---------- */
.kd-reserve .rate-plan-list {
  gap: 10px;
  margin-bottom: 8px;
}
.kd-reserve .rate-plan {
  border: 1px solid rgba(212, 185, 111, .16);
  background: linear-gradient(120deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  min-height: 118px;
  padding: 16px 110px 15px 17px;
  border-radius: 4px;
}
.kd-reserve .rate-plan:hover {
  border-color: rgba(212, 185, 111, .5);
  background: rgba(255, 255, 255, .05);
  transform: translateY(-2px);
}
.kd-reserve .rate-plan.selected {
  border-color: rgba(212, 185, 111, .8);
  background: linear-gradient(120deg, rgba(212, 185, 111, .11), rgba(212, 185, 111, .03));
  box-shadow: inset 3px 0 0 var(--kf-gold), 0 14px 32px rgba(0, 0, 0, .3);
}
.kd-reserve .rate-plan > span > small {
  color: #0e2416;
  background: linear-gradient(150deg, #eedda6, #c8a85b);
  font-size: 6.5px;
  border-radius: 2px;
  padding: 4px 8px;
}
.kd-reserve .rate-plan > span > b {
  color: #f6efdc;
  font: 400 17px Georgia, "Times New Roman", serif;
}
.kd-reserve .rate-plan p {
  color: #9fb09f;
  font-size: 10px;
}
.kd-reserve .rate-plan em {
  color: #c9b47c;
  font-size: 9.5px;
}
.kd-reserve .rate-plan > strong {
  color: #ecd9a5;
  font: 400 19px Georgia, "Times New Roman", serif;
}

/* ---------- étape 3 : extras ---------- */
.kd-reserve .extra {
  grid-template-columns: 20px 1fr auto;
  border-color: rgba(212, 185, 111, .16);
  background: linear-gradient(120deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  min-height: 76px;
  border-radius: 4px;
}
.kd-reserve .extra input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 0;
  accent-color: #c9a95c;
  cursor: pointer;
}
.kd-reserve .extra span b {
  color: #f2ebd7;
  font: 400 15px Georgia, "Times New Roman", serif;
}
.kd-reserve .extra span small {
  color: var(--kf-muted);
  font-size: 9px;
}
.kd-reserve .extra > i {
  color: #d9c48c;
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- étape 4 : fiche récapitulative ---------- */
.kd-reserve .booking-recap {
  border: 1px solid rgba(212, 185, 111, .2);
  background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border-radius: 5px;
  padding: 15px 17px 13px;
  margin: 2px 0 14px;
}
.kd-reserve .booking-recap-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--kf-gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 8px;
  font-weight: 700;
  border-bottom: 1px solid rgba(212, 185, 111, .16);
  padding-bottom: 10px;
  margin-bottom: 8px;
}
.kd-reserve .booking-recap-title::before {
  content: "";
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--kf-gold), transparent);
}
.kd-reserve .booking-recap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 5px 0;
}
.kd-reserve .booking-recap-row > span {
  color: var(--kf-faint);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 7.5px;
  font-weight: 700;
  flex: 0 0 auto;
}
.kd-reserve .booking-recap-row > b {
  color: #efe6cd;
  font: 400 14px Georgia, "Times New Roman", serif;
  text-align: right;
  letter-spacing: .01em;
}
.kd-reserve .booking-recap-prices {
  border-top: 1px dashed rgba(212, 185, 111, .22);
  margin-top: 9px;
  padding-top: 8px;
}
.kd-reserve .booking-recap-prices > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 4px 0;
  color: #a9b7aa;
  font-size: 11.5px;
}
.kd-reserve .booking-recap-prices > div > span {
  letter-spacing: .02em;
}
.kd-reserve .booking-recap-prices > div > b {
  color: #e8dcba;
  font: 400 13px Georgia, "Times New Roman", serif;
  white-space: nowrap;
}
.kd-reserve .booking-recap-prices .recap-discount > span,
.kd-reserve .booking-recap-prices .recap-discount > b {
  color: #d9b07c;
}
.kd-reserve .booking-recap-prices .recap-extra > span {
  color: #c2cdc5;
}
.kd-reserve .booking-recap-prices .recap-extra > b {
  color: #e2cf9b;
}

/* ---------- étape 4 : récap + consentement ---------- */
.kd-reserve .total-summary {
  margin: 18px 0 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(212, 185, 111, .12), rgba(212, 185, 111, .03));
  border: 1px solid rgba(212, 185, 111, .34);
  border-radius: 4px;
}
.kd-reserve .total-summary > span {
  color: #e9ddba;
  font: 400 15px Georgia, "Times New Roman", serif;
}
.kd-reserve .total-summary small {
  color: var(--kf-muted);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 5px;
}
.kd-reserve .total-summary > b {
  color: #f2dfab;
  font: 400 27px Georgia, "Times New Roman", serif;
}
.kd-reserve .book-step label.privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 6px;
}
.kd-reserve .book-step label.privacy > input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: #c9a95c;
  cursor: pointer;
}
.kd-reserve .book-step label.privacy > span {
  color: #93a596;
  letter-spacing: .01em;
  text-transform: none;
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.65;
}
.kd-reserve .book-step label.privacy a {
  color: #d9c48c;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(212, 185, 111, .4);
}
.kd-reserve .integration-note {
  color: #80947f !important;
  border-color: rgba(212, 185, 111, .14);
  background: rgba(255, 255, 255, .025);
  font-size: 8px !important;
  letter-spacing: .02em !important;
  border-radius: 3px;
  text-align: left !important;
}

/* erreur + alerte */
.kd-reserve .bd-error {
  color: #f0c2b4 !important;
  background: rgba(150, 60, 42, .16) !important;
  border-left: 2px solid #c0694f !important;
  font-size: 10.5px !important;
  border-radius: 3px;
}

/* ---------- écran succès ---------- */
.kd-reserve .booking-success {
  padding: 30px 30px 34px;
  height: 100%;
  overflow-y: auto;
}
.kd-reserve .booking-success > span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: #102515;
  font: 400 32px Georgia, "Times New Roman", serif;
  background: radial-gradient(circle at 32% 28%, #f6e7b8, #c9a95c 68%);
  box-shadow: 0 0 0 7px rgba(212, 185, 111, .12), 0 0 34px rgba(212, 185, 111, .35);
  margin-bottom: 4px;
}
.kd-reserve .booking-success > small {
  color: var(--kf-gold);
  letter-spacing: .24em;
  font-size: 8px;
}
.kd-reserve .booking-success h2 {
  color: #fbf3de;
  font: 400 clamp(30px, 6vw, 40px)/1.08 Georgia, "Times New Roman", serif;
}
.kd-reserve .booking-success h2 span:first-child {
  display: inline-block;
  background: linear-gradient(120deg, #f2e2b0, #d4b96f 60%, #efddab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kd-reserve .booking-success > p:not(.booking-success-total) {
  color: #a9b7aa;
  font-size: 13px;
}
.kd-reserve .booking-success > div {
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(212, 185, 111, .22);
  width: min(320px, 92%);
  border-radius: 4px;
  padding: 18px;
  margin: 16px 0 4px;
}
.kd-reserve .booking-success > div span {
  color: var(--kf-faint);
  letter-spacing: .16em;
}
.kd-reserve .booking-success > div b {
  color: #f2e3b2;
  font: 400 21px Georgia, "Times New Roman", serif;
  letter-spacing: .06em;
}
.kd-reserve .booking-success > div small {
  color: var(--kf-gold);
  letter-spacing: .14em;
}
.kd-reserve .booking-success .booking-success-total {
  border-block-color: rgba(212, 185, 111, .2);
  color: #a9b7aa !important;
}
.kd-reserve .booking-success .booking-success-total b {
  color: #f5e5b8;
  font-size: 25px;
}
.kd-reserve .booking-success > button {
  background: linear-gradient(135deg, #e6d3a0, #c9a95c);
  color: #102515;
  min-height: 50px;
  padding: 0 30px;
  border: 0;
  border-radius: 3px;
  letter-spacing: .16em;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  transition: transform .25s, box-shadow .25s;
}
.kd-reserve .booking-success > button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .45), 0 0 24px rgba(212, 185, 111, .3);
}

/* défilement sombre discret */
.kd-reserve .booking-drawer-scroll,
.kd-reserve .booking-success {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 185, 111, .3) transparent;
}
.kd-reserve .booking-drawer-scroll::-webkit-scrollbar,
.kd-reserve .booking-success::-webkit-scrollbar {
  width: 5px;
}
.kd-reserve .booking-drawer-scroll::-webkit-scrollbar-thumb,
.kd-reserve .booking-success::-webkit-scrollbar-thumb {
  background: rgba(212, 185, 111, .3);
  border-radius: 99px;
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .kd-reserve .booking-drawer {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
  }
  .kd-reserve .booking-recap-row,
  .kd-reserve .booking-recap-prices > div {
    gap: 10px;
  }
  .kd-reserve .booking-recap-row > b {
    font-size: 13px;
  }
  .kd-reserve .drawer-top {
    padding: 22px 54px 16px 20px;
  }
  .kd-reserve .chosen-villa {
    margin: 18px 20px 2px;
    grid-template-columns: 104px 1fr;
    height: 86px;
  }
  .kd-reserve .booking-drawer-scroll {
    padding: 14px 20px 26px;
  }
  .kd-reserve .rate-plan {
    padding: 15px 15px 13px;
  }
  .kd-reserve .rate-plan > strong {
    position: static !important;
    display: block !important;
    margin: 9px 0 0 !important;
    transform: none !important;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kd-reserve .book-step,
  .kd-reserve .drawer-availability > span,
  .kd-reserve .book-step > .next,
  .kd-reserve .step-buttons .next {
    animation: none !important;
    transition: none !important;
  }
}

/* RTL : le tiroir sombre reste aligné à droite du sens de lecture */
html[dir="rtl"] .kd-reserve .booking-drawer {
  border-left: 0;
  border-right: 1px solid rgba(212, 185, 111, .22);
  box-shadow: 34px 0 90px rgba(0, 0, 0, .55);
}

/* ══════════════════════════════════════════ */
/* ── Page de statut / retour de paiement : variante sombre ── */
/* ══════════════════════════════════════════ */
.villa-booking-result {
  background:
    radial-gradient(1000px 420px at 84% -6%, rgba(212, 185, 111, .07), transparent 60%),
    radial-gradient(700px 380px at 6% 104%, rgba(212, 185, 111, .04), transparent 55%),
    linear-gradient(170deg, #0a1f15 0%, #071510 52%, #081710 100%);
}
.villa-booking-result-card {
  background:
    radial-gradient(480px 220px at 50% -30%, rgba(212, 185, 111, .1), transparent 60%),
    linear-gradient(175deg, #0d2417, #08150d 70%);
  border: 1px solid rgba(212, 185, 111, .24);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, #d4b96f 20%, #f0dda6 50%, #d4b96f 80%, transparent) 1;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55);
  color: var(--kf-cream);
  color-scheme: dark;
}
.villa-booking-result .booking-result-state {
  color: var(--kf-cream);
}
.villa-booking-result .booking-result-state > small {
  color: var(--kf-gold);
  letter-spacing: .22em;
}
.villa-booking-result .booking-result-state h1,
.villa-booking-result .booking-result-state h2 {
  color: #f8f0da;
}
/* Seul l'écran « confirmé » a ses lignes de titre en dégradé or. */
.villa-booking-result .booking-result-state.confirmed h1 {
  background: linear-gradient(120deg, #f2e2b0, #d4b96f 60%, #efddab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.villa-booking-result .booking-result-state p {
  color: #a9b7aa;
}
.villa-booking-result .booking-result-state .booking-result-check,
.villa-booking-result .booking-result-state .booking-result-cross {
  background: radial-gradient(circle at 32% 28%, #f6e7b8, #c9a95c 70%);
  color: #102515;
  box-shadow: 0 0 0 7px rgba(212, 185, 111, .12), 0 0 34px rgba(212, 185, 111, .3);
}
.villa-booking-result .booking-result-state.failed .booking-result-cross,
.villa-booking-result .booking-result-state.error .booking-result-cross {
  background: radial-gradient(circle at 32% 28%, #e8c9a2, #a5673a 70%);
  color: #1a0e06;
}
.villa-booking-result .booking-result-state .booking-result-spinner {
  border-color: rgba(212, 185, 111, .2);
  border-top-color: var(--kf-gold);
}
.villa-booking-result .booking-result-state .booking-result-total {
  border-block-color: rgba(212, 185, 111, .2);
}
.villa-booking-result .booking-result-state .booking-result-total b {
  color: #f2e0ab;
}
.villa-booking-result .booking-result-state .booking-result-total small {
  color: #9db09f;
}
.villa-booking-result .booking-result-cta {
  background: linear-gradient(135deg, #e6d3a0, #c9a95c);
  color: #102515;
  border: 0;
  border-radius: 3px;
  letter-spacing: .14em;
  font-size: 8.5px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
  transition: transform .25s, box-shadow .25s;
}
.villa-booking-result .booking-result-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .4);
}
.villa-booking-result .booking-result-link {
  color: #d9c48c;
  border-bottom-color: rgba(212, 185, 111, .45);
}
.villa-booking-result .booking-result-state .booking-result-ref b {
  color: #f0dfa8;
}

/* ═══════════════════════════════════════════════════════════ */
/* ── RTL (arabe) · VERROU DE POSITION ──                      */
/*                                                             */
/* Exigence : aucun composant ni bloc ne change de position    */
/* par rapport à la version originale (LTR). Seul le texte     */
/* s'écoule de droite à gauche à l'intérieur de SES boîtes.    */
/*                                                             */
/* Principe : la direction de mise en page reste LTR (comme    */
/* l'original) — les grilles, flex et absolu gardent l'ordre   */
/* et les côtés d'origine. Les éléments de TEXTE repassent en  */
/* base RTL pour une ponctuation et un ordre arabe corrects ;  */
/* leur boîte, elle, ne bouge jamais.                          */
/* ═══════════════════════════════════════════════════════════ */

/* 1) Verrou global : la direction du document reste LTR.
   (l'attribut dir="rtl" est conservé sur <html> pour la
   sémantique et les lecteurs d'écran ; il n'inverse plus
   la mise en page). La barre de défilement reste à droite. */
html[dir="rtl"],
html[dir="rtl"] body {
  direction: ltr !important;
}

/* 2) Le contenu textuel repasse en base RTL : ponctuation arabe
   correcte, ordre droit-à-gauche naturel, chiffres et segments
   latins bien placés. L'alignement suit `start` (= droite) sauf
   si le design impose explicitement `center`. */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] blockquote,
html[dir="rtl"] figcaption,
html[dir="rtl"] dt,
html[dir="rtl"] dd,
html[dir="rtl"] th,
html[dir="rtl"] td,
html[dir="rtl"] label,
html[dir="rtl"] small,
html[dir="rtl"] em,
html[dir="rtl"] strong,
html[dir="rtl"] b,
html[dir="rtl"] span,
html[dir="rtl"] address,
html[dir="rtl"] option,
html[dir="rtl"] textarea {
  direction: rtl;
}

/* 3) Boutons et liens : base RTL pour que les flèches inversées
   (←) du dictionnaire arabe gardent leur sens naturel. Le bouton
   lui-même reste à sa position d'origine (verrou global). */
html[dir="rtl"] button,
html[dir="rtl"] a {
  direction: rtl;
}

/* 4) Segments toujours LTR : téléphones, e-mails, URL, dates —
   le « + » et l'arobase doivent rester à gauche du numéro. */
html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] a[href^="mailto:"],
html[dir="rtl"] time,
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] .footer-contact,
html[dir="rtl"] .footer-contact a,
html[dir="rtl"] [data-ltr] {
  direction: ltr;
  unicode-bidi: embed;
}

/* 5) Compteurs et coordonnées : ordre des chiffres identique
   à l'original (01 · 05, 440 ha, 75 000…). */
html[dir="rtl"] .estate-map-counter,
html[dir="rtl"] .estate-map-dots,
html[dir="rtl"] .quality-dots,
html[dir="rtl"] .stays-dots,
html[dir="rtl"] [data-slider-track],
html[dir="rtl"] .hero-coordinates,
html[dir="rtl"] .geo-meta,
html[dir="rtl"] .location-coords {
  direction: ltr;
}

/* 6) Tiroir de réservation villas : ouverture à DROITE comme en
   LTR (neutralise l'ancienne règle « miroir » qui l'ouvrait à
   gauche). Bordure et ombre ramenées aux valeurs d'origine. */
html[dir="rtl"] .booking-drawer-wrap {
  place-items: stretch end !important;
}
html[dir="rtl"] .booking-drawer {
  border-left: 1px solid #b59a5b6b !important;
  border-right: 0 !important;
  box-shadow: -20px 0 70px #0000004d !important;
}

/* 7) Tiroir de précommande (kd-reserve) : même verrou — bordure
   et ombre identiques à la version originale (ouverture droite). */
html[dir="rtl"] .kd-reserve .booking-drawer {
  border-left: 1px solid rgba(212, 185, 111, .22) !important;
  border-right: 0 !important;
  box-shadow: -34px 0 90px rgba(0, 0, 0, .55) !important;
}

/* 8) Header mobile (RTL) : le bloc « Mobile RTL » (~ligne 1145) impose les
   MÊMES positions que les autres langues (marque à gauche, langue puis
   menu à droite). Il est volontairement la seule source pour ces colonnes
   : un bloc supplémentaire ici créerait un conflit et décalerait la
   langue/le menu. */

/* 9) Header desktop : AUCUN override de colonnes — les règles
   existantes (lignes 21-27 : .hamb colonne 1, .head-actions colonne 3)
   sont correctes avec le verrou global direction:ltr. Forcer .hamb en
   colonne 3 entrait en conflit avec .head-actions (colonne 3 aussi) et
   poussait brand/head-actions sur une deuxième ligne. */

/* ═══════════════════════════════════════════════════════════ */
/* ── 10) Protection du texte arabe (Safari / iOS / WebKit) ──  */
/*                                                             */
/* Symptômes corrigés : mots arabes « hachés » (lettres        */
/* détachées) et coupures au milieu d'un mot.                  */
/*                                                             */
/* Causes traitées :                                           */
/*  a) letter-spacing : sur WebKit il s'applique ENTRE les     */
/*     lettres liées de l'écriture arabe cursives et brise la  */
/*     liaison graphique (ا ل ع ر ب ي ة). L'arabe ne pratiquant */
/*     pas l'interlettrage, tout est remis à zéro.             */
/*  b) hyphens:auto : la césure automatique est illimitée en   */
/*     arabe → interdite.                                      */
/*  c) overflow-wrap:anywhere / word-break:break-all : coupent */
/*     un mot arabe n'importe où → remplacés par break-word    */
/*     (coupure d'urgence uniquement entre mots).              */
/*  d) -webkit-line-clamp : tronque en plein mot → désactivé   */
/*     sur l'accroche du hero en version arabe.                */
/*  e) text-overflow:ellipsis : la bascule RTL des éléments de  */
/*     texte (bloc 2) place déjà les « … » du bon côté (fin    */
/*     gauche du texte arabe).                                 */
/* ═══════════════════════════════════════════════════════════ */

/* a) Zéro interlettrage partout en arabe.
   Les :not(#…) empilés ne servent qu'à dépasser la spécificité des
   ~37 règles « letter-spacing … !important » du design (ex.
   .header .brand-copy > b) : à importance égale, la plus spécifique
   gagnerait sinon. Ces identifiants n'existent pas dans le DOM. */
html[dir="rtl"] *:not(#i18n-a):not(#i18n-b):not(#i18n-c):not(#i18n-d) {
  letter-spacing: 0 !important;
}

/* b) + c) Jamais de césure ni de coupure intra-mot en arabe. */
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] p, html[dir="rtl"] li, html[dir="rtl"] blockquote,
html[dir="rtl"] figcaption, html[dir="rtl"] dt, html[dir="rtl"] dd,
html[dir="rtl"] th, html[dir="rtl"] td, html[dir="rtl"] label,
html[dir="rtl"] small, html[dir="rtl"] em, html[dir="rtl"] strong,
html[dir="rtl"] b, html[dir="rtl"] span, html[dir="rtl"] address,
html[dir="rtl"] summary, html[dir="rtl"] textarea,
html[dir="rtl"] button, html[dir="rtl"] a {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  line-break: auto;
}

/* d) Accroche du hero : la troncature à 3 lignes (-webkit-line-clamp)
   coupait les phrases arabes en plein mot. En arabe le texte s'affiche
   en entier (il est de toute façon plus court que l'allemand). */
html[dir="rtl"] .hero .hero-lead {
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  display: block !important;
  overflow: visible !important;
}

/* Kicker et titres du hero : retour à la ligne naturel uniquement. */
html[dir="rtl"] .hero .hero-center > .kicker,
html[dir="rtl"] .hero .hero-slide-title {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Titre du hero « قصر الزيت » : le v2 applique au h1 un dégradé peint via
   background-clip:text sur des boîtes de ligne de 0.94 — les ascendantes
   arabes (ا ل) et descendantes (ق ز) dépassent la boîte et sortent SANS
   fond, donc « coupées ». On rouvre l'interligne (1.3) pour que la boîte
   couvre tout le dessin du mot, et on interdit toute coupure de mot. */
html[dir="rtl"] .hero h1 {
  line-height: 1.3 !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Sous-titre « المزرعة العضوية » : le v2 force white-space:nowrap — sur
   écran étroit le mot ne peut pas passer à la ligne et déborde. Ligne
   naturelle + interligne aéré, et padding latéral symétrisé en RTL. */
html[dir="rtl"] .hero .hero-estate {
  white-space: normal !important;
  line-height: 1.6 !important;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Mobile très étroit : on réduit légèrement le corps du h1 arabe pour que
   « قصر الزيت » tienne sur une ligne sans jamais toucher les bords. */
@media (max-width: 560px) {
  html[dir="rtl"] .hero h1 {
    font-size: clamp(34px, 10.5vw, 48px) !important;
    letter-spacing: 0 !important;
  }
  html[dir="rtl"] .hero .hero-estate {
    font-size: clamp(12px, 3.4vw, 15px) !important;
  }
}

/* Éléments mixtes arabes/latins : les segments latins (e-mail, URL,
   « 3-D Secure »…) restent soudés, seuls les mots arabes peuvent
   passer à la ligne entre eux. */
html[dir="rtl"] .chronicle-item span,
html[dir="rtl"] .chronicle-meeting span {
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

/* f) Conteneurs avec du TEXTE DIRECT (div, section, …) : la base LTR
   du verrou de position donnerait un ordre faux aux phrases arabes
   mêlées de chiffres (ex. « إرث عائلي منذ ١٩١٤ » avec le nombre du
   mauvais côté). `unicode-bidi: plaintext` détermine la direction de
   CHAQUE paragraphe d'après son premier caractère fort (arabe → RTL),
   SANS réordonner les flex/grid items (ça, c'est la propriété
   `direction`, qui reste verrouillée en LTR). */
html[dir="rtl"] div,
html[dir="rtl"] section,
html[dir="rtl"] article,
html[dir="rtl"] header,
html[dir="rtl"] footer,
html[dir="rtl"] nav,
html[dir="rtl"] aside,
html[dir="rtl"] ul,
html[dir="rtl"] ol,
html[dir="rtl"] figure,
html[dir="rtl"] main,
html[dir="rtl"] form {
  unicode-bidi: plaintext;
}

/* ══════════════════════════════════════ */
/* ── Message de disponibilité : CTA « réserver maintenant » ── */
/* ══════════════════════════════════════ */

/* Le message de succès invite à réserver : le bouton doré sous le texte
   conduit à la grille des hébergements (défilement fluide). */
.book-message p {
  margin: 0;
}

.book-message-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  padding: 9px 16px;
  color: #102719;
  background: linear-gradient(135deg, #b89343, #ecd895 52%, #b78f3c);
  border: 1px solid #f5e7b5;
  box-shadow: inset 0 0 0 1px #ffffff52, 0 8px 24px #0003;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.25s;
}

.book-message-cta:hover,
.book-message-cta:focus-visible {
  filter: brightness(1.07);
}

.book-message-cta span {
  font-size: 11px;
  line-height: 1;
}

/* ══════════════════════════════════════ */
/* ── Résultat de disponibilité : vert = disponible, rouge = non ── */
/* ══════════════════════════════════════ */

/* La feuille .v2 peint .book-message en doré quel que soit le résultat.
   Sémantique e-commerce standard : succès en VERT, erreur en ROUGE. */

/* ✅ Disponible : fond vert pâle, liseré et texte verts profonds.
   !important requis : la feuille .v2 (index-CUfzU_Z3.v2.css) définit aussi
   .book-error en !important et écraserait sinon ces couleurs. */
.book-message.book-success {
  color: #14432a !important;
  background: #e8f4ea !important;
  border-left: 2px solid #3d7d4f !important;
}

/* ✗ Non disponible / erreur : fond rouge pâle, liseré et texte rouges. */
.book-message.book-error {
  color: #6b1512 !important;
  background: #f9e9e7 !important;
  border-left: 3px solid #b3382f !important;
}

/* Le CTA reste doré (action commerciale) mais prend une ombre verte
   discrète sur le fond vert du succès pour rester harmonieux. */
.book-message.book-success .book-message-cta {
  box-shadow: inset 0 0 0 1px #ffffff52, 0 8px 24px #14432a26;
}

/* ══════════════════════════════════════ */
/* ── Correctifs Apple / iOS · réservation ── */
/* ══════════════════════════════════════ */

/* Safari iOS zoome automatiquement la page quand on focus un champ dont la
   police fait moins de 16px — le tiroir (13px) et le widget d'accueil (11px)
   étaient concernés. On remonte les contrôles de réservation à 16px sur iOS
   uniquement (@supports -webkit-touch-callout : vrai seulement sur Safari
   WebKit tactile), pour ne rien changer au design desktop. */
@supports (-webkit-touch-callout: none) {
  .kd-reserve .book-step input:not([type="checkbox"]):not([type="radio"]),
  .kd-reserve .book-step select,
  .kd-reserve .book-step textarea,
  .kd-reserve .guest-grid input,
  .kd-reserve .guest-grid select,
  .kd-reserve .guest-grid textarea,
  .booking form input,
  .booking form select {
    font-size: 16px !important;
  }
}

/* En paysage sur les petits iPhone, le tiroir plein écran passe sous
   l'encoche : on respecte la safe-area sans toucher aux marges normales. */
@media (orientation: landscape) and (max-width: 700px) {
  @supports (-webkit-touch-callout: none) {
    .kd-reserve .booking-drawer {
      padding-left: max(38px, env(safe-area-inset-left)) !important;
      padding-right: max(38px, env(safe-area-inset-right)) !important;
    }
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Footer credit — une ligne discrète, blanc + or, élégance typographique :
   Ce site est réalisé par l'équipe ANISO Creative Studio
   (serif italique pour le lead-in, or espacé pour le studio,
   respiration généreuse — aucun ornement)
   ════════════════════════════════════════════════════════════════════ */
.footer-credit {
  text-align: center;
  margin: 0;
  padding: 30px max(5vw, 50vw - 620px) 40px;
  font-family: Georgia, "Times New Roman", serif;
}

/* Deux olives dorées encadrant la phrase — un accent symétrique, discret
   et parfaitement dans le thème du domaine. */
.footer-credit .credit-olive {
  display: inline-block;
  width: 7px;
  height: 9px;
  margin: 0 14px;
  vertical-align: -1px;
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: radial-gradient(
    ellipse at 32% 28%,
    #f4e3ad 0%,
    #e2c780 38%,
    #b9954e 78%,
    #96763a 100%
  );
  box-shadow:
    inset 0 -1px 2px rgba(90, 66, 22, 0.45),
    0 0 8px rgba(216, 191, 126, 0.35);
}
.footer-credit p .credit-olive:first-child {
  margin-left: 0;
}
.footer-credit p .credit-olive:last-child {
  margin-right: 0;
}

.footer-credit p {
  margin: 0;
  color: #f4efe3;
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

/* Nom du studio : or métallisé (dégradé balayé par la lumière, rendu en
   background-clip:text) — attire l'œil sans casser la discrétion du bloc. */
.footer-credit b {
  font-style: normal;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  background: linear-gradient(
    100deg,
    #a8894a 0%,
    #e9d296 28%,
    #f6e7b6 46%,
    #d9bd7e 62%,
    #a8894a 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #d9bd7e; /* repli si background-clip:text n'est pas supporté */
  animation: credit-gold-sheen 7s ease-in-out infinite;
}

@keyframes credit-gold-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-credit b {
    animation: none;
  }
}

/* Mobile : le nom peut passer à la ligne proprement */
@media (max-width: 520px) {
  .footer-credit {
    padding-top: 20px;
    padding-bottom: 26px;
  }
  .footer-credit p {
    font-size: 12px;
  }
  .footer-credit .credit-olive {
    width: 6px;
    height: 8px;
    margin: 0 9px;
  }
  .footer-credit b {
    font-size: 12px;
    letter-spacing: 0.1em;
    white-space: normal;
  }
}

/* Toujours lisible : le crédit est le dernier élément de la page, la
   révélation au scroll (marge basse négative de l'observateur) ne peut
   structurellement jamais l'atteindre — on neutralise donc toute classe
   d'animation héritée, quel que soit le moment du rendu ou la langue. */
.footer-credit p,
.footer-credit.reveal-text,
.footer-credit .reveal-text {
  opacity: 1 !important;
  transform: none !important;
}

/* Arabe : pas d'italique (casserait la liaison cursive), taille adaptée */
[dir="rtl"] .footer-credit {
  font-family: Arial, Helvetica, sans-serif;
}
[dir="rtl"] .footer-credit p {
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: normal;
}
[dir="rtl"] .footer-credit b {
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Partenariat officiel ANISO Olive Reserve — section d'accueil autonome
   (anciennement bloc `.footer-partner` du footer, déplacée après le teaser
   B2B).

   Fond : la section est TRANSPARENTE. C'est le wrapper partagé
   `.badge-footer-shell` (badge + footer dans HomePage) qui porte le fond du
   premium footer — SANS son fin filet vertical doré : peint sur toute la
   hauteur du shell, il devenait une longue ligne traversant badge et footer
   jusqu'en bas de page. Un seul dégradé sur les deux blocs → aucune
   différence de teinte possible à la jonction.
   ========================================================================== */
.badge-footer-shell {
  background:
    radial-gradient(circle at 50% -8%, rgba(200, 169, 86, 0.13), transparent 32%),
    linear-gradient(150deg, #06120c, #0a2115 54%, #06140d);
}

.partner-badge {
  background: transparent;
  border-top: 1px solid rgba(218, 193, 129, 0.22);
  padding: 64px max(5vw, 50vw - 620px) 72px;
}

/* À l'intérieur du shell partagé, le footer ne repeint plus son propre fond :
   il laisse voir celui du shell (sinon son dégradé local recréerait une
   couture au même endroit). Les pages SANS badge (villas, legal…) gardent
   leur fond d'origine, puisque ce sélecteur ne vise que le shell. */
.badge-footer-shell .premium-footer {
  background: transparent;
  overflow: visible;
}

/* Ligne séparateur entre le badge et la couronne « Die Welt von Ksar Ezzit » :
   filet doré posé exactement à la jonction (border-top du footer dans le
   shell), s'estompant aux extrémités — la même signature que les séparateurs
   du site. Uniquement dans le shell ; les autres pages ne sont pas touchées.
   (Les pseudo-éléments du footer sont neutralisés par la CSS compilée avec
   display:none!important, d'où l'usage d'un border-top + border-image.) */
.badge-footer-shell .premium-footer {
  border-top: 1px solid rgba(216, 191, 126, 0.28);
  border-image: linear-gradient(90deg, transparent, rgba(216, 191, 126, 0.5), transparent) 1;
}

.partner-badge-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* Visuel de la réserve — posé au-dessus du bloc, comme une étiquette de
   domaine : ratio portrait respecté, ombre douce, rien n'est recadré. */
.partner-badge-image {
  width: min(150px, 40vw);
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.45));
}

/* Filet doré avec losange central — même signature que les séparateurs du site. */
.partner-badge-inner::before {
  content: "";
  position: relative;
  width: 64px;
  height: 9px;
  margin-bottom: 4px;
  background:
    linear-gradient(90deg, transparent, rgba(216, 191, 126, 0.55), transparent) center / 100% 1px no-repeat;
}
.partner-badge-inner::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translateX(-50%) rotate(45deg);
  background: #d8bf7e;
}

.partner-badge-inner small {
  color: #d5b871;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.partner-badge-inner strong {
  color: #f7f0de;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.partner-badge-inner em {
  color: #d8bf7e;
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.partner-badge-inner b {
  color: #d8bf7e;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.42em;
  /* Compense le letter-spacing final pour un centrage optique exact. */
  margin-right: -0.42em;
  line-height: 1;
}

/* Bouton vers le site officiel ANISO — registre luxe : contour or fin sur
   fond translucide, majuscules très espacées, flèche qui glisse au survol,
   remplissage doré balayant de gauche à droite. */
.partner-badge-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  min-height: 52px;
  padding: 0 42px;
  overflow: hidden;
  color: #e6ce88;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 191, 126, 0.12), transparent 70%),
    rgba(6, 18, 12, 0.35);
  border: 1px solid rgba(216, 191, 126, 0.55);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition:
    color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.45s,
    box-shadow 0.45s,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Balayage doré (couche au-dessus du fond, sous le texte) */
.partner-badge-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #b99a54, #e2c780 50%, #c9a95f);
  transform: translateX(-101%);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Flèche */
.partner-badge-cta::after {
  content: "→";
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Le texte et la flèche au-dessus du balayage doré */
.partner-badge-cta > span,
.partner-badge-cta::after {
  z-index: 1;
}

.partner-badge-cta::before {
  z-index: 0;
}

.partner-badge-cta:hover {
  color: #0a2115;
  border-color: rgba(230, 206, 136, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 244, 214, 0.25);
}

.partner-badge-cta:hover::before {
  transform: translateX(0);
}

.partner-badge-cta:hover::after {
  transform: translateX(5px);
}

.partner-badge-cta:focus-visible {
  outline: 2px solid #e8cb7d;
  outline-offset: 5px;
}

/* Mobile : proportions resserrées */
@media (max-width: 560px) {
  .partner-badge {
    padding: 44px 6vw 52px;
  }
  .partner-badge-cta {
    margin-top: 18px;
    min-height: 48px;
    padding: 0 28px;
    letter-spacing: 0.22em;
  }
  .partner-badge-inner {
    gap: 8px;
  }
  .partner-badge-image {
    width: min(118px, 34vw);
    margin-bottom: 9px;
  }
  .partner-badge-inner strong {
    font-size: 20px;
  }
  .partner-badge-inner em {
    font-size: 8px;
    letter-spacing: 0.24em;
  }
}

/* ══════════════════════════════════════ */
/* ── Mobile : tirets décoratifs du tagline retirés ── */
/* ══════════════════════════════════════ */

/* Demande client (cf. version attendue) : plus aucun tiret de part et
   d'autre de « ORGANIC ESTATE » dans la marque. Sur iPhone le fondu de ces
   tirets se rendait en « petites flèches » (artefact d'interpolation du
   dégradé) ; plutôt que de continuer à corriger le rendu, on les masque
   purement et simplement en mobile — header, rail de marque du menu et
   footer. Le rendu desktop reste inchangé (tirets conservés). */
@media (max-width: 820px) {
  .brand-copy > small i {
    display: none !important;
  }
}

/* ── Mobile : slogan « ORGANIC ESTATE » retiré de la marque du header ── */
/* Demande client : dans la version mobile (iPhone comme Android), le slogan
   sous « KSAR EZZIT » disparaît — seul le nom reste affiché. On remplace
   l'ancien bloc de décalage iPhone par une suppression simple et
   universelle : display:none sur le tagline du header à ≤820px.
   Desktop inchangé (slogan conservé). Le rail de marque du menu et le
   footer ne sont pas touchés. */
@media (max-width: 820px) {
  .header .brand-copy > small {
    display: none !important;
  }
  /* Sans le tagline, « KSAR EZZIT » doit occuper seul la hauteur de la
     marque et être aligné horizontalement sur le sélecteur de langue et
     le menu burger. Le design v2 impose à .brand-copy une hauteur fixe
     (48px) qui laissait le nom collé en haut une fois le slogan masqué :
     on repasse en hauteur automatique et on recentre le contenu —
     .brand (flex, align-items:center) aligne alors le nom sur l'axe
     commun du header. */
  .header .brand-copy {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
}

/* Arabe : pas d'espacement de lettres (casse la liaison cursive), étoile centrée */
[dir="rtl"] .partner-badge-inner small {
  letter-spacing: 0.08em;
}
[dir="rtl"] .partner-badge-inner strong {
  letter-spacing: 0;
}
[dir="rtl"] .partner-badge-inner b {
  margin-right: 0;
}

/* ══════════════════════════════════════ */
/* ── Hero : sous-titre « ORGANIC SINGLE ESTATE » descendu ── */
/* ══════════════════════════════════════ */

/* Demande client : le sous-titre était collé au titre (2px de marge sous le
   h1). On l'abaisse de quelques pixels pour aérer le bloc, sans toucher au
   titre, au filet « Family Heritage » ni à l'accroche. */
.hero .hero-estate {
  margin-top: 10px !important;
}

/* Mobile : le bloc central est déjà remonté (margin-top négatif sur
   .hero-center), un décalage légèrement supérieur garde la même respiration. */
@media (max-width: 820px) {
  .hero .hero-estate {
    margin-top: 13px !important;
  }
}
