/*
Theme Name:     Ticket Vivi
Theme URI:      https://ticketvivi.bj
Description:    Thème enfant Hello Elementor pour Ticket Vivi — billetterie sécurisée du Bénin. Design dark + or, typographie Fraunces & DM Sans. Compatible Elementor, WooCommerce, Event Tickets.
Author:         Ticket Vivi
Author URI:     https://ticketvivi.bj
Template:       hello-elementor
Version:        1.0.0
Text Domain:    ticketvivi-child
*/

/* ============================================================================
   FONTS — Google Fonts loaded via functions.php
   ============================================================================ */

/* ============================================================================
   DESIGN TOKENS
   ============================================================================ */
:root {
  --tv-bg: #0a0908;
  --tv-bg-alt: #0f0d0b;
  --tv-surface: #15120f;
  --tv-surface-light: #1e1a16;
  --tv-border: #2a2520;
  --tv-border-light: #3a332c;
  --tv-gold: #c9a75a;
  --tv-gold-bright: #e8c468;
  --tv-gold-dim: #8a7340;
  --tv-cream: #f5e9d4;
  --tv-cream-dim: #c9bca5;
  --tv-muted: #8a7a64;
  --tv-muted-dark: #5a4f42;
  --tv-success: #6ab07a;
  --tv-success-dark: #1f3a26;
  --tv-danger: #d4543c;
  --tv-danger-dark: #3d1814;
  --tv-terracotta: #b8623d;

  --tv-font-display: 'Fraunces', Georgia, serif;
  --tv-font-body: 'DM Sans', system-ui, sans-serif;
  --tv-font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --tv-radius-sm: 8px;
  --tv-radius-md: 12px;
  --tv-radius-lg: 16px;
  --tv-radius-xl: 24px;
  --tv-radius-full: 999px;

  --tv-shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
  --tv-shadow-gold: 0 8px 24px rgba(201, 167, 90, 0.25);
}

/* ============================================================================
   GLOBAL — base typography, colors, scrollbar
   ============================================================================ */
html, body {
  background: var(--tv-bg);
}

body {
  font-family: var(--tv-font-body);
  color: var(--tv-cream);
  background: var(--tv-bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tv-font-display);
  color: var(--tv-cream);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }

/* Italic accents — applique <em> ou <i> dans tes titres pour le surlignage doré */
h1 em, h1 i, h2 em, h2 i, h3 em, h3 i {
  font-style: italic;
  color: var(--tv-gold);
  font-weight: inherit;
}

p { line-height: 1.7; color: var(--tv-cream-dim); margin-bottom: 1rem; }

a { color: var(--tv-gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--tv-gold-bright); }

::selection { background: var(--tv-gold); color: var(--tv-bg); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--tv-bg); }
::-webkit-scrollbar-thumb { background: var(--tv-border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--tv-border-light); }

/* Utility class for monospace/code elements (numéros de transaction, codes, etc.) */
.tv-mono, code, pre, kbd { font-family: var(--tv-font-mono); }

/* ============================================================================
   ELEMENTOR — buttons, sections, headings, widgets
   ============================================================================ */

/* Boutons Elementor — dorés par défaut */
.elementor-button,
.elementor-button-link,
.elementor-button.elementor-size-sm,
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg,
.elementor-button.elementor-size-xl {
  background: linear-gradient(135deg, var(--tv-gold-bright), var(--tv-gold)) !important;
  color: var(--tv-bg) !important;
  font-family: var(--tv-font-body) !important;
  font-weight: 600 !important;
  border-radius: var(--tv-radius-full) !important;
  border: 0 !important;
  padding: 14px 32px !important;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.2s !important;
  text-transform: none !important;
}

.elementor-button:hover,
.elementor-button-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--tv-shadow-gold);
  color: var(--tv-bg) !important;
}

.elementor-button:active { transform: translateY(0); }

/* Variante boutons "outline" — ajoute la classe `tv-btn-outline` au bouton dans Elementor */
.elementor-button.tv-btn-outline {
  background: transparent !important;
  color: var(--tv-gold) !important;
  border: 1px solid var(--tv-gold) !important;
}

.elementor-button.tv-btn-outline:hover {
  background: rgba(201, 167, 90, 0.08) !important;
  color: var(--tv-gold-bright) !important;
}

/* Variante "ghost" — bouton transparent sur fond clair */
.elementor-button.tv-btn-ghost {
  background: var(--tv-surface) !important;
  color: var(--tv-cream) !important;
  border: 1px solid var(--tv-border) !important;
}

/* Headings dans widget Elementor */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--tv-font-display);
  color: var(--tv-cream);
  letter-spacing: -0.02em;
}

/* Texte des paragraphes dans Text Editor */
.elementor-widget-text-editor p,
.elementor-widget-text-editor li {
  color: var(--tv-cream-dim);
  line-height: 1.7;
}

/* Icon List */
.elementor-icon-list-item .elementor-icon-list-text { color: var(--tv-cream-dim); }
.elementor-icon-list-item .elementor-icon-list-icon i,
.elementor-icon-list-item .elementor-icon-list-icon svg { color: var(--tv-gold); }

/* Image overlays + cartes — radius par défaut */
.elementor-widget-image img { border-radius: var(--tv-radius-md); }

/* ============================================================================
   FORMS — inputs, textareas, selects (Elementor Forms, contact, comment)
   ============================================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
textarea,
select,
.elementor-field-textual {
  background: var(--tv-bg) !important;
  border: 1px solid var(--tv-border) !important;
  border-radius: var(--tv-radius-sm) !important;
  color: var(--tv-cream) !important;
  font-family: var(--tv-font-body) !important;
  padding: 12px 16px !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus,
select:focus,
.elementor-field-textual:focus {
  border-color: var(--tv-gold) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(201, 167, 90, 0.15) !important;
}

input::placeholder,
textarea::placeholder { color: var(--tv-muted); }

label { color: var(--tv-cream); font-weight: 500; }

/* ============================================================================
   WOOCOMMERCE — cart, checkout, products
   ============================================================================ */

/* Page boutique / produits */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  padding: 16px !important;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 167, 90, 0.4);
  box-shadow: var(--tv-shadow-card);
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--tv-font-display);
  color: var(--tv-cream);
  font-size: 1.125rem !important;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--tv-gold) !important;
  font-family: var(--tv-font-mono);
  font-weight: 600;
}

/* Boutons WooCommerce */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #content input.button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: linear-gradient(135deg, var(--tv-gold-bright), var(--tv-gold)) !important;
  color: var(--tv-bg) !important;
  border-radius: var(--tv-radius-full) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  border: 0 !important;
  text-transform: none !important;
  font-family: var(--tv-font-body) !important;
  transition: transform 0.15s, box-shadow 0.2s !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--tv-shadow-gold);
  color: var(--tv-bg) !important;
}

/* Tables panier / commande */
.woocommerce table.shop_table {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.woocommerce table.shop_table th { color: var(--tv-gold); border-bottom: 1px solid var(--tv-border); }
.woocommerce table.shop_table td { color: var(--tv-cream-dim); border-top: 1px solid var(--tv-border); }

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--tv-surface) !important;
  border-left: 3px solid var(--tv-gold) !important;
  color: var(--tv-cream) !important;
  border-radius: var(--tv-radius-sm);
}

.woocommerce-message::before,
.woocommerce-info::before { color: var(--tv-gold) !important; }
.woocommerce-error { border-left-color: var(--tv-danger) !important; }

/* ============================================================================
   EVENT TICKETS / THE EVENTS CALENDAR (free) — branding
   ============================================================================ */
.tribe-events,
.tribe-common,
.tribe-events-calendar-list,
.tribe-events-calendar-month {
  background: var(--tv-bg) !important;
  color: var(--tv-cream) !important;
}

.tribe-events-calendar-list__event,
.tribe-events-calendar-month__day--current,
.tribe-events-c-search__events {
  background: var(--tv-surface) !important;
  border: 1px solid var(--tv-border) !important;
  border-radius: var(--tv-radius-md) !important;
}

.tribe-events-calendar-list__event-title,
.tribe-events-calendar-list__event-title-link,
.tribe-events-c-top-bar__datepicker-button,
.tribe-events-single-event-title {
  font-family: var(--tv-font-display) !important;
  color: var(--tv-cream) !important;
}

.tribe-events-calendar-list__event-title-link:hover { color: var(--tv-gold) !important; }

.tribe-tickets__tickets-form .tribe-tickets__tickets-item,
.tribe-tickets-rsvp__form,
.tribe-tickets__commerce-checkout-cart {
  background: var(--tv-surface) !important;
  border: 1px solid var(--tv-border) !important;
  border-radius: var(--tv-radius-md) !important;
  color: var(--tv-cream) !important;
}

.tribe-tickets__tickets-item-quantity-number-input { color: var(--tv-cream) !important; }

/* QR ticket display */
.tribe-tickets__attendees-tickets-attendee-information-qr-code,
.tickera-qrcode-wrapper {
  background: var(--tv-cream) !important;
  padding: 16px !important;
  border-radius: var(--tv-radius-md) !important;
  display: inline-block;
}

/* ============================================================================
   ELEMENTOR HEADER / NAV
   ============================================================================ */
.elementor-nav-menu li a {
  color: var(--tv-cream-dim) !important;
  font-weight: 500;
  transition: color 0.15s;
}

.elementor-nav-menu li a:hover,
.elementor-nav-menu li.current-menu-item > a {
  color: var(--tv-gold) !important;
}

/* ============================================================================
   UTILITY CLASSES — à utiliser dans Elementor (CSS Classes des sections)
   ============================================================================ */

/* Carte sombre avec bordure dorée hover */
.tv-card {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  padding: 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.tv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 167, 90, 0.4);
  box-shadow: var(--tv-shadow-card);
}

/* Card sans hover */
.tv-card-static {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-lg);
  padding: 24px;
}

/* Badges colorés (catégorie ticket, état, etc.) */
.tv-badge {
  display: inline-block;
  font-family: var(--tv-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--tv-radius-full);
  background: var(--tv-surface-light);
  color: var(--tv-gold);
  border: 1px solid var(--tv-border);
}

.tv-badge-vip { background: var(--tv-gold); color: var(--tv-bg); border-color: var(--tv-gold); }
.tv-badge-vvip { background: var(--tv-danger); color: var(--tv-cream); border-color: var(--tv-danger); }
.tv-badge-success { background: var(--tv-success-dark); color: var(--tv-success); border-color: var(--tv-success); }
.tv-badge-flash { background: var(--tv-terracotta); color: var(--tv-cream); border-color: var(--tv-terracotta); }

/* Eyebrow / kicker (petite ligne de texte au-dessus d'un titre) */
.tv-eyebrow {
  font-family: var(--tv-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tv-gold);
  margin-bottom: 1rem;
  display: block;
}

/* Section sombre (à mettre en classe sur une Section Elementor) */
.tv-section-dark { background: var(--tv-bg); color: var(--tv-cream); }
.tv-section-darker { background: var(--tv-bg-alt); color: var(--tv-cream); }
.tv-section-surface { background: var(--tv-surface); color: var(--tv-cream); }

/* Hero gradient dorée pour image de fond */
.tv-hero-gradient {
  background: linear-gradient(135deg, var(--tv-bg) 0%, #1f1408 50%, var(--tv-bg) 100%);
  position: relative;
}

.tv-hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(201, 167, 90, 0.12), transparent 50%);
  pointer-events: none;
}

/* Animation fade-up pour entrée d'éléments (à appliquer avec JS si voulu) */
@keyframes tv-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.tv-fade-up { animation: tv-fade-up 0.5s ease-out both; }

/* Press effect pour boutons / liens cliquables */
.tv-press { transition: transform 0.1s; }
.tv-press:active { transform: scale(0.97); }

