/* ============================================================
   Trouvaille — French Premium component layer
   Editorial restraint. Black structural, orange conversion-only.
   Depends on tokens in style.css.
   ============================================================ */

/* Layout primitives */
.tv-container {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding-inline: var(--tv-gutter);
}
.tv-container--narrow { max-width: var(--tv-container-narrow); }
.tv-main { min-height: 60vh; padding-bottom: var(--tv-space-9); }

/* ---- Section markers (replaces orange eyebrow pills) ---- */
.tv-marker {
  display: flex;
  align-items: baseline;
  gap: var(--tv-space-3);
  padding-bottom: var(--tv-space-3);
  border-bottom: 1px solid var(--tv-color-ink);
  margin-bottom: var(--tv-space-6);
}
.tv-marker__num {
  font-family: var(--tv-font-accent);
  font-size: var(--tv-fs-md);
  font-weight: 400;
  font-style: normal;
  color: var(--tv-color-ink);
  letter-spacing: 0;
}
.tv-marker__label {
  font-family: var(--tv-font-body);
  font-size: var(--tv-fs-xs);
  font-weight: 700;
  letter-spacing: var(--tv-track-eyebrow);
  text-transform: uppercase;
  color: var(--tv-color-muted);
}

/* Skip link */
.tv-skip-link:focus {
  clip: auto !important;
  width: auto; height: auto;
  position: fixed; inset: var(--tv-space-3) auto auto var(--tv-space-3);
  padding: var(--tv-space-3) var(--tv-space-4);
  background: var(--tv-color-ink);
  color: var(--tv-color-surface);
  border-radius: var(--tv-radius-md);
  z-index: 9999;
}

/* ---- Promo strip (top bar — marquee) ---- */
.tv-promo-strip {
  position: relative;
  background: linear-gradient(90deg, #021E5A 0%, var(--tv-color-red) 100%);
  color: #FFFFFF;
  font-size: var(--tv-fs-sm);
  overflow: hidden;
}
/* Subtle inner highlight along the top edge for depth */
.tv-promo-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  z-index: 1;
  pointer-events: none;
}
.tv-promo-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 11px 0;
  gap: 0;
  animation: tv-marquee 35s linear infinite;
}
.tv-promo-strip:hover .tv-promo-strip__track { animation-play-state: paused; }
.tv-promo-strip__group {
  display: flex;
  align-items: center;
  gap: var(--tv-space-3);
  padding-inline: var(--tv-space-3);
  white-space: nowrap;
}
.tv-promo-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.92);
}
.tv-promo-strip__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tv-promo-strip__eyebrow {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-size: var(--tv-fs-xs);
}
.tv-promo-strip__sep {
  opacity: 0.35;
  padding-inline: var(--tv-space-3);
  color: rgba(255, 255, 255, 0.85);
}
@keyframes tv-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tv-promo-strip__track { animation: none; justify-content: center; width: auto; flex-wrap: wrap; }
  .tv-promo-strip__group:nth-child(2) { display: none; }
}

/* ---- Header ---- */
.tv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--tv-color-surface);
  border-bottom: 1px solid var(--tv-color-rule);
  transition: box-shadow var(--tv-dur-base) var(--tv-ease-soft);
}
.tv-header--solid { box-shadow: var(--tv-shadow-sm); }
.tv-header__inner {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding: 0 var(--tv-gutter);
  min-height: var(--tv-header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--tv-space-5);
}

.tv-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-size: var(--tv-fs-xl);
  letter-spacing: -0.03em;
  color: var(--tv-color-ink);
  text-decoration: none;
  transition: opacity var(--tv-dur-base) var(--tv-ease-soft);
}
.tv-wordmark:hover { opacity: 0.85; }
.tv-wordmark__mark { color: var(--tv-color-accent); font-style: normal; }
.tv-wordmark__text { color: var(--tv-color-ink); }

/* Header variant: mascot icon + wordmark text, vertically centered */
.tv-wordmark--with-icon {
  align-items: center;
  gap: var(--tv-space-2);
}
.tv-wordmark__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
@media (max-width: 600px) {
  .tv-wordmark--with-icon { gap: 6px; }
  .tv-wordmark__icon { width: 36px; height: 36px; }
  .tv-wordmark--with-icon .tv-wordmark__text { font-size: var(--tv-fs-md); }
}

.tv-nav { justify-self: center; }
.tv-nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: var(--tv-space-6);
}
.tv-nav__list a {
  position: relative;
  font-size: var(--tv-fs-sm);
  font-weight: 600;
  color: var(--tv-color-ink);
  padding: 8px 4px;
  transition: color var(--tv-dur-base) var(--tv-ease-soft);
}
.tv-nav__list a::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 2px;
  height: 2px;
  background: var(--tv-color-red);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--tv-dur-base) cubic-bezier(0.22, 1, 0.36, 1);
}
.tv-nav__list a:hover,
.tv-nav__list .current-menu-item > a,
.tv-nav__list .current_page_item > a,
.tv-nav__list a[aria-current="page"] {
  color: var(--tv-color-ink);
}
.tv-nav__list a:hover::after,
.tv-nav__list .current-menu-item > a::after,
.tv-nav__list .current_page_item > a::after,
.tv-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}
@media (max-width: 1023px) { .tv-nav { display: none; } }

.tv-header__aside {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: var(--tv-space-3);
}
.tv-lang-switch { position: relative; }
.tv-lang-switch__current {
  appearance: none;
  border: 1px solid var(--tv-color-rule);
  background: transparent;
  padding: 8px 14px;
  border-radius: var(--tv-radius-pill);
  font-size: var(--tv-fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--tv-color-ink);
  cursor: pointer;
  transition: border-color var(--tv-dur-fast) var(--tv-ease-soft);
}
.tv-lang-switch__current:hover { border-color: var(--tv-color-ink); }
.tv-lang-switch__list {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  margin: 0; padding: var(--tv-space-2);
  background: var(--tv-color-surface);
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-md);
  box-shadow: var(--tv-shadow-md);
  font-size: var(--tv-fs-sm);
  z-index: 110;
}
.tv-lang-switch__list li {
  padding: 10px 12px;
  border-radius: var(--tv-radius-sm);
  cursor: pointer;
}
.tv-lang-switch__list li:hover { background: var(--tv-color-bg-alt); }

.tv-burger {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.tv-burger span {
  position: absolute;
  left: 9px; right: 9px; height: 1px;
  background: var(--tv-color-ink);
  transition: transform var(--tv-dur-base) var(--tv-ease-out);
}
.tv-burger span:nth-child(1) { top: 16px; }
.tv-burger span:nth-child(2) { top: 24px; }
.tv-burger.is-active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.tv-burger.is-active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1023px) { .tv-burger { display: inline-block; } }

.tv-mobile-nav {
  position: fixed;
  inset: var(--tv-header-h) 0 0 0;
  background: var(--tv-color-surface);
  z-index: 90;
  padding: var(--tv-space-5) var(--tv-gutter);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--tv-dur-base) var(--tv-ease-out), transform var(--tv-dur-base) var(--tv-ease-out);
  overflow-y: auto;
}
.tv-mobile-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
.tv-mobile-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: var(--tv-space-3);
  font-family: var(--tv-font-body);
  font-size: var(--tv-fs-md);
  font-weight: 400;
}
.tv-mobile-nav__list li {
  border-bottom: 1px solid var(--tv-color-rule-soft);
  padding: var(--tv-space-3) 0;
}
.tv-mobile-nav__list li:last-child { border-bottom: 0; }
.tv-mobile-nav__list a {
  color: var(--tv-color-ink);
  display: block;
  padding: var(--tv-space-2) 0;
  transition: color var(--tv-dur-fast) var(--tv-ease-soft);
}
.tv-mobile-nav__list a:hover,
.tv-mobile-nav__list a:focus { color: var(--tv-color-accent); }
@media (min-width: 1024px) { .tv-mobile-nav { display: none; } }

/* ---- Buttons ---- */
.tv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--tv-radius-pill);
  font-family: var(--tv-font-body);
  font-size: var(--tv-fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform var(--tv-dur-base) var(--tv-ease-out),
    background var(--tv-dur-base) var(--tv-ease-soft),
    color var(--tv-dur-base) var(--tv-ease-soft),
    border-color var(--tv-dur-base) var(--tv-ease-soft);
}
.tv-btn:focus-visible { outline: 2px solid var(--tv-color-accent); outline-offset: 3px; }
.tv-btn--primary {
  background: var(--tv-color-accent);
  color: #fff;
  border-color: var(--tv-color-accent);
}
.tv-btn--primary:hover {
  background: var(--tv-color-accent-dark);
  border-color: var(--tv-color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}
.tv-btn--ghost {
  background: transparent;
  color: var(--tv-color-ink);
  border-color: var(--tv-color-ink);
}
.tv-btn--ghost:hover { background: var(--tv-color-ink); color: #fff; }
.tv-btn--xl { padding: 18px 36px; font-size: var(--tv-fs-base); }
.tv-btn--block { width: 100%; }

/* ---- Coupon pill — v2.9.2 two-box layout with blur reveal (Honey/Rakuten pattern) ---- */
.tv-coupon {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background-color: var(--tv-color-ink);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  font-family: var(--tv-font-body);
  text-decoration: none;
  line-height: 1;
  -webkit-appearance: none;
          appearance: none;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 4px 16px rgba(2, 30, 90, 0.18);
  transition:
    box-shadow 200ms ease,
    transform 200ms ease;
}
.tv-coupon:hover {
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(2, 30, 90, 0.24);
  transform: translateY(-1px);
}
.tv-coupon:active {
  transform: translateY(0);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(2, 30, 90, 0.18);
}
.tv-coupon:focus-visible {
  outline: 2px solid var(--tv-color-red);
  outline-offset: 3px;
}

/* LEFT box — code area (blurred until revealed) */
.tv-coupon__code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.04);
  flex: 1 1 auto;
  min-width: 7rem;
}
.tv-coupon__code-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  /* Blurred state — applied by default via .tv-coupon--blur modifier */
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  transition: filter 280ms ease;
}

/* DIVIDER between boxes */
.tv-coupon__divider {
  width: 1px;
  background-color: rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}

/* RIGHT box — action area */
.tv-coupon__action-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  flex: 0 0 auto;
  transition: background-color 200ms ease;
}
.tv-coupon__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tv-color-red);
  transition: color 200ms ease;
}

/* Optional opt-in extra label (when shortcode is invoked with label="…") */
.tv-coupon__label-extra {
  display: none; /* hidden by default — re-enable per surface if a caller passes label="…" */
}

