:root {
    --rouge: #8B1A1A;
    --rouge-dark: #6B1010;
    --bois-pale: #C8A882;
    --creme: #FDF6EC;
    --lin: #F0E8D8;
    --blanc: #FFFEF9;
    --anthracite: #2C2C2C;
    --gris: #5A5A5A;
    --gris-clair: #767567;
    --or: #C4963A;
    --r: 6px;
    --rl: 12px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Lato', sans-serif; background: var(--blanc); color: var(--anthracite); font-size: 16px; line-height: 1.7; overflow-x: hidden; }

  /* Repère de focus clavier visible partout (WCAG 2.4.7) — ne s'affiche que
     pour la navigation clavier/programmatique, jamais au clic souris. */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
  textarea:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--rouge);
    outline-offset: 2px;
  }

  .lang-flags {
    display: flex; gap: 4px; align-items: center; margin-left: 1rem;
  }
  .lang-btn {
    background: none; border: 2px solid transparent; cursor: pointer;
    padding: 2px; border-radius: 4px;
    transition: all 0.18s; opacity: 0.55;
    display: flex; align-items: center;
  }
  .lang-btn img { width: 26px; height: 18px; object-fit: cover; border-radius: 2px; display: block; }
  .lang-btn.active { opacity: 1; border-color: var(--rouge); }
  .lang-btn:hover { opacity: 0.9; }

  [data-lang] { display: none; }
  .lang-fr [data-lang="fr"], .lang-en [data-lang="en"], .lang-de [data-lang="de"], .lang-nl [data-lang="nl"] { display: block; }
  span[data-lang] { display: none !important; }
  .lang-fr span[data-lang="fr"], .lang-en span[data-lang="en"], .lang-de span[data-lang="de"], .lang-nl span[data-lang="nl"] { display: inline !important; }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 4vw; height: 65px;
    background: rgba(253,246,236,0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .nav-left { display: flex; align-items: center; gap: 0; }
  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 700; color: var(--rouge);
    text-decoration: none; display: flex; align-items: center; gap: 10px;
  }
  .nav-logo-icon {
    width: 36px; height: 36px; background: var(--rouge); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: #fff;
  }
  .nav-logo-icon img {
    height: 40px;
    width: auto;
    border-radius: 8px;
  }
  .nav-right { display: flex; align-items: center; gap: 0; }
  .nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
  .nav-links a { text-decoration: none; color: var(--anthracite); font-size: 16px; font-weight: 600; opacity: 0.82; transition: opacity 0.2s, color 0.2s; }
  .nav-links a:hover { opacity: 1; color: var(--rouge); }
  .nav-cta { background: var(--rouge) !important; color: #fff !important; opacity: 1 !important; padding: 9px 22px; border-radius: 30px; font-weight: 700 !important; font-size: 14px !important; }
  .nav-cta:hover { background: var(--rouge-dark) !important; }
  .hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--anthracite); }
  .hamburger svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
  /* Nav complète (texte agrandi) jusqu'à 1040px, au-delà bascule sur le menu
     hamburger — seuil relevé par rapport aux autres grilles de la page pour
     laisser la place aux libellés plus longs, sans toucher aux autres
     points de rupture (grilles, hero...) qui restent à 900px. */
  @media (max-width: 1040px) {
    .nav-links { display: none; }
    .lang-flags { display: none; }
    .hamburger { display: block; }
  }

  #accueil {
    min-height: 100vh;
    position: relative;
    display: flex; align-items: center;
    padding: 0 6vw;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('../images/facade.webp');
    background-size: cover; background-position: center;
    background-color: #070706;
  }
  .hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 28px);
  }
  .hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg,
  rgba(10, 10, 10, 0.3)  0%,
  rgba(15, 15, 15, 0.32) 55%,
  rgba(22, 21, 21, 0.15) 100%
),
  radial-gradient(ellipse 65% 75% at 22% 55%, rgba(14, 13, 13, 0.753) 0%, rgba(15, 15, 15, 0.2) 45%, transparent 75%);
  }

  /* Repère de défilement discret en bas du hero — seul indice qui invite à
     continuer, depuis que le bouton "Découvrir" a été retiré du hero-actions. */
  .scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    animation: scrollCueBounce 2.2s ease-in-out infinite;
  }
  .scroll-cue svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
  .scroll-cue:hover { color: #fff; }
  @keyframes scrollCueBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .scroll-cue { animation: none; }
  }
  @media (max-height: 500px) {
    .scroll-cue { display: none; }
  }

  .hero-content { padding: 130px 0 80px; position: relative; z-index: 2; max-width: 680px; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.95);
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 7px 16px; border-radius: 30px; margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.22); font-weight: 700;
  }
  .hero-eyebrow svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
  .hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.1rem, 3.6vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
  .hero-title em { font-style: italic; color: var(--bois-pale); }
  .hero-sub { color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 300; max-width: 480px; margin-bottom: 2rem; line-height: 1.75; }
  .btn-primary { background: var(--rouge); color: #fff; padding: 15px 35px; border-radius: 30px; font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 20px rgba(139,26,26,0.4); }
  .btn-primary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
  .btn-primary:hover { background: var(--rouge-dark); transform: translateY(-2px); }

  /* Petit accès permanent en bord d'écran (calendrier / réservation) —
     remplace les gros boutons du hero, visible en permanence pendant le
     défilement plutôt que seulement en haut de page. */
  .quick-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  .quick-action {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--anthracite);
    padding: 15px 26px;
    border-radius: 30px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.2s;
    white-space: nowrap;
  }
  .quick-action svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
  .quick-action:hover { transform: translateX(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.25); }
  .quick-action-primary { background: var(--rouge); color: #fff; border-color: var(--rouge); }
  .quick-action-primary:hover { background: var(--rouge-dark); }
  @media (max-width: 480px) {
    .quick-actions { right: 10px; bottom: 10px; gap: 10px; }
    .quick-action { padding: 16px; border-radius: 50%; }
    .quick-action svg { width: 20px; height: 20px; }
    .quick-action span { display: none; }
  }

  section { scroll-margin-top: 80px; }
  .section-inner { max-width: 1180px; margin: 0 auto; padding: 58px 4vw; }
  .section-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rouge); margin-bottom: 0.6rem; font-weight: 700; }
  .section-tag::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--rouge); flex-shrink: 0; }
  .section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; color: var(--anthracite); margin-bottom: 1rem; }
  .section-lead { font-size: 17px; color: var(--gris); font-weight: 300; max-width: 560px; line-height: 1.85; margin-bottom: 3rem; }

  .stats-strip { background: var(--rouge); color: #fff; padding: 48px 4vw; }
  .stats-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
  .stat { text-align: center; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,0.2); }
  .stat:last-child { border-right: none; }
  .stat-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; line-height: 1; color: #fff; margin-bottom: 0.4rem; }
  .stat-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; font-weight: 300; }

  .gite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .gite-img-stack { position: relative; }
  .img-main { width: 100%; aspect-ratio: 4/3; border-radius: var(--rl); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
  .img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .img-accent { position: absolute; width: 50%; aspect-ratio: 1; bottom: -1.5rem; right: -1.5rem; border: 5px solid var(--blanc); border-radius: var(--rl); overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
  .img-accent img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .img-label { position: absolute; top: 1rem; left: 1rem; background: var(--rouge); color: #fff; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; font-weight: 700; }
  .alsace-ornament { font-family: 'Playfair Display', serif; font-size: 20px; letter-spacing: 8px; opacity: 0.2; margin: 1rem 0; color: var(--rouge); }
  .info-bloc { display: flex; gap: 14px; align-items: flex-start; background: var(--lin); padding: 1rem 1.2rem; border-radius: var(--r); margin-bottom: 0.8rem; }
  .info-bloc-ico { width: 36px; height: 36px; background: var(--rouge); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
  .info-bloc-ico svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .info-titre { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
  .info-desc { font-size: 13px; color: var(--gris); }

  #equipements { background: var(--lin); }
  .rooms-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
  .room-card { background: var(--blanc); border-radius: var(--rl); padding: 1.8rem; border-left: 4px solid var(--rouge); box-shadow: 0 2px 15px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; }
  .room-card:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(0,0,0,0.1); }
  .room-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--rouge); opacity: 0.18; line-height: 1; margin-bottom: 0.3rem; }
  .room-name { font-size: 16px; font-weight: 700; margin-bottom: 0.4rem; }
  .room-desc { font-size: 14px; color: var(--gris); line-height: 1.6; }
  .amenities-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3rem; }
  .amenity { display: flex; align-items: center; gap: 12px; background: var(--blanc); padding: 1rem 1.2rem; border-radius: var(--r); border: 1px solid rgba(0,0,0,0.07); }
  .amenity-ico { width: 32px; height: 32px; background: rgba(139,26,26,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--rouge); }
  .amenity-ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .amenity span { font-size: 14px; }

  #galerie { background: var(--anthracite); }
  .gallery-slider { position: relative; }
  #galerie .section-title { color: #fff; }
  #galerie .section-lead { color: rgba(255,255,255,0.5); }
  #galerie .section-tag { color: rgba(255,255,255,0.5); }
  #galerie .section-tag::before { background: rgba(255,255,255,0.25); }
  .gallery-slider-viewport {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    overflow: hidden;
    position: relative;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* Edge legacy */
  }
  .gallery-slider-viewport::-webkit-scrollbar { display: none; } /* Chrome/Safari */

  .gallery-slider-track {
    display: flex;
  }

  .gal-slide {
    position: relative;
    min-width: 100%;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    scroll-snap-align: start;
    overflow: hidden;
  }
  .gal-slide.active { z-index: 2; }
  .gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
  .gal-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: rgba(255,255,255,0.95); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 2.5rem 1.5rem 1.1rem; font-weight: 700; }
  .gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.35); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, transform 0.2s; z-index: 5; }
  .gal-arrow:hover { background: var(--rouge); }
  .gal-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
  .gal-arrow-prev { left: 16px; }
  .gal-arrow-next { right: 16px; }
  .gal-counter { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,0.45); color: #fff; font-size: 12px; letter-spacing: 0.05em; padding: 5px 12px; border-radius: 20px; z-index: 5; }
  .gal-dots { display: flex; justify-content: center; gap: 8px; padding: 1.2rem 0 0; }
  .gal-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
  .gal-dot.active { background: var(--rouge); transform: scale(1.25); }

  .tarifs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
  .price-card { background: var(--rouge); color: #fff; border-radius: var(--rl); padding: 2.5rem; box-shadow: 0 15px 50px rgba(139,26,26,0.3); }
  .price-tag { font-family: 'Playfair Display', serif; font-size: 3.8rem; font-weight: 700; line-height: 1; margin: 0.5rem 0; }
  .price-unit { font-size: 13px; opacity: 0.75; margin-top: 0.3rem; }
  .season-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 0.8rem; }
  .price-divider { border: none; border-top: 1px solid rgba(255,255,255,0.25); margin: 1.5rem 0; }
  .price-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .price-row:last-of-type { border-bottom: none; }
  .price-row span:last-child { font-weight: 700; }
  .conditions-card { background: var(--lin); border-radius: var(--rl); padding: 2.5rem; border: 2px solid rgba(139,26,26,0.1); }
  .cond-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
  .cond-list { list-style: none; }
  .cond-list li { display: flex; gap: 12px; padding: 0.7rem 0; font-size: 14px; border-bottom: 1px solid rgba(0,0,0,0.07); align-items: center; }
  .cond-list li:last-child { border-bottom: none; }
  .cond-ico { width: 28px; height: 28px; border-radius: 6px; background: rgba(139,26,26,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--rouge); }
  .cond-ico svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* Calendrier de disponibilités affiché directement sur la page — lecture
     seule (2 mois), pour que la disponibilité se voie sans rien cliquer.
     La sélection de dates pour réserver reste dans la carte tarifs. */
  #calendrier { background: var(--lin); }
  .calendrier-card { background: var(--blanc); border-radius: var(--rl); padding: 2.2rem 2rem; box-shadow: 0 8px 30px rgba(0,0,0,0.07); max-width: 1080px; }
  .calendrier-nav { display: flex; justify-content: space-between; margin-bottom: 1.6rem; }
  .calendrier-arrow { display: flex; align-items: center; gap: 6px; background: none; border: 1.5px solid rgba(0,0,0,0.15); border-radius: 30px; padding: 9px 18px; font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700; color: var(--anthracite); cursor: pointer; transition: all 0.2s; }
  .calendrier-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
  .calendrier-arrow:hover { border-color: var(--rouge); color: var(--rouge); }
  .calendrier-months { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .pagecal-month-label { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--anthracite); text-align: center; margin-bottom: 1rem; text-transform: capitalize; }
  .pagecal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
  .pagecal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--gris); padding: 4px 0; }
  .pagecal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--anthracite); }
  .pagecal-day.is-open { background: #e8f5e9; color: #2e7d32; }
  .pagecal-day.is-closed { background: #f0e8d8; color: #b0a080; text-decoration: line-through; }
  .pagecal-day.is-past { color: #ccc; }
  .calendrier-legend { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.08); font-size: 14px; color: var(--gris); }
  .calendrier-legend-dot { width: 16px; height: 16px; border-radius: 4px; display: inline-block; margin-right: 7px; vertical-align: middle; }
  .calendrier-cta { margin-top: 2.2rem; }
  @media (max-width: 900px) {
    .calendrier-months { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px) {
    .calendrier-months { grid-template-columns: 1fr; gap: 1.8rem; }
  }

  #alentours { background: var(--creme); }
  .attractions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
  .attract-card { background: var(--blanc); border-radius: var(--rl); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 3px 15px rgba(0,0,0,0.07); }
  .attract-card:hover { transform: translateY(-5px); box-shadow: 0 15px 45px rgba(0,0,0,0.12); }
  .attract-top { height: 165px; overflow: hidden; position: relative; }
  .attract-top img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
  .attract-card:hover .attract-top img { transform: scale(1.05); }
  .attract-body { padding: 1.3rem 1.5rem; }
  .attract-name { font-size: 16px; font-weight: 700; margin-bottom: 0.3rem; }
  .attract-dist { font-size: 12px; color: var(--rouge); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 5px; }
  .attract-dist svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
  .attract-desc { font-size: 13px; color: var(--gris); line-height: 1.6; }

  .reviews-summary { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
  .reviews-summary-score { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--anthracite); line-height: 1; }
  .reviews-summary-score span { font-size: 1.2rem; font-weight: 400; color: var(--gris); }
  .reviews-summary-stars { color: var(--or); font-size: 18px; letter-spacing: 2px; margin-bottom: 4px; }
  .reviews-summary-count { font-size: 14px; color: var(--gris); }
  .reviews-summary-count a { color: var(--rouge); font-weight: 700; text-decoration: underline; }
  .reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
  .review-card { background: var(--blanc); border-radius: var(--rl); padding: 1.8rem; border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: relative; }
  .review-card::before { content: '"'; font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--rouge); opacity: 0.12; position: absolute; top: 0.5rem; right: 1rem; line-height: 1; }
  .stars { color: var(--or); font-size: 17px; margin-bottom: 1rem; letter-spacing: 2px; }
  .review-text { font-size: 15px; color: var(--gris); line-height: 1.75; margin-bottom: 1.2rem; font-style: italic; }
  .reviewer { display: flex; align-items: center; gap: 10px; }
  .reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--rouge); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 18px; color: #fff; font-weight: 700; flex-shrink: 0; }
  .reviewer-name { font-size: 14px; font-weight: 700; }
  .reviewer-origin { font-size: 12px; color: var(--gris-clair); }

  #faq { background: var(--lin); }
  .faq-list { max-width: 720px; }
  .faq-item { border-bottom: 2px solid rgba(0,0,0,0.08); }
  .faq-q { width: 100%; background: none; border: none; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 700; color: var(--anthracite); gap: 1rem; }
  .faq-q:hover { color: var(--rouge); }
  .faq-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--rouge); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s; font-size: 18px; line-height: 1; }
  .faq-item.open .faq-icon { transform: rotate(45deg); background: var(--anthracite); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; font-size: 15px; color: var(--gris); line-height: 1.8; }
  .faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.2rem; }

  #scroll-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--rouge);
    z-index: 2000;
    transition: width 0.05s linear;
    box-shadow: 0 0 8px rgba(139,26,26,0.5);
  }

  .cookie-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 3000;
    background: var(--anthracite);
    color: rgba(255,255,255,0.92);
    padding: 14px 4vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: all; }
  .cookie-banner p { margin: 0; font-size: 13px; line-height: 1.6; max-width: 640px; }
  .cookie-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
  .cookie-actions button {
    font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700;
    padding: 9px 20px; border-radius: 30px; cursor: pointer; border: 1.5px solid rgba(255,255,255,0.4);
    background: transparent; color: #fff; transition: all 0.2s;
  }
  .cookie-btn-accept { background: var(--rouge) !important; border-color: var(--rouge) !important; }
  .cookie-btn-accept:hover { background: var(--rouge-dark) !important; }
  .cookie-btn-refuse:hover { background: rgba(255,255,255,0.12); }
  @media (max-width: 600px) {
    .cookie-banner { justify-content: flex-start; text-align: left; }
  }

  /* Le formulaire de réservation s'ouvre en fenêtre centrée à la demande
     (bouton "Réserver" du menu, "Demander une disponibilité"...), plutôt
     qu'en bulle repliable fixée en permanence dans le coin de l'écran —
     plus simple à repérer et à fermer. */
  .resa-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(0,0,0,0.55);
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .resa-overlay.open { display: flex; }
  /* Fond blanc/crème, rouge réservé aux accents (en-tête, bouton) — l'ancienne
     version tout en rouge saturé était trop agressive visuellement et
     manquait de contraste pour être bien lue par tout le monde. */
  .resa-widget {
    width: 420px;
    max-width: 100%;
    background: var(--blanc);
    color: var(--anthracite);
    border-radius: var(--rl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* --resa-max-h est recalculée en JS via visualViewport pour tenir compte
       du clavier virtuel mobile ; 90vh sert de repli avant que le JS tourne. */
    max-height: 90vh;
    max-height: var(--resa-max-h, 90vh);
  }
  .resa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    user-select: none;
    flex-shrink: 0;
    background: var(--rouge);
    color: #fff;
  }
  .resa-header svg.resa-header-ico { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; flex-shrink: 0; }
  .resa-header-text { flex: 1; font-size: 17px; font-weight: 700; letter-spacing: 0.01em; color: #fff; }
  .resa-close {
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
  }
  .resa-close:hover { background: rgba(255,255,255,0.3); }
  .resa-body {
    padding: 20px 20px 22px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .resa-mini { display: flex; flex-direction: column; gap: 1rem; }
  .resa-extra { margin-top: 1rem; }
  .resa-widget .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  .resa-widget .form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 1rem; }
  .resa-widget .form-group label { font-size: 14px; letter-spacing: 0.02em; color: var(--anthracite); font-weight: 700; }
  .resa-widget .form-group input, .resa-widget .form-group select, .resa-widget .form-group textarea { background: var(--creme); border: 1.5px solid rgba(0,0,0,0.15); border-radius: var(--r); padding: 13px 14px; color: var(--anthracite); font-family: 'Lato', sans-serif; font-size: 16px; transition: border-color 0.2s; width: 100%; }
  .resa-widget .form-group input::placeholder, .resa-widget .form-group textarea::placeholder { color: var(--gris-clair); }
  .resa-widget .form-group input:focus, .resa-widget .form-group select:focus, .resa-widget .form-group textarea:focus { border-color: var(--rouge); }
  .resa-widget .form-group input:focus-visible, .resa-widget .form-group select:focus-visible, .resa-widget .form-group textarea:focus-visible { outline: 2px solid var(--rouge); outline-offset: 1px; }
  .resa-widget .form-group select option { background: var(--blanc); }
  .resa-widget .form-group textarea { resize: vertical; min-height: 80px; }
  .resa-widget .form-submit { width: 100%; padding: 15px; background: var(--rouge); color: #fff; border: none; border-radius: 30px; font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-top: 0.4rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .resa-widget .form-submit svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
  .resa-widget .form-submit:hover { background: var(--rouge-dark); }
  .resa-date-btn { background: var(--creme); border: 1.5px solid rgba(0,0,0,0.15); color: var(--anthracite); }
  .resa-date-btn-ico { stroke: var(--rouge); }
  .resa-animaux-label { color: var(--anthracite); }

  /* Ancien visuel (fond rouge plein) — conservé uniquement pour l'ouverture
     depuis "Demander une disponibilité" (voir reserverDepuisTarifs() en JS) ;
     tous les autres accès à cette fenêtre utilisent le nouveau visuel clair
     ci-dessus. */
  .resa-widget.resa-widget--classic { background: var(--rouge); color: #fff; }
  .resa-widget--classic .form-group label { color: rgba(255,255,255,0.92); }
  .resa-widget--classic .form-group input,
  .resa-widget--classic .form-group select,
  .resa-widget--classic .form-group textarea { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); color: #fff; }
  .resa-widget--classic .form-group input::placeholder,
  .resa-widget--classic .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
  .resa-widget--classic .form-group input:focus,
  .resa-widget--classic .form-group select:focus,
  .resa-widget--classic .form-group textarea:focus { border-color: rgba(255,255,255,0.6); }
  .resa-widget--classic .form-group input:focus-visible,
  .resa-widget--classic .form-group select:focus-visible,
  .resa-widget--classic .form-group textarea:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
  .resa-widget--classic .form-group select option { background: var(--rouge-dark); }
  .resa-widget--classic .form-submit { background: #fff; color: var(--rouge); }
  .resa-widget--classic .form-submit:hover { background: var(--creme); }
  .resa-widget--classic .resa-date-btn { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); color: #fff; }
  .resa-widget--classic .resa-date-btn-ico { stroke: #fff; }
  .resa-widget--classic .resa-animaux-label { color: rgba(255,255,255,0.92); }

  footer { background: var(--anthracite); color: rgba(255,255,255,0.5); padding: 3rem 4vw; text-align: center; font-size: 13px; }
  footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
  .footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; margin-bottom: 0.5rem; display: block; }

  .mobile-menu { position: fixed; top: 65px; left: 0; right: 0; z-index: 998; background: var(--blanc); padding: 1rem 4vw; box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-100%); opacity: 0; transition: all 0.3s; pointer-events: none; }
  .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .mobile-menu a { display: block; padding: 0.8rem 0; font-size: 15px; color: var(--anthracite); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .mobile-lang { display: flex; gap: 8px; padding: 1rem 0; }
  .mobile-lang button { background: none; border: 2px solid transparent; cursor: pointer; border-radius: 4px; padding: 2px; opacity: 0.55; transition: all 0.2s; }
  .mobile-lang button img { width: 32px; height: 22px; object-fit: cover; border-radius: 2px; display: block; }
  .mobile-lang button.active { opacity: 1; border-color: var(--rouge); }

  /* Slider styling */
  #personnesSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
  }
  #personnesSlider:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }
  #personnesSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: transform 0.15s;
  }
  #personnesSlider::-webkit-slider-thumb:hover { transform: scale(1.15); }
  #personnesSlider::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: #fff; cursor: pointer; border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  }

  @media (max-width: 900px) {
    #accueil { min-height: 90vh; }
    .hero-content { padding: 110px 0 60px; }
    .gite-grid, .tarifs-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .rooms-grid, .amenities-grid, .attractions-grid, .reviews-grid { grid-template-columns: 1fr; }
    .gal-slide { aspect-ratio: 4/3; }
    .gal-arrow { width: 38px; height: 38px; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .img-accent { display: none; }
    .amenities-grid { grid-template-columns: repeat(2,1fr); }
  }

  @media (max-width: 600px) {
    .gallery-slider {
      width: 100%;
    }
    .gallery-slider-viewport {
      overflow: hidden;
    }
    .gal-slide {
      aspect-ratio: 16 / 10;   /* plus large, moins haut */
      max-height: 260px;       /* empêche le débordement */
      min-height: 220px;
    }
    .gal-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

  }

  .fade-up { opacity: 0; transform: translateY(25px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
  .fade-up:nth-child(2) { transition-delay: 0.1s; }
  .fade-up:nth-child(3) { transition-delay: 0.2s; }
  .fade-up:nth-child(4) { transition-delay: 0.3s; }

  @keyframes moneyIn {
    0%   { transform: translateY(-12px) scale(0.85); opacity: 0; color: #4caf50; }
    60%  { transform: translateY(3px) scale(1.05); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
  }
  @keyframes moneyOut {
    0%   { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(12px) scale(0.85); opacity: 0; color: #e53935; }
  }
  @keyframes totalPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.18); }
    100% { transform: scale(1); }
  }
  .money-in  { animation: moneyIn  0.45s cubic-bezier(0.34,1.56,0.64,1) forwards; }
  .money-out { animation: moneyOut 0.35s ease-in forwards; }
  .total-pulse { animation: totalPulse 0.4s ease forwards; }
  @media (max-width: 400px) {
    .gal-slide {
      aspect-ratio: 16 / 9;   /* ou 4 / 3 si tu veux plus carré */
      height: auto;
    }

    .gallery-slider-viewport {
      height: auto;
    }

    .gal-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    @media (max-width: 600px) {
    .gal-slide {
      aspect-ratio: 4 / 3;   /* plus compact sur mobile */
    }

    .gallery-slider-viewport {
      height: auto;
    }

    .gal-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .gallery-slider {
      max-height: 70vh;
    }
  }
}

/* Indicateur de focus clavier visible sur les interrupteurs "Animaux" personnalisés */
#animauxCheck:focus-visible ~ #animaux-track,
#formAnimauxCheck:focus-visible ~ #form-animaux-pill {
  outline: 2px solid #fff;
  outline-offset: 2px;
}