/* Divider doré décoratif */
.tv-divider-gold {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tv-gold), transparent);
  margin: 3rem 0;
}

/* Bracelet visuel (Vert / Or / Rouge — codes couleur du guide directives) */
.tv-bracelet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--tv-radius-full);
  font-family: var(--tv-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tv-bracelet::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.tv-bracelet-vert { background: rgba(106, 176, 122, 0.15); color: var(--tv-success); }
.tv-bracelet-or { background: rgba(201, 167, 90, 0.15); color: var(--tv-gold); }
.tv-bracelet-rouge { background: rgba(212, 84, 60, 0.15); color: var(--tv-danger); }

/* ============================================================================
   FOOTER — bas de page
   ============================================================================ */
.site-footer,
.elementor-location-footer {
  background: var(--tv-bg-alt);
  border-top: 1px solid var(--tv-border);
  color: var(--tv-cream-dim);
  padding-top: 4rem;
}

.site-footer h4,
.elementor-location-footer h4 {
  color: var(--tv-gold);
  font-family: var(--tv-font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}

/* ============================================================================
   RESPONSIVE — mobile tweaks
   ============================================================================ */
@media (max-width: 767px) {
  body { font-size: 15px; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .elementor-button { padding: 12px 24px !important; }
  .tv-card { padding: 20px; }
}

/* ============================================================================
   V2 — STYLES POUR LE THÈME COMPLET (header, footer, page templates)
   ============================================================================ */

/* Container principal */
.tv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .tv-container { padding: 0 1rem; }
}

/* Skip link accessibilité */
.tv-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tv-gold);
  color: var(--tv-bg);
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.tv-skip-link:focus { left: 0; }

/* ============================================================================
   HEADER
   ============================================================================ */
.tv-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 13, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tv-border);
  transition: background 0.2s, box-shadow 0.2s;
}

.tv-header.is-scrolled {
  background: rgba(15, 13, 11, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.tv-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .tv-header-inner { padding: 0 1rem; height: 64px; }
}

/* Logo */
.tv-header-brand { display: flex; align-items: center; flex-shrink: 0; }
.tv-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--tv-cream);
}
.tv-logo-link:hover { color: var(--tv-cream); }
.tv-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tv-logo-text {
  font-family: var(--tv-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tv-logo-text i {
  font-style: italic;
  color: var(--tv-gold-bright);
  font-weight: 700;
}

/* Logo customisé (uploadé via Customizer) */
.custom-logo-link img { max-height: 44px; width: auto; }

/* Navigation desktop */
.tv-nav-desktop {
  flex: 1;
  display: flex;
  justify-content: center;
}

.tv-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tv-menu-item { position: relative; }

.tv-menu-link {
  display: inline-block;
  padding: 8px 14px;
  font-family: var(--tv-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tv-cream-dim);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.tv-menu-link:hover,
.tv-menu-item.current-menu-item > .tv-menu-link {
  color: var(--tv-gold);
  background: rgba(201, 167, 90, 0.06);
}

/* Sous-menus */
.tv-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  margin: 8px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.tv-menu-item:hover > .tv-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tv-submenu .tv-menu-link {
  display: block;
  padding: 10px 14px;
}

/* Cacher nav desktop sur mobile */
@media (max-width: 1024px) {
  .tv-nav-desktop { display: none; }
}

/* Actions (cart, account, mobile toggle) */
.tv-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.tv-cart-link,
.tv-login-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--tv-cream-dim);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.tv-cart-link:hover,
.tv-login-link:hover {
  color: var(--tv-gold);
  background: rgba(201, 167, 90, 0.08);
}

.tv-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--tv-gold);
  color: var(--tv-bg);
  font-family: var(--tv-font-mono);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Bouton mobile burger */
.tv-menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 12px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  transition: background 0.15s;
}
.tv-menu-toggle:hover { background: rgba(201, 167, 90, 0.08); }

.tv-burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tv-cream);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.tv-menu-toggle.is-open .tv-burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--tv-gold);
}
.tv-menu-toggle.is-open .tv-burger-line:nth-child(2) { opacity: 0; }
.tv-menu-toggle.is-open .tv-burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--tv-gold);
}

