/* ==========================================================================
   MAISON AURA — exception.css
   Styles spécifiques à la page "Cuvée d'Exception"
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* 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 — le flacon, seul, sur fond noir
   ========================================================================== */
.exception-hero{
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--c-noir);
  display: flex;
  align-items: center;
  justify-content: center;
}
.exception-hero__media{
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--c-noir);
  display: flex;
  align-items: center;
  justify-content: center;
}
.exception-hero__media picture,
.exception-hero__media img{
  width: 100%;
  height: 100%;
  /* La photo est déjà sur fond noir, identique au fond de la section : le
     "contain" centre le flacon en entier, sans recadrage ni calcul de
     recentrage — aucune bande de letterbox visible puisque les deux noirs
     se confondent. */
  object-fit: contain;
  object-position: center;
  display: block;
  will-change: transform;
}
.exception-hero__veil{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,11,12,.62) 0%,
      rgba(10,11,12,.4) 30%,
      rgba(10,11,12,.55) 72%,
      rgba(10,11,12,.9) 100%);
  pointer-events: none;
}
.exception-hero__content{
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.exception-hero__content h1{
  color: var(--c-blanc);
  text-shadow: 0 4px 28px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.9);
}
.exception-hero__content .eyebrow{
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.exception-hero__content .lede{
  color: var(--c-sable);
  max-width: 44ch;
  text-shadow: 0 2px 16px rgba(0,0,0,.75), 0 1px 3px rgba(0,0,0,.9);
}
.exception-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);
}
.exception-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; }
}

/* ==========================================================================
   ÉDITORIAL — teaser 2 colonnes
   ========================================================================== */
.exception-teaser{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.exception-teaser__media picture,
.exception-teaser__media img{
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.exception-teaser__eyebrow{ margin-bottom: 1.2rem; }
.exception-teaser__title{ margin-bottom: 1.6rem; }
.exception-teaser__text{ margin-bottom: 1.4rem; }
.exception-teaser__text:last-of-type{ margin-bottom: 0; }
@media (max-width: 900px){
  .exception-teaser{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   L'ÉLEVAGE — grille éditoriale 3 colonnes
   ========================================================================== */
.exception-elevage__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.exception-elevage__item{ position: relative; }
.exception-elevage__num{
  display: block;
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--c-laiton);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.exception-elevage__item h3{ margin-bottom: 1rem; }
.exception-elevage__item .lede{ max-width: 38ch; }
@media (max-width: 760px){
  .exception-elevage__grid{ grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ==========================================================================
   SHOWCASE — "livre" à défilement, Rouge / Blanc / Rosé
   ========================================================================== */
.exception-showcase{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: var(--section-pad);
  overflow: hidden;
  background: var(--c-rouge-bg);
  color: var(--c-rouge-txt);
  transition: background-color 1s var(--ease-signature);
}
.exception-showcase__bg-veil{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,255,255,.05), transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(0,0,0,.25), transparent 55%);
  pointer-events: none;
}
.exception-showcase__grid{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.exception-showcase__intro{ order: 1; }
.exception-showcase__intro .eyebrow{ margin-bottom: 1rem; color: currentColor; opacity: .65; }
.exception-showcase__intro h2{ margin-bottom: 2rem; }

.cuvee-switch{ display: flex; gap: 1.1rem; margin-bottom: 2.6rem; }
.cuvee-switch__btn{
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1.1rem .6rem .6rem;
  border: 1px solid currentColor; border-color: rgba(128,120,105,.35);
  border-radius: 999px; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; opacity: .6;
  transition: opacity var(--dur-med) var(--ease-signature),
              border-color var(--dur-med) var(--ease-signature);
}
.cuvee-switch__btn:hover{ opacity: .85; }
.cuvee-switch__btn[aria-pressed="true"]{ opacity: 1; border-color: currentColor; }
.cuvee-switch__dot{
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.cuvee-switch__btn[data-cuvee="rouge"] .cuvee-switch__dot{ background: #5B1B22; }
.cuvee-switch__btn[data-cuvee="blanc"] .cuvee-switch__dot{ background: #E9DFB0; }
.cuvee-switch__btn[data-cuvee="rose"]  .cuvee-switch__dot{ background: #E3B7A6; }

.cuvee-note{ position: relative; min-height: 6.6rem; margin-bottom: 2.4rem; }
.cuvee-note__item{ position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.cuvee-note__item.is-active{ position: relative; opacity: 1; visibility: visible; }
.cuvee-note__name{ font-family: var(--f-display); font-size: 1.3rem; margin-bottom: .5rem; }
.cuvee-note__pairing{ font-size: .86rem; opacity: .7; }
.cuvee-note__price{ display: inline-block; margin-top: 1.2rem; font-size: .78rem; letter-spacing: .1em; }

.exception-showcase__visual{
  order: 2;
  position: relative;
  width: clamp(220px, 30.4vw, 400px);
  height: clamp(280px, 38vw, 500px);
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 2px;
  perspective: 1800px;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.55);
}
.cuvee-book{ display: flex; width: 300%; height: 100%; will-change: transform; transform-style: preserve-3d; }
.cuvee-page{ width: 33.3333%; height: 100%; flex-shrink: 0; position: relative; }
.cuvee-page picture{ display: block; width: 100%; height: 100%; }
.cuvee-page picture,
.cuvee-page img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.cuvee-page::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(0,0,0,.3) 0%, transparent 14%,
    transparent 86%, rgba(0,0,0,.3) 100%);
  pointer-events: none;
}
.cuvee-book__gloss{
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
    rgba(255,255,255,.08) 0%, transparent 22%,
    transparent 78%, rgba(255,255,255,.05) 100%);
  pointer-events: none; z-index: 2;
}
.cuvee-book__edge{
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px;
  background: linear-gradient(to right, rgba(0,0,0,.4), transparent);
  pointer-events: none; z-index: 2;
}

@media (max-width: 900px){
  .exception-showcase__grid{ grid-template-columns: 1fr; }
  .exception-showcase__intro{ order: 1; text-align: center; }
  .cuvee-switch{ justify-content: center; }
  .exception-showcase__visual{ order: 0; margin-bottom: 1.5rem; }
}

/* ==========================================================================
   ALLOCATION — bandeau final
   ========================================================================== */
.exception-allocation{
  text-align: center;
  background: var(--c-anthracite);
}
.exception-allocation h2{ margin-block: 1.2rem 1.4rem; }
.exception-allocation p{ margin-inline: auto; margin-bottom: 2.4rem; }