/* REVEALED state — blur removed, label changes color */
.tv-coupon.is-revealed .tv-coupon__code-text,
.tv-coupon:not(.tv-coupon--blur) .tv-coupon__code-text {
  filter: blur(0);
  user-select: text;
  pointer-events: auto;
}
.tv-coupon.is-revealed .tv-coupon__label {
  color: #ffffff;
}

/* COPIED state — success feedback */
.tv-coupon.is-copied .tv-coupon__action-box {
  background-color: rgba(40, 167, 69, 0.18);
}
.tv-coupon.is-copied .tv-coupon__label {
  color: #4ade80;
}

/* Hero CTA: red on blue with red-tinted glow shadow */
.tv-hero .tv-btn--primary,
.tv-btn--hero {
  background: var(--tv-color-red);
  color: #FFFFFF;
  border: 0;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.20) inset,
    0 4px 12px rgba(220, 38, 38, 0.30),
    0 12px 32px -8px rgba(220, 38, 38, 0.45);
  transition:
    transform var(--tv-dur-base) var(--tv-ease-out),
    box-shadow var(--tv-dur-base) var(--tv-ease-soft),
    background var(--tv-dur-base) var(--tv-ease-soft);
}
.tv-hero .tv-btn--primary:hover,
.tv-btn--hero:hover {
  transform: translateY(-2px);
  background: var(--tv-color-red-dark);
  color: #FFFFFF;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 6px 18px rgba(220, 38, 38, 0.40),
    0 20px 40px -10px rgba(220, 38, 38, 0.55);
}
.tv-hero .tv-btn--primary:active,
.tv-btn--hero:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 2px 6px rgba(220, 38, 38, 0.30);
}

/* ============================================================
   HERO — asymmetric, paper-textured background, phone mockup
   ============================================================ */
.tv-hero {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--tv-color-hero-blue-deep) 0%,
    var(--tv-color-hero-blue-light) 65%,
    var(--tv-color-paper-warm) 100%
  );
  padding: var(--tv-space-7) 0 var(--tv-space-8);
  overflow: hidden;
}
/* Smooth fade-out below the hero — bottom 200px blends to body cream. */
.tv-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent 0%, var(--tv-color-paper-warm) 100%);
  pointer-events: none;
}
.tv-hero__inner { position: relative; z-index: 1; }
.tv-hero__inner {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding: 0 var(--tv-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-7);
  align-items: center;
}
@media (min-width: 900px) {
  .tv-hero__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--tv-space-8);
  }
}
.tv-hero__content { max-width: 60ch; }
.tv-hero__edition {
  font-family: var(--tv-font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: var(--tv-fs-md);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--tv-space-3);
}
.tv-hero__edition::before {
  content: "—";
  margin-right: 0.5rem;
  color: var(--tv-color-accent);
}
.tv-hero__title {
  font-family: var(--tv-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: var(--tv-space-5);
  color: #FFFFFF;
}
.tv-hero__title-line {
  display: block;
}
.tv-hero__title em {
  font-family: var(--tv-font-accent);
  font-style: italic;
  font-weight: 700;
  color: #FF7F00;
}
.tv-hero__lede {
  font-size: var(--tv-fs-md);
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  line-height: var(--tv-lh-loose);
  margin: var(--tv-space-5) 0 0;
}

/* Brand block above the H1: Temu logo + descriptive text */
.tv-hero__brand {
  display: flex;
  align-items: center;
  gap: var(--tv-space-3);
  margin-bottom: var(--tv-space-5);
  max-width: 480px;
}
.tv-hero__brand-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
}
.tv-hero__brand-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--tv-fs-sm);
  line-height: var(--tv-lh-loose);
  font-weight: 400;
}
@media (max-width: 600px) {
  .tv-hero__brand { margin-bottom: var(--tv-space-4); }
  .tv-hero__brand-logo { width: 40px; height: 40px; }
}
.tv-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--tv-space-4);
  flex-wrap: wrap;
}

/* ============================================================
   ANIMATED PHONE MOCKUP — high-fidelity Temu clone (v2)
   Phone entry = 2.0s dramatic flip-from-back. Screen scene loops 7.6s
   starting at 1.4s (overlapping the last 0.6s of entry).
   ============================================================ */

/* Hero visual gets perspective so 3D transforms read properly. */
.tv-hero__visual { perspective: 1600px; }

.tv-mockup {
  position: relative;
  margin: 0 auto;
  width: min(100%, 360px);
  aspect-ratio: 9 / 17;
  background: linear-gradient(160deg, #1B1815 0%, #0F0D0B 50%, #1B1815 100%);
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 40px 80px -20px rgba(20,17,15,0.35),
    0 16px 30px -8px rgba(20,17,15,0.18),
    inset 0 0 0 2px rgba(255,255,255,0.05),
    inset 0 0 0 4px rgba(0,0,0,0.4);
  transform-style: preserve-3d;
  /* Initial state for entry animation */
  opacity: 0;
}

/* Side hardware buttons */
.tv-mockup__side-btn {
  position: absolute;
  width: 3px;
  background: #14110F;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.5), inset 0 -1px 0 rgba(255,255,255,0.06);
}
.tv-mockup__side-btn--volup { left: -2px; top: 22%; height: 50px; }
.tv-mockup__side-btn--voldn { left: -2px; top: 32%; height: 50px; }
.tv-mockup__side-btn--power { right: -2px; top: 24%; height: 70px; }

/* Screen surface — clipped, holds all content */
.tv-mockup__screen {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 60%, #F5F5F5 100%);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Notch */
.tv-mockup__notch {
  position: absolute;
  top: 6px; left: 50%;
  width: 95px; height: 26px;
  background: #14110F;
  border-radius: 999px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 14px;
}
.tv-mockup__camera {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1F1B17;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.6);
  position: relative;
}
.tv-mockup__camera::before {
  content: "";
  position: absolute;
  top: 1px; left: 2px;
  width: 1px; height: 1px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
}
.tv-mockup__speaker {
  width: 36px; height: 4px;
  border-radius: 999px;
  background: #2A2522;
}

/* Glass reflection overlay */
.tv-mockup__glass {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,0) 65%,
    rgba(255,255,255,0.04) 100%);
}

/* Status bar */
.tv-mockup__statusbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 9px 24px 0;
  height: 30px;
  font-size: 9px;
  color: #14110F;
  flex-shrink: 0;
}
.tv-mockup__statusbar-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tv-mockup__statusbar-icons svg { display: block; }

/* App header (TEMU bar) */
.tv-mockup__appbar {
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: center;
  padding: 6px 14px 8px;
  flex-shrink: 0;
}
.tv-mockup__appbar-search {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #14110F;
}
.tv-mockup__appbar-search svg { display: block; }
.tv-mockup__appbar-logo {
  text-align: center;
  font-family: "Bricolage Grotesque", -apple-system, system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #FF7F00;
  line-height: 1;
}
.tv-mockup__appbar-spacer { width: 22px; height: 22px; }