@media (max-width: 1024px) {
  .tv-menu-toggle { display: flex; }
}

/* Mobile menu drawer */
.tv-mobile-menu {
  position: fixed;
  top: 64px;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 340px;
  background: var(--tv-bg-alt);
  border-left: 1px solid var(--tv-border);
  z-index: 99;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}
.tv-mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.tv-mobile-menu-inner { padding: 24px; }

.tv-mobile-nav {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.tv-mobile-nav .tv-menu-item {
  border-bottom: 1px solid var(--tv-border);
}
.tv-mobile-nav .tv-menu-link {
  display: block;
  padding: 16px 0;
  font-size: 1rem;
  color: var(--tv-cream);
  border-radius: 0;
}
.tv-mobile-nav .tv-menu-link:hover { background: transparent; }

.tv-mobile-cta { margin-bottom: 32px; }

.tv-mobile-contact a { color: var(--tv-cream); text-decoration: none; }
.tv-mobile-contact a:hover { color: var(--tv-gold); }

body.tv-menu-locked { overflow: hidden; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.tv-footer {
  background: var(--tv-bg-alt);
  border-top: 1px solid var(--tv-border);
  color: var(--tv-cream-dim);
  margin-top: 0;
}

.tv-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 1.5rem;
}

.tv-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .tv-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .tv-footer-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .tv-footer-inner { padding: 3rem 1rem 1rem; }
  .tv-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.tv-footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tv-footer-description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--tv-cream-dim);
  max-width: 380px;
  margin-bottom: 20px;
}

.tv-footer-socials {
  display: flex;
  gap: 8px;
}

.tv-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  color: var(--tv-cream-dim);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.tv-footer-social:hover {
  color: var(--tv-gold);
  border-color: var(--tv-gold);
  background: rgba(201, 167, 90, 0.06);
}

.tv-footer-title {
  font-family: var(--tv-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tv-gold);
  font-weight: 500;
  margin: 0 0 1rem;
}

.tv-footer-menu,
.tv-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tv-footer-menu li {
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
}

.tv-footer-menu a,
.tv-footer-menu li a {
  color: var(--tv-cream-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.tv-footer-menu a:hover { color: var(--tv-gold); }

.tv-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.tv-footer-contact li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--tv-gold);
}

.tv-footer-whatsapp {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(106, 176, 122, 0.1);
  border: 1px solid var(--tv-success);
  color: var(--tv-success);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.tv-footer-whatsapp:hover {
  background: rgba(106, 176, 122, 0.2);
  color: var(--tv-success);
}

.tv-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tv-border);
}

.tv-footer-copyright {
  font-family: var(--tv-font-mono);
  font-size: 0.75rem;
  color: var(--tv-muted-dark);
}

.tv-footer-legal-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.tv-footer-legal-menu li { font-size: 0.75rem; margin: 0; }
.tv-footer-legal-menu a { color: var(--tv-muted); text-decoration: none; }
.tv-footer-legal-menu a:hover { color: var(--tv-gold); }

/* WhatsApp floating button */
.tv-whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tv-whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: white;
}

/* ============================================================================
   PAGE HERO (pages internes : FAQ, Contact, etc.)
   ============================================================================ */
.tv-page-hero {
  background: linear-gradient(180deg, var(--tv-bg-alt), var(--tv-bg));
  border-bottom: 1px solid var(--tv-border);
  padding: 5rem 0 4rem;
}

.tv-page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.tv-page-hero-subtitle {
  font-size: 1.125rem;
  color: var(--tv-cream-dim);
  max-width: 640px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .tv-page-hero { padding: 3rem 0 2.5rem; }
}

/* ============================================================================
   HOMEPAGE HERO
   ============================================================================ */
.tv-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.tv-hero-content {
  max-width: 800px;
}

.tv-hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  color: var(--tv-cream);
}

