/* ==========================================================================
   MAISON AURA — domaine.css
   Styles spécifiques à la page "Le Domaine"
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* Modale +18 — identique au reste du site */
/* ---------------------------------------------------------------------- */
.age-gate{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: var(--c-noir);
}
.age-gate[hidden]{ display: none; }
.age-gate__panel{ width: 100%; max-width: 460px; text-align: center; }
.age-gate__mark{
  width: 46px; height: 46px; margin: 0 auto 2rem;
  border: 1px solid var(--c-laiton-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  color: var(--c-laiton);
  font-size: 1.1rem;
}
.age-gate__title{ margin-bottom: .8rem; }
.age-gate__lede{ margin: 0 auto 2.4rem; font-size: .92rem; color: var(--c-gris); }
.age-gate__form-wrap{ display: block; }
.age-gate__form{ display: flex; gap: .6rem; justify-content: center; margin-bottom: 1rem; }
.age-gate__field{
  width: 4.2rem; padding: .8em .4em; text-align: center;
  background: transparent; border: 1px solid rgba(197,160,89,.3);
  border-radius: var(--radius-soft); color: var(--c-blanc);
  font-family: var(--f-body); font-size: 1rem; letter-spacing: .05em;
}
.age-gate__field:focus{ border-color: var(--c-laiton); }
.age-gate__field--year{ width: 6rem; }
.age-gate__field::placeholder{ color: var(--c-gris); opacity: .6; }
.age-gate__field::-webkit-outer-spin-button,
.age-gate__field::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
.age-gate__field[type="number"]{ -moz-appearance: textfield; }
.age-gate__error{ min-height: 1.4em; font-size: .78rem; color: #C97A6A; margin-bottom: 1.2rem; }
.age-gate__actions{ display: flex; flex-direction: column; gap: 1.1rem; align-items: center; }
.age-gate__decline{
  font-size: .76rem; letter-spacing: .08em; color: var(--c-gris);
  text-decoration: underline; text-underline-offset: 3px;
}
.age-gate__legal{ margin-top: 2.4rem; font-size: .7rem; line-height: 1.7; color: var(--c-gris); opacity: .75; }

/* ==========================================================================
   HERO — portail ouvert, Ken Burns + parallax + apparition du texte
   ========================================================================== */
.domaine-hero{
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--c-noir);
  display: flex;
  align-items: center;
  justify-content: center;
}
.domaine-hero__media{
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--c-noir);
}
.domaine-hero__media picture,
.domaine-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
@media (max-aspect-ratio: 0.85){
  .domaine-hero__media picture,
  .domaine-hero__media img{ object-fit: contain; }
}
.domaine-hero__veil{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,11,12,.6) 0%,
      rgba(10,11,12,.1) 32%,
      rgba(10,11,12,.2) 68%,
      rgba(10,11,12,.78) 100%);
  pointer-events: none;
}
.domaine-hero__content{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.domaine-hero__content h1{ color: var(--c-blanc); }
.domaine-hero__content .lede{ color: var(--c-sable); opacity: .88; max-width: 46ch; }
.domaine-hero__scrollcue{
  position: absolute;
  bottom: clamp(1.6rem, 5vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gris);
}
.domaine-hero__scrollcue span{
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--c-laiton), transparent);
  animation: cue-fall 2.2s ease-in-out infinite;
}
@keyframes cue-fall{
  0%{ transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%{ transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%{ transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100%{ transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ==========================================================================
   TEASER — bloc éditorial 2 colonnes (Histoire, Bastide)
   ========================================================================== */
.domaine-teaser{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.domaine-teaser--reverse{ direction: rtl; }
.domaine-teaser--reverse > *{ direction: ltr; }
.domaine-teaser__media picture,
.domaine-teaser__media img{
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.domaine-teaser__eyebrow{ margin-bottom: 1.2rem; }
.domaine-teaser__title{ margin-bottom: 1.6rem; }
.domaine-teaser__text{ margin-bottom: 1.4rem; }
.domaine-teaser__text:last-of-type{ margin-bottom: 2.2rem; }
@media (max-width: 900px){
  .domaine-teaser{ grid-template-columns: 1fr; }
  .domaine-teaser--reverse{ direction: ltr; }
}

/* ==========================================================================
   FEATURE — section plein écran, image + texte en surimpression (Terroir)
   ========================================================================== */
.domaine-feature{
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--c-noir);
  padding-block: var(--section-pad);
}
.domaine-feature__media{
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.domaine-feature__media picture,
.domaine-feature__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.domaine-feature__veil{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,11,12,.35) 0%, rgba(10,11,12,.55) 100%),
    linear-gradient(to right, rgba(10,11,12,.25), transparent 40%, transparent 60%, rgba(10,11,12,.25));
  pointer-events: none;
}
.domaine-feature__content{
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  padding-inline: var(--gutter);
}
.domaine-feature__content h2{ color: var(--c-blanc); margin-block: 1.2rem 1.4rem; }
.domaine-feature__content .lede{ color: var(--c-sable); opacity: .9; margin-inline: auto; max-width: 52ch; }

/* ==========================================================================
   GRILLE — 3 visuels (L'Art de la Vigne)
   ========================================================================== */
.domaine-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.domaine-grid__item{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.domaine-grid__item picture,
.domaine-grid__item img{
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.domaine-grid__item figcaption{
  margin-top: 1rem;
  font-size: .84rem;
  color: var(--c-gris);
  line-height: 1.5;
}
@media (max-width: 860px){
  .domaine-grid{ grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   CTA — bandeau final vers les cuvées
   ========================================================================== */
.domaine-cta{
  text-align: center;
  background: var(--c-anthracite);
}
.domaine-cta h2{ margin-block: 1.2rem 1.4rem; }
.domaine-cta p{ margin-inline: auto; margin-bottom: 2.4rem; }