/* Trust strip pill */
.tv-mockup__trust {
  margin: 3px 14px 6px;
  background: #F4F4F4;
  border-radius: 999px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #5A5A5A;
  flex-shrink: 0;
}
.tv-mockup__trust svg { flex-shrink: 0; }
.tv-mockup__trust-text { flex: 1; line-height: 1.2; }
.tv-mockup__trust-chevron { color: #B0B0B0; font-size: 9px; }

/* Promo banner cream */
.tv-mockup__promo {
  margin: 0 14px;
  background: #FFF1E0;
  border-radius: 8px;
  padding: 7px 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  flex-shrink: 0;
}
.tv-mockup__promo-divider { height: 100%; background: rgba(0,0,0,0.08); }
.tv-mockup__promo-col {
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tv-mockup__promo-col svg { flex-shrink: 0; color: #14110F; }
.tv-mockup__promo-text { line-height: 1.2; }
.tv-mockup__promo-title {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #14110F;
}
.tv-mockup__promo-sub {
  display: block;
  font-size: 8px;
  color: #8A6A48;
  margin-top: 2px;
}

/* Review card */
.tv-mockup__review {
  margin: 6px 14px 0;
  background: #FAF7F2;
  border-radius: 8px;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.tv-mockup__review-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  margin-bottom: 2px;
}
.tv-mockup__review-user {
  font-weight: 700;
  color: #14110F;
}
.tv-mockup__review-stars {
  color: #FFA000;
  font-size: 9px;
  letter-spacing: 0.5px;
}
.tv-mockup__review-text {
  font-size: 8px;
  color: #5A5A5A;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.tv-mockup__review-thumb {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: #E5E5E5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B0B0B0;
}

/* Section title */
.tv-mockup__section-title {
  margin: 7px 14px 4px;
  font-family: -apple-system, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  color: #14110F;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.tv-mockup__section-title-chevron { color: #14110F; font-size: 10.5px; }

/* Product strip — horizontal, fixed width tiles */
.tv-mockup__products {
  display: flex;
  gap: 6px;
  padding: 0 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.tv-mockup__product {
  width: 90px;
  height: 156px;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: #FFFFFF;
  background-size: 75% auto;
  background-position: center 28%;
  background-repeat: no-repeat;
  border: 1px solid #F0EFEC;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  overflow: hidden;
  position: relative;
  /* Visible by default; animation creates a subtle pulse on reveal. */
  opacity: 1;
  transform: scale(1);
}

/* Real product photos applied as the tile background — fills the upper
   ~70% of the tile, leaving room for tag (top) and prices+rating (bottom). */
.tv-mockup__product--tshirt     { background-image: url("../../images/products/product-tshirt.jpg"); }
.tv-mockup__product--sneaker    { background-image: url("../../images/products/product-sneaker.jpg"); }
.tv-mockup__product--jewelry    { background-image: url("../../images/products/product-bracelet.jpg"); }
.tv-mockup__product--headphones { background-image: url("../../images/products/product-headphones.jpg"); }
.tv-mockup__product--watch      { background-image: url("../../images/products/product-watch.jpg"); }
.tv-mockup__product--lipstick   { background-image: url("../../images/products/product-lipstick.jpg"); }

/* Colored tag chip — top-left of tile */
.tv-mockup__product-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  z-index: 2;
}
.tv-mockup__product-tag--red    { background: var(--tv-color-red); }
.tv-mockup__product-tag--green  { background: #16A34A; }
.tv-mockup__product-tag--orange { background: #F97316; }

/* Sale price (visible, bold) */
.tv-mockup__price {
  font-family: var(--tv-font-body);
  font-weight: 700;
  font-size: 10px;
  color: var(--tv-color-ink);
  line-height: 1.2;
}
/* Original price (strikethrough, muted) */
.tv-mockup__price-original {
  font-size: 8px;
  color: rgba(20, 17, 15, 0.45);
  text-decoration: line-through;
  line-height: 1.2;
}

/* Star rating + sold-count line */
.tv-mockup__product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 7.5px;
  line-height: 1.2;
  color: #F59E0B;
  margin-top: 1px;
}
.tv-mockup__product-rating em {
  font-style: normal;
  font-size: 7.5px;
  color: rgba(20, 17, 15, 0.55);
  margin-left: 2px;
  font-weight: 500;
}

/* Green guarantee banner — between products row 2 and bottom nav */
.tv-mockup__guarantee {
  background: #FFFFFF;
  margin-top: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}
.tv-mockup__guarantee-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px 7px;
  background: #F0FAF4;
}
.tv-mockup__guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.tv-mockup__guarantee-icon {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #16A34A;
  color: #FFFFFF;
  font-size: 6.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  line-height: 1;
}
.tv-mockup__guarantee-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.tv-mockup__guarantee-title {
  font-size: 7px;
  font-weight: 700;
  color: var(--tv-color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-mockup__guarantee-sub {
  font-size: 5.5px;
  color: rgba(20, 17, 15, 0.50);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-mockup__guarantee-stripe {
  background: #16A34A;
  color: #FFFFFF;
  font-size: 6.5px;
  font-weight: 700;
  text-align: center;
  padding: 4px 7px;
  letter-spacing: 0.02em;
}

/* Iconic ticket coupon (first tile in user-gift row) */
.tv-mockup__product--ticket {
  background: linear-gradient(135deg, #FF7F00 0%, #FFB347 100%);
  border: 0;
  border-radius: 8px;
  padding: 14px 6px 10px;
  height: 156px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: #fff;
  position: relative;
  /* The ticket notch effect via stacked radial gradients */
  -webkit-mask:
    radial-gradient(circle 5px at 0 50%, transparent 5px, #000 5.5px) left/52% 100% no-repeat,
    radial-gradient(circle 5px at 100% 50%, transparent 5px, #000 5.5px) right/52% 100% no-repeat;
          mask:
    radial-gradient(circle 5px at 0 50%, transparent 5px, #000 5.5px) left/52% 100% no-repeat,
    radial-gradient(circle 5px at 100% 50%, transparent 5px, #000 5.5px) right/52% 100% no-repeat;
}
.tv-mockup__ticket-pct {
  font-family: "Bricolage Grotesque", -apple-system, system-ui, sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.tv-mockup__ticket-pct sup {
  font-size: 14px;
  font-weight: 700;
  vertical-align: super;
  margin-left: -2px;
}
.tv-mockup__ticket-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 2px;
  text-transform: uppercase;
}
.tv-mockup__ticket-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-top: 2px;
}
.tv-mockup__ticket-btn {
  background: #fff;
  color: #FF7F00;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 4px;
}

/* Search overlay (typing scene container — covers app bar + trust + promo) */
.tv-mockup__search-overlay {
  position: absolute;
  top: 30px; left: 0; right: 0;
  z-index: 6;
  background: rgba(255,255,255,0.97);
  padding: 8px 14px;
  border-bottom: 1px solid var(--tv-color-rule);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
}
.tv-mockup__search-input {
  flex: 1;
  height: 28px;
  border: 1.5px solid #FF7F00;
  border-radius: 6px;
  background: #FFFFFF;
  padding: 0 8px;
  display: flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #14110F;
  overflow: hidden;
  position: relative;
}
.tv-mockup__char {
  display: inline-block;
  opacity: 0;
}
.tv-mockup__cursor {
  display: inline-block;
  width: 1px; height: 12px;
  background: #14110F;
  margin-left: 1px;
  vertical-align: middle;
  opacity: 0;
}
.tv-mockup__search-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #FF7F00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.tv-mockup__search-btn svg { display: block; }
.tv-mockup__tap {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--tv-color-accent);
  pointer-events: none;
  opacity: 0;
  z-index: 7;
  box-shadow: 0 0 0 0 rgba(30,58,138,0.6);
}
.tv-mockup__tap--input { top: 50%; left: 18px; transform: translateY(-50%) scale(0); }
.tv-mockup__tap--btn   { top: 50%; right: 14px; transform: translateY(-50%) scale(0); }

/* Loading shimmer (briefly between tap-btn and product reveal) */
.tv-mockup__loading {
  position: absolute;
  inset: 30px 0 0 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(20,17,15,0.04) 20%,
    rgba(20,17,15,0.10) 50%,
    rgba(20,17,15,0.04) 80%,
    transparent 100%);
  background-size: 60% 100%;
  background-repeat: no-repeat;
  background-position: -100% 0;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
}

/* Discount badge (-30% pop) */
.tv-mockup__discount-badge {
  position: absolute;
  top: 46%; right: -14px;
  z-index: 8;
  background: var(--tv-color-accent);
  color: #fff;
  font-family: "Bricolage Grotesque", -apple-system, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 24px rgba(30,58,138,0.4),
    inset 0 0 0 2px rgba(255,255,255,0.4);
  transform: rotate(-8deg) scale(0);
  opacity: 0;
}

/* Bottom navigation */
.tv-mockup__bottomnav {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #EFEFEF;
  background: #FFFFFF;
  padding: 6px 0 8px;
  flex-shrink: 0;
}
.tv-mockup__bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: #5A5A5A;
  font-weight: 400;
}
.tv-mockup__bottomnav-item svg { display: block; }
.tv-mockup__bottomnav-item.is-active { color: #FF7F00; }
.tv-mockup__bottomnav-item.is-active svg { color: #FF7F00; }
.tv-mockup__cart-wrap { position: relative; }
.tv-mockup__cart-badge {
  position: absolute;
  top: -4px; right: -10px;
  background: #FF3B3B;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 4px;
  border-radius: 3px;
}

/* iPhone home indicator */
.tv-mockup__home-indicator {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 4px;
  background: rgba(20,17,15,0.18);
  border-radius: 999px;
  z-index: 9;
}

/* ============================================================
   ANIMATIONS — entry + screen-content scene loop
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  /* Phone entry: from-the-back, multi-flip, lands. Runs ONCE. */
  .tv-mockup {
    animation: tv-mockup-entry-v2 2s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .tv-mockup__cursor {
    animation: tv-mockup-blink 0.6s steps(2) 1.78s infinite;
  }

  .tv-mockup__char {
    animation-duration: 7.6s;
    animation-timing-function: linear;
    animation-delay: 1.4s;
    animation-iteration-count: infinite;
  }
  .tv-mockup__char:nth-child(1) { animation-name: tv-mockup-type-1; }
  .tv-mockup__char:nth-child(2) { animation-name: tv-mockup-type-2; }
  .tv-mockup__char:nth-child(3) { animation-name: tv-mockup-type-3; }
  .tv-mockup__char:nth-child(4) { animation-name: tv-mockup-type-4; }
  .tv-mockup__char:nth-child(5) { animation-name: tv-mockup-type-5; }
  .tv-mockup__char:nth-child(6) { animation-name: tv-mockup-type-6; }
  .tv-mockup__char:nth-child(7) { animation-name: tv-mockup-type-7; }
  .tv-mockup__char:nth-child(8) { animation-name: tv-mockup-type-8; }
  .tv-mockup__char:nth-child(9) { animation-name: tv-mockup-type-9; }

  /* Search overlay fades in/out around the typing window */
  .tv-mockup__search-overlay {
    animation: tv-mockup-search-overlay 7.6s linear 1.4s infinite;
  }

  .tv-mockup__tap--input { animation: tv-mockup-tap 7.6s 1.4s infinite; }
  .tv-mockup__tap--btn   { animation: tv-mockup-tap 7.6s 3.4s infinite; }

  .tv-mockup__loading {
    animation: tv-mockup-shimmer 7.6s linear 3.8s infinite;
  }

  /* The six "content" zones share one reveal timeline — appear after submit,
     hold during the satisfied state, fade out for loop reset. Per-product
     scale-pulse is removed: the parent reveal handles visibility. */
  .tv-mockup__trust,
  .tv-mockup__promo,
  .tv-mockup__review,
  .tv-mockup__section-title,
  .tv-mockup__products,
  .tv-mockup__guarantee {
    animation: tv-mockup-content-reveal 7.6s linear 1.4s infinite;
  }

  /* Discount stamp pops AFTER content reveals (~76% of cycle, just past the
     content-reveal at 72%). Uses the same 1.4s delay so it stays in sync. */
  .tv-mockup__discount-badge {
    animation: tv-mockup-badge 7.6s var(--tv-ease-out) 1.4s infinite;
  }
}

/* Reduced-motion fallback: phone is in place, screen end state visible */
@media (prefers-reduced-motion: reduce) {
  .tv-mockup { opacity: 1; transform: none; }
  .tv-mockup__char { opacity: 1; }
  .tv-mockup__product { opacity: 1; transform: none; }
  .tv-mockup__discount-badge { opacity: 1; transform: rotate(-8deg) scale(1); }
  .tv-mockup__search-overlay { opacity: 0; }
  .tv-mockup__trust,
  .tv-mockup__promo,
  .tv-mockup__review,
  .tv-mockup__section-title,
  .tv-mockup__products,
  .tv-mockup__guarantee {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* Empty-state defaults: trust/promo/review/section-title/products/guarantee
   are hidden until the search-submit moment. Phone shell (statusbar/appbar/
   bottomnav) stays visible always — that's the chrome. */
.tv-mockup__trust,
.tv-mockup__promo,
.tv-mockup__review,
.tv-mockup__section-title,
.tv-mockup__products,
.tv-mockup__guarantee {
  opacity: 0;
  transform: translateY(8px);
}

/* ---- Keyframes ---- */
@keyframes tv-mockup-entry-v2 {
  0%   { opacity: 0;   transform: translateZ(-1200px) translateY(40px) scale(0.25) rotateY(-720deg) rotateX(15deg); }
  20%  { opacity: 0.7; transform: translateZ(-800px)  translateY(28px) scale(0.40) rotateY(-540deg) rotateX(8deg); }
  50%  { opacity: 1;   transform: translateZ(-400px)  translateY(0)    scale(0.60) rotateY(-360deg) rotateX(-5deg); }
  80%  { opacity: 1;   transform: translateZ(0)       translateY(0)    scale(1)    rotateY(0deg)    rotateX(0deg); }
  90%  { opacity: 1;   transform: translateZ(0)       translateY(-4px) scale(1)    rotateY(0deg)    rotateX(0deg); }
  100% { opacity: 1;   transform: none; }
}

@keyframes tv-mockup-blink {
  0%, 100% { opacity: 0; }
  20%, 40% { opacity: 1; }
}

/* Per-char reveal — staggered in keyframes, all fade out together at 92% */
@keyframes tv-mockup-type-1 { 0%, 5%   { opacity: 0; } 5.01%,  92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes tv-mockup-type-2 { 0%, 7%   { opacity: 0; } 7.01%,  92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes tv-mockup-type-3 { 0%, 10%  { opacity: 0; } 10.01%, 92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes tv-mockup-type-4 { 0%, 12%  { opacity: 0; } 12.01%, 92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes tv-mockup-type-5 { 0%, 14%  { opacity: 0; } 14.01%, 92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes tv-mockup-type-6 { 0%, 17%  { opacity: 0; } 17.01%, 92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes tv-mockup-type-7 { 0%, 19%  { opacity: 0; } 19.01%, 92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes tv-mockup-type-8 { 0%, 22%  { opacity: 0; } 22.01%, 92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }
@keyframes tv-mockup-type-9 { 0%, 24%  { opacity: 0; } 24.01%, 92% { opacity: 1; } 92.01%, 100% { opacity: 0; } }

/* Search overlay: fades in just before tap, holds during typing+products+badge, fades out near loop end */
@keyframes tv-mockup-search-overlay {
  0%, 4%   { opacity: 0; }
  5%, 90%  { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes tv-mockup-tap {
  0%, 100% { opacity: 0; transform: translateY(-50%) scale(0); box-shadow: 0 0 0 0 rgba(30,58,138,0.6); }
  4%       { opacity: 0.85; transform: translateY(-50%) scale(1); }
  10%      { opacity: 0; transform: translateY(-50%) scale(1.6); box-shadow: 0 0 0 16px rgba(30,58,138,0); }
}

@keyframes tv-mockup-shimmer {
  0%, 100% { opacity: 0; background-position: -100% 0; }
  3%       { opacity: 1; background-position: -100% 0; }
  8%       { opacity: 1; background-position: 200% 0; }
  10%      { opacity: 0; background-position: 200% 0; }
}

@keyframes tv-mockup-product {
  /* Products are visible by default — animation creates a subtle scale pulse
     at the moment they're "revealed" by the search, then settles. */
  0%       { transform: scale(0.95); opacity: 0.7; }
  60%      { transform: scale(1.02); opacity: 1; }
  100%     { transform: scale(1); opacity: 1; }
}

@keyframes tv-mockup-badge {
  /* Retimed for v2.2.0 empty-state: badge pops AFTER content reveals at 72%. */
  0%, 72%   { opacity: 0; transform: rotate(-8deg) scale(0); }
  76%       { opacity: 1; transform: rotate(-8deg) scale(1.2); }
  82%       { opacity: 1; transform: rotate(-8deg) scale(1); }
  92%       { opacity: 1; transform: rotate(-8deg) scale(1); }
  96%, 100% { opacity: 0; transform: rotate(-8deg) scale(0.9); }
}

/* Content reveal: trust/promo/review/section-title/products fade in together
   AFTER the search-submit moment (~72% of the 7.6s scene cycle), hold, then
   fade back to empty for loop reset. */
@keyframes tv-mockup-content-reveal {
  0%, 65%   { opacity: 0; transform: translateY(8px); }
  72%       { opacity: 1; transform: translateY(0); }
  92%       { opacity: 1; transform: translateY(0); }
  100%      { opacity: 0; transform: translateY(8px); }
}

/* ============================================================
   MOBILE PHONE MOCKUP — visible, stacked below hero, animation
   gated on the .tv-mockup--in-view class (set by IntersectionObserver
   in trouvaille.js so the loop only runs while in view).
   ============================================================ */
@media (max-width: 899px) {
  .tv-hero__inner {
    grid-template-columns: 1fr;
  }
  .tv-hero__visual {
    display: flex;
    justify-content: center;
    margin-top: var(--tv-space-6);
  }
  .tv-mockup {
    display: block;
    width: 340px;
    max-width: 92vw;
    aspect-ratio: 9 / 17;
    opacity: 0;
    /* Pause every animation by default; the class below resumes them. */
    animation-play-state: paused;
  }
  .tv-mockup__char,
  .tv-mockup__cursor,
  .tv-mockup__tap,
  .tv-mockup__loading,
  .tv-mockup__product,
  .tv-mockup__discount-badge,
  .tv-mockup__search-overlay,
  .tv-mockup__trust,
  .tv-mockup__promo,
  .tv-mockup__review,
  .tv-mockup__section-title,
  .tv-mockup__products,
  .tv-mockup__guarantee {
    animation-play-state: paused;
  }
  /* When phone scrolls into view: reveal + un-pause everything. */
  .tv-mockup.tv-mockup--in-view {
    opacity: 1;
    animation-play-state: running;
  }
  .tv-mockup--in-view .tv-mockup__char,
  .tv-mockup--in-view .tv-mockup__cursor,
  .tv-mockup--in-view .tv-mockup__tap,
  .tv-mockup--in-view .tv-mockup__loading,
  .tv-mockup--in-view .tv-mockup__product,
  .tv-mockup--in-view .tv-mockup__discount-badge,
  .tv-mockup--in-view .tv-mockup__search-overlay,
  .tv-mockup--in-view .tv-mockup__trust,
  .tv-mockup--in-view .tv-mockup__promo,
  .tv-mockup--in-view .tv-mockup__review,
  .tv-mockup--in-view .tv-mockup__section-title,
  .tv-mockup--in-view .tv-mockup__products,
  .tv-mockup--in-view .tv-mockup__guarantee {
    animation-play-state: running;
  }

  /* Mobile-only further interior reduction — narrower phone width
     means less horizontal room per product tile. */
  .tv-mockup__product,
  .tv-mockup__product--ticket {
    height: 144px;
  }
}

@media (max-width: 480px) {
  .tv-mockup {
    width: 300px;
  }
}

/* ============================================================
   TRUST ROW — replaces stats card
   ============================================================ */
.tv-trust {
  background: transparent;
}
.tv-trust__inner {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding: var(--tv-space-5) var(--tv-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: var(--tv-space-4);
}
.tv-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--tv-radius-pill);
  background: var(--tv-color-surface);
  font-size: var(--tv-fs-sm);
  font-weight: 400;
  color: var(--tv-color-ink-soft);
  box-shadow:
    0 1px 1px rgba(20,17,15,0.04),
    0 4px 12px -2px rgba(20,17,15,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform var(--tv-dur-base) var(--tv-ease-out), box-shadow var(--tv-dur-base) var(--tv-ease-soft);
}
.tv-trust__item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 2px rgba(20,17,15,0.06),
    0 12px 24px -4px rgba(20,17,15,0.10),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.tv-trust__item::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12), inset 0 -1px 0 rgba(0,0,0,0.10);
}
.tv-trust__item--mint::before     { background: #2BC48A; }
.tv-trust__item--peach::before    { background: #F4845F; }
.tv-trust__item--lemon::before    { background: #F2B544; }
.tv-trust__item--lavender::before { background: #8A7DD8; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.tv-section {
  padding-block: var(--tv-space-9);
}
.tv-section--alt { background: var(--tv-color-bg-alt); }

.tv-section__inner {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding-inline: var(--tv-gutter);
}

.tv-section__header {
  max-width: 60ch;
  margin-bottom: var(--tv-space-7);
}
.tv-section__title {
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--tv-space-3);
}
.tv-section__title em {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  color: var(--tv-color-accent);
}
.tv-section__kicker {
  font-size: var(--tv-fs-md);
  color: var(--tv-color-muted);
  line-height: var(--tv-lh-loose);
  margin: 0;
  max-width: 56ch;
}

/* ============================================================
   STEPS — chapter-numbered, magazine-style
   ============================================================ */
.tv-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-7);
}
@media (min-width: 800px) {
  .tv-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tv-space-6);
    position: relative;
  }
  .tv-steps::before {
    content: "";
    position: absolute;
    top: var(--tv-space-7);
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--tv-color-rule);
    z-index: 0;
  }
}
.tv-step {
  position: relative;
  z-index: 1;
  background: transparent;
  /* Hidden by default; .tv-steps.is-revealed reveals each child with a
     staggered transition-delay (set on :nth-child below). The is-revealed
     class is added once by the IntersectionObserver in trouvaille.js. */
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tv-steps.is-revealed .tv-step:nth-child(1) { transition-delay: 0ms; }
.tv-steps.is-revealed .tv-step:nth-child(2) { transition-delay: 200ms; }
.tv-steps.is-revealed .tv-step:nth-child(3) { transition-delay: 400ms; }
.tv-steps.is-revealed .tv-step {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .tv-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.tv-step__numeral {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  font-size: var(--tv-fs-numeral);
  line-height: 1;
  color: var(--tv-color-ink);
  margin-bottom: var(--tv-space-4);
}
.tv-step__numeral::after {
  content: ".";
  color: var(--tv-color-accent);
}
.tv-step h3 {
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-lg);
  font-weight: 700;
  margin-bottom: var(--tv-space-2);
}
.tv-step p {
  color: var(--tv-color-muted);
  margin: 0;
  font-size: var(--tv-fs-base);
  line-height: var(--tv-lh-loose);
  max-width: 36ch;
}

/* ============================================================
   OFFERS — asymmetric, one featured prominently
   ============================================================ */
.tv-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-6);
}
@media (min-width: 900px) {
  .tv-offers {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--tv-space-7);
    align-items: stretch;
  }
}
/* ============================================================
   OFFER CARDS — sticker/stamp aesthetic (v2.3.0)
   Slight tilt, paper-thick shadow, perforated edges, rotated chip.
   ============================================================ */
.tv-offer {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(20, 17, 15, 0.06);
  border-radius: 18px;
  padding: var(--tv-space-7) var(--tv-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--tv-space-4);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 2px 4px rgba(20, 17, 15, 0.04),
    0 8px 20px -4px rgba(20, 17, 15, 0.10),
    0 24px 48px -12px rgba(20, 17, 15, 0.14);
  transform: rotate(-1.2deg);
  transform-origin: center center;
  transition:
    transform var(--tv-dur-base) var(--tv-ease-out),
    box-shadow var(--tv-dur-base) var(--tv-ease-soft);
  will-change: transform;
}
.tv-offer:nth-child(2) { transform: rotate(1.2deg); }

.tv-offer:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 8px rgba(20, 17, 15, 0.06),
    0 16px 32px -6px rgba(20, 17, 15, 0.14),
    0 36px 64px -16px rgba(20, 17, 15, 0.22);
}
.tv-offer:nth-child(2):hover { transform: rotate(0deg) translateY(-6px); }

/* Perforated ticket edges — left + right semicircle cutouts that punch
   through to the section background (var(--tv-color-bg) = #F5EFE3). */
.tv-offer::before,
.tv-offer::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: calc(100% - 40px);
  transform: translateY(-50%);
  pointer-events: none;
}
.tv-offer::before {
  left: -8px;
  background:
    radial-gradient(circle at 0 50%, var(--tv-color-bg) 8px, transparent 8px) 0 0 / 16px 24px repeat-y;
}
.tv-offer::after {
  right: -8px;
  background:
    radial-gradient(circle at 100% 50%, var(--tv-color-bg) 8px, transparent 8px) 0 0 / 16px 24px repeat-y;
}

/* Featured (RECOMMANDÉ): dark with subtle corner glows */
.tv-offer--featured {
  background:
    radial-gradient(85% 100% at 0% 0%, rgba(255, 127, 0, 0.10) 0%, transparent 55%),
    radial-gradient(60% 80% at 100% 100%, rgba(92, 148, 247, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #1A1714 0%, #0E0D0B 100%);
  border-color: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}
.tv-offer--featured h3,
.tv-offer--featured .tv-offer__amount,
.tv-offer--featured .tv-offer__amount em { color: #FFFFFF; }
.tv-offer--featured .tv-offer__desc { color: rgba(255, 255, 255, 0.70); }

/* RECOMMANDÉ ribbon — orange stamp chip, rotated */
.tv-offer__ribbon {
  position: absolute;
  top: 16px;
  right: -8px;
  background: #FF7F00;
  color: #FFFFFF;
  font-weight: 800;
  font-size: var(--tv-fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--tv-radius-pill);
  transform: rotate(8deg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.30) inset,
    0 4px 12px rgba(255, 127, 0, 0.45),
    0 8px 20px -4px rgba(255, 127, 0, 0.30);
  z-index: 2;
}

/* Mobile: flat cards (rotation chaotic when stacked vertically) */
@media (max-width: 767px) {
  .tv-offer,
  .tv-offer:nth-child(2) { transform: rotate(0deg); }
  .tv-offer:hover,
  .tv-offer:nth-child(2):hover { transform: translateY(-4px); }
}
.tv-offer__amount {
  font-family: var(--tv-font-accent);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  margin: 0 0 var(--tv-space-2);
  color: var(--tv-color-ink);
}
.tv-offer__amount em {
  font-style: normal;
  color: var(--tv-color-accent);
}
.tv-offer h3 {
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-xl);
  font-weight: 700;
  margin: 0 0 var(--tv-space-2);
}
.tv-offer__desc { color: var(--tv-color-muted); margin: 0; line-height: var(--tv-lh-loose); flex-grow: 1; }
.tv-offer__row { display: flex; align-items: center; gap: var(--tv-space-3); flex-wrap: wrap; }
.tv-offer--featured .tv-coupon { border-color: var(--tv-color-bg); }
.tv-offer--featured .tv-coupon__label { color: var(--tv-color-bg); }
.tv-offer--featured .tv-coupon__code { background: var(--tv-color-accent); }
.tv-offer--featured .tv-coupon__hint { color: rgba(250,250,247,0.6); }
.tv-offer--featured .tv-btn--ghost { color: var(--tv-color-bg); border-color: var(--tv-color-bg); }
.tv-offer--featured .tv-btn--ghost:hover { background: var(--tv-color-bg); color: var(--tv-color-ink); }

/* ============================================================
   FAQ — editorial accordion with serif chapter numerals
   ============================================================ */
.tv-faq {
  display: flex;
  flex-direction: column;
  gap: var(--tv-space-3);
}

/* Each FAQ as a card with depth + hover lift, deeper shadow when open */
.tv-faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(20, 17, 15, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 2px 4px rgba(20, 17, 15, 0.04),
    0 8px 16px -4px rgba(20, 17, 15, 0.06);
  transition:
    transform var(--tv-dur-base) var(--tv-ease-out),
    box-shadow var(--tv-dur-base) var(--tv-ease-soft),
    border-color var(--tv-dur-base) var(--tv-ease-soft);
}
.tv-faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 17, 15, 0.10);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 4px 8px rgba(20, 17, 15, 0.05),
    0 16px 28px -6px rgba(20, 17, 15, 0.10);
}
.tv-faq-item.is-open {
  border-color: rgba(220, 38, 38, 0.20);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 4px 8px rgba(20, 17, 15, 0.05),
    0 20px 36px -8px rgba(20, 17, 15, 0.14);
}

.tv-faq-question {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  padding: var(--tv-space-4) var(--tv-space-5);
  text-align: left;
  font-family: inherit;
  font-size: var(--tv-fs-md);
  font-weight: 700;
  color: var(--tv-color-ink);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--tv-space-3);
}
.tv-faq-question__numeral {
  font-family: var(--tv-font-display);
  font-style: normal;
  font-weight: 700;
  font-size: var(--tv-fs-lg);
  color: var(--tv-color-red);
  min-width: 28px;
  text-align: center;
}
.tv-faq-question__icon {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tv-color-bg);
  border: 1px solid rgba(20, 17, 15, 0.10);
  color: var(--tv-color-ink);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition:
    transform var(--tv-dur-base) var(--tv-ease-out),
    background var(--tv-dur-fast) var(--tv-ease-soft),
    color var(--tv-dur-fast) var(--tv-ease-soft),
    border-color var(--tv-dur-fast) var(--tv-ease-soft);
}
.tv-faq-item.is-open .tv-faq-question__icon {
  background: var(--tv-color-red);
  color: #FFFFFF;
  border-color: var(--tv-color-red-dark);
  transform: rotate(45deg);   /* + becomes × */
}
.tv-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tv-dur-slow) var(--tv-ease-out);
}
.tv-faq-answer__inner {
  padding: 0 var(--tv-space-5) var(--tv-space-4) var(--tv-space-5);
  color: var(--tv-color-ink-soft);
  line-height: var(--tv-lh-loose);
  font-size: var(--tv-fs-sm);
  max-width: 70ch;
  border-top: 1px solid rgba(20, 17, 15, 0.08);
  margin-top: var(--tv-space-3);
  padding-top: var(--tv-space-4);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 400ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 100ms;
}
.tv-faq-item.is-open .tv-faq-answer { max-height: 500px; }
.tv-faq-item.is-open .tv-faq-answer__inner {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .tv-faq-item,
  .tv-faq-question__icon,
  .tv-faq-answer,
  .tv-faq-answer__inner {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
  .tv-faq-item.is-open .tv-faq-answer__inner {
    opacity: 1;
  }
}

/* ============================================================
   BOTTOM CTA — restrained, no gradient, hairline framed
   ============================================================ */
.tv-cta-band {
  background: var(--tv-color-ink);
  color: var(--tv-color-bg);
  padding: var(--tv-space-9) var(--tv-gutter);
  text-align: center;
  border-radius: var(--tv-radius-2xl);
  max-width: var(--tv-container);
  margin: 0 auto;
  position: relative;
}
.tv-cta-band__edition {
  display: inline-block;
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  color: var(--tv-color-accent);
  font-size: var(--tv-fs-md);
  margin-bottom: var(--tv-space-3);
}
.tv-cta-band h2 {
  color: var(--tv-color-bg);
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--tv-space-3);
  line-height: 1.1;
}
.tv-cta-band h2 em {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  color: var(--tv-color-accent);
}
.tv-cta-band p {
  color: rgba(250,250,247,0.78);
  max-width: 50ch;
  margin: 0 auto var(--tv-space-6);
}
.tv-cta-band .tv-btn--primary { background: var(--tv-color-accent); border-color: var(--tv-color-accent); }
.tv-cta-band .tv-btn--primary:hover { background: var(--tv-color-accent-dark); border-color: var(--tv-color-accent-dark); }

/* ============================================================
   ARCHIVE / SEARCH (kept for non-front pages)
   ============================================================ */
.tv-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-5);
  max-width: var(--tv-container-narrow);
  margin-inline: auto;
  padding-inline: var(--tv-gutter);
}
.tv-archive-card {
  background: var(--tv-color-surface);
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-lg);
  padding: var(--tv-space-5);
}
.tv-archive-card__title a { color: var(--tv-color-ink); }
.tv-archive-card__title a:hover { color: var(--tv-color-accent); }
.tv-archive-card__meta { color: var(--tv-color-muted); font-size: var(--tv-fs-sm); margin-bottom: var(--tv-space-3); }

.tv-search-form {
  display: flex;
  gap: var(--tv-space-3);
  max-width: 520px;
  margin: 0 auto;
}
.tv-search-form__input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--tv-radius-pill);
  border: 1px solid var(--tv-color-rule);
  font: inherit;
  background: var(--tv-color-surface);
}
.tv-search-form__input:focus { outline: none; border-color: var(--tv-color-ink); }

/* ============================================================
   FOOTER (kept as dark, lightly polished)
   ============================================================ */
.tv-footer {
  background: var(--tv-color-ink);
  color: rgba(250,250,247,0.7);
  padding: var(--tv-space-8) 0 var(--tv-space-5);
  margin-top: var(--tv-space-9);
}
.tv-footer__inner {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding-inline: var(--tv-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-6);
}
@media (min-width: 1024px) {
  .tv-footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
.tv-footer .tv-wordmark,
.tv-footer .tv-wordmark__text { color: #fff; }
.tv-footer__tagline { color: rgba(250,250,247,0.7); max-width: 38ch; margin: var(--tv-space-3) 0 0; font-size: var(--tv-fs-sm); line-height: var(--tv-lh-loose); }
.tv-footer__col h4 {
  color: #fff;
  font-family: var(--tv-font-body);
  font-size: var(--tv-fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tv-track-eyebrow);
  margin-bottom: var(--tv-space-4);
}
.tv-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: var(--tv-fs-sm); }
.tv-footer__list a { color: rgba(250,250,247,0.7); }
.tv-footer__list a:hover { color: var(--tv-color-accent); }
.tv-footer__disclosure { font-size: var(--tv-fs-xs); color: rgba(250,250,247,0.55); line-height: var(--tv-lh-loose); margin: var(--tv-space-4) 0 0; }
.tv-footer__colophon {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--tv-space-4) var(--tv-gutter) 0;
  text-align: center;
  font-size: var(--tv-fs-xs);
  color: rgba(250,250,247,0.5);
  max-width: var(--tv-container);
  margin: var(--tv-space-6) auto 0;
}

/* ============================================================
   HEADER SEARCH — icon expands a dropdown panel with live suggestions
   ============================================================ */
.tv-search {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.tv-search__toggle {
  width: 40px; height: 40px;
  border: 1px solid var(--tv-color-rule);
  background: var(--tv-color-surface);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-color-ink);
  cursor: pointer;
  transition:
    transform var(--tv-dur-fast) var(--tv-ease-out),
    background var(--tv-dur-base) var(--tv-ease-soft),
    border-color var(--tv-dur-base) var(--tv-ease-soft),
    color var(--tv-dur-base) var(--tv-ease-soft);
}
.tv-search__toggle:hover {
  background: rgba(2, 30, 90, 0.05);
  border-color: var(--tv-color-accent);
  color: var(--tv-color-accent);
  transform: scale(1.05);
}
.tv-search__toggle:active {
  transform: scale(0.95);
}
.tv-search.is-open .tv-search__toggle {
  border-color: var(--tv-color-accent);
  color: var(--tv-color-accent);
}
.tv-search__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 320px;
  max-width: 90vw;
  background: var(--tv-color-surface);
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-md);
  box-shadow: var(--tv-shadow-md);
  padding: var(--tv-space-3);
  z-index: 110;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--tv-dur-base) var(--tv-ease-out), transform var(--tv-dur-base) var(--tv-ease-out);
}
.tv-search.is-open .tv-search__panel {
  opacity: 1; transform: none; pointer-events: auto;
}
.tv-search__form { margin: 0; }
.tv-search__input {
  width: 100%;
  border: 1px solid var(--tv-color-rule);
  background: var(--tv-color-bg);
  border-radius: var(--tv-radius-pill);
  padding: 10px 16px;
  font: inherit;
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-ink);
}
.tv-search__input:focus {
  outline: none;
  border-color: var(--tv-color-accent);
  background: var(--tv-color-surface);
}
.tv-search__suggestions {
  list-style: none;
  margin: var(--tv-space-3) 0 0;
  padding: 0;
}
.tv-search__suggestions li { margin: 0; }
.tv-search__suggestion {
  display: block;
  padding: 10px 12px;
  border-radius: var(--tv-radius-sm);
  text-decoration: none;
  color: var(--tv-color-ink);
  transition: background var(--tv-dur-fast) var(--tv-ease-soft);
}
.tv-search__suggestion:hover { background: var(--tv-color-accent-soft); }
.tv-search__suggestion-title {
  display: block;
  font-weight: 400;
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-ink);
}
.tv-search__suggestion-url {
  display: block;
  font-size: var(--tv-fs-xs);
  color: var(--tv-color-muted);
  margin-top: 2px;
  font-family: ui-monospace, monospace;
}
.tv-search__empty {
  padding: 12px;
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-muted);
  text-align: center;
}
@media (max-width: 600px) {
  .tv-search__panel {
    position: fixed;
    top: calc(var(--tv-header-h) + 8px);
    left: var(--tv-gutter);
    right: var(--tv-gutter);
    min-width: 0;
  }
}