.tv-hero-title i {
  font-style: italic;
  background: linear-gradient(135deg, var(--tv-gold-bright), var(--tv-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tv-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--tv-cream-dim);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

.tv-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tv-hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tv-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--tv-muted);
}
.tv-trust-item svg { color: var(--tv-gold); }

@media (max-width: 768px) {
  .tv-hero { min-height: 70vh; padding: 3rem 0 3rem; }
  .tv-hero-actions .elementor-button { width: 100%; text-align: center; }
}

/* ============================================================================
   SECTION HEADERS
   ============================================================================ */
.tv-section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .tv-section { padding: 3rem 0; }
}

.tv-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.tv-section-header h2 {
  margin: 0.5rem 0 1rem;
}

.tv-section-lead {
  font-size: 1.05rem;
  color: var(--tv-cream-dim);
  line-height: 1.6;
}

/* ============================================================================
   EVENT CARDS GRID
   ============================================================================ */
.tv-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.tv-event-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.tv-event-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #3a1f0e, #c9a75a, #1a0e08);
  position: relative;
}

.tv-event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.tv-event-card:hover .tv-event-card-media img { transform: scale(1.05); }

.tv-event-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tv-surface), var(--tv-surface-light));
}

.tv-event-card-month {
  font-family: var(--tv-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--tv-gold);
  margin-bottom: 4px;
}

.tv-event-card-day {
  font-family: var(--tv-font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--tv-cream);
  line-height: 1;
}

.tv-event-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.tv-event-card-date {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tv-gold);
  margin-bottom: 0.5rem;
}

.tv-event-card-title {
  font-family: var(--tv-font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.tv-event-card-title a {
  color: var(--tv-cream);
  text-decoration: none;
}
.tv-event-card-title a:hover { color: var(--tv-gold); }

.tv-event-card-venue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--tv-cream-dim);
  margin: 0 0 1rem;
}

.tv-event-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--tv-border);
}

.tv-event-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--tv-gold);
  font-weight: 500;
  text-decoration: none;
}
.tv-event-card-cta:hover { color: var(--tv-gold-bright); }

/* ============================================================================
   FEATURES GRID
   ============================================================================ */
.tv-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tv-feature-card {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.tv-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 167, 90, 0.4);
  box-shadow: var(--tv-shadow-card);
}

.tv-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(201, 167, 90, 0.1);
  border: 1px solid rgba(201, 167, 90, 0.25);
  border-radius: 14px;
  color: var(--tv-gold);
  margin-bottom: 1.25rem;
}

.tv-feature-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}
.tv-feature-card p {
  font-size: 0.95rem;
  color: var(--tv-cream-dim);
  margin: 0;
  line-height: 1.65;
}

/* ============================================================================
   CTA ORGANIZERS BLOCK
   ============================================================================ */
.tv-cta-card {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--tv-surface) 0%, var(--tv-surface-light) 100%);
  border: 1px solid var(--tv-border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.tv-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 167, 90, 0.08), transparent 60%);
  pointer-events: none;
}

.tv-cta-text { position: relative; z-index: 1; }
.tv-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tv-cta-actions .elementor-button {
  width: 100%;
  text-align: center;
}

.tv-cta-text h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.tv-cta-text p {
  margin: 0;
  color: var(--tv-cream-dim);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .tv-cta-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
}

/* ============================================================================
   STEPS (3 étapes pour organisateurs)
   ============================================================================ */
