/* =========================================================
   Domaine Bellelauze — Feuille de style
   Style : élégance campagne / luxe rural — Pays Cathare
   ========================================================= */

/* Polices hébergées sur le site (aucun appel à Google) */
@font-face{font-family:'Karla';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/karla-latin-300-normal.woff2') format('woff2')}
@font-face{font-family:'Karla';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/karla-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Karla';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/karla-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Karla';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/karla-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Karla';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/karla-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2')}

/* ---------- Design tokens ---------- */
:root {
  --forest:      #2f3b30;   /* vert forêt profond */
  --olive:       #55603f;   /* olive */
  --sage:        #8a9070;   /* sauge claire */
  --gold:        #b08a3e;   /* or / laiton */
  --gold-soft:   #c9a95f;
  --terracotta:  #b1663f;
  --cream:       #f6f1e7;   /* fond ivoire */
  --cream-2:     #efe7d7;
  --stone:       #e4dbc9;
  --ink:         #24231e;   /* texte principal */
  --muted:       #5f5b50;   /* texte secondaire */
  --white:       #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Karla', system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(36,35,30,.08);
  --shadow-md: 0 12px 40px rgba(36,35,30,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
  --z-nav: 50;
  --z-overlay: 80;
  --z-modal: 90;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--forest); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: .5px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p  { color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-forest { background: var(--forest); color: var(--stone); }
.bg-forest h2, .bg-forest h3 { color: var(--white); }
.text-center { text-align: center; }

/* ---------- Utility: eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 16px;
}
.bg-forest .eyebrow { color: var(--gold-soft); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; }
.divider { width: 64px; height: 2px; background: var(--gold); border: none; margin: 22px auto; }
.divider--left { margin: 22px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: #96742f; }
.btn--outline { border-color: currentColor; color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn--light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--light:hover { background: #fff; color: var(--forest); }
.btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; transition: height .3s var(--ease);
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: #fff; letter-spacing: .5px; }
.brand__sub  { font-family: var(--font-body); font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  color: #fff; font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold-soft); transition: width .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__cta { margin-left: 6px; }

/* scrolled state */
.site-header.is-scrolled { background: var(--cream); box-shadow: var(--shadow-sm); }
.site-header.is-scrolled .nav { height: 70px; }
.site-header.is-scrolled .brand__name { color: var(--forest); }
.site-header.is-scrolled .brand__sub { color: var(--muted); }
.site-header.is-scrolled .nav__links a { color: var(--ink); }
.site-header.is-scrolled .btn--light { border-color: var(--forest); color: var(--forest); }
.site-header.is-scrolled .btn--light:hover { background: var(--forest); color: #fff; }

/* solid header for interior pages (no hero image behind) */
.site-header.header--solid { background: var(--cream); box-shadow: var(--shadow-sm); position: sticky; }
.site-header.header--solid .brand__name { color: var(--forest); }
.site-header.header--solid .brand__sub { color: var(--muted); }
.site-header.header--solid .nav__links a { color: var(--ink); }
.site-header.header--solid .btn--light { border-color: var(--forest); color: var(--forest); }
.site-header.header--solid .btn--light:hover { background: var(--forest); color: #fff; }

/* mobile toggle */
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1){ top: 15px; } .nav__toggle span:nth-child(2){ top: 21px; } .nav__toggle span:nth-child(3){ top: 27px; }
.site-header.is-scrolled .nav__toggle span, .header--solid .nav__toggle span { background: var(--forest); }
body.nav-open .nav__toggle span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2){ opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,26,20,.55), rgba(20,26,20,.35) 40%, rgba(20,26,20,.7)); }
.hero__inner { max-width: 860px; margin: 0 auto; padding: 120px 24px 80px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 60ch; margin: 22px auto 34px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero__scroll span { display: block; width: 1px; height: 40px; background: rgba(255,255,255,.6); margin: 10px auto 0; animation: scrollpulse 2s infinite; }
@keyframes scrollpulse { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{ opacity:1; transform: scaleY(1);} }

/* page hero (interior, shorter) */
.page-hero { position: relative; padding: 190px 0 90px; color: #fff; text-align: center; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(20,26,20,.5), rgba(20,26,20,.6)); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 60ch; margin: 16px auto 0; }
.page-hero .eyebrow { color: var(--gold-soft); }
.breadcrumb { margin-top: 20px; font-size: .8rem; letter-spacing: .1em; color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Split feature (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.split__media .tag { position: absolute; bottom: 18px; left: 18px; background: var(--gold); color: #fff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--radius); }
.split__body h2 { margin-bottom: 8px; }
.split__body p + p { margin-top: 14px; }
.split__body .btn { margin-top: 26px; }

/* ---------- Feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.feature {
  background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 40px 32px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__icon { width: 54px; height: 54px; margin: 0 auto 20px; color: var(--gold); }
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature p { font-size: .96rem; }

/* ---------- Room / card grid ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__img { aspect-ratio: 16/10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: 8px; }
.card__meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--stone); font-size: .86rem; color: var(--muted); }
.card__meta span { display: inline-flex; align-items: center; gap: 7px; }
.card__meta svg { width: 17px; height: 17px; color: var(--gold); }
.price-tag { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest); font-weight: 600; }
.price-tag small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 400; }

/* ---------- Amenities list ---------- */
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin-top: 8px; }
.amenities li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-size: .98rem; }
.amenities svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: 3rem; color: var(--gold-soft); line-height: 1; }
.stat__label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin-top: 10px; }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 16px; }
.gallery figure { break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; }
.gallery img { width: 100%; transition: transform .6s var(--ease); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: rgba(47,59,48,0); transition: background .3s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:hover::after { background: rgba(47,59,48,.18); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(18,20,16,.94);
  display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Tarifs table ---------- */
.rate-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; }
.rate-table th, .rate-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--stone); }
.rate-table thead th { background: var(--forest); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-table tbody tr:hover { background: var(--cream); }
.rate-table td:first-child { font-weight: 600; color: var(--forest); }
.rate-table .price { font-family: var(--font-display); font-size: 1.25rem; color: var(--forest); }
.rate-note { font-size: .9rem; color: var(--muted); margin-top: 16px; }
.rate-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 32px; }
.rate-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pill { display: inline-block; background: var(--stone); color: var(--olive); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; font-weight: 600; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--stone); }
.info-list li:last-child { border-bottom: none; }
.info-list svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.info-list strong { display: block; color: var(--forest); font-family: var(--font-display); font-size: 1.15rem; }
.info-list a, .info-list span { color: var(--muted); }
.form { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; color: var(--forest); text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--stone); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,138,62,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 8px; }