/* ============================================================
   PAGE HERO (simpler than front-page hero, no mockup)
   ============================================================ */
.tv-page-hero {
  position: relative;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(30,58,138,0.07), transparent 70%),
    var(--tv-color-paper);
  padding: var(--tv-space-9) 0 var(--tv-space-7);
  border-bottom: 1px solid var(--tv-color-ink);
}
.tv-page-hero__inner {
  max-width: var(--tv-container-narrow);
  margin-inline: auto;
  padding-inline: var(--tv-gutter);
}
.tv-page-hero h1 {
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--tv-space-4);
  max-width: 24ch;
}
.tv-page-hero h1 em {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  color: var(--tv-color-accent);
}
.tv-page-hero__lede {
  font-size: var(--tv-fs-md);
  color: var(--tv-color-ink-soft);
  line-height: var(--tv-lh-loose);
  max-width: 60ch;
  margin: 0;
}

/* Big rating numeral (used on Avis hero) */
.tv-rating-mark {
  display: inline-flex;
  align-items: baseline;
  gap: var(--tv-space-3);
  margin-top: var(--tv-space-5);
}
.tv-rating-mark__score {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  font-size: var(--tv-fs-numeral);
  line-height: 1;
  color: var(--tv-color-ink);
}
.tv-rating-mark__score em {
  color: var(--tv-color-accent);
  font-style: normal;
}
.tv-rating-mark__suffix {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-size: var(--tv-fs-lg);
  color: var(--tv-color-muted);
}
.tv-rating-mark__stars {
  display: inline-flex;
  gap: 2px;
  font-size: var(--tv-fs-md);
  color: var(--tv-color-accent);
  letter-spacing: 0.04em;
}

