:root {
  --bg: #faf7f2;
  --text: #2b2a28;
  --muted: #6b665e;
  --accent: #2f5d50;
  --accent-light: #e3ece8;
  --card: #ffffff;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; } /* <picture> (WebP, tools/optimize-images.ps1) n'ajoute aucune boîte : l'<img> se met en page comme avant */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, 0.95);
  border-bottom: 1px solid #e6e0d6;
}
nav {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding: 14px 0;
}
.logo { font-size: 1.3rem; font-weight: bold; color: var(--accent); text-decoration: none; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; }
/* Accueil : les 2 logos à gauche débordent de l'en-tête sur la photo, puis rentrent dans l'en-tête
   quand on fait défiler la page (classe .scrolled posée en JS) */
/* Sur ordinateur, ils sont calés sur le bord gauche de la fenêtre (hors de la colonne centrée) */
.nav-logos { position: absolute; left: 20px; top: 8px; display: flex; gap: 14px; }
.nav-logos ~ ul { margin-left: auto; }
.nav-logos img {
  height: 163px; width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.85)); /* halo clair pour rester lisibles sur la photo */
  transition: height 0.3s;
}
header.scrolled .nav-logos img { height: 34px; filter: none; }
/* Tant que les logos sont grands, le menu reste à droite de ceux-ci et passe sur 2 lignes si besoin */
@media (min-width: 960px) {
  .nav-logos ~ ul { max-width: calc(50vw + 20px); justify-content: flex-end; }
  header.scrolled .nav-logos ~ ul { max-width: none; }
}
@media (min-width: 960px) and (max-width: 1199px) { .nav-logos ~ ul { max-width: calc(100vw - 470px); } }
/* Écrans moyens : logos plus petits pour ne pas chevaucher le menu */
@media (max-width: 1199px) { .nav-logos img { height: 110px; } }
@media (max-width: 959px) {
  .nav-logos { position: static; }
  .nav-logos img, header.scrolled .nav-logos img { height: 54px; }
}
nav ul a { text-decoration: none; color: var(--text); font-family: system-ui, sans-serif; font-size: 0.95rem; }
nav ul a:hover, nav ul a[aria-current="page"] { color: var(--accent); }
nav ul a[aria-current="page"] { font-weight: 600; }
/* Sélecteur de langue (FR · DE · EN) en fin de menu : drapeau en fond ; langue courante pleine et encadrée, l’autre légèrement estompée */
.lang-switch { display: flex; gap: 5px; align-items: center; font-family: system-ui, sans-serif; font-size: 0.85rem; }
.lang-switch a, .lang-switch span { padding: 2px 6px; border-radius: 6px; line-height: 1.3; font-weight: 700; color: #fff; text-decoration: none; text-shadow: 0 0 2px #000, 0 0 3px #000; border: 1px solid rgba(0, 0, 0, 0.25); }
.lang-switch [lang="fr"] { background: linear-gradient(90deg, #0055a4 33.3%, #fff 33.3% 66.6%, #ef4135 66.6%); }
.lang-switch [lang="de"] { background: linear-gradient(180deg, #000 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.lang-switch [lang="en"] { background: #012169 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0L60 30M60 0L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0L60 30M60 0L0 30' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.lang-switch span { box-shadow: 0 0 0 2px var(--accent); }
.lang-switch a { opacity: 0.75; }
.lang-switch a:hover, .lang-switch a:focus-visible { opacity: 1; color: #fff; }

.hero {
  background:
    linear-gradient(rgba(20, 40, 35, 0.55), rgba(20, 40, 35, 0.65)),
    url("images/gite-o2-piscine-interieure-spa-moselle.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
}
/* Diaporama en fond du bandeau d'accueil : fondu + zoom lent (Ken Burns) */
.hero-slideshow { position: relative; overflow: hidden; background: #1c2a26; }
.hero-slideshow .hero-content { position: relative; z-index: 2; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55); }
.hero-slideshow .btn { text-shadow: none; }
/* Ombre neutre et légère, concentrée derrière le texte, pour garder les tons chauds des photos */
.hero-slideshow::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 70%, rgba(0, 0, 0, 0.05) 100%);
}
.hero-slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero-slides li {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  opacity: 0; transition: opacity 0.5s ease-in-out;
}
/* Même effet que l'ancien site (Elementor) : fondu 0,5 s et zoom « Ken Burns » linéaire jusqu'à ×1,3 en 10 s,
   interrompu au changement de photo. Même animation sur .prev : le zoom continue pendant le fondu de sortie. */
.hero-slides li.active, .hero-slides li.prev { animation: kenburns 10s linear forwards; }
.hero-slides li.active { opacity: 1; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.3); } }
/* Slogan repris de l'ancien site : Poppins gras, blanc, 5em (2,3em sur mobile), ombre marquée */
.hero .hero-slogan {
  font-family: "Poppins", system-ui, sans-serif; font-weight: 700;
  font-size: 5em; line-height: 1.15; color: #fff;
  text-shadow: 0 13px 32px rgba(0, 0, 0, 0.84);
  max-width: none; margin: 0 auto 24px; opacity: 1;
}
@media (max-width: 767px) { .hero .hero-slogan { font-size: 2.3em; } }
/* Titre principal (H1) de l'accueil, placé sous le diaporama */
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.25; margin: 0 0 8px; color: var(--accent); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 12px; }
.hero p { font-size: 1.2rem; max-width: 680px; margin: 0 auto 28px; opacity: 0.95; }
.btn {
  display: inline-block; background: #fff; color: var(--accent);
  padding: 12px 28px; border-radius: 999px; text-decoration: none;
  font-family: system-ui, sans-serif; font-weight: 600;
}
.btn:hover { background: var(--accent-light); }
.hero .btn { margin: 6px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #244a40; }

section { padding: 72px 0; scroll-margin-top: 70px; }
section h2 { font-size: 2rem; margin: 0 0 8px; color: var(--accent); }
.lead { color: var(--muted); margin: 0 0 36px; max-width: 680px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; } /* 2 grandes cartes (attractions de la Game Room) */
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } } /* 6 cartes en 2 lignes de 3 */
.card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-family: system-ui, sans-serif; font-size: 0.95rem; }