.map-embed { width: 100%; height: 340px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; color: #fff; padding: 110px 0; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cta-band::after { content:""; position:absolute; inset:0; z-index:-1; background: rgba(31,39,31,.72); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 54ch; margin: 16px auto 30px; }

/* ---------- Footer ---------- */
.footer { background: #23291f; color: rgba(255,255,255,.72); padding: 72px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: var(--gold-soft); }
.footer p { color: rgba(255,255,255,.6); font-size: .94rem; margin-top: 14px; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--gold-soft); }
.footer__bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .gallery { columns: 2; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px);
    background: var(--forest); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 26px; padding: 40px; transform: translateX(100%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow-md);
  }
  body.nav-open .nav__links { transform: translateX(0); }
  .nav__links a { color: #fff !important; font-size: 1rem; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: block; z-index: 2; }
  .section { padding: 68px 0; }
  .cards, .grid-3, .grid-2, .amenities, .field-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  body { font-size: 16px; }
  .rate-table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   AJOUTS v2 — logo, frise histoire, listes lieux, motards
   ============================================================ */

/* ---- Logo dans la marque ---- */
.brand { flex-direction: row; align-items: center; gap: 13px; }
.brand__logo {
  height: 60px; width: auto; display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.28));
}
.site-header.is-scrolled .brand__logo { height: 52px; }
.brand__sub { align-self: center; }
@media (max-width: 520px){ .brand__sub{ display:none; } .brand__logo{ height:46px; } }
.footer .brand__logo { height: 66px; }