/* ============================================================
   RATING PANEL — criterion + bar + note rows
   ============================================================ */
.tv-rating {
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-2xl);
  background: var(--tv-color-surface);
  overflow: hidden;
}
.tv-rating__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-2);
  padding: var(--tv-space-5) var(--tv-space-6);
  border-bottom: 1px solid var(--tv-color-rule);
}
.tv-rating__row:last-child { border-bottom: 0; }
@media (min-width: 700px) {
  .tv-rating__row {
    grid-template-columns: 1fr auto 1.6fr;
    gap: var(--tv-space-5);
    align-items: center;
  }
}
.tv-rating__criterion {
  font-family: var(--tv-font-body);
  font-size: var(--tv-fs-md);
  font-weight: 700;
  color: var(--tv-color-ink);
}
.tv-rating__visual {
  display: inline-flex;
  align-items: center;
  gap: var(--tv-space-3);
  min-width: 0;
}
.tv-rating__bar {
  position: relative;
  width: 120px;
  height: 6px;
  background: var(--tv-color-bg-alt);
  border-radius: 3px;
  overflow: hidden;
}
.tv-rating__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--tv-bar, 70%);
  background: var(--tv-color-accent);
}
.tv-rating__score {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  font-size: var(--tv-fs-md);
  color: var(--tv-color-ink);
  min-width: 3.5ch;
}
.tv-rating__note {
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-muted);
  line-height: var(--tv-lh-snug);
  margin: 0;
}