.tv-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.tv-step {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.tv-step-number {
  font-family: var(--tv-font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--tv-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.tv-step h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.tv-step p {
  color: var(--tv-cream-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================================
   PRICING
   ============================================================================ */
.tv-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.tv-pricing-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
}

.tv-pricing-card-featured {
  background: linear-gradient(135deg, var(--tv-surface-light), var(--tv-surface));
  border: 2px solid var(--tv-gold);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transform: scale(1.02);
}

.tv-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tv-gold);
  color: var(--tv-bg);
  padding: 4px 16px;
  border-radius: 999px;
  font-family: var(--tv-font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tv-pricing-header h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.tv-pricing-tagline {
  color: var(--tv-cream-dim);
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}

.tv-pricing-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--tv-border);
}

.tv-pricing-percent {
  font-family: var(--tv-font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--tv-gold);
  line-height: 1;
  display: inline-block;
}

.tv-pricing-percent-symbol {
  font-size: 2rem;
  vertical-align: super;
  margin-left: 4px;
}

.tv-pricing-detail {
  display: block;
  color: var(--tv-cream-dim);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.tv-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.tv-pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--tv-cream-dim);
  line-height: 1.5;
}

.tv-pricing-disclaimer {
  margin-top: 3rem;
  text-align: center;
}
.tv-pricing-disclaimer p {
  color: var(--tv-cream-dim);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================================
   ACCORDION (FAQ)
   ============================================================================ */
.tv-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tv-accordion-item {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.tv-accordion-item[open] {
  border-color: rgba(201, 167, 90, 0.4);
}

.tv-accordion-item summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--tv-cream);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.15s;
}
.tv-accordion-item summary::-webkit-details-marker { display: none; }

.tv-accordion-item summary:hover { color: var(--tv-gold); }

.tv-accordion-item summary::after {
  content: '+';
  font-family: var(--tv-font-mono);
  font-size: 1.5rem;
  color: var(--tv-gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.tv-accordion-item[open] summary::after {
  content: '−';
}

.tv-accordion-content {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--tv-border);
  padding-top: 1rem;
}

.tv-accordion-content p {
  color: var(--tv-cream-dim);
  margin: 0;
  line-height: 1.7;
}

/* FAQ catégories */
.tv-faq-category {
  margin-bottom: 3rem;
}

.tv-faq-category-title {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-faq-category-icon {
  font-size: 1.5rem;
}

/* ============================================================================
   CONTACT GRID (form + info)
   ============================================================================ */
.tv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .tv-contact-grid {
    grid-template-columns: 1fr;
  }
}

.tv-contact-form-wrap {
  padding: 2.5rem;
}

.tv-contact-info {
  position: sticky;
  top: 100px;
}

.tv-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--tv-border);
}
.tv-contact-item:last-child { border-bottom: 0; }

.tv-contact-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 167, 90, 0.1);
  border-radius: 8px;
  color: var(--tv-gold);
}

.tv-contact-label {
  display: block;
  font-family: var(--tv-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--tv-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tv-contact-item a,
.tv-contact-item span {
  color: var(--tv-cream);
  text-decoration: none;
  font-size: 0.95rem;
}
.tv-contact-item a:hover { color: var(--tv-gold); }

/* ============================================================================
   PROSE (contenu rédactionnel — mentions légales, blog, FAQ contenu)
   ============================================================================ */
.tv-prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--tv-cream-dim);
  font-size: 1rem;
  line-height: 1.75;
}

.tv-prose h2 {
  font-family: var(--tv-font-display);
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: var(--tv-cream);
}
.tv-prose h2:first-child { margin-top: 0; }

.tv-prose h3 {
  font-family: var(--tv-font-display);
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
  color: var(--tv-cream);
}

.tv-prose p {
  margin-bottom: 1.25rem;
}

.tv-prose ul,
.tv-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.tv-prose li {
  margin-bottom: 0.5rem;
}
.tv-prose ul li::marker { color: var(--tv-gold); }

.tv-prose strong { color: var(--tv-cream); font-weight: 600; }

.tv-prose a {
  color: var(--tv-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tv-prose a:hover { color: var(--tv-gold-bright); }

.tv-prose blockquote {
  border-left: 3px solid var(--tv-gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--tv-cream);
}

/* ============================================================================
   EMPTY STATE
   ============================================================================ */
.tv-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--tv-muted);
}

/* ============================================================================
   FAQ CTA card
   ============================================================================ */
.tv-faq-cta {
  padding: 3rem;
}
.tv-faq-cta h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.tv-faq-cta p {
  color: var(--tv-cream-dim);
  margin: 0;
}

/* ============================================================================
   ANIMATION fade-up déclenchée par IntersectionObserver
   ============================================================================ */
