/* ==========================================================================
   Pages du site (plan repris de bellevue-meger.fr) — complète style.css
   ========================================================================== */
.theme-bellevue {
  --bg: #efe6d6; --ink: #3a2e22; --muted: rgba(58,46,34,.78); --line: rgba(58,46,34,.14);
  --accent: #7f5d34; --wine: #e4d5b9; --glow: #fffaf0;
}

/* ---------- Navigation avec sous-menu ---------- */
/* voile clair sous l'en-tête pour rester lisible au-dessus des photos */
.header:not(.scrolled) { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 60%, transparent 100%); padding-bottom: 40px; }
.nav { align-items: center; }
.nav__item { position: relative; }
.nav a.is-current::after { transform: scaleX(1); }
.nav__sub {
  position: absolute; top: calc(100% + 14px); left: -22px; min-width: 210px; padding: 16px 22px;
  background: color-mix(in srgb, var(--bg) 92%, #fff); box-shadow: 0 20px 50px rgba(60,45,25,.12);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out);
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; transform: none; pointer-events: auto; }
.nav__sub a { display: block; padding: 9px 0; }
.nav__sub a:hover { color: var(--accent); }
.mobile-menu__switch { font-size: 22px !important; margin-top: 24px; color: var(--accent); }

/* ---------- En-tête de page (photo + lumière) ---------- */
.page-hero {
  position: relative; height: 88vh; height: 88svh; min-height: 560px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) 9vh;
}
.page-hero__media { position: absolute; inset: -10% 0; will-change: transform; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, transparent 30%, transparent 42%, color-mix(in srgb, var(--bg) 84%, transparent) 76%, var(--bg) 100%);
}
.page-hero > *:not(.page-hero__media) { position: relative; z-index: 2; }
.page-hero .light-rays { position: absolute; z-index: 1; opacity: .25; }
.page-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 10vw, 168px); line-height: .9; letter-spacing: -.02em; margin-top: 14px; }
.page-hero__title em { font-style: italic; }
.page-hero__sub { max-width: 680px; margin-top: 22px; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.35; }

/* ---------- Blocs de contenu ---------- */
.lead { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.18; }
.lead em { font-style: italic; color: var(--accent); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.badge { border: 1px solid var(--accent); padding: 11px 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: center; }
.split-row + .split-row { margin-top: clamp(80px, 10vw, 150px); }
.split-row--rev > :first-child { order: 2; }
.media-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.media-frame--wide { aspect-ratio: 5 / 4; }
.media-frame img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.media-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); pointer-events: none; }
.body-copy h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--ink); margin: 1.4em 0 .4em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* Tuiles « découvrir » */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(30,22,14,.74)); }
.tile:hover img { transform: scale(1.07); }
.tile .eyebrow { color: #f1dfb2; }
.tile h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3vw, 46px); line-height: 1; margin: 10px 0 12px; }
.tile p { font-size: 14px; opacity: .88; max-width: 320px; }
.tile__more { margin-top: 18px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }

/* Frise chronologique */
.timeline { border-top: 1px solid var(--line); }
.tl { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: clamp(20px, 5vw, 80px); padding: 44px 0; border-bottom: 1px solid var(--line); }
.tl__year { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 76px); line-height: .9; color: var(--accent); }
.tl p { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.45; max-width: 760px; }
.quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.2; max-width: 1050px; }
.quote cite { display: block; margin-top: 26px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.team figure { margin: 0; aspect-ratio: 1; overflow: hidden; }
.team img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 1s, transform 1.4s var(--ease-out); }
.team figure:hover img { filter: none; transform: scale(1.05); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); margin-top: 60px; }
.people h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 8px; }
.people p { color: var(--muted); }

/* Chiffres */
.figures { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 34px; }

/* ---------- Nos vins ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.filter { padding: 13px 22px; border: 1px solid var(--line); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; transition: background-color .4s, color .4s, border-color .4s; }
.filter:hover { border-color: var(--accent); }
.filter.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 2px; }
.product { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; min-height: 600px; background: color-mix(in srgb, var(--ink) 4%, transparent); overflow: hidden; isolation: isolate; }
.product.is-hidden { display: none; }
.product__bg { position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); }
.product:hover .product__bg { transform: scaleY(1); }
.product__bottle { display: block; height: 330px; margin: 0 auto 26px; aspect-ratio: 120 / 420; transition: transform 1s var(--ease-out); }
.product:hover .product__bottle { transform: translateY(-12px) rotate(3deg); }
.product__house { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.product h3 { font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1; margin: 8px 0 4px; }
.product__range { color: var(--muted); font-size: 14px; }
.product__foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.product__price { font-family: var(--serif); font-size: 26px; }
.product__actions { display: flex; gap: 14px; }
.product__actions a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.product__actions a.buy { color: var(--accent); }

/* Reflet des bouteilles en grille : seulement au survol (plus léger avec 11 cartes) */
.product .bphoto__sheen, .cuvee-card .bphoto__sheen { animation-play-state: paused; opacity: 0; transition: opacity .4s; }
.product:hover .bphoto__sheen, .cuvee-card:hover .bphoto__sheen { animation-play-state: running; opacity: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 8vw, 140px); }
.contact-card p { font-family: var(--serif); font-size: 24px; line-height: 1.5; }
.contact-card .eyebrow { display: block; margin: 34px 0 8px; }
.contact-card a:hover { color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
.form-grid .full { grid-column: 1 / -1; }
.field textarea { width: 100%; min-height: 150px; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 17px; padding: 26px 0 10px; outline: none; resize: vertical; }
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); color: var(--accent); }
.field textarea:focus ~ .bar { transform: scaleX(1); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 20px; max-width: 620px; }
.form-msg { min-height: 22px; margin-top: 16px; font-size: 14px; color: var(--accent); }

/* ---------- Textes juridiques ---------- */
.prose { max-width: 860px; }
.prose h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 44px); margin: 1.6em 0 .5em; }
.prose h3 { font-family: var(--sans); font-weight: 400; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 2.2em 0 .8em; }
.prose p, .prose li { color: var(--muted); margin-bottom: .9em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- Pied de page ---------- */
.footer__top { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(40px, 6vw, 100px); }
.footer__brand .footer__logo { height: clamp(70px, 8vw, 110px); width: auto; }
.footer__tag { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols h4 { font-size: 11px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer__cols p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.footer__cols a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .split-row, .contact-grid, .footer__top { grid-template-columns: 1fr; }
  .split-row--rev > :first-child { order: 0; }
  .tiles, .people { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 5; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .tl { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
  .form-grid, .footer__cols { grid-template-columns: 1fr; }
  .product { min-height: 0; }
}