/* ============================================================
   PROS / CONS — two-column block
   ============================================================ */
.tv-pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-5);
}
@media (min-width: 700px) {
  .tv-pros-cons { grid-template-columns: 1fr 1fr; gap: var(--tv-space-6); }
}
.tv-pros-cons__col {
  background: var(--tv-color-surface);
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-2xl);
  padding: var(--tv-space-6);
}
.tv-pros-cons__col h3 {
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-md);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 var(--tv-space-4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tv-pros-cons__col--pros h3::before {
  content: "✓";
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tv-color-success);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}
.tv-pros-cons__col--cons h3::before {
  content: "×";
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tv-color-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.tv-pros-cons__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--tv-space-3);
}
.tv-pros-cons__col li {
  font-size: var(--tv-fs-base);
  color: var(--tv-color-ink-soft);
  line-height: var(--tv-lh-snug);
  padding-left: 18px;
  position: relative;
}
.tv-pros-cons__col--pros li::before {
  content: "+";
  position: absolute;
  left: 0; top: 0;
  color: var(--tv-color-success);
  font-weight: 700;
}
.tv-pros-cons__col--cons li::before {
  content: "−";
  position: absolute;
  left: 0; top: 0;
  color: var(--tv-color-accent);
  font-weight: 700;
}

/* ============================================================
   GENERIC INFO CARD
   ============================================================ */
.tv-info-card {
  background: var(--tv-color-surface);
  border: 1px solid var(--tv-color-rule);
  border-left: 3px solid var(--tv-color-accent);
  border-radius: var(--tv-radius-lg);
  padding: var(--tv-space-6);
}
.tv-info-card h3 {
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-lg);
  font-weight: 700;
  margin: 0 0 var(--tv-space-3);
}
.tv-info-card p { margin: 0 0 var(--tv-space-3); color: var(--tv-color-ink-soft); line-height: var(--tv-lh-loose); }
.tv-info-card p:last-child { margin-bottom: 0; }
.tv-info-card ul { margin: var(--tv-space-3) 0 0; padding-left: var(--tv-space-5); color: var(--tv-color-ink-soft); line-height: var(--tv-lh-loose); }
.tv-info-card ul li { margin-bottom: var(--tv-space-2); }

/* ============================================================
   EDITORIAL TABLE — hairline rows, no zebra
   ============================================================ */
.tv-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-lg);
  background: var(--tv-color-surface);
}
.tv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--tv-fs-sm);
}
.tv-table th,
.tv-table td {
  padding: var(--tv-space-4) var(--tv-space-5);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--tv-color-rule);
}
.tv-table th {
  font-family: var(--tv-font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: var(--tv-fs-xs);
  color: var(--tv-color-muted);
  background: var(--tv-color-bg-alt);
}
.tv-table tbody tr:last-child td { border-bottom: 0; }
.tv-table td { color: var(--tv-color-ink-soft); line-height: var(--tv-lh-snug); }
.tv-table td strong { color: var(--tv-color-ink); }
.tv-table .is-yes { color: var(--tv-color-success); font-weight: 700; }
.tv-table .is-no  { color: var(--tv-color-accent); font-weight: 700; }
.tv-table .is-mid { color: var(--tv-color-muted); font-weight: 700; }

/* Compare variant: highlight brand columns */
.tv-table--compare th { text-align: center; }
.tv-table--compare th:nth-child(1) { text-align: left; background: var(--tv-color-bg-alt); }
.tv-table--compare th:nth-child(2) {
  background: var(--tv-color-ink);
  color: #fff;
  letter-spacing: 0.04em;
}
.tv-table--compare th:nth-child(3) {
  background: var(--tv-color-paper);
  color: var(--tv-color-ink);
  letter-spacing: 0.04em;
}
.tv-table--compare td:nth-child(2),
.tv-table--compare td:nth-child(3) { text-align: center; }
.tv-table--compare td:nth-child(2) { background: rgba(20,17,15,0.02); }
.tv-table--compare td:nth-child(3) { background: rgba(30,58,138,0.025); }

/* ============================================================
   VERDICT CARDS (Choisissez X si...)
   ============================================================ */
.tv-verdict-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-5);
}
@media (min-width: 800px) {
  .tv-verdict-cards { grid-template-columns: 1fr 1fr; gap: var(--tv-space-6); }
}
.tv-verdict-card {
  background: var(--tv-color-surface);
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-2xl);
  padding: var(--tv-space-6);
}
.tv-verdict-card--featured {
  background: var(--tv-color-ink);
  color: var(--tv-color-bg);
  border-color: var(--tv-color-ink);
}
.tv-verdict-card__brand {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  font-size: var(--tv-fs-2xl);
  margin: 0 0 var(--tv-space-2);
}
.tv-verdict-card--featured .tv-verdict-card__brand em { color: var(--tv-color-accent); font-style: normal; }
.tv-verdict-card h3 {
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-md);
  font-weight: 700;
  margin: 0 0 var(--tv-space-4);
}
.tv-verdict-card--featured h3 { color: var(--tv-color-bg); }
.tv-verdict-card ul { margin: 0; padding-left: var(--tv-space-5); display: flex; flex-direction: column; gap: var(--tv-space-2); }
.tv-verdict-card li { color: var(--tv-color-ink-soft); line-height: var(--tv-lh-snug); }
.tv-verdict-card--featured li { color: rgba(250,250,247,0.85); }