.tv-animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}
.tv-animate-on-scroll.tv-animated {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================================================
   STYLES BLOG, ARCHIVES, RECHERCHE, 404
   ======================================================================== */

/* Hero compact (pour archives, search, 404) */
.tv-hero-compact {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.tv-hero-compact .tv-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* Container narrow pour articles (lecture confortable) */
.tv-container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Article single */
.tv-article-header {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.tv-article-title {
  font-family: var(--tv-font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0.75rem auto 1.5rem;
  max-width: 800px;
  color: var(--tv-cream);
}

.tv-article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(245, 233, 212, 0.6);
}

.tv-article-sep {
  color: var(--tv-gold);
  opacity: 0.5;
}

.tv-article-thumb {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.tv-article-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.tv-article-body {
  padding: 0 0 clamp(3rem, 5vw, 5rem);
}

/* Tags */
.tv-article-tags {
  margin: 3rem 0 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201, 167, 90, 0.15);
}

.tv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tv-tags a {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(201, 167, 90, 0.1);
  border: 1px solid rgba(201, 167, 90, 0.25);
  border-radius: 100px;
  color: var(--tv-gold);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tv-tags a:hover {
  background: rgba(201, 167, 90, 0.2);
  border-color: var(--tv-gold);
}

/* Partage */
.tv-article-share {
  margin: 2rem 0 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201, 167, 90, 0.15);
}

.tv-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.tv-share-buttons .tv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.625rem 1.125rem;
}

/* Section articles similaires */
.tv-related {
  background: linear-gradient(180deg, transparent 0%, rgba(21, 18, 15, 0.5) 100%);
}

/* Pagination */
.tv-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.tv-pagination .nav-links,
.tv-pagination .navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.tv-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.875rem;
  background: rgba(21, 18, 15, 0.6);
  border: 1px solid rgba(201, 167, 90, 0.2);
  border-radius: 8px;
  color: var(--tv-cream);
  font-family: var(--tv-font-body);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tv-pagination .page-numbers:hover {
  background: rgba(201, 167, 90, 0.1);
  border-color: var(--tv-gold);
  color: var(--tv-gold);
}

.tv-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--tv-gold) 0%, var(--tv-gold-bright) 100%);
  border-color: var(--tv-gold);
  color: var(--tv-bg);
  font-weight: 700;
}

.tv-pagination .page-numbers.dots {
  background: transparent;
  border: none;
  color: rgba(245, 233, 212, 0.4);
}

/* État vide (pas de résultat, blog vide…) */
.tv-empty {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  max-width: 560px;
  margin: 0 auto;
}

.tv-empty h2 {
  font-family: var(--tv-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--tv-cream);
  margin: 0 0 1rem;
}

.tv-empty p {
  color: rgba(245, 233, 212, 0.7);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

/* Formulaire de recherche */
.tv-search-form {
  width: 100%;
}

.tv-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tv-search-wrap {
  display: flex;
  background: rgba(21, 18, 15, 0.8);
  border: 1px solid rgba(201, 167, 90, 0.25);
  border-radius: 12px;
  padding: 0.375rem;
  transition: border-color 0.2s ease;
}

.tv-search-wrap:focus-within {
  border-color: var(--tv-gold);
  box-shadow: 0 0 0 3px rgba(201, 167, 90, 0.15);
}

.tv-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.75rem 1rem;
  color: var(--tv-cream);
  font-family: var(--tv-font-body);
  font-size: 1rem;
}

.tv-search-input::placeholder {
  color: rgba(245, 233, 212, 0.4);
}

.tv-search-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.9375rem !important;
}

@media (max-width: 480px) {
  .tv-search-submit-text {
    display: none;
  }

  .tv-search-submit {
    padding: 0.75rem 0.875rem !important;
  }
}

/* Hero CTA buttons row */
.tv-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
  align-items: center;
}

@media (max-width: 480px) {
  .tv-hero-cta .tv-btn {
    width: 100%;
    justify-content: center;
  }
}