/* ---- Frise chronologique (Histoire) ---- */
.timeline { position: relative; max-width: 940px; margin: 0 auto; padding: 10px 0; }
.timeline::before { content:""; position:absolute; left:50%; top:0; bottom:0; width:2px; background:var(--stone); transform:translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 46px 52px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item::after { content:""; position:absolute; top:8px; width:16px; height:16px; border-radius:50%; background:var(--gold); border:3px solid var(--cream); box-shadow:0 0 0 2px var(--stone); }
.tl-item:nth-child(odd)::after { right: -9px; }
.tl-item:nth-child(even)::after { left: -9px; }
.tl-date { font-family:var(--font-display); font-size:1.9rem; color:var(--gold); line-height:1; font-weight:600; }
.tl-item h3 { font-size:1.2rem; margin:6px 0 8px; }
.tl-item p { font-size:.96rem; }
.tl-item img { width:100%; border-radius:4px; box-shadow:var(--shadow-sm); margin-top:16px; aspect-ratio:4/3; object-fit:cover; }
@media (max-width:760px){
  .timeline::before { left:18px; }
  .tl-item { width:100%; left:0 !important; text-align:left !important; padding:0 0 44px 50px; }
  .tl-item::after { left:10px !important; right:auto !important; }
}

/* ---- Liste de lieux (châteaux/abbayes/villages) ---- */
.places { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.place { background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .3s var(--ease), box-shadow .3s var(--ease); }
.place:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.place__img { aspect-ratio:3/2; overflow:hidden; }
.place__img img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.place:hover .place__img img { transform:scale(1.06); }
.place__body { padding:18px 20px 22px; }
.place__body h3 { font-size:1.25rem; margin-bottom:4px; }
.place__dist { display:inline-flex; align-items:center; gap:6px; font-size:.8rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--gold); margin-bottom:8px; }
.place__dist svg { width:15px; height:15px; }
.place__body p { font-size:.92rem; }
@media (max-width:900px){ .places{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .places{ grid-template-columns:1fr; } }

/* ---- Bandeau motards ---- */
.moto-band { display:grid; grid-template-columns:1.1fr 1fr; gap:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); background:var(--forest); }
.moto-band__img { min-height:320px; background-size:cover; background-position:center; }
.moto-band__body { padding:48px 44px; color:var(--stone); align-self:center; }
.moto-band__body h2 { color:#fff; }
.moto-band__body p { color:rgba(255,255,255,.85); margin-top:12px; }
.moto-band__body .btn { margin-top:22px; }
@media (max-width:820px){ .moto-band{ grid-template-columns:1fr; } .moto-band__img{ min-height:220px; } }

/* ---- Activités (icône + texte) ---- */
.acts { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:900px){ .acts{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .acts{ grid-template-columns:1fr; } }

/* ---- Sélecteur de langue ---- */
.nav__lang a {
  display:inline-flex; align-items:center; gap:6px;
  border:1.5px solid currentColor; border-radius:999px;
  padding:5px 12px; font-size:.72rem; font-weight:700; letter-spacing:.08em;
  opacity:.85; transition:opacity .2s, background .2s, color .2s;
}
.nav__lang a:hover { opacity:1; }
.nav__lang a::after { display:none; }
.nav__lang svg { width:14px; height:14px; }
@media (max-width:760px){ .nav__lang a{ color:#fff; } }

/* ============================================================
   AJOUTS v3 — corrections client (logo, accueil, chambres,
   équipements, tarifs, frise histoire, galerie, formulaire)
   ============================================================ */

/* ---- Logo : deux versions sans halo, texte sous le logo ---- */
.brand { flex-direction: column; align-items: center; gap: 3px; }
.brand__logos { display: block; position: relative; }
.brand__logo { height: 66px; width: auto; filter: none; }
.brand__logo--fonce { display: none; }
.site-header.is-scrolled .brand__logo--clair,
.site-header.header--solid .brand__logo--clair { display: none; }
.site-header.is-scrolled .brand__logo--fonce,
.site-header.header--solid .brand__logo--fonce { display: block; }
.site-header.is-scrolled .brand__logo { height: 50px; }
.brand__sub { align-self: center; margin-top: 0; font-size: .56rem; letter-spacing: .3em; white-space: nowrap; }
.site-header:not(.is-scrolled):not(.header--solid) .brand__sub { text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.nav { height: 96px; }
.site-header.is-scrolled .nav { height: 80px; }
.footer .brand { align-items: flex-start; }
.footer .brand__logo { height: 76px; }
@media (max-width: 520px) {
  .brand__sub { display: block; font-size: .5rem; letter-spacing: .22em; }
  .brand__logo { height: 50px; }
  .site-header.is-scrolled .brand__logo { height: 42px; }
  .nav, .site-header.is-scrolled .nav { height: 76px; }
}
/* menu : rester sur une ligne avec « Gîte & Chambres d'hôtes » */
@media (max-width: 1320px) and (min-width: 761px) { .nav__links { gap: 18px; } .nav__links a { font-size: .74rem; letter-spacing: .04em; } }
@media (max-width: 1120px) and (min-width: 761px) { .nav__links { gap: 13px; } .nav__links a { font-size: .68rem; letter-spacing: .02em; } .nav__lang a { padding: 4px 8px; } }
@media (max-width: 960px) and (min-width: 761px) { .brand__sub { display: none; } .nav__links a { font-size: .64rem; } .nav__links { gap: 10px; } }
.nav__links a { white-space: nowrap; }

/* ---- Accueil : photo d'en-tête encadrée (marges sur les côtés) ---- */
.hero--cadre {
  min-height: 540px; height: min(calc((100vw - 64px) * 0.6), calc(100vh - 136px));
  width: calc(100% - 64px); max-width: 1240px; margin: 112px auto 0;
  border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-md); isolation: isolate;
}
.hero--cadre .hero__inner { padding: 40px 32px; }
.hero--cadre .hero__scroll { display: none; }
@media (max-width: 760px) {
  .hero--cadre { width: calc(100% - 24px); margin-top: 88px; height: auto; min-height: 76vh; }
  .hero--cadre .hero__inner { padding: 40px 18px; }
  .hero--cadre p { font-size: 1.02rem; }
}
/* en-tête transparent au-dessus d'une page claire : texte lisible */
body:has(.hero--cadre) .site-header:not(.is-scrolled) { background: var(--cream); }
body:has(.hero--cadre) .site-header:not(.is-scrolled) .brand__logo--clair { display: none; }
body:has(.hero--cadre) .site-header:not(.is-scrolled) .brand__logo--fonce { display: block; }
body:has(.hero--cadre) .site-header:not(.is-scrolled) .brand__sub { color: var(--muted); text-shadow: none; }
body:has(.hero--cadre) .site-header:not(.is-scrolled) .nav__links a { color: var(--ink); }
body:has(.hero--cadre) .site-header:not(.is-scrolled) .btn--light { border-color: var(--forest); color: var(--forest); }
body:has(.hero--cadre) .site-header:not(.is-scrolled) .nav__toggle span { background: var(--forest); }

/* ---- Chambres : photos sans légende ---- */
.photos-chambres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.photos-chambres img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (max-width: 600px) { .photos-chambres { grid-template-columns: 1fr; } }

/* ---- Équipements : deux colonnes lues de haut en bas ---- */
.amenities--2col { max-width: 860px; margin: 0 auto; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(4, auto); }
@media (max-width: 760px) { .amenities--2col { grid-auto-flow: row; grid-template-rows: none; } }

/* ---- Tarifs ---- */
.rate-list { max-width: 640px; margin: 18px auto 0; display: grid; gap: 6px; font-size: .95rem; color: var(--muted); }
.rate-list li { position: relative; padding-left: 18px; }
.rate-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.rate-list strong { color: var(--ink); font-weight: 600; }
.rate-table th small { display: block; margin-top: 4px; font-size: .7rem; font-weight: 400; letter-spacing: .02em; text-transform: none; opacity: .85; line-height: 1.35; }
.rate-card--large { max-width: none; }
.info-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.info-table th, .info-table td { padding: 12px 14px; border-bottom: 1px solid var(--stone); text-align: center; }
.info-table thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); font-weight: 700; }
.info-table tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.info-table tbody tr:last-child th, .info-table tbody tr:last-child td { border-bottom: 0; }
.etat { display: inline-block; min-width: 92px; padding: 4px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.etat--oui { background: #e3ecd9; color: #3f5a2c; }
.etat--opt { background: #f3e8cf; color: #7a5a1a; }
.etat--non { background: #f2dfd8; color: #8a3b26; }
@media (max-width: 560px) { .info-table th, .info-table td { padding: 10px 6px; font-size: .88rem; } .etat { min-width: 0; padding: 3px 9px; font-size: .78rem; } }

/* ---- Histoire : photos en face des textes ---- */
.frise { position: relative; max-width: 1100px; margin: 0 auto; }
.frise::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--stone); transform: translateX(-50%); }
.frise__ligne { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 92px; align-items: start; padding-bottom: 64px; }
.frise__ligne::after { content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--stone); }
.frise__texte { text-align: right; }
.frise__ligne--inverse .frise__texte { order: 2; text-align: left; }
.frise__ligne--inverse .frise__photos { order: 1; }
.frise__texte h3 { font-size: 1.25rem; margin: 6px 0 8px; }
.frise__texte p { font-size: .97rem; }
.frise__photos { display: grid; gap: 12px; }
.frise__photos--2 { grid-template-columns: 1fr 1fr; }
.frise__photos img { width: 100%; height: auto; border-radius: 4px; box-shadow: var(--shadow-sm); background: var(--cream-2); }
.frise__photos--1 img { max-height: 420px; object-fit: cover; }
.frise__photos--2 img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 760px) {
  .frise::before { left: 18px; }
  .frise__ligne, .frise__ligne--inverse { grid-template-columns: 1fr; padding: 0 0 46px 50px; row-gap: 16px; }
  .frise__ligne::after { left: 18px; }
  .frise__texte, .frise__ligne--inverse .frise__texte { order: 0; text-align: left; }
  .frise__ligne--inverse .frise__photos { order: 1; }
  .frise__photos:empty { display: none; }
}

/* ---- Galerie : grille régulière, ordre de lecture ligne par ligne ---- */
.gallery { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; aspect-ratio: 3 / 2; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ---- Formulaire ---- */
.form__piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form label small { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .75; }
.form button[disabled] { opacity: .6; cursor: wait; }
.nav__cta .btn { padding: 11px 20px; }
.brand__logo { height: 74px; }
.site-header.is-scrolled .brand__logo { height: 56px; }
@media (max-width: 520px) { .brand__logo { height: 54px; } .site-header.is-scrolled .brand__logo { height: 46px; } }
.frise__photos img.portrait { max-height: 540px; width: auto; max-width: 100%; object-fit: contain; }
.frise__ligne--inverse .frise__photos img.portrait { justify-self: end; }
/* correctif : le menu mobile replié ne doit pas élargir la page */
html, body { overflow-x: clip; }
@media (max-width: 760px) { .nav__links { visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; } body.nav-open .nav__links { visibility: visible; transition: transform .4s var(--ease); } }
/* Histoire : deux photos côte à côte (paysage + portrait) sans recadrage */
.frise__photos--duo { grid-template-columns: 1.5fr 1fr; align-items: center; }
.frise__photos--duo img, .frise__photos--duo img.portrait { aspect-ratio: auto; width: 100%; max-height: none; object-fit: contain; justify-self: stretch; }

/* ---------- Téléphone : ergonomie (V4) ---------- */
@media (max-width: 760px) {
  /* Pied de page : 2 colonnes lisibles, coordonnées toujours visibles */
  .footer { padding: 56px 0 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer ul li { margin-bottom: 2px; }
  .footer ul li a { display: inline-block; padding: 7px 0; }
  .footer__bottom { margin-top: 36px; flex-direction: column; gap: 6px; }
  /* Zones tactiles confortables */
  .breadcrumb a { display: inline-block; padding: 8px 2px; }
  main a[href^="tel:"], main a[href^="mailto:"] { display: inline-block; padding: 6px 0; }
  /* Tableaux de tarifs : une carte par formule, toutes les saisons visibles sans défilement */
  .rate-table { display: block; overflow: visible; white-space: normal; background: none; box-shadow: none; }
  .rate-table thead { display: none; }
  .rate-table tbody, .rate-table tr { display: block; }
  .rate-table tr { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 4px 18px; margin-bottom: 14px; }
  .rate-table tbody tr:hover { background: var(--white); }
  .rate-table td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--stone); }
  .rate-table tbody tr td, .rate-table tbody tr:last-child td { border-bottom: 1px solid var(--stone); }
  .rate-table tbody tr td:last-child { border-bottom: none; }
  .rate-table td:first-child { display: block; font-family: var(--font-display); font-size: 1.2rem; padding-top: 14px; }
  .rate-table td.price::before { content: attr(data-label) "\A" attr(data-dates); white-space: pre-line; font-family: var(--font-body); font-size: .84rem; line-height: 1.35; color: var(--muted); display: block; text-align: left; }
  .rate-table td.price { font-size: 1.2rem; text-align: right; white-space: nowrap; }
  /* Cartes à pictogramme plus compactes */
  .feature { padding: 28px 22px; }
  .feature__icon { width: 44px; height: 44px; margin-bottom: 14px; }
}
@media (max-width: 520px) {
  /* Galerie photos sur 2 colonnes : moins de défilement */
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
}