/* ============================================================
   SCORE COMPARE — head-to-head ratings
   ============================================================ */
.tv-score-compare {
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-2xl);
  background: var(--tv-color-surface);
  overflow: hidden;
}
.tv-score-compare__head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--tv-color-bg-alt);
  font-family: var(--tv-font-body);
  font-weight: 700;
  font-size: var(--tv-fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tv-color-muted);
}
.tv-score-compare__head > div { padding: var(--tv-space-4) var(--tv-space-5); }
.tv-score-compare__head > div:nth-child(2),
.tv-score-compare__head > div:nth-child(3) { text-align: center; }
.tv-score-compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--tv-color-rule);
  align-items: center;
}
.tv-score-compare__criterion {
  padding: var(--tv-space-4) var(--tv-space-5);
  font-family: var(--tv-font-body);
  font-weight: 700;
  color: var(--tv-color-ink);
}
.tv-score-compare__cell {
  padding: var(--tv-space-4) var(--tv-space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--tv-space-3);
}
.tv-score-compare__bar {
  position: relative;
  flex: 1;
  max-width: 140px;
  height: 6px;
  background: var(--tv-color-bg-alt);
  border-radius: 3px;
  overflow: hidden;
}
.tv-score-compare__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--tv-bar, 70%);
  background: var(--tv-color-ink);
}
.tv-score-compare__cell--accent .tv-score-compare__bar::after { background: var(--tv-color-accent); }
.tv-score-compare__num {
  font-family: var(--tv-font-accent);
  font-style: normal;
  font-weight: 400;
  font-size: var(--tv-fs-md);
  color: var(--tv-color-ink);
  min-width: 3ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* === v2.7.3 score-compare mobile vertical stack ===
   At ≤720px the row-direction flex layout pinches the bar to ~13px
   wide (per v2.7.3 diagnostic). Switching cells to flex-direction:
   column lets the bar take full cell width up to a 80px cap and
   places the number directly below — guarantees vertical alignment
   of numbers across rows because each is centered in its 1fr column.
   Desktop layout (top-level rule) stays untouched. */
@media (max-width: 720px) {
  .tv-score-compare__head {
    font-size: 0.7rem;
  }
  .tv-score-compare__head > div {
    padding: var(--tv-space-3) var(--tv-space-2);
  }
  .tv-score-compare__criterion {
    padding: var(--tv-space-3) var(--tv-space-3);
    font-size: 0.85rem;
  }
  .tv-score-compare__cell {
    flex-direction: column;
    gap: var(--tv-space-2);
    padding: var(--tv-space-3) var(--tv-space-2);
  }
  .tv-score-compare__bar {
    width: 100%;
    max-width: 80px;
    flex: none;
  }
  .tv-score-compare__num {
    font-size: 1rem;
  }
}

/* v2.7.2 — keep numeric columns of the comparison table in vertical alignment */
.tv-table--compare td:nth-child(2),
.tv-table--compare td:nth-child(3) {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ============================================================
   PAGE LAYOUT BLOCKS — generic spacing rhythm
   ============================================================ */
.tv-page-block { margin-block: var(--tv-space-8); }
.tv-page-block + .tv-page-block { margin-top: var(--tv-space-9); }
.tv-page-block__lede {
  font-size: var(--tv-fs-md);
  color: var(--tv-color-ink-soft);
  line-height: var(--tv-lh-loose);
  max-width: 60ch;
  margin: 0 0 var(--tv-space-5);
}

/* Bar-width utilities (KSES-safe alternative to inline custom properties) */
.tv-bar-40 { --tv-bar: 40%; }
.tv-bar-50 { --tv-bar: 50%; }
.tv-bar-55 { --tv-bar: 55%; }
.tv-bar-60 { --tv-bar: 60%; }
.tv-bar-65 { --tv-bar: 65%; }
.tv-bar-70 { --tv-bar: 70%; }
.tv-bar-75 { --tv-bar: 75%; }
.tv-bar-80 { --tv-bar: 80%; }
.tv-bar-85 { --tv-bar: 85%; }
.tv-bar-90 { --tv-bar: 90%; }
.tv-bar-95 { --tv-bar: 95%; }

/* ============================================================
   CONTACT GRID — form + sidebar info card
   ============================================================ */
.tv-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-6);
  align-items: flex-start;
}
@media (min-width: 900px) {
  .tv-contact-grid { grid-template-columns: 1.6fr 1fr; gap: var(--tv-space-7); }
}
.tv-contact-grid__form {
  background: var(--tv-color-surface);
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-2xl);
  padding: var(--tv-space-6);
}
.tv-contact-grid__aside { display: flex; flex-direction: column; gap: var(--tv-space-5); }
.tv-contact-grid__email {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, monospace;
  background: var(--tv-color-bg-alt);
  padding: 8px 14px;
  border-radius: var(--tv-radius-pill);
  color: var(--tv-color-ink);
  font-size: var(--tv-fs-sm);
  font-weight: 700;
}
/* Light styling for Fluent Forms inputs to match French Premium tokens */
.tv-contact-grid .ff-default input[type="text"],
.tv-contact-grid .ff-default input[type="email"],
.tv-contact-grid .ff-default select,
.tv-contact-grid .ff-default textarea,
.tv-contact-grid .frm-fluent-form input[type="text"],
.tv-contact-grid .frm-fluent-form input[type="email"],
.tv-contact-grid .frm-fluent-form select,
.tv-contact-grid .frm-fluent-form textarea {
  border: 1px solid var(--tv-color-rule);
  border-radius: var(--tv-radius-md);
  padding: 12px 14px;
  font: inherit;
  background: var(--tv-color-surface);
  color: var(--tv-color-ink);
}
.tv-contact-grid .frm-fluent-form input:focus,
.tv-contact-grid .frm-fluent-form select:focus,
.tv-contact-grid .frm-fluent-form textarea:focus {
  outline: none;
  border-color: var(--tv-color-ink);
  box-shadow: none;
}
.tv-contact-grid .frm-fluent-form button[type="submit"],
.tv-contact-grid .frm-fluent-form .ff-btn-submit {
  background: var(--tv-color-accent) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 14px 28px !important;
  border-radius: var(--tv-radius-pill) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  cursor: pointer;
}
.tv-contact-grid .frm-fluent-form button[type="submit"]:hover,
.tv-contact-grid .frm-fluent-form .ff-btn-submit:hover {
  background: var(--tv-color-accent-dark) !important;
}

/* ============================================================
   COUPON META — three SEO blocks below the hero
   ============================================================ */
/* Section background = transparent so the page flows seamlessly cream-to-cream.
   The 3 cards inside stay white; that contrast is the visual interest. */
.tv-coupon-meta {
  background: transparent;
  padding: var(--tv-space-7) 0;
}
.tv-coupon-meta__inner {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding-inline: var(--tv-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tv-space-5);
  align-items: stretch;
}
/* Desktop: 5-column alternating layout — card / arrow / card / arrow / card */
@media (min-width: 768px) {
  .tv-coupon-meta__inner {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--tv-space-4);
    align-items: center;
  }
}

/* 3D card with layered drop shadows and subtle alternating tilts */
.tv-coupon-meta__item {
  background: #FFFFFF;
  border-radius: 16px;
  padding: var(--tv-space-5) var(--tv-space-5);
  border: 1px solid rgba(20, 17, 15, 0.05);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 2px 4px rgba(20, 17, 15, 0.04),
    0 8px 20px -4px rgba(20, 17, 15, 0.08),
    0 24px 40px -8px rgba(20, 17, 15, 0.12);
  display: flex;
  flex-direction: column;
  gap: var(--tv-space-3);
  position: relative;
  transition:
    transform var(--tv-dur-base) var(--tv-ease-out),
    box-shadow var(--tv-dur-base) var(--tv-ease-soft);
  transform: rotate(-0.6deg);
}
.tv-coupon-meta__item:nth-child(2) { transform: rotate(0.4deg); }
.tv-coupon-meta__item:nth-child(3) { transform: rotate(-0.4deg); }

.tv-coupon-meta__item:hover,
.tv-coupon-meta__item:nth-child(2):hover,
.tv-coupon-meta__item:nth-child(3):hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 4px 8px rgba(20, 17, 15, 0.06),
    0 20px 40px -6px rgba(20, 17, 15, 0.14),
    0 36px 64px -12px rgba(20, 17, 15, 0.18);
}

/* Trend arrow separators between cards — desktop only by default */
.tv-coupon-meta__arrow {
  display: none;
  color: rgba(20, 17, 15, 0.30);
  width: 80px;
  height: 16px;
  align-self: center;
}
@media (min-width: 768px) {
  .tv-coupon-meta__arrow { display: block; }
}
.tv-coupon-meta__arrow svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
/* Default: line invisible (dashoffset hides), tip invisible */
.tv-coupon-meta__arrow-line {
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tv-coupon-meta__arrow-tip {
  opacity: 0;
  transition: opacity 300ms ease-out 600ms;
}
/* Revealed: line draws, tip fades in after */
.tv-coupon-meta.is-revealed .tv-coupon-meta__arrow-line { stroke-dashoffset: 0; }
.tv-coupon-meta.is-revealed .tv-coupon-meta__arrow-tip  { opacity: 1; }
/* Stagger the second arrow to draw AFTER the first finishes */
.tv-coupon-meta.is-revealed .tv-coupon-meta__arrow:nth-of-type(4) .tv-coupon-meta__arrow-line {
  transition-delay: 600ms;
}
.tv-coupon-meta.is-revealed .tv-coupon-meta__arrow:nth-of-type(4) .tv-coupon-meta__arrow-tip {
  transition-delay: 1200ms;
}
@media (prefers-reduced-motion: reduce) {
  .tv-coupon-meta__arrow-line { stroke-dashoffset: 0; transition: none; }
  .tv-coupon-meta__arrow-tip  { opacity: 1; transition: none; }
}

/* Mobile (<768px): horizontal scroll row with snap, hidden scrollbar,
   right-edge mask gradient hinting more content. */
@media (max-width: 767px) {
  .tv-coupon-meta { position: relative; }
  .tv-coupon-meta::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, var(--tv-color-bg) 80%);
    pointer-events: none;
  }
  .tv-coupon-meta__inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    padding-inline: var(--tv-gutter);
    padding-right: 60px;
    gap: var(--tv-space-3);
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--tv-gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tv-coupon-meta__inner::-webkit-scrollbar { display: none; }
  .tv-coupon-meta__item,
  .tv-coupon-meta__item:nth-child(2),
  .tv-coupon-meta__item:nth-child(3) {
    flex: 0 0 240px;
    scroll-snap-align: start;
    transform: rotate(0deg);
  }
  .tv-coupon-meta__arrow {
    display: flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 16px;
    align-self: center;
  }
}
.tv-coupon-meta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 2px 6px -1px rgba(20, 17, 15, 0.10);
}
/* Per-card icon themes */
.tv-coupon-meta__item--copy .tv-coupon-meta__icon {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  color: #1E3A8A;
}
.tv-coupon-meta__item--verify .tv-coupon-meta__icon {
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
  color: #166534;
}
.tv-coupon-meta__item--free .tv-coupon-meta__icon {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #92400E;
}
.tv-coupon-meta__title {
  font-family: var(--tv-font-display);
  font-size: var(--tv-fs-md);
  font-weight: 700;
  margin: 0;
  color: var(--tv-color-ink);
  letter-spacing: -0.01em;
}
.tv-coupon-meta__desc {
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-ink-soft);
  line-height: var(--tv-lh-loose);
  margin: 0;
}

