/* ============================================================
   Amana Papeterie — DA « papeterie douce »
   Crème papier · rose poudré · bordeaux Coran · or · bleu nuit
   ============================================================ */
:root {
  --paper: #FBF5EF;
  --paper-2: #F6EAE3;
  --rose-50: #FCEFF0;
  --rose-100: #F6DCE0;
  --rose-200: #EBB8BD;
  --rose-400: #D9808F;
  --rose-600: #B9536A;
  --wine: #7A2440;
  --wine-900: #4A1426;
  --gold: #E9B949;
  --sky: #CFE3F6;
  --navy: #1B2659;
  --ink: #3A2229;
  --ink-soft: #7D6168;
  --line: rgba(122, 36, 64, .12);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Nunito", system-ui, sans-serif;
  --f-logo: "Oswald", "Arial Narrow", sans-serif;
  --f-hand: "Caveat", cursive;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 34px;
  --shadow-sm: 0 2px 6px rgba(74, 20, 38, .06), 0 8px 24px rgba(74, 20, 38, .06);
  --shadow: 0 10px 30px rgba(74, 20, 38, .10), 0 30px 60px -20px rgba(74, 20, 38, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* grain papier */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0; color: var(--wine-900); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--rose-600); }
.hand { font-family: var(--f-hand); font-weight: 500; }
:focus-visible { outline: 2px solid var(--rose-600); outline-offset: 3px; border-radius: 6px; }

/* ---------- utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose-600); margin: 0 0 1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.eyebrow--light { color: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1rem 1.6rem; border-radius: 999px;
  font-weight: 800; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--wine); color: #fff; box-shadow: 0 8px 20px -6px rgba(122, 36, 64, .55), inset 0 -2px 0 rgba(0,0,0,.15); }
.btn--primary:hover { background: var(--wine-900); box-shadow: 0 14px 28px -8px rgba(122, 36, 64, .6); }
.btn--ghost { background: rgba(255,255,255,.6); color: var(--wine); box-shadow: inset 0 0 0 1.5px var(--rose-200); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); padding: 0 var(--gutter); }
.section-head h2 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
.section-head__lead { color: var(--ink-soft); margin: 1rem auto 0; max-width: 520px; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; text-align: left; max-width: var(--max); flex-wrap: wrap; }

/* ---------- annonce ---------- */
.announce { background: var(--wine); color: var(--rose-100); font-size: .8rem; font-weight: 700; letter-spacing: .04em; overflow: hidden; white-space: nowrap; }
.announce__track { display: inline-flex; gap: 3rem; padding: .55rem 0; animation: marquee 32s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(74,20,38,.4); }
.nav { max-width: var(--max); margin: 0 auto; padding: .6rem var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav__links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; font-weight: 700; font-size: .92rem; }
.nav__links--right { justify-content: flex-end; }
.nav__links a { position: relative; padding: .3rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--rose-400); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--wine); border-radius: 2px; }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; right: 16px; }

.logo { display: grid; place-items: center; }
.logo__seal {
  width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F3CBD0, var(--rose-200) 70%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55), inset 0 -6px 12px rgba(185,83,106,.18), var(--shadow-sm);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  transition: transform .5s var(--ease);
}
.logo:hover .logo__seal { transform: rotate(-8deg) scale(1.04); }
.logo__name { font-family: var(--f-logo); font-weight: 400; font-size: 1.12rem; letter-spacing: .02em; }
.logo__leaf { width: 22px; height: 7px; margin: 2px 0 1px; opacity: .9; }
.logo__sub { font-family: var(--f-logo); font-weight: 300; font-size: .42rem; letter-spacing: .32em; padding-left: .32em; }
.logo__seal--lg { width: 110px; height: 110px; }
.logo__seal--lg .logo__name { font-size: 1.65rem; }
.logo__seal--lg .logo__leaf { width: 32px; height: 10px; }
.logo__seal--lg .logo__sub { font-size: .6rem; }

.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.cart-btn:hover { transform: scale(1.06); }
.cart-btn svg { width: 22px; height: 22px; color: var(--wine); }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--rose-400); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--paper); transition: transform .3s var(--ease); }
.cart-btn__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--rose-100);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: 2rem var(--gutter);
  clip-path: circle(0 at 32px 32px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at 32px 32px); visibility: visible; }
.mobile-menu a { font-family: var(--f-display); font-size: 2.6rem; color: var(--wine-900); font-weight: 600; }
.mobile-menu .hand { font-size: 1.6rem; color: var(--rose-600); margin-top: 1.5rem; }
.mobile-menu__close { position: absolute; top: 14px; left: 14px; font-size: 2.4rem; width: 48px; height: 48px; color: var(--wine); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__title { font-size: clamp(2.8rem, 7vw, 5.8rem); font-weight: 600; }
.hero__title-heart { position: relative; display: inline-block; }
.hero__title-heart::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .2em; z-index: -1;
  background: var(--rose-200); border-radius: 999px; transform: rotate(-1.5deg) scaleX(0); transform-origin: left;
  animation: underline 1s .7s var(--ease) forwards;
}
@keyframes underline { to { transform: rotate(-1.5deg) scaleX(1); } }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft); max-width: 500px; margin: 1.5rem 0 2rem; }
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__proofs { list-style: none; padding: 0; margin: 2.6rem 0 0; display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); }
.hero__proofs li { display: flex; flex-direction: column; }
.hero__proofs strong { font-family: var(--f-display); font-size: 1.8rem; color: var(--wine); line-height: 1; }
.hero__proofs span { font-size: .82rem; color: var(--ink-soft); font-weight: 600; margin-top: .3rem; }

