:root {
    --rouge: #8B1A1A;
    --rouge-dark: #6B1010;
    --bois-pale: #C8A882;
    --creme: #FDF6EC;
    --lin: #F0E8D8;
    --blanc: #FFFEF9;
    --anthracite: #2C2C2C;
    --gris: #5A5A5A;
    --gris-clair: #9A9A8A;
    --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; }

  .ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .ico-sm svg { width: 16px; height: 16px; }
  .ico-lg svg { width: 24px; height: 24px; }

  .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"] { 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"] { 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.6rem; list-style: none; align-items: center; }
  .nav-links a { text-decoration: none; color: var(--anthracite); font-size: 14px; font-weight: 400; opacity: 0.75; 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: 13px !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; }

  #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.jpg');
    background-size: cover; background-position: center;
    background-color: #5a3a28;
  }
  .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(49, 49, 49, 0.30)  0%,
  rgba(80, 50, 30, 0.32) 55%,
  rgba(0,  0,  0, 0.15) 100%
)
  }

  .hero-photo-hint {
    position: absolute; bottom: 24px; right: 24px; z-index: 10;
    background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.8);
    font-size: 12px; padding: 7px 14px; border-radius: 20px;
    border: 1px dashed rgba(255,255,255,0.35);
    display: flex; align-items: center; gap: 7px;
  }

  .hero-photo-hint svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
  .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.8rem, 5vw, 4.2rem); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 1.2rem; 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: 17px; font-weight: 300; max-width: 520px; margin-bottom: 2.5rem; line-height: 1.8; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .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); }
  .btn-ghost { background: transparent; color: #fff; padding: 15px 35px; border-radius: 30px; font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 400; text-decoration: none; transition: all 0.2s; border: 2px solid rgba(255,255,255,0.5); display: inline-flex; align-items: center; gap: 8px; }
  .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
  .hero-badges { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
  .hero-badge { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.95); font-size: 13px; background: rgba(0,0,0,0.25); padding: 6px 14px; border-radius: 20px; }
  .hero-badge svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

  section { scroll-margin-top: 80px; }
  .section-inner { max-width: 1180px; margin: 0 auto; padding: 80px 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; }
  .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; }

  #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-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: 15px; margin-bottom: 1rem; letter-spacing: 2px; }
  .review-text { font-size: 14px; 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: 40px; height: 40px; border-radius: 50%; background: var(--rouge); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 17px; color: #fff; font-weight: 700; }
  .reviewer-name { font-size: 13px; 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; }
  #disponibilites { background: var(--blanc); }

  #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);
  }

  .resa-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1500;
    width: 320px;
    max-width: calc(100vw - 28px);
    max-height: calc(85vh - 60px);
    background: var(--rouge);
    color: #fff;
    border-radius: var(--rl);
    box-shadow: 0 10px 36px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    overflow: visible;
    max-height: 85vh;
  }
  .resa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
  }
  .resa-header svg.resa-header-ico { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; flex-shrink: 0; }
  .resa-header-text { flex: 1; font-size: 14px; font-weight: 700; letter-spacing: 0.01em; }
  .resa-chevron { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.5; flex-shrink: 0; transition: transform 0.3s; }
  .resa-widget.expanded .resa-chevron { transform: rotate(180deg); }
  .resa-body { 
    padding: 0 16px 16px; 
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(85vh - 60px); /* enlève la hauteur du header */
  }
  .resa-mini { display: flex; flex-direction: column; gap: 0.8rem; cursor: pointer; }
  .resa-extra {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
  }
  .resa-widget.expanded .resa-extra { max-height: 900px; opacity: 1; margin-top: 0.8rem; }
  .resa-widget .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.8rem; }
  .resa-widget .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0.8rem; }
  .resa-widget .form-group label { font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.92); font-weight: 700; }
  .resa-widget .form-group input, .resa-widget .form-group select, .resa-widget .form-group textarea { background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.45); border-radius: var(--r); padding: 11px 12px; color: #fff; font-family: 'Lato', sans-serif; font-size: 14px; transition: border-color 0.2s; outline: none; width: 100%; }
  .resa-widget .form-group input::placeholder, .resa-widget .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
  .resa-widget .form-group input:focus, .resa-widget .form-group select:focus, .resa-widget .form-group textarea:focus { border-color: rgba(255,255,255,0.6); }
  .resa-widget .form-group select option { background: var(--rouge-dark); }
  .resa-widget .form-group textarea { resize: vertical; min-height: 70px; }
  .resa-widget .form-submit { width: 100%; padding: 13px; background: #fff; color: var(--rouge); border: none; border-radius: 30px; font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-top: 0.2rem; 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(--creme); }
  .resa-widget .success-msg { display: none; text-align: center; color: rgba(255,255,255,0.9); padding: 1.5rem 0.5rem; }
  .resa-widget .success-msg.show { display: block; }
  .resa-widget .success-msg svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 1.5; margin-bottom: 0.8rem; }
  @media (max-width: 640px) {
    .resa-widget { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
  }

  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; }
  .footer-ornament { font-family: 'Playfair Display', serif; font-size: 20px; letter-spacing: 6px; opacity: 0.2; margin: 0.5rem 0 1rem; }

  .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);
    outline: none;
    cursor: pointer;
  }
  #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, .contact-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); }
    .nav-links { display: none; }
    .lang-flags { display: none; }
    .hamburger { display: block; }
    .img-accent { display: none; }
    .amenities-grid { grid-template-columns: repeat(2,1fr); }
  }

  .price-row-animaux-enter {
    animation: slideIn 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
  }
  @keyframes slideIn {
    from { opacity:0; transform: translateY(-8px) scale(0.97); }
    to   { opacity:1; transform: translateY(0) scale(1); }
  }

  @media (max-width: 900px) {

  .dispo-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #calendar {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .calendar-grid {
    min-width: 320px;
  }

  #cal-month {
    font-size: 1.1rem !important;
    text-align: center;
  }

  #cal-prev,
  #cal-next {
    padding: 10px 14px !important;
    font-size: 15px !important;
  }

}

/* PETITS ÉCRANS */
  @media (max-width: 600px) {

    .dispo-grid {
      gap: 1.5rem !important;
    }

    #calendar {
      background: #fff;
      border-radius: 12px;
      padding: 12px;
      box-shadow: 0 4px 18px rgba(0,0,0,.08);
    }

    .calendar-grid {
      gap: 4px !important;
    }

    .calendar-grid > div {
      min-height: 38px;
      font-size: 12px;
    }

    #cal-month {
      font-size: 1rem !important;
    }

  }

  @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) {
    #resaWidget {
      position: fixed;
      bottom: 10px;
      right: 10px;
      left: 10px;
      width: auto;
      max-width: none;
    }

    .resa-body {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: all 0.3s ease;
    }

    #resaWidget.open .resa-body {
      max-height: 600px;
      opacity: 1;
    }

    .resa-header {
      cursor: pointer;
    }

    .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;
    }
  }
}