/* ============================================================
   COOKIE CONSENT BANNER (RGPD) — slim bottom bar, slide-up entry
   ============================================================ */
.tv-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #FFFFFF;
  border-top: 1px solid rgba(20, 17, 15, 0.08);
  box-shadow: 0 -8px 24px -4px rgba(0, 0, 0, 0.10);
  transform: translateY(0);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tv-cookie[hidden] { display: none; }
.tv-cookie.is-hiding { transform: translateY(100%); }
.tv-cookie__inner {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding: var(--tv-space-4) var(--tv-gutter);
  display: flex;
  align-items: center;
  gap: var(--tv-space-5);
}
.tv-cookie__copy { flex: 1; min-width: 0; }
.tv-cookie__title {
  font-size: var(--tv-fs-md);
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--tv-color-ink);
}
.tv-cookie__text {
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-ink-soft);
  line-height: var(--tv-lh-loose);
  margin: 0;
}
.tv-cookie__link {
  color: var(--tv-color-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tv-cookie__link:hover { color: var(--tv-color-red-dark); }
.tv-cookie__actions {
  display: flex;
  gap: var(--tv-space-2);
  flex-shrink: 0;
}
.tv-cookie__btn {
  padding: 10px 18px;
  border-radius: var(--tv-radius-pill);
  font-family: var(--tv-font-body);
  font-weight: 700;
  font-size: var(--tv-fs-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--tv-dur-base) var(--tv-ease-soft);
  white-space: nowrap;
  line-height: 1;
}
.tv-cookie__btn:focus-visible {
  outline: 2px solid var(--tv-color-accent);
  outline-offset: 2px;
}
.tv-cookie__btn--reject {
  background: transparent;
  color: var(--tv-color-ink-soft);
  border-color: rgba(20, 17, 15, 0.15);
}
.tv-cookie__btn--reject:hover {
  background: rgba(20, 17, 15, 0.04);
  border-color: rgba(20, 17, 15, 0.25);
}
.tv-cookie__btn--customize {
  background: var(--tv-color-bg);
  color: var(--tv-color-ink);
  border-color: rgba(20, 17, 15, 0.10);
}
.tv-cookie__btn--customize:hover {
  background: rgba(20, 17, 15, 0.06);
}
.tv-cookie__btn--accept {
  background: var(--tv-color-red);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.30);
}
.tv-cookie__btn--accept:hover {
  background: var(--tv-color-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.40);
}
@media (max-width: 767px) {
  .tv-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--tv-space-3);
  }
  .tv-cookie__actions {
    flex-wrap: wrap;
  }
  .tv-cookie__btn {
    flex: 1 1 auto;
    font-size: var(--tv-fs-xs);
    padding: 8px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tv-cookie {
    transition: none;
  }
}

/* ============================================================
   v2.7.0 — VISIBLE STRUCTURE
   Breadcrumbs · Vérifié date badge · Author byline ·
   Affiliate disclosure banner · Articles liés cluster.
   ============================================================ */

/* ---- Breadcrumbs ---- */
.tv-breadcrumb {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding-inline: var(--tv-gutter);
  padding-block: var(--tv-space-4) 0;
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-muted);
}
.tv-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tv-breadcrumb__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--tv-dur-fast) var(--tv-ease-soft);
}
.tv-breadcrumb__link:hover {
  border-bottom-color: currentColor;
}
.tv-breadcrumb__separator {
  opacity: 0.5;
  user-select: none;
}
.tv-breadcrumb__item--current {
  color: var(--tv-color-ink);
  font-weight: 500;
}

/* ---- Vérifié le DD/MM/YYYY badge ---- */
.tv-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-block: 0 var(--tv-space-3);
  padding: 0.35rem 0.7rem;
  border-radius: var(--tv-radius-pill);
  background: rgba(20, 130, 60, 0.08);
  color: rgb(20, 130, 60);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.tv-verified-badge__icon {
  flex-shrink: 0;
}
.tv-verified-badge__text time {
  font-variant-numeric: tabular-nums;
}

/* ---- Author byline ---- */
.tv-byline {
  margin-block: 0 var(--tv-space-5);
  font-size: var(--tv-fs-sm);
  color: var(--tv-color-muted);
}
.tv-byline__author {
  color: var(--tv-color-ink);
  font-weight: 500;
}
.tv-byline__separator {
  margin-inline: 0.4rem;
  opacity: 0.5;
}

/* ---- Articles liés (related cluster) ---- */
.tv-related {
  background: rgba(2, 30, 90, 0.03);
  padding-block: var(--tv-space-8);
  border-top: 1px solid rgba(2, 30, 90, 0.08);
}
.tv-related__inner {
  max-width: var(--tv-container);
  margin-inline: auto;
  padding-inline: var(--tv-gutter);
}
.tv-related__title {
  font-family: var(--tv-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-block: 0 var(--tv-space-5);
  color: var(--tv-color-ink);
}
.tv-related__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .tv-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tv-related__card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(2, 30, 90, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  position: relative;
}
.tv-related__card:hover {
  transform: translateY(-2px);
  border-color: rgba(2, 30, 90, 0.25);
  box-shadow: 0 6px 20px rgba(2, 30, 90, 0.08);
}
.tv-related__card-title {
  margin: 0;
  font-family: var(--tv-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tv-color-ink);
}
.tv-related__card-subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: var(--tv-color-muted);
  line-height: 1.4;
}
.tv-related__card-arrow {
  margin-top: 0.4rem;
  font-size: 1.2rem;
  color: var(--tv-color-red);
  font-weight: 700;
  transition: transform 200ms ease;
}
.tv-related__card:hover .tv-related__card-arrow {
  transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
  .tv-related__card,
  .tv-related__card-arrow {
    transition: none;
  }
}

/* ============================================================
   v2.7.2 — Page section spacing + mobile tightening
   Replaces the inline style="padding-block:var(--tv-space-8)" on
   page.php's <section class="tv-container tv-page-section"> so we
   can tighten the gap between byline area and the page hero on
   small viewports.
   ============================================================ */
.tv-page-section {
  padding-block: var(--tv-space-8);
}
@media (max-width: 720px) {
  .tv-page-section {
    padding-block: var(--tv-space-5) var(--tv-space-6);
  }
  .tv-byline {
    margin-block-end: var(--tv-space-3);
  }
  .tv-verified-badge {
    margin-block-end: var(--tv-space-2);
  }
}

/* ============================================================
   v2.8.0 Batch 1 — Answer capsule
   Verdict-style block placed under the page hero lede.
   ============================================================ */
.tv-answer-capsule {
  margin-block: var(--tv-space-4) var(--tv-space-6);
  padding: var(--tv-space-4) var(--tv-space-5);
  background: rgba(2, 30, 90, 0.04);
  border-left: 4px solid var(--tv-color-accent);
  border-radius: 4px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--tv-color-ink);
}
.tv-answer-capsule strong {
  color: var(--tv-color-ink);
  font-weight: 700;
}
@media (max-width: 720px) {
  .tv-answer-capsule {
    font-size: 0.98rem;
    padding: var(--tv-space-3) var(--tv-space-4);
  }
}

/* ============================================================
   v2.9.0 — Premium editorial CTA polish + homepage H1 mobile typography
   Layered ON TOP of existing .tv-btn / .tv-btn--primary / .tv-coupon
   rules. Existing rules stay; these refine shadow + transition + active
   state for editorial feel. Red color flows from --tv-color-red token
   updated in style.css to #C8102E.
   ============================================================ */

/* ---- Primary CTA polish (acts on existing .tv-btn--primary) ---- */
.tv-btn--primary {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(200, 16, 46, 0.18);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}
.tv-btn--primary:hover {
  background: var(--tv-color-red-hover);
  border-color: var(--tv-color-red-hover);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(200, 16, 46, 0.28);
  transform: translateY(-1px);
}
.tv-btn--primary:active {
  background: var(--tv-color-red-active);
  border-color: var(--tv-color-red-active);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(200, 16, 46, 0.18);
  transform: translateY(0);
}
.tv-btn--primary:focus-visible {
  outline: 2px solid var(--tv-color-red);
  outline-offset: 3px;
}

/* (v2.9.0 .tv-coupon polish removed in v2.9.2 — base styles in two-box block now own shadow/transition/hover/active/focus-visible) */

/* ---- Mobile CTA refinements ---- */
@media (max-width: 720px) {
  .tv-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--tv-space-3);
  }
  .tv-btn--primary,
  .tv-btn--xl {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
  }
  .tv-coupon {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
  .tv-coupon__code-box {
    padding: 0.9rem 1rem;
  }
  .tv-coupon__action-box {
    padding: 0.9rem 1rem;
  }
  .tv-coupon__code-text {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }
  .tv-coupon__label {
    font-size: 0.8rem;
  }
}

/* ---- Homepage hero H1 mobile typography ---- */
@media (max-width: 720px) {
  .tv-hero__title {
    font-size: clamp(1.75rem, 5.5vw + 0.5rem, 2.5rem);
    line-height: 1.15;
    text-wrap: balance; /* Chrome 114+, FF 121+, Safari 17.5+ — graceful no-op fallback */
    word-wrap: break-word;
  }
  .tv-hero__title-line {
    /* Each line span is already display: block from v2.4.2;
       reduce gap between lines on mobile for tighter 2-line wrap. */
    margin-block: 0;
  }
  .tv-hero__lede {
    font-size: 1rem;
    line-height: 1.5;
    margin-block: var(--tv-space-3) var(--tv-space-5);
  }
}
