/* ==========================================================================
   Les Décanteurs — page « Foire aux Champagnes » (/foire-aux-champagnes-2026)
   Charte Décanteurs + couche champagne (or / crème / sapin). Tout scopé .champ.
   Ton informatif (loi Evin) : aucun texte courant en corail sur fond clair ;
   le corail reste cantonné aux boutons/badges.
   ========================================================================== */

.champ{
  --or:#C9A24B; --or-clair:#E6CF8E; --champ-creme:#FBF6EA; --champ-creme2:#F5ECD6;
  --sapin:#143A30; --sapin-2:#0E2B23; --neige:#F4FBF8;
}

/* ---------- Eyebrow ---------- */
.ch-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-size:.76rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase; color:var(--or-clair);
}
.ch-eyebrow--ink{ color:#9A7420; }
.ch-eyebrow__tick{ width:26px; height:3px; border-radius:99px; background:currentColor; opacity:.9; }

/* ---------- Hero : variante AFFICHE (fond champagne clair) ---------- */
.ch-hero{ position:relative; overflow:hidden; }
.ch-hero__in{ position:relative; z-index:1; padding:60px 0 56px; max-width:760px; }
.ch-hero__title{ font-family:var(--font-display); font-weight:800; letter-spacing:-.03em; font-size:clamp(2.4rem,6vw,4.2rem); line-height:.98; margin:16px 0 0; }
.ch-hero__title--serif{ font-family:var(--font-editorial); font-weight:400; font-style:italic; letter-spacing:-.01em; }
.ch-hero__lead{ font-size:1.1rem; max-width:580px; margin:18px 0 26px; line-height:1.7; }
.ch-hero__cta{ display:flex; gap:12px; flex-wrap:wrap; }

.ch-hero--affiche{
  background:
    radial-gradient(120% 120% at 85% 0%, #fff 0%, var(--champ-creme) 45%, var(--champ-creme2) 100%);
  border-bottom:1px solid #ecdcae;
  color:#2A2112;
}
.ch-hero--affiche .ch-hero__glow{
  position:absolute; width:360px; height:360px; right:-80px; top:-40px; border-radius:50%;
  background:radial-gradient(circle,rgba(201,162,75,.30),transparent 68%); filter:blur(8px);
}
.ch-hero--affiche .ch-hero__title{ color:var(--sapin); }
.ch-hero--affiche .ch-hero__lead--ink{ color:#5c544a; }

/* ---------- Hero : variante CHARTE (sombre, sobre) ---------- */
.ch-hero--charte{
  color:var(--neige);
  background:radial-gradient(120% 120% at 15% 0%,#1D5042 0%,var(--sapin) 45%,var(--sapin-2) 100%);
}
.ch-hero--charte .ch-hero__title{ color:#fff; }
.ch-hero--charte .ch-hero__lead{ color:rgba(255,255,255,.82); }

/* ---------- Offre 5+1 ---------- */
.ch-offer{
  display:inline-flex; flex-direction:column; gap:3px; padding:14px 20px; border-radius:var(--radius-md,14px);
  margin:4px 0 26px;
}
.ch-offer__big{ font-family:var(--font-display); font-weight:800; font-size:1.3rem; letter-spacing:.01em; }
.ch-offer__small{ font-size:.86rem; line-height:1.45; max-width:460px; }
.ch-offer--gold{ background:linear-gradient(135deg,var(--or),#b4863a); color:#241a05; box-shadow:0 12px 30px rgba(201,162,75,.3); }
.ch-offer--gold .ch-offer__small{ color:#3c2f10; }
.ch-offer--onDark{ background:rgba(255,255,255,.08); border:1px solid rgba(230,207,142,.5); color:var(--or-clair); }
.ch-offer--onDark .ch-offer__small{ color:rgba(255,255,255,.8); }

/* ---------- Caves ---------- */
.ch-caves{ background:var(--neige); border-bottom:1px solid var(--line); }
.ch-caves__in{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 20px; padding:16px 0; }
.ch-caves__label{ font-family:var(--font-display); font-weight:700; font-size:.82rem; color:var(--decant-bleu-nuit,#172A3A); display:inline-flex; align-items:center; gap:8px; margin:0; }
.ch-caves__label svg{ color:var(--brand); flex:0 0 auto; }
.ch-caves__list{ display:flex; gap:8px; flex-wrap:wrap; }
.ch-cave{
  padding:7px 14px; border-radius:var(--radius-pill,999px); border:1px solid var(--line); background:#fff;
  font-family:var(--font-display); font-weight:700; font-size:.8rem; text-decoration:none; color:var(--sapin);
  transition:background .2s,color .2s,border-color .2s;
}
.ch-cave:hover{ background:var(--sapin); border-color:var(--sapin); color:#fff; }

/* ---------- Sections ---------- */
.ch-sec{ padding:56px 0; }
.ch-sechead{ max-width:620px; margin-bottom:28px; }
.ch-sechead h2{ font-family:var(--font-display); font-weight:800; letter-spacing:-.03em; font-size:clamp(1.7rem,3.4vw,2.5rem); margin:10px 0 0; line-height:1.05; }
.ch-sechead p{ color:var(--decant-muted,#6b7280); margin:12px 0 0; }
.ch-msg{ text-align:center; color:var(--decant-muted,#6b7280); padding:36px 0; font-size:1.02rem; }

/* ---------- Filtres (sticky) ---------- */
.ch-jump{ position:sticky; top:60px; z-index:80; background:rgba(250,247,240,.92); backdrop-filter:blur(12px); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.ch-jump__in{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; padding:12px 0; }
.ch-jgroup{ display:flex; align-items:center; gap:8px; }
.ch-jgroup b{ font-family:var(--font-display); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--decant-muted,#6b7280); }
.ch-select{
  font:inherit; cursor:pointer; color:var(--decant-ink,#172A3A); background-color:#fff; border:1px solid var(--line);
  border-radius:999px; padding:8px 34px 8px 14px; line-height:1.15; -webkit-appearance:none; -moz-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23334155' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 13px center; background-size:10px 6px;
}
.ch-select:hover{ border-color:var(--sapin); }
.ch-select.is-active{ background-color:var(--sapin); border-color:var(--sapin); color:#fff;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ch-count{ font-size:.82rem; color:var(--decant-muted,#6b7280); font-weight:600; margin-left:auto; }

/* ---------- Maison (groupe) ---------- */
.ch-maison{ margin:0 0 34px; }
.ch-maison__head{ margin:0 0 16px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.ch-maison__nom{ font-family:var(--font-editorial); font-style:italic; font-weight:400; font-size:1.7rem; color:var(--sapin); margin:0; }
.ch-maison__desc{ color:var(--decant-muted,#6b7280); margin:6px 0 0; font-size:.95rem; max-width:none; }

/* ---------- Grille + cartes ---------- */
.ch-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:18px; }
.ch-grid--une{ grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); }

.ch-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg,18px); overflow:hidden; box-shadow:var(--shadow-card,0 8px 24px rgba(20,58,48,.06)); }
/* Hauteur de média FIXE et identique pour toutes les cartes, quelle que soit la
   largeur de colonne : les bouteilles s'affichent à la même hauteur, alignées en bas
   (cadrages sources hétérogènes : détourées, fond blanc, coffrets). */
.ch-card__media{ position:relative; height:210px; display:flex; align-items:flex-end; justify-content:center; background:#fff; overflow:hidden; }
/* max-width/max-height (sans width/height:100%) : l'image garde son ratio et ne
   dépasse JAMAIS la boîte ; les % font office de marge, bouteille alignée en bas. */
.ch-card__media img{ max-width:86%; max-height:90%; width:auto; height:auto; object-fit:contain; }
.ch-card__media--ph{ background:linear-gradient(160deg,var(--champ-creme),#efe4c6); }
.ch-card__ph{ color:#b89a4e; opacity:.7; }
.ch-badge{ position:absolute; top:10px; left:10px; font-family:var(--font-display); font-weight:800; font-size:.62rem; letter-spacing:.06em; text-transform:uppercase; padding:5px 9px; border-radius:999px; }
.ch-badge--une{ background:var(--or); color:#241a05; }

.ch-card__body{ display:flex; flex-direction:column; gap:7px; padding:14px 15px 15px; flex:1; }
.ch-card__maison{ font-family:var(--font-display); font-weight:700; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--decant-muted,#6b7280); margin:0; }
.ch-card__nom{ font-family:var(--font-display); font-weight:800; font-size:1.02rem; line-height:1.18; letter-spacing:-.01em; color:var(--decant-bleu-nuit,#172A3A); margin:0; }
.ch-card__tags{ display:flex; flex-wrap:wrap; gap:5px; }
.ch-chip{ font-family:var(--font-display); font-weight:700; font-size:.68rem; padding:3px 8px; border-radius:999px; background:var(--neige); border:1px solid var(--line); color:var(--sapin); }
.ch-chip--year{ background:#f6eccf; border-color:#e6cf8e; color:#6d5214; }
.ch-card__desc{ color:var(--decant-muted,#6b7280); font-size:.84rem; line-height:1.45; margin:0; }
.ch-card__foot{ margin-top:auto; padding-top:10px; display:flex; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid var(--line); }
.ch-card__prix{ font-family:var(--font-display); font-weight:800; font-size:1.05rem; color:var(--sapin); }
.ch-card__prix--na{ font-weight:600; font-size:.82rem; color:var(--decant-muted,#6b7280); }
/* Prix avec offre 5+1 : prix barré + prix remisé à la bouteille */
.ch-price{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.ch-price__old{ font-family:var(--font-display); font-weight:600; font-size:.9rem; color:var(--decant-muted,#6b7280); text-decoration:line-through; }
.ch-price__new{ font-family:var(--font-display); font-weight:800; font-size:1.15rem; color:var(--sapin); }
.ch-price__u{ font-weight:600; font-size:.72rem; color:var(--decant-muted,#6b7280); }
.ch-card__offer{ margin:6px 0 0; font-family:var(--font-display); font-weight:700; font-size:.68rem; letter-spacing:.02em; color:#9A7420; }
.ch-card__offer sup{ font-size:.75em; }

/* Disponibilité par cave (3 pastilles V/M/B) */
.ch-card__dispo{ display:inline-flex; gap:4px; }
.ch-dot{ width:20px; height:20px; border-radius:6px; display:grid; place-items:center; font-family:var(--font-display); font-weight:800; font-size:.66rem; background:#f0ece3; color:#b6ab98; border:1px solid var(--line); }
.ch-dot--on{ background:var(--decant-vert-menthe-soft,#e2f0e7); color:var(--decant-vert-menthe-ink,#1f5a3e); border-color:#bcdfc9; }

/* États filtres */
.champ .is-hidden{ display:none !important; }
.ch-empty{ text-align:center; color:var(--decant-muted,#6b7280); padding:24px 0; }
.ch-reset{ font:inherit; font-weight:700; color:var(--sapin); background:none; border:0; border-bottom:2px solid var(--or); cursor:pointer; padding:0 2px; }

/* ---------- Pied ---------- */
.ch-foot{ background:var(--sapin-2); color:var(--neige); padding:56px 0; }
.ch-foot .ch-eyebrow{ color:var(--or-clair); }
.ch-foot h2{ font-family:var(--font-display); font-weight:800; letter-spacing:-.03em; font-size:clamp(1.6rem,3.2vw,2.4rem); margin:10px 0 0; }
.ch-foot p{ color:rgba(255,255,255,.72); max-width:480px; margin:12px 0 22px; }

/* ---------- Mention Evin ---------- */
.ch-evin{ text-align:center; font-size:.8rem; color:var(--decant-muted,#6b7280); background:#fff; padding:16px; margin:0; border-top:1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width:640px){
  .ch-hero__in{ padding:42px 0 38px; }
  .ch-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .ch-card__media{ height:170px; }
  .ch-card__body{ padding:11px 12px 12px; }
  .ch-card__nom{ font-size:.94rem; }
  .ch-jump{ top:56px; }
  .ch-jgroup{ flex:1; }
  .ch-select{ width:100%; }
  .ch-count{ width:100%; margin-left:0; }
}