.hero__art { position: relative; aspect-ratio: 1 / 1.02; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob--rose { width: 78%; height: 78%; top: 6%; left: 14%; background: radial-gradient(circle at 40% 35%, var(--rose-100), var(--rose-200)); border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; animation: morph 14s ease-in-out infinite; }
.blob--sky { width: 34%; height: 34%; bottom: 2%; left: 2%; background: var(--sky); opacity: .8; animation: morph 11s ease-in-out infinite reverse; }
@keyframes morph { 50% { border-radius: 58% 42% 44% 56% / 42% 56% 44% 58%; transform: rotate(8deg); } }

.polaroid {
  position: absolute; margin: 0; background: #fff; padding: 10px 10px 0; border-radius: 6px;
  box-shadow: var(--shadow); transition: transform .6s var(--ease);
}
.polaroid img { border-radius: 3px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.polaroid figcaption { text-align: center; font-size: 1.3rem; color: var(--wine); padding: .3rem 0 .4rem; }
.polaroid--a { width: 46%; top: 3%; right: 6%; transform: rotate(5deg); z-index: 2; animation: float 7s ease-in-out infinite; }
.polaroid--b { width: 40%; top: 30%; left: 4%; transform: rotate(-7deg); z-index: 3; animation: float 8s 1s ease-in-out infinite; }
.polaroid--c { width: 42%; bottom: 0; right: 14%; transform: rotate(-2deg); z-index: 4; animation: float 9s .5s ease-in-out infinite; }
.polaroid--c img { aspect-ratio: 4 / 3; }
@keyframes float { 50% { translate: 0 -12px; } }
.hero__art:hover .polaroid--a { transform: rotate(9deg) translate(10px, -6px); }
.hero__art:hover .polaroid--b { transform: rotate(-11deg) translate(-10px, 0); }
.hero__art:hover .polaroid--c { transform: rotate(2deg) translate(6px, 8px); }

.sticker { position: absolute; z-index: 5; filter: drop-shadow(0 6px 10px rgba(74,20,38,.18)); }
.sticker--moon { width: 13%; top: 0; left: 18%; animation: spin-slow 10s ease-in-out infinite; }
.sticker--star { width: 11%; bottom: 20%; right: 0; animation: spin-slow 7s ease-in-out infinite reverse; }
@keyframes spin-slow { 50% { transform: rotate(18deg) scale(1.1); } }

.stamp { position: absolute; z-index: 6; width: 22%; aspect-ratio: 1; bottom: 6%; left: 8%; display: grid; place-items: center; background: var(--wine); color: var(--rose-100); border-radius: 50%; box-shadow: var(--shadow); }
.stamp svg { position: absolute; inset: 0; animation: rotate 18s linear infinite; }
.stamp text { font-family: var(--f-body); font-weight: 800; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; fill: currentColor; }
.stamp span { font-size: 1.6rem; color: var(--rose-200); }
@keyframes rotate { to { transform: rotate(360deg); } }

/* ---------- ruban ---------- */
.ribbon { background: var(--rose-200); color: var(--wine-900); overflow: hidden; white-space: nowrap; transform: rotate(-1.2deg); margin: 0 -2vw; box-shadow: var(--shadow-sm); }
.ribbon__track { display: inline-flex; align-items: center; gap: 2rem; padding: 1rem 0; animation: marquee 26s linear infinite; }
.ribbon span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.ribbon i { font-style: normal; color: #fff; font-size: 1.2rem; }

/* ---------- catégories ---------- */
/* ---------- deux univers ---------- */
.universes { max-width: var(--max); margin: clamp(4rem, 9vw, 7rem) auto 0; padding: 0 var(--gutter); }
.universes .section-head { padding: 0; }
.universes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.universe { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--rose-50); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; isolation: isolate; }
.universe--edu { background: #EAF2FB; }
.universe__art { position: relative; display: block; height: clamp(240px, 26vw, 330px); overflow: hidden; }
.universe__art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, var(--rose-200), transparent 65%); opacity: .7; }
.universe--edu .universe__art::before { background: radial-gradient(circle at 50% 120%, #A9C9EC, transparent 65%); }
.universe__art img { position: absolute; width: 38%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow); top: 50%; left: 50%; transition: transform .8s var(--ease); }
.universe__art img:nth-child(1) { transform: translate(-125%, -44%) rotate(-9deg); }
.universe__art img:nth-child(2) { transform: translate(-50%, -54%) rotate(2deg); z-index: 2; }
.universe__art img:nth-child(3) { transform: translate(25%, -42%) rotate(8deg); }
.universe:hover .universe__art img:nth-child(1) { transform: translate(-138%, -48%) rotate(-13deg); }
.universe:hover .universe__art img:nth-child(2) { transform: translate(-50%, -60%) rotate(0deg) scale(1.04); }
.universe:hover .universe__art img:nth-child(3) { transform: translate(38%, -46%) rotate(12deg); }
.universe__body { padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.universe__kicker { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-600); }
.universe--edu .universe__kicker { color: #3E6FA8; }
.universe h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0; }
.universe--edu h3 { color: var(--navy); }
.universe--edu h3 em { color: #3E6FA8; }
.universe__body > p:not(.universe__kicker) { margin: 0; color: var(--ink-soft); }
.universe__links { display: flex; flex-wrap: wrap; gap: .45rem; }
.universe__links a { padding: .45rem .9rem; border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 800; color: var(--wine); box-shadow: inset 0 0 0 1.5px var(--line); transition: all .25s var(--ease); }
.universe__links a:hover { background: var(--wine); color: #fff; }
.universe--edu .universe__links a { color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(27,38,89,.12); }
.universe--edu .universe__links a:hover { background: var(--navy); color: #fff; }
.universe .btn { align-self: start; margin-top: auto; }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -6px rgba(27, 38, 89, .5), inset 0 -2px 0 rgba(0,0,0,.15); }
.btn--navy:hover { background: #111A42; }

/* ---------- deux formats ---------- */
.formats { max-width: 1080px; margin: clamp(4rem, 9vw, 7rem) auto 0; padding: 0 var(--gutter); }
.formats .section-head { padding: 0; }
.formats__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); }
.formats__or { font-size: 2.4rem; color: var(--rose-400); transform: rotate(-8deg); }
.format-card { background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-sm); position: relative; height: 100%; }
.format-card--print { box-shadow: var(--shadow-sm), inset 0 0 0 2px var(--rose-100); }
.format-card--pdf { box-shadow: var(--shadow-sm), inset 0 0 0 2px var(--sky); }
.format-card__icon { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: var(--rose-50); margin-bottom: 1rem; }
.format-card--pdf .format-card__icon { background: #EEF5FC; }
.format-card__icon svg { width: 46px; height: 46px; }
.format-card__kicker { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-600); }
.format-card--pdf .format-card__kicker { color: #3E6FA8; }
.format-card h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: .2rem 0 .6rem; }
.format-card--pdf h3 { color: var(--navy); }
.format-card > p:not(.format-card__kicker) { color: var(--ink-soft); margin: 0 0 1rem; }
.format-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .93rem; font-weight: 600; }
.format-card li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: .6rem; border-radius: 50%; background: #DCEFE3; color: #2E8A57; font-size: .7rem; font-weight: 800; }

/* ---------- boutique ---------- */
.shop { padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }
.filters { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 0 var(--gutter); margin-bottom: 2.5rem; }
.filters__row { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.filters__row--subs { animation: fadein .4s var(--ease); }
.chip--sm { padding: .45rem .95rem; font-size: .8rem; }
.chip--sm.is-active { background: var(--rose-100); color: var(--wine); box-shadow: inset 0 0 0 1.5px var(--rose-400); }
.seg { display: inline-flex; align-items: center; gap: .2rem; padding: .3rem; border-radius: 999px; background: var(--paper-2); }
.seg__label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 0 .6rem 0 .7rem; }
.seg__btn { padding: .45rem .95rem; border-radius: 999px; font-weight: 800; font-size: .82rem; color: var(--ink-soft); transition: all .25s var(--ease); }
.seg__btn.is-active { background: #fff; color: var(--wine); box-shadow: var(--shadow-sm); }
.grid-empty { text-align: center; font-size: 1.5rem; color: var(--rose-600); margin: 1rem 0 0; }

/* étiquettes de format */
.card__formats { position: absolute; z-index: 1; bottom: 14px; left: 14px; display: flex; gap: 5px; }
.card__alt { display: block; font-family: var(--f-body); font-size: .74rem; font-weight: 800; color: #3E6FA8; text-align: right; margin-top: .15rem; }
.fmt-tag { display: inline-block; padding: .22rem .6rem; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--wine); box-shadow: var(--shadow-sm); }
.fmt-tag--pdf { background: var(--navy); color: #fff; }
.line .fmt-tag { box-shadow: none; background: var(--rose-100); margin-bottom: .25rem; }
.line .fmt-tag--pdf { background: var(--sky); color: var(--navy); }
.chip { padding: .65rem 1.25rem; border-radius: 999px; font-weight: 800; font-size: .88rem; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: all .3s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--rose-200); }
.chip.is-active { background: var(--wine); color: #fff; box-shadow: 0 8px 18px -8px rgba(122,36,64,.6); }

.grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.card { position: relative; display: flex; flex-direction: column; cursor: pointer; animation: rise .7s var(--ease) both; }
.card[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.card__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.card:hover .card__media { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img:first-child { transform: scale(1.06); }
.card:hover .card__media img + img { opacity: 1; transform: scale(1.03); }
.card__badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: .35rem .75rem; border-radius: 999px; background: #fff; color: var(--wine); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.card__badge--new { background: var(--gold); color: var(--wine-900); }
.card__quick { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; padding: .85rem; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--wine); font-weight: 800; font-size: .9rem; transform: translateY(140%); transition: transform .5s var(--ease), background .25s; }
.card__quick:hover { background: var(--wine); color: #fff; }
.card:hover .card__quick, .card:focus-within .card__quick { transform: translateY(0); }
.card__body { padding: 1.1rem .3rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.card__cat { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-600); }
.card__title { font-family: var(--f-display); font-size: 1.32rem; font-weight: 600; color: var(--wine-900); line-height: 1.15; margin: .25rem 0 .4rem; }
.card__swatches { display: flex; gap: 6px; }
.card__swatches span { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.card__price { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; color: var(--wine); white-space: nowrap; }
.card__price small { display: block; font-family: var(--f-body); font-size: .7rem; color: var(--ink-soft); font-weight: 700; text-align: right; }

/* ---------- jour / nuit ---------- */
.daynight {
  position: relative; overflow: hidden; margin: 0 clamp(0px, 2vw, 24px); border-radius: clamp(24px, 4vw, 48px);
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  transition: background 1.2s var(--ease), color 1.2s var(--ease);
}
.daynight.is-day { background: linear-gradient(180deg, #BFDDF6 0%, #E4F0FA 55%, #FCEFF0 100%); color: var(--navy); }
.daynight.is-night { background: linear-gradient(180deg, #121A45 0%, #24306E 60%, #4A3C7A 100%); color: #EDE9FF; }
.daynight.is-night h2 { color: #fff; }
.daynight.is-night h2 em { color: #F7C9D2; }
.daynight h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--navy); transition: color 1s; }
.daynight h2 em { color: #4C79C0; }
.daynight__sky { position: absolute; inset: 0; pointer-events: none; }
.sun, .moon { position: absolute; top: 9%; right: 8%; width: clamp(80px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; transition: transform 1.4s var(--ease), opacity 1s; }
.sun { background: radial-gradient(circle, #FFE07A 55%, #F9C93E); box-shadow: 0 0 0 18px rgba(255,224,122,.25), 0 0 0 40px rgba(255,224,122,.12); }
.moon { background: transparent; box-shadow: inset -26px 10px 0 0 #F6D776; transform: translateY(160%) rotate(-30deg); opacity: 0; }
.is-night .sun { transform: translateY(180%); opacity: 0; }
.is-night .moon { transform: translateY(0) rotate(-20deg); opacity: 1; }
.stars { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s;
  background-image:
    radial-gradient(2px 2px at 12% 18%, #fff, transparent), radial-gradient(1.5px 1.5px at 28% 40%, #fff, transparent),
    radial-gradient(2px 2px at 44% 12%, #FFE58A, transparent), radial-gradient(1.5px 1.5px at 60% 30%, #fff, transparent),
    radial-gradient(2px 2px at 72% 58%, #fff, transparent), radial-gradient(1.5px 1.5px at 86% 80%, #FFE58A, transparent),
    radial-gradient(2px 2px at 8% 72%, #fff, transparent), radial-gradient(1.5px 1.5px at 36% 86%, #fff, transparent),
    radial-gradient(2px 2px at 52% 68%, #fff, transparent), radial-gradient(1.5px 1.5px at 94% 40%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
.is-night .stars { opacity: 1; }
@keyframes twinkle { to { filter: brightness(1.6); } }
.cloud { position: absolute; background: #fff; border-radius: 99px; opacity: .85; transition: opacity 1s, transform 1.4s var(--ease); }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud--1 { width: 160px; height: 44px; top: 16%; left: -20px; animation: drift 24s linear infinite; }
.cloud--1::before { width: 70px; height: 70px; top: -36px; left: 28px; } .cloud--1::after { width: 54px; height: 54px; top: -24px; left: 84px; }
.cloud--2 { width: 120px; height: 34px; bottom: 12%; right: 30%; animation: drift 30s linear infinite reverse; opacity: .6; }
.cloud--2::before { width: 50px; height: 50px; top: -26px; left: 20px; } .cloud--2::after { width: 40px; height: 40px; top: -18px; left: 60px; }
.is-night .cloud { opacity: .08; }
@keyframes drift { 50% { transform: translateX(60px); } }

.daynight__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.daynight__copy p { font-size: 1.08rem; max-width: 480px; opacity: .85; }
[data-dn-title], [data-dn-text] { transition: opacity .4s, transform .4s var(--ease); }
.is-swapping [data-dn-title], .is-swapping [data-dn-text] { opacity: 0; transform: translateY(10px); }

.toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.55); backdrop-filter: blur(8px); margin: 1.2rem 0 2rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.is-night .toggle { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.toggle__btn { position: relative; z-index: 1; padding: .7rem 1.4rem; font-weight: 800; border-radius: 999px; transition: color .5s; min-width: 110px; }
.toggle__btn.is-active { color: #fff; }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: #F2A93B; box-shadow: 0 6px 16px -4px rgba(242,169,59,.7); transition: transform .6s var(--ease), background .6s; }
.is-night .toggle__pill { transform: translateX(100%); background: #6B5BD6; box-shadow: 0 6px 16px -4px rgba(107,91,214,.8); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.steps li { display: flex; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border-radius: var(--r-sm); background: rgba(255,255,255,.55); backdrop-filter: blur(6px); transition: background 1s; }
.is-night .steps li { background: rgba(255,255,255,.08); }
.steps li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.steps strong { font-weight: 800; }

.daynight__visual { display: flex; flex-direction: column; align-items: center; }
.flipcard { width: 100%; max-width: 560px; aspect-ratio: 4 / 3; perspective: 1600px; cursor: pointer; }
.flipcard__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.flipcard.is-flipped .flipcard__inner { transform: rotateY(180deg); }
.flipcard__front, .flipcard__back { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(10,20,60,.45); background: #fff; }
.flipcard img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.flipcard__back { transform: rotateY(180deg); }
.flipcard__bravo { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: #2E8A57; color: #fff; padding: .3rem 1.2rem; border-radius: 999px; font-size: 1.5rem; white-space: nowrap; box-shadow: var(--shadow); }
.daynight__hint { font-size: 1.4rem; margin-top: 1rem; opacity: .75; }
.is-swapping .flipcard img { opacity: 0; }

/* ---------- avantages ---------- */
.perks { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.perk { text-align: center; }
.perk__icon { width: 92px; height: 92px; margin: 0 auto 1.2rem; display: grid; place-items: center; background: var(--c); border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%; transition: border-radius .8s var(--ease), transform .8s var(--ease); }
.perk:hover .perk__icon { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; transform: rotate(-6deg) scale(1.05); }
.perk__icon svg { width: 46px; height: 46px; }
.perk h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.perk p { color: var(--ink-soft); font-size: .95rem; margin: 0; max-width: 240px; margin-inline: auto; }

/* ---------- histoire ---------- */
.story { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(5rem, 10vw, 8rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story__photo { position: relative; }
.story__photo img { border-radius: 200px 200px var(--r) var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.story__tape { position: absolute; top: -14px; left: 50%; width: 120px; height: 34px; background: rgba(235,184,189,.75); transform: translateX(-50%) rotate(-4deg); border-radius: 3px; }
.story__photo::after { content: "♡"; position: absolute; right: -18px; bottom: 40px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--wine-900); font-size: 2rem; box-shadow: var(--shadow); animation: spin-slow 6s ease-in-out infinite; }
.story h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.4rem; }
.story p { color: var(--ink-soft); font-size: 1.06rem; max-width: 560px; }
.story strong { color: var(--wine); }
.story__sign { font-size: 2rem !important; color: var(--rose-600) !important; margin-top: 1.5rem; }

/* ---------- tiktok ---------- */
.tiktok { padding: clamp(4rem, 8vw, 6rem) 0; background: linear-gradient(180deg, transparent, var(--rose-50) 30%, var(--rose-50) 70%, transparent); }
.tiktok .section-head--row { margin-inline: auto; }
.tiktok h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.tiktok__rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 18vw, 230px); gap: 1rem; overflow-x: auto; padding: .5rem var(--gutter) 1.5rem; scroll-snap-type: x mandatory; scrollbar-width: none; max-width: var(--max); margin: 0 auto; }
.tiktok__rail::-webkit-scrollbar { display: none; }
.tt { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; scroll-snap-align: start; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease); }
.tt:nth-child(odd) { transform: rotate(-1.5deg); } .tt:nth-child(even) { transform: rotate(1.5deg) translateY(10px); }
.tt:hover { transform: rotate(0) scale(1.04); z-index: 1; }
.tt img { width: 100%; height: 100%; object-fit: cover; }
.tt::after { content: "▶"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--wine); display: grid; place-items: center; font-size: 1rem; padding-left: 3px; opacity: 0; transform: scale(.6); transition: all .4s var(--ease); }
.tt:hover::after { opacity: 1; transform: scale(1); }

/* ---------- faq ---------- */
.faq { padding: clamp(4rem, 8vw, 6rem) var(--gutter); }
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.5rem; font-weight: 800; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--wine-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--rose-100); color: var(--wine); display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--rose-200); }
.faq details p { margin: 0; padding: 0 1.5rem 1.3rem; color: var(--ink-soft); }

/* ---------- newsletter ---------- */
.news { padding: 0 var(--gutter) clamp(4rem, 8vw, 6rem); }
.news__card { position: relative; max-width: 980px; margin: 0 auto; text-align: center; padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 5vw, 4rem); border-radius: var(--r-lg); background: radial-gradient(circle at 20% 0%, #F9D9DE, transparent 50%), radial-gradient(circle at 100% 100%, #D7E6F6, transparent 50%), var(--rose-100); overflow: hidden; }
.news__deco { position: absolute; width: 90px; top: 24px; right: 7%; animation: spin-slow 8s ease-in-out infinite; }
.news h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.news p { color: var(--ink-soft); max-width: 460px; margin: 1rem auto 2rem; }
.news__form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm); }
.news__form input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 1.2rem; font: inherit; color: var(--ink); outline: none; }
.news__ok { font-size: 1.8rem !important; color: var(--rose-600) !important; margin: 1rem 0 0 !important; }

/* ---------- footer ---------- */
.footer { background: var(--wine-900); color: var(--rose-100); padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem; display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; }
.footer__brand { display: flex; gap: 1.5rem; align-items: center; }
.footer__brand p { margin: 0; opacity: .8; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer h4 { font-family: var(--f-display); font-size: 1.15rem; color: #fff; margin: 0 0 .9rem; font-weight: 600; }
.footer__cols a { display: block; padding: .25rem 0; opacity: .75; transition: opacity .2s, transform .3s var(--ease); }
.footer__cols a:hover { opacity: 1; transform: translateX(4px); }
.footer__legal { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; opacity: .6; }

/* ---------- modal produit ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(58, 20, 32, .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.is-open .modal__backdrop, .is-open .drawer__backdrop { opacity: 1; }
.modal__panel { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 40px 80px -20px rgba(58,20,32,.5); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.modal__panel--sm { width: min(520px, 100%); }
.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); font-size: 1.6rem; line-height: 1; color: var(--wine); transition: transform .3s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.pm { display: grid; grid-template-columns: 1.1fr 1fr; }
.pm__gallery { padding: 18px; }
.pm__main { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; }
.pm__main img { width: 100%; height: 100%; object-fit: cover; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: scale(1.03); } }
.pm__thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.pm__thumbs button { flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; opacity: .55; box-shadow: inset 0 0 0 2px transparent; transition: opacity .3s; }
.pm__thumbs button.is-active { opacity: 1; outline: 2px solid var(--wine); outline-offset: 2px; }
.pm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm__info { padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.pm__cat { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-600); margin: 0 0 .5rem; }
.pm__info h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pm__price { font-family: var(--f-display); font-size: 1.7rem; color: var(--wine); margin: .8rem 0 0; }
.pm__price s { font-size: 1.1rem; color: var(--ink-soft); opacity: .6; margin-left: .3rem; }
.pm__desc { color: var(--ink-soft); margin: 1rem 0 1.4rem; }
.opt { margin-bottom: 1.2rem; }
.opt__label { font-weight: 800; font-size: .85rem; margin-bottom: .5rem; display: block; }
.opt__label span { font-weight: 600; color: var(--ink-soft); }
.opt__choices { display: flex; gap: .5rem; flex-wrap: wrap; }
.opt__choices button { padding: .6rem 1rem; border-radius: 999px; background: #fff; font-weight: 700; font-size: .88rem; box-shadow: inset 0 0 0 1.5px var(--line); display: inline-flex; align-items: center; gap: .5rem; transition: all .25s var(--ease); }
.opt__choices button i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.opt__choices button:hover { box-shadow: inset 0 0 0 1.5px var(--rose-400); }
.opt__choices button.is-active { box-shadow: inset 0 0 0 2px var(--wine); background: var(--rose-50); color: var(--wine); }
.fmt-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.fmt-pick--single { grid-template-columns: 1fr; }
.fmt-pick__btn { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .65rem; row-gap: .45rem; align-items: start; text-align: left; padding: .85rem .95rem; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: all .25s var(--ease); }
.fmt-pick__btn:hover { box-shadow: inset 0 0 0 1.5px var(--rose-400); }
.fmt-pick__btn.is-active { background: var(--rose-50); box-shadow: inset 0 0 0 2px var(--wine); }
.fmt-pick__btn[data-fmt="pdf"].is-active { background: #EEF5FC; box-shadow: inset 0 0 0 2px var(--navy); }
.fmt-pick__icon { font-size: 1.3rem; line-height: 1.2; }
.fmt-pick__txt strong { display: block; font-size: .92rem; color: var(--ink); }
.fmt-pick__txt small { display: block; font-size: .74rem; color: var(--ink-soft); font-weight: 600; line-height: 1.3; margin-top: .1rem; }
.fmt-pick__price { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--wine); }
.fmt-pick__btn[data-fmt="pdf"] .fmt-pick__price { color: var(--navy); }
.fmt-pick--single .fmt-pick__btn { grid-template-rows: auto; grid-template-columns: auto 1fr auto; align-items: center; }
.fmt-pick--single .fmt-pick__price { grid-column: auto; }
.fmt-pick__note { font-size: .8rem; color: var(--ink-soft); margin: .45rem 0 0; }
.pm__gallery { position: relative; }
.pm__gallery.is-pdf .pm__main::after { content: "PDF"; position: absolute; top: 14px; right: 14px; padding: .4rem .8rem; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; box-shadow: var(--shadow-sm); animation: pop .5s var(--ease); }
.btn:disabled { background: var(--paper-2); color: var(--ink-soft); box-shadow: none; cursor: not-allowed; transform: none; }
.pm__features { list-style: none; padding: 0; margin: .4rem 0 1.6rem; display: grid; gap: .45rem; font-size: .93rem; }
.pm__features li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: .6rem; border-radius: 50%; background: #DCEFE3; color: #2E8A57; font-size: .7rem; font-weight: 800; }
.pm__buy { display: flex; gap: .7rem; margin-top: auto; }
.qty { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 42px; height: 50px; font-size: 1.2rem; color: var(--wine); }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.pm__ship { font-size: .85rem; color: var(--ink-soft); margin: 1rem 0 0; text-align: center; }

/* ---------- panier ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); box-shadow: -30px 0 60px -20px rgba(58,20,32,.35); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.5rem 1rem; }
.drawer__head h3 { font-size: 1.7rem; }
.drawer__head h3 span { font-family: var(--f-body); font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.drawer__head .modal__close { position: static; }
.drawer__ship { margin: 0 1.5rem; padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--rose-50); font-size: .88rem; font-weight: 700; }
.drawer__ship p { margin: 0 0 .6rem; }
.bar { height: 8px; border-radius: 99px; background: #fff; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rose-200), var(--rose-400)); border-radius: inherit; transition: width .8s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: grid; align-content: start; gap: 1rem; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; align-items: center; animation: rise .5s var(--ease) both; }
.line img { width: 76px; height: 92px; object-fit: cover; border-radius: 12px; }
.line__title { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--wine-900); line-height: 1.2; }
.line__opts { font-size: .8rem; color: var(--ink-soft); margin: .2rem 0 .5rem; }
.line .qty button { width: 32px; height: 34px; font-size: 1rem; }
.line__right { text-align: right; display: flex; flex-direction: column; align-items: end; gap: .5rem; }
.line__price { font-weight: 800; color: var(--wine); }
.line__rm { font-size: .78rem; color: var(--ink-soft); text-decoration: underline; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.empty .hand { font-size: 1.8rem; color: var(--rose-600); display: block; margin-bottom: .5rem; }
.drawer__foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line); background: #fff; }
.drawer__note { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 1rem; }
.drawer__note textarea { display: block; width: 100%; margin-top: .4rem; border: 1.5px solid var(--line); border-radius: 12px; padding: .6rem .8rem; font: inherit; font-size: .9rem; resize: none; background: var(--paper); color: var(--ink); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; font-weight: 700; }
.drawer__total strong { font-family: var(--f-display); font-size: 1.5rem; color: var(--wine); }
.drawer__secure { text-align: center; font-size: .78rem; color: var(--ink-soft); margin: .8rem 0 0; }

/* ---------- checkout ---------- */
.co, .co__done { padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: .9rem; }
.co h3, .co__done h3 { font-size: 1.9rem; margin-bottom: .4rem; padding-right: 40px; }
.co label { display: grid; gap: .3rem; font-size: .82rem; font-weight: 800; color: var(--ink-soft); }
.co input { border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem .9rem; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.co input:focus { outline: none; border-color: var(--rose-400); box-shadow: 0 0 0 4px var(--rose-50); }
.co__row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.co__address { display: grid; gap: inherit; }
.co__address[hidden] { display: none !important; }
.co__pdfnote { margin: 0; font-size: .85rem; font-weight: 700; color: var(--navy); background: #EEF5FC; border-radius: var(--r-sm); padding: .7rem .9rem; }
.co__summary { background: var(--rose-50); border-radius: var(--r-sm); padding: 1rem 1.1rem; font-size: .9rem; display: grid; gap: .35rem; }
.co__summary div { display: flex; justify-content: space-between; gap: 1rem; }
.co__summary .tot { font-weight: 800; color: var(--wine); border-top: 1px dashed var(--rose-200); padding-top: .5rem; margin-top: .2rem; font-size: 1rem; }
.co__done { text-align: center; justify-items: center; }
.co__done p { color: var(--ink-soft); margin: 0 0 1rem; }
.co__check { width: 84px; height: 84px; border-radius: 50%; background: #2E8A57; color: #fff; display: grid; place-items: center; font-size: 2.4rem; animation: pop .6s var(--ease); box-shadow: 0 0 0 12px #DCEFE3; margin: .5rem 0 1rem; }
@keyframes pop { from { transform: scale(0) rotate(-45deg); } }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--wine-900); color: #fff; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow); transition: transform .5s var(--ease), visibility .5s; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- révélation au scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__links--right { display: flex; }
  .nav__links--right li:not(:last-child):not(.nav__lang) { display: none; }
  .nav__links--right { gap: .6rem; }
  .lang button { padding: .28rem .45rem; }
  .nav__burger { display: block; }
  .logo__seal { width: 62px; height: 62px; }
  .logo__name { font-size: .95rem; }
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 1.5rem; }
  .hero__art { max-width: 520px; width: 100%; margin: 0 auto; order: -1; }
  .universes__grid { grid-template-columns: 1fr; }
  .formats__grid { grid-template-columns: 1fr; }
  .formats__or { justify-self: center; margin: -.4rem 0; }
  .daynight__inner, .story { grid-template-columns: 1fr; }
  .daynight__visual { order: -1; }
  .story__photo { max-width: 420px; margin: 0 auto; }
  .pm { grid-template-columns: 1fr; }
  .pm__gallery { padding: 12px 12px 0; }
  .pm__main { aspect-ratio: 1; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .card__body { flex-direction: column; gap: .2rem; padding-top: .7rem; }
  .card__title { font-size: 1.05rem; }
  .card__price small { text-align: left; }
  .card__quick { display: none; }
  .card__formats { bottom: 8px; left: 8px; }
  .card__alt { text-align: left; }
  .fmt-tag { font-size: .58rem; padding: .2rem .45rem; }
  .fmt-pick { grid-template-columns: 1fr; }
  .seg__label { display: none; }
  .universe__art img { width: 42%; }
  .card__badge { top: 8px; left: 8px; font-size: .62rem; padding: .25rem .55rem; }
  .hero__proofs strong { font-size: 1.4rem; }
  .polaroid { padding: 6px 6px 0; }
  .polaroid figcaption { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .perks { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .perk__icon { width: 72px; height: 72px; } .perk__icon svg { width: 36px; height: 36px; }
  .perk h3 { font-size: 1.1rem; } .perk p { font-size: .85rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { flex-direction: column; align-items: start; }
  .news__form { flex-direction: column; border-radius: var(--r); }
  .news__form input { padding: .9rem 1rem; }
  .toggle__btn { min-width: 0; padding: .65rem 1.1rem; }
  .co__row { grid-template-columns: 1fr; }
  .pm__buy { flex-direction: column; } .pm__buy .qty { align-self: start; }
  .story__photo::after { right: 0; width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- sélecteur de langue ---------- */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.lang button { padding: .32rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 800; color: var(--ink-soft); line-height: 1; transition: all .25s var(--ease); }
.lang button[lang="ar"] { font-family: "Tajawal", sans-serif; font-size: .9rem; }
.lang button:hover { color: var(--wine); }
.lang button.is-active { background: var(--wine); color: #fff; }
.lang--lg { margin-top: 1.5rem; }
.lang--lg button { font-size: 1rem; padding: .6rem 1rem; }
.lang--lg button[lang="ar"] { font-size: 1.1rem; }

/* ---------- arabe (droite à gauche) ---------- */
html[lang="ar"] {
  --f-display: "El Messiri", "Fraunces", serif;
  --f-body: "Tajawal", "Nunito", sans-serif;
  --f-hand: "El Messiri", cursive;
}
/* l'espacement des lettres casse les liaisons de l'écriture arabe */
html[lang="ar"] body *:not(.logo__name):not(.logo__sub) { letter-spacing: 0 !important; }
html[lang="ar"] em, html[lang="ar"] .ribbon span { font-style: normal; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }
html[lang="ar"] .hand { font-weight: 600; }
html[lang="ar"] .polaroid figcaption { font-size: 1.05rem; }
.logo, .announce, .ribbon { direction: ltr; }
.announce span, .ribbon span { unicode-bidi: plaintext; }
[dir="rtl"] .nav__links a::after { transform-origin: right; }
[dir="rtl"] .card__badge { left: auto; right: 14px; }
[dir="rtl"] .card__formats { left: auto; right: 14px; }
[dir="rtl"] .card__alt, [dir="rtl"] .card__price small { text-align: left; }
[dir="rtl"] .pm__gallery.is-pdf .pm__main::after { right: auto; left: 14px; }
[dir="rtl"] .toggle__pill { left: auto; right: 5px; }
[dir="rtl"] .is-night .toggle__pill { transform: translateX(-100%); }
[dir="rtl"] .btn span[aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .section-head--row { text-align: right; }
[dir="rtl"] .mobile-menu__close { left: auto; right: 14px; }
[dir="rtl"] .pm__features li::before, [dir="rtl"] .format-card li::before { margin-right: 0; margin-left: .6rem; }
@media (max-width: 560px) {
  [dir="rtl"] .card__badge { right: 8px; }
  [dir="rtl"] .card__formats { right: 8px; }
  [dir="rtl"] .card__alt, [dir="rtl"] .card__price small { text-align: right; }
}
[dir="rtl"] .modal__close { right: auto; left: 14px; }
[dir="rtl"] .co h3, [dir="rtl"] .co__done h3 { padding-right: 0; padding-left: 40px; }
[dir="rtl"] .line__right { text-align: left; }
[dir="rtl"] .mobile-menu { clip-path: circle(0 at calc(100% - 32px) 32px); }
[dir="rtl"] .mobile-menu.is-open { clip-path: circle(150% at calc(100% - 32px) 32px); }
.stamp svg { direction: ltr; }
html[lang="ar"] .stamp text { font-size: 13px; }
@media (max-width: 420px) { .nav__lang { display: none !important; } }
html[lang="ar"] .mobile-menu a { font-size: 2.1rem; }