.alt { background: var(--accent-light); }

/* Cartes des gîtes */
.gite-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; position: relative; }
/* Prix « à partir de » posé sur la photo des cartes de l'accueil */
.price-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; margin: 0; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: var(--text); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  font-family: system-ui, sans-serif; font-size: 0.85rem; line-height: 1.2;
}
.price-badge strong { color: var(--accent); font-size: 1.15rem; }
.price-badge span { color: var(--muted); font-size: 0.8rem; }
.gite-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gite-card .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gite-card .body p { flex: 1; }
.gite-card .btn { align-self: flex-start; padding: 10px 22px; font-size: 0.95rem; }
/* Sorties autour de Holving (que-faire-autour-de-holving.html et section #region de l'accueil) : cartes photo des gîtes réutilisées */
.sorties { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.sortie-card .body p.sortie-links, .sortie-card .body p.photo-credit { flex: none; }
.sortie-links { font-weight: 600; }
.photo-credit { font-size: 0.75rem !important; opacity: 0.85; }
.photo-credit a { color: inherit; }
.sorties-note { font-family: system-ui, sans-serif; font-size: 0.9rem; color: var(--muted); margin: -20px 0 28px; }
.sorties + .sorties-note { margin: 24px 0 0; font-size: 0.8rem; }
.sortie-card h3 a { text-decoration: none; }
.sorties-more { margin: 28px 0 0; }
.sorties-titre { margin: 48px 0 8px; }
.sorties-titre + .sorties-note { margin: 0 0 24px; }
.tag { font-family: system-ui, sans-serif; font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.stars { color: #b8892b; letter-spacing: 1px; }
/* Pages gîte */
.page-head { padding: 40px 0 0; }
.breadcrumb { font-family: system-ui, sans-serif; font-size: 0.9rem; color: var(--muted); margin: 0 0 12px; }
.breadcrumb a { color: var(--muted); }
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.25; color: var(--accent); margin: 0 0 8px; }
.page-intro { padding-top: 32px; }
.page-head::after { content: ""; display: block; clear: both; }
.page-logo, .card-logo {
  background: #fff; border-radius: var(--radius); padding: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.page-logo { float: right; width: 140px; height: auto; margin: 0 0 12px 24px; }
.card-logo { height: 64px; width: auto; align-self: flex-start; padding: 4px; }
.gite-card .card-logo { width: auto; aspect-ratio: auto; object-fit: contain; } /* annule le recadrage 4:3 des photos de carte */
/* Notes voyageurs Google / Airbnb (liens vers les avis) */
/* 2 badges par ligne : Google + Airbnb, puis Booking + Sport-Découverte côte à côte */
.ratings { display: grid; grid-template-columns: repeat(2, max-content); justify-items: start; gap: 10px; margin-top: 14px; }
@media (max-width: 800px) { .ratings:not(.ratings-small) { grid-template-columns: 1fr; } }
.rating {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  background: var(--card); border: 1px solid #e6e0d6; border-radius: 999px;
  color: var(--text); text-decoration: none; font-family: system-ui, sans-serif; font-size: 0.92rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); transition: box-shadow 0.2s, border-color 0.2s;
}
.rating:hover { border-color: var(--accent); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); }
.rating img { display: block; height: 18px; width: auto; }
.rating .rating-airbnb { height: 17px; }
.rating .rating-booking { height: 14px; }
.rating .rating-sportdec { height: 24px; }
.rating .rating-abritel { height: 18px; }
.rating .rating-abracadaroom { height: 16px; }
.rating .rating-greengo { height: 15px; }
.rating strong { font-size: 1rem; }
.rating .stars { color: #e7a11a; letter-spacing: 1px; }
.rating-count { color: var(--muted); }
/* Version compacte (carte de l'accueil) : badges serrés, retour à la ligne libre (jamais de débordement) ;
   dimensionnés pour que 2 badges tiennent par ligne dans une carte de ~285 px */
.ratings-small { display: flex; flex-wrap: wrap; margin-top: 0; gap: 5px; }
.ratings-small .rating { padding: 3px 6px; font-size: 0.78rem; gap: 3px; }
.ratings-small .rating img { height: 13px; width: auto; aspect-ratio: auto; } /* annule la règle des photos de carte */
.ratings-small .rating .rating-airbnb { height: 12px; }
.ratings-small .rating .rating-booking { height: 10px; }
.ratings-small .rating .rating-sportdec { height: 17px; }
.ratings-small .rating .rating-abritel { height: 12px; }
.ratings-small .rating .rating-abracadaroom { height: 11px; }
.ratings-small .rating .rating-greengo { height: 11px; }
.ratings-small .rating strong { font-size: 0.84rem; }

/* Haut des cartes de l'accueil : logo et nom du gîte côte à côte */
.card-head { display: flex; align-items: center; gap: 14px; }
.card-head h3 { margin: 0; }
.card-head .card-logo { flex: none; }

/* Labels / classement */
.label-badge { width: 110px; height: auto; border-radius: 6px; margin-bottom: 12px; }
.labels {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 32px; padding: 20px 24px; background: var(--card);
  border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.labels .label-badge { margin: 0; }
.labels p { margin: 0; flex: 1; min-width: 220px; font-family: system-ui, sans-serif; color: var(--muted); }
.labels strong { color: var(--text); }
@media (max-width: 760px) {
  .page-logo { width: 96px; margin-left: 16px; }
}

/* Sections détaillées */
.gite { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.gite-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.gite p { margin: 0 0 16px; }

/* Carrousel photos (page Gîte O²) : piste à défilement horizontal « aimanté » (glisser au doigt natif),
   flèches et points ajoutés en JS, défilement auto toutes les 5 s */
.carousel {
  position: relative; min-width: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); background: #1c2a26;
}
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel figure { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; overflow: hidden; }
.carousel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 6s ease-out; }
.carousel figure.current img { transform: scale(1.06); } /* léger zoom sur la photo affichée */
.carousel img.contain, .carousel figure.contain img { object-fit: contain; } /* photo verticale (néons) affichée en entier sur fond sombre */
.carousel figure.white { background: #fff; } /* photo produit sur fond blanc (borne, table Pong) */
.carousel figure.white img { object-fit: contain; }

/* Game Room : un bloc par jeu (photos + logo + texte), alterné gauche / droite */
.jeu { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 36px 0 52px; }
.jeu.reverse > :first-child { order: 2; }
.jeu-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.jeu-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.jeu-photo.white { background: #fff; }
.jeu-photo.white img { object-fit: contain; padding: 12px; }
.jeu-text h3 { font-size: 1.45rem; margin: 0 0 6px; }
.jeu-text p { margin: 12px 0 0; }
.jeu-logo { display: block; height: 46px; width: auto; margin-bottom: 14px; }
@media (max-width: 760px) {
  .jeu { grid-template-columns: 1fr; gap: 20px; margin: 24px 0 40px; }
  .jeu.reverse > :first-child { order: 0; }
}
.carousel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 34px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff; font-family: system-ui, sans-serif; font-size: 0.95rem; font-weight: 600;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.85); color: var(--accent); font-size: 1.8rem; line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); opacity: 0.85; transition: opacity 0.2s, background 0.2s;
}
.carousel-btn:hover { opacity: 1; background: #fff; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; }
.carousel-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.55); transition: width 0.3s, background 0.3s;
}
.carousel-dots button[aria-current="true"] { width: 22px; background: #fff; }
@media (max-width: 760px) { .carousel-btn { width: 36px; height: 36px; font-size: 1.5rem; } }
.features {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: grid; gap: 8px; grid-template-columns: 1fr 1fr;
  font-family: system-ui, sans-serif; font-size: 0.95rem;
}
.features li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.features-list { grid-template-columns: 1fr; }
.subhead { font-size: 1.3rem; margin: 24px 0 12px; }
/* Liste « Le logement » : logos de marques placés juste après le texte de chaque ligne */
.brands { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-left: 8px; vertical-align: middle; }
.brand { display: block; height: 15px; width: auto; }
.brand-klafs { height: 26px; } /* plus haut à cause de la mention « My sauna and spa » */
.brand-wellis { height: 22px; }
.brand-teufel { height: 21px; } /* écriture manuscrite avec jambage : plus haut pour rester lisible */
.infos { font-family: system-ui, sans-serif; color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.infos strong { color: var(--text); }

/* Game Room */
/* Blog : liste (blog.html) et articles (blog-*.html) */
.post-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 24px; }
.post-card h2 { font-size: 1.25rem; margin: 0; line-height: 1.35; }
.gite-card .body .post-meta { flex: none; margin: 0; } /* la ligne date ne doit pas s'étirer comme le résumé */
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-meta { font-family: system-ui, sans-serif; font-size: 0.85rem; color: var(--muted); margin: 0 0 10px; }
.post-cat {
  display: inline-block; background: var(--accent); color: #fff; border-radius: 999px;
  padding: 2px 10px; margin-right: 8px; font-size: 0.75rem; font-weight: 600;
}
.post { padding-top: 32px; }
.post-container { max-width: 780px; }
.post-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); margin: 8px 0 28px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.post h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.post p, .post li { font-size: 1.05rem; line-height: 1.75; }
.post ul { padding-left: 22px; }
.post li { margin-bottom: 10px; }
.post-back { margin-top: 36px; font-family: system-ui, sans-serif; }
.post-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 8px; }
.post-gallery figure { margin: 0; }
.post-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
.post-gallery figcaption { font-family: system-ui, sans-serif; font-size: 0.82rem; color: var(--muted); margin-top: 6px; text-align: center; }
.post-gallery.landscape img { aspect-ratio: 16 / 9; } /* photos en paysage (page demande en mariage) */
.post-figure { margin: 28px 0; }
.post-figure img { width: 100%; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
.post-figure figcaption { font-family: system-ui, sans-serif; font-size: 0.85rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* Accueil, section Game Room : cartes avec la photo du jeu en fond, sous un voile sombre translucide
   (photo passée par la variable --bg dans l'attribut style ; zoom léger au survol) */
.photo-card {
  position: relative; overflow: hidden; isolation: isolate; min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; text-decoration: none; background: #1c2a26;
}
.photo-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--bg) center / cover no-repeat; transition: transform 0.6s ease;
}
.photo-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 25, 22, 0.12) 0%, rgba(15, 25, 22, 0.35) 40%, rgba(15, 25, 22, 0.72) 85%);
}
.photo-card:hover::before { transform: scale(1.08); }
.photo-card h3 { color: #fff; margin: 0 0 6px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.photo-card p { color: #e8ece9; margin: 0; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }

.photo-card .photo-card-price { font-family: system-ui, sans-serif; font-weight: 700; color: #ffe08a; margin: 0 0 4px; }

/* Page Bons cadeaux : étapes numérotées et encadré des conditions */
.steps { padding-left: 22px; margin: 12px 0 0; }
.steps li { margin-bottom: 12px; line-height: 1.6; }
.conditions { max-width: 560px; margin-top: 24px; }
.bons-exemples { display: grid; gap: 18px; }
.bons-exemples figure { margin: 0; }
.bons-exemples img { width: 100%; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.bons-exemples figcaption { font-family: system-ui, sans-serif; font-size: 0.85rem; color: var(--muted); margin-top: 6px; text-align: center; }
.conditions h3 { margin-top: 0; }
.conditions ul { margin: 0; padding-left: 20px; }

/* Accueil : encart « Dernières actualités » (dernier article du blog) */
.news-teaser {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center;
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.news-teaser img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.news-teaser > div { padding: 20px 24px 20px 0; }
.news-teaser h3 { margin: 0 0 8px; font-size: 1.3rem; }
.news-teaser h3 a { color: var(--text); text-decoration: none; }
.news-teaser p { margin: 0 0 14px; }
@media (max-width: 760px) {
  .news-teaser { grid-template-columns: 1fr; gap: 0; }
  .news-teaser > div { padding: 18px 20px 22px; }
}

/* Réseaux sociaux : pastilles icône + nom (pied de page, contact de l'accueil, page flippers, fin des articles) */
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
.social a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25); color: #cfd8d4; text-decoration: none;
  font-family: system-ui, sans-serif; font-size: 0.85rem; transition: background 0.2s, color 0.2s;
}
.social a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.social svg { width: 18px; height: 18px; flex: none; }
/* Icône dans une pastille aux couleurs de chaque réseau */
.social a[class^="s-"] { padding-left: 5px; }
.social a[class^="s-"] svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; }
.social .s-fb svg { background: #1877f2; }
.social .s-ig svg { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social .s-tt svg { background: #010101; box-shadow: -1.5px -1px 0 #25f4ee inset, 1.5px 1px 0 #fe2c55 inset; }
.social .s-yt svg { background: #ff0000; }
.social-light { justify-content: flex-start; margin: 10px 0 0; }
.social-light a { border-color: #d9d2c5; color: var(--accent); background: var(--card); }
.social-light a:hover { background: var(--accent); color: #fff; }
.social-inline { display: flex; margin-top: 10px; }
.social-title { margin: 22px 0 0; font-weight: 700; }
.post-follow { margin: 36px 0 0; padding: 18px 20px; background: var(--card); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.post-follow p { margin: 0; font-size: 1rem; }

/* Reportages TV (blog et pages des gîtes) : la vignette ne charge le lecteur YouTube / TV8 qu'au clic, pour garder des pages rapides */
.video { margin: 8px 0 28px; }
.video-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame img { transition: transform 0.3s, opacity 0.3s; opacity: 0.92; }
.video-frame:hover img, .video-frame:focus-visible img { transform: scale(1.03); opacity: 1; }
.video-frame::after { /* bouton lecture */
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 38px no-repeat;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85); transition: background-color 0.2s;
}
.video-frame:hover::after, .video-frame:focus-visible::after { background-color: var(--accent); }
.video-frame.playing::after { display: none; }
.video-duree { position: absolute; right: 10px; bottom: 10px; z-index: 1; background: rgba(0, 0, 0, 0.75); color: #fff; font: 600 0.8rem system-ui, sans-serif; padding: 2px 8px; border-radius: 4px; }
.video-frame.playing .video-duree { display: none; }
.video-source { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-family: system-ui, sans-serif; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.video-source img { width: 52px; height: 52px; flex: none; border-radius: 8px; object-fit: contain; }
.video-source strong { color: var(--text); }
.video-source a { white-space: nowrap; }
blockquote.synopsis { margin: 20px 0; padding: 14px 20px; background: var(--card); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
blockquote.synopsis p { margin: 0; }
blockquote.synopsis cite { display: block; margin-top: 6px; font: normal 0.85rem system-ui, sans-serif; color: var(--muted); }
/* Section « Vu à la télé » des pages */
.reportages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; margin-top: 24px; }
.reportages-grid article { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; } /* les vidéos restent alignées quelle que soit la longueur des titres */
.reportages-grid .video { margin: 0; }
.reportages-solo { max-width: 780px; }
.reportages-grid h3 { font-size: 1.15rem; margin: 0 0 12px; line-height: 1.35; }
.reportages-grid h3 a { color: var(--text); text-decoration: none; }
.reportages-grid h3 a:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .video-frame img { transition: none; } }

/* Mentions légales : informations encore manquantes, bien visibles tant qu'elles ne sont pas remplies */
.a-completer { background: #fff3cd; color: #8a5a00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.legal h2 { font-size: 1.3rem; }

/* Page 404 */
.not-found { text-align: center; }
.not-found .lead { margin-left: auto; margin-right: auto; }
.not-found-code { font-size: 5rem; font-weight: 700; color: var(--accent); margin: 0; line-height: 1; opacity: 0.25; }
.not-found .grid { text-align: left; margin: 28px 0; }
.not-found-link { text-decoration: none; color: var(--text); transition: transform 0.2s, box-shadow 0.2s; }
.not-found-link:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
.not-found-link h2 { font-size: 1.15rem; margin: 0 0 6px; color: var(--accent); }
.not-found-link p { margin: 0; color: var(--muted); font-family: system-ui, sans-serif; font-size: 0.9rem; }

/* Mention « nouveautés » de la page flippers */
.note-news {
  margin: -6px 0 28px; padding: 12px 16px; border-left: 4px solid var(--accent);
  background: var(--card); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: system-ui, sans-serif; font-size: 0.95rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Encadré « Salle Pro Stern Insider Connected » (Game Room) : photo du lecteur QR + texte, aux couleurs Insider (noir / rouge) */
.insider {
  display: grid; grid-template-columns: 2fr 3fr; gap: 0; margin: 8px 0 44px;
  background: #121212; color: #eee; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.insider-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insider-text { padding: 28px 32px; font-family: system-ui, sans-serif; font-size: 0.95rem; }
.insider-logo { width: 220px; height: auto; background: #fff; border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.insider h3 { color: #fff; font-size: 1.35rem; margin: 0 0 10px; }
.insider p { margin: 0 0 12px; color: #d6d6d6; }
.insider strong { color: #fff; }
.insider-list { list-style: none; padding: 0; margin: 0 0 14px; }
.insider-list li { position: relative; padding: 0 0 10px 28px; color: #d6d6d6; }
.insider-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: #2fb24c; color: #fff; font-size: 0.7rem; font-weight: 700; text-align: center; line-height: 18px;
}
.insider-cta { color: #ff4b4b !important; font-weight: 600; margin-bottom: 0 !important; }
@media (max-width: 760px) {
  .insider { grid-template-columns: 1fr; }
  .insider-photo img { height: auto; aspect-ratio: 16 / 10; }
  .insider-text { padding: 22px 20px; }
}

/* Game Room : section « Privatisation / Gaming VIP » (couleurs de l'affiche : violet / rose néon) */
.privat { background: linear-gradient(135deg, #2a0a4a 0%, #5b0f8a 55%, #a0177a 100%); color: #f4ecff; }
.privat h2, .privat h3 { color: #fff; }
.privat a:not(.btn) { color: #ffd6f5; }
.privat .lead { color: #f4ecff; }
.privat-kicker { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #ff3ec9; color: #fff; font-family: system-ui, sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.privat-head { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; }
.privat-head > picture { display: block; } /* le <picture> WebP doit rester une seule case de la grille */
.privat-poster { width: 100%; border-radius: var(--radius); box-shadow: 0 0 30px rgba(255, 62, 201, 0.45); }
.privat-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 24px; }
.privat-offer { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; font-family: system-ui, sans-serif; }
.privat-offer-vip { border-color: #ff3ec9; box-shadow: 0 0 22px rgba(255, 62, 201, 0.35); }
.privat-icon { font-size: 2rem; margin: 0 0 6px; }
.privat-offer h3 { margin: 0 0 4px; font-size: 1.3rem; }
.privat-hours { margin: 0 0 12px; color: #ffb3ec; font-weight: 600; }
.privat-offer ul { margin: 0 0 16px; padding-left: 18px; flex: 1; }
.privat-offer li { margin-bottom: 6px; }
.privat-price { margin: 0; font-size: 1rem; }
.privat-price strong { font-size: 2rem; color: #fff; }
.privat-price span { display: block; font-size: 0.82rem; color: #e3cdf7; }
.privat-more { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.privat-more .card { background: rgba(255, 255, 255, 0.95); color: var(--text); }
.privat-more .card h3 { color: var(--accent); margin-top: 0; }
.privat-more .card a { color: var(--accent); }
.privat-cta { margin: 28px 0 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.privat-cta .btn:not(.btn-accent) { background: #fff; }
.privat-note { margin: 0; font-family: system-ui, sans-serif; font-size: 0.85rem; color: #e3cdf7; }
@media (max-width: 900px) {
  .privat-head, .privat-more { grid-template-columns: 1fr; }
  .privat-poster { max-width: 320px; margin: 0 auto; }
  .privat-offers { grid-template-columns: 1fr; }
}

/* Page simulateur : section « Le châssis ProSimu T7 Pro » (fond sombre, accents rouges ProSimu) */
.t7 { background: #121212; color: #e8e8e8; }
.t7 h2, .t7 h3 { color: #fff; }
.t7 .lead { color: #e8e8e8; max-width: 860px; }
.t7 strong { color: #fff; }
.t7-kicker { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #d60000; color: #fff; font-family: system-ui, sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.t7-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 28px 0; }
.t7-stat { background: #1e1e1e; border: 1px solid #2c2c2c; border-top: 3px solid #d60000; border-radius: var(--radius); padding: 16px 12px; text-align: center; font-family: system-ui, sans-serif; }
.t7-stat strong { display: block; font-size: 1.6rem; line-height: 1.1; margin-bottom: 6px; }
.t7-stat span { font-size: 0.82rem; color: #b8b8b8; }
.t7-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 28px; }
.t7-gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; }
.t7-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
.t7-gallery figcaption { background: #1e1e1e; color: #d0d0d0; font-family: system-ui, sans-serif; font-size: 0.82rem; padding: 8px 12px; }
@media (max-width: 760px) { .t7-gallery { grid-template-columns: 1fr; } }
/* Vidéo YouTube « légère » (miniature + bouton lecture, iframe chargée au clic) */
.video { margin: 0 0 32px; }
.video h3 { margin: 0 0 12px; }
.video-lite, .video iframe { position: relative; display: block; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.2s; }
.video-lite:hover img { opacity: 1; }
.video-play { position: absolute; top: 50%; left: 50%; width: 78px; height: 54px; transform: translate(-50%, -50%); background: #ff0000; border-radius: 14px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); }
.video-play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.video-title { position: absolute; left: 0; right: 0; top: 0; padding: 12px 16px 26px; background: linear-gradient(rgba(0, 0, 0, 0.7), transparent); color: #fff; text-align: left; font-family: system-ui, sans-serif; font-weight: 600; }
.video-note { margin: 8px 0 0; font-family: system-ui, sans-serif; font-size: 0.8rem; color: #9a9a9a; }
.video-note a { color: #ff6b6b; }
.t7-text ul { padding-left: 20px; font-family: system-ui, sans-serif; }
.t7-text li { margin-bottom: 12px; line-height: 1.6; color: #d0d0d0; }
@media (max-width: 900px) { .t7-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .t7-grid { grid-template-columns: repeat(2, 1fr); } }

/* Page simulateur : galerie Assetto Corsa */
.ac-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.ac-gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); }
.ac-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.5s; }
.ac-gallery figure:hover img { transform: scale(1.05); }
.ac-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); color: #fff; font-family: system-ui, sans-serif; font-size: 0.85rem; font-weight: 600; }
.ac-credit { margin: 10px 0 0; font-family: system-ui, sans-serif; font-size: 0.75rem; color: var(--muted); }
@media (max-width: 760px) { .ac-gallery { grid-template-columns: 1fr 1fr; } }

/* Page simulateur : fiche technique avec logos des marques */
.spec-title { margin: 36px 0 12px; font-size: 1.35rem; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); font-family: system-ui, sans-serif; font-size: 0.95rem; }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid #ece6db; text-align: left; vertical-align: middle; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 22%; color: var(--muted); font-weight: 600; }
.spec-brand { width: 30%; white-space: nowrap; }
.spec-brand img { display: inline-block; height: 30px; width: auto; max-width: 150px; object-fit: contain; vertical-align: middle; margin-right: 10px; }
.spec-brand img[src*="simucube"], .spec-brand img[src*="precision"], .spec-brand img[src*="nsh"] { height: 42px; }
.spec-brand img[src*="fanatec"] { height: 18px; }
.logo-chip { display: inline-flex; align-items: center; gap: 10px; background: #141414; border-radius: 6px; padding: 6px 10px; }
.logo-chip img { height: 22px !important; margin: 0 !important; }
.spec-brand img[src*="samsung"] { height: 22px; }
.spec-brand-text { font-weight: 700; letter-spacing: 0.03em; color: #333; }
@media (max-width: 760px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table tr { padding: 10px 14px; border-bottom: 1px solid #ece6db; }
  .spec-table th, .spec-table td { padding: 2px 0; border: 0; }
  .spec-brand { padding-top: 6px !important; }
}

/* Carrousel « coverflow » des gros plans (Game Room) : photo centrale + voisines en arrière-plan,
   position de chaque photo donnée par data-pos (-2…2 ou hidden), calculée en JS */
.coverflow { position: relative; margin: 8px 0 44px; padding-bottom: 34px; }
.cf-stage { position: relative; height: clamp(240px, 42vw, 460px); overflow: hidden; }
.cf-slide {
  position: absolute; top: 0; left: 50%; width: min(68%, 690px); height: 100%; margin: 0;
  transform: translateX(-50%) scale(0.5); opacity: 0; pointer-events: none;
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1), opacity 0.6s, filter 0.6s;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); cursor: pointer;
}
.cf-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); color: #fff;
  font-family: system-ui, sans-serif; font-weight: 600; font-size: 0.95rem;
  opacity: 0; transition: opacity 0.4s;
}
.cf-slide[data-pos="0"] { transform: translateX(-50%) scale(1); opacity: 1; z-index: 3; pointer-events: auto; cursor: default; }
.cf-slide[data-pos="0"] figcaption { opacity: 1; }
.cf-slide[data-pos="-1"] { transform: translateX(-102%) scale(0.78); opacity: 0.75; z-index: 2; filter: blur(1px) brightness(0.7); pointer-events: auto; }
.cf-slide[data-pos="1"] { transform: translateX(2%) scale(0.78); opacity: 0.75; z-index: 2; filter: blur(1px) brightness(0.7); pointer-events: auto; }
.cf-slide[data-pos="-2"] { transform: translateX(-140%) scale(0.58); opacity: 0.4; z-index: 1; filter: blur(2px) brightness(0.55); }
.cf-slide[data-pos="2"] { transform: translateX(40%) scale(0.58); opacity: 0.4; z-index: 1; filter: blur(2px) brightness(0.55); }
.cf-btn {
  position: absolute; top: calc(50% - 17px); transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.9); color: var(--accent); font-size: 2rem; line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.cf-btn:hover { background: #fff; }
.cf-btn.prev { left: 6px; }
.cf-btn.next { right: 6px; }
.cf-dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 7px; }
.cf-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #cfc6b8; cursor: pointer; transition: width 0.3s, background 0.3s; }
.cf-dots button[aria-current="true"] { width: 24px; background: var(--accent); }
@media (max-width: 760px) {
  .cf-slide { width: 82%; }
  .cf-slide[data-pos="-2"], .cf-slide[data-pos="2"] { opacity: 0; }
  .cf-btn { width: 38px; height: 38px; font-size: 1.6rem; }
}

/* Collection de flippers : une carte par flipper (fronton + nom + édition / année), groupées par marque */
.pin-brand { margin-bottom: 36px; }
.pin-brand h3 { margin: 0 0 14px; font-size: 1.3rem; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.pin-brand .brand-logo { height: 44px; width: auto; }
.pin-brand .brand-logo[src*="jersey-jack"] { height: 56px; }
.pin-brand .brand-logo[src*="williams"] { height: 32px; }
.pin-brand .brand-logo[src*="barrels-of-fun"] { height: 90px; }
.pin-brand h3 small { font-family: system-ui, sans-serif; font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.pin-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.pin-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pin-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.pin-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #1c2a26; }
.pin-name { padding: 10px 12px 2px; font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.pin-meta { padding: 0 12px 12px; font-family: system-ui, sans-serif; font-size: 0.8rem; color: var(--muted); }
@media (max-width: 420px) { .pin-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .pin-name { font-size: 0.88rem; } }

/* Réservation Superhote */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tab {
  background: #fff; color: var(--accent); border: 1px solid var(--accent);
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  font-family: system-ui, sans-serif; font-size: 0.95rem; font-weight: 600;
}
.tab:hover { background: var(--accent-light); }
.tab[aria-selected="true"] { background: var(--accent); color: #fff; }
.booking-frame {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
/* Le widget est sur un autre domaine et n'envoie pas sa hauteur : impossible d'adapter l'iframe
   à son contenu. On lui donne donc une hauteur fixe un peu supérieure à celle de la fiche du
   logement (mesurée en octobre 2026), pour que seule la page défile. Voir README. */
.booking-frame iframe { display: block; width: 100%; border: 0; height: 5700px; }
@media (max-width: 1079px) { .booking-frame iframe { height: 7200px; } }
@media (max-width: 759px) { .booking-frame iframe { height: 9000px; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details {
  background: var(--card); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.faq summary { cursor: pointer; font-weight: bold; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-family: system-ui, sans-serif; font-size: 0.95rem; }

footer {
  background: #22302c; color: #cfd8d4; text-align: center;
  padding: 28px 20px; font-family: system-ui, sans-serif; font-size: 0.9rem;
}
footer a { color: #cfd8d4; }

@media (max-width: 760px) {
  .gite { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 100px 20px; }
  section { padding: 56px 0; }
}
@media (max-width: 420px) {
  .features { grid-template-columns: 1fr; }
}

/* Livre d'or (page Gîte O²) : photo du livre + citations de voyageurs en cartes */
.livre-or { background: var(--accent-light); }
.livre-or-intro { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.livre-or-intro img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); display: block; }
.livre-or-intro .lead { margin: 0; }
.avis-grid { columns: 3 280px; column-gap: 20px; }
.avis { break-inside: avoid; margin: 0 0 20px; padding: 22px 24px; background: var(--card); border-radius: var(--radius); border-left: 4px solid var(--accent); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.avis p { margin: 0; font-style: italic; line-height: 1.6; }
.avis footer { margin: 12px 0 0; padding: 0; background: none; text-align: left; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.livre-or-intro > picture { display: block; }
@media (max-width: 560px) {
  .livre-or-intro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.avis-coeur { margin: 0 0 24px; padding: 30px 34px; border-left-width: 6px; }
.avis-coeur p { font-size: 1.15rem; line-height: 1.7; }
.avis-coeur .avis-ps { margin-top: 10px; font-size: 1rem; }
.avis-badge { display: inline-block; margin-bottom: 12px; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
@media (max-width: 560px) { .avis-coeur { padding: 22px 22px; } .avis-coeur p { font-size: 1.05rem; } }
/* Pages manuscrites du livre d'or : vignettes façon photos posées, légèrement inclinées */
.livre-pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 0 30px; }
.livre-pages a { display: block; color: inherit; text-decoration: none; }
.livre-pages figure { margin: 0; padding: 10px 10px 8px; background: #fff; border-radius: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); transform: rotate(-2deg); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.livre-pages a:nth-child(even) figure { transform: rotate(2deg); }
.livre-pages a:hover figure, .livre-pages a:focus-visible figure { transform: rotate(0) scale(1.04); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2); }
.livre-pages img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; display: block; }
.livre-pages figcaption { margin-top: 6px; text-align: center; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.livre-pages picture { display: contents; }
@media (max-width: 760px) { .livre-pages { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .livre-pages figure { transition: none; } }

/* Encadré de précautions (page simulateur) */
.avertissement { margin: 32px 0 0; padding: 20px 24px; background: #fff8e6; border: 1px solid #f0d58c; border-left: 5px solid #d9a21b; border-radius: var(--radius); }
.avertissement h3 { margin: 0 0 8px; font-size: 1.2rem; }
.avertissement h3::before { content: "⚠️ "; }
.avertissement p { margin: 0 0 8px; }
.avertissement ul { margin: 0; padding-left: 20px; }
.avertissement li { margin: 6px 0; }
