/* ==========================================================================
   FESTIGO — REFONTE COMPLETE (fond colore + orange + bleu)
   Couche ULTIME chargee en dernier.
   Palette : orange #FF4D00 / bleu #2563EB / fond gradient
   ========================================================================== */

:root {
  --fg-orange: #FF4D00;
  --fg-orange-2: #FF7A2E;
  --fg-orange-3: #FFB347;
  --fg-blue: #2563EB;
  --fg-blue-2: #3B82F6;
  --fg-blue-dark: #1E40AF;
  --fg-gold: #FFB800;
  --fg-gradient: linear-gradient(135deg, #FF4D00 0%, #FF7A2E 40%, #2563EB 100%);
  --fg-gradient-reverse: linear-gradient(135deg, #2563EB 0%, #FF7A2E 40%, #FF4D00 100%);
  --fg-bg: #E8EDF5;
  --fg-surface: #FFFFFF;
  --fg-surface-accent: #FFF5F0;
  --fg-surface-blue: #EFF6FF;
  --fg-surface-2: #F0F4FF;
  --fg-line: #D1D9E6;
  --fg-line-strong: #B0BCCF;
  --fg-text: #0F172A;
  --fg-text-mid: #334155;
  --fg-text-low: #64748B;
  --fg-radius: 16px;
  --fg-radius-sm: 10px;
  --fg-shadow: 0 4px 24px -4px rgba(15,23,42,0.10);
  --fg-shadow-hover: 0 16px 40px -8px rgba(255,77,0,0.22);
  --primary-color: #FF4D00 !important;
  --heading-color: #0F172A;
}

/* BASE */
html,body {
  background: linear-gradient(180deg, #E8EDF5 0%, #D6DEEF 100%) !important;
  color: var(--fg-text-mid) !important;
  font-family: 'Inter','Plus Jakarta Sans',sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
body,.main-wrapper,.page-wrapper,.site-main,.bg-white,.bg-lighter,.light-bg,.default-bg {
  background: transparent !important;
}
h1,h2,h3,h4,h5,h6,.section-title h2,.event-title,.page-title {
  font-family: 'Plus Jakarta Sans','Inter',sans-serif !important;
  color: var(--fg-text) !important;
  letter-spacing: -0.015em;
}
p,span,li,label,.form-label,.text { color: var(--fg-text-mid); }
a { color: inherit; transition: color .2s ease; }
a:not(.btn):hover { color: var(--fg-orange) !important; }
::selection { background: var(--fg-orange); color: #fff; }

/* HEADER */
.main-header.rd-header,.site-header,.header-area {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 2px solid var(--fg-orange) !important;
  box-shadow: 0 4px 20px -4px rgba(255,77,0,0.12) !important;
}
.main-header.rd-header .main-menu > ul > li > a { color: var(--fg-text) !important; font-weight: 500; }
.main-header.rd-header .main-menu > ul > li > a:hover { color: var(--fg-orange) !important; }
.main-header.rd-header .logo img { filter: none !important; opacity: 1 !important; }
.main-header.rd-header a[class*="btn"],.main-header.rd-header .menu-btn a,.navbar-btn a {
  background: var(--fg-gradient) !important; color: #fff !important; border-radius: 999px !important;
  padding: 10px 22px !important; font-weight: 600 !important;
  box-shadow: 0 6px 20px -4px rgba(255,77,0,0.45);
}

/* BOUTONS */
.theme-btn,.main-btn,.rd-more-btn,a.btn,button.btn,input[type="submit"],input[type="button"],.btn-primary {
  background: var(--fg-gradient) !important; color: #fff !important; border-radius: 999px !important;
  font-weight: 600 !important; border: none !important;
  box-shadow: 0 6px 20px -4px rgba(255,77,0,0.40) !important;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}
.theme-btn:hover,.main-btn:hover,.rd-more-btn:hover,a.btn:hover,button.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -6px rgba(255,77,0,0.50) !important;
  filter: brightness(1.08);
}

/* HERO */
.rd-hero,.hero-section.rd-hero {
  background:
    radial-gradient(55% 55% at 85% -5%, rgba(37,99,235,0.28) 0%, rgba(37,99,235,0) 60%),
    radial-gradient(45% 50% at 5% 100%, rgba(255,77,0,0.22) 0%, rgba(255,77,0,0) 55%),
    linear-gradient(135deg, #FF4D00 0%, #FF7A2E 40%, #2563EB 100%) !important;
  border-bottom: 3px solid var(--fg-gold) !important;
}
.rd-hero h1,.rd-hero .hero-content h1 { color: #fff !important; font-weight: 800; text-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.rd-hero .hero-content p { color: rgba(255,255,255,0.92) !important; font-size: 17px; }
.rd-hero .rd-eyebrow,.rd-hero .rd-kicker,.rd-cat-pill i { color: #fff !important; opacity: 0.9; }

/* CARDS */
.rd-ticket-card,.event-item,.event-card,.card {
  background: var(--fg-surface) !important;
  border: 1px solid var(--fg-line) !important;
  border-top: 3px solid var(--fg-orange) !important;
  border-radius: var(--fg-radius) !important;
  box-shadow: var(--fg-shadow) !important;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.rd-ticket-card:hover,.event-item:hover,.event-card:hover {
  transform: translateY(-8px);
  border-top-color: var(--fg-blue) !important;
  box-shadow: var(--fg-shadow-hover) !important;
}
.rd-ticket-card h3 a,.event-content h5 a { color: var(--fg-text) !important; }
.rd-ticket-card h3 a:hover,.event-content h5 a:hover { color: var(--fg-orange) !important; }
.rd-ticket-card .rd-price,.event-content .price { color: var(--fg-orange) !important; font-weight: 800; font-size: 18px; }
.rd-ticket-card .rd-price-from { color: var(--fg-text-low) !important; }

/* BADGES */
.event-content .time-info li,.rd-time-chip,.rd-countdown-pill,.rd-cat-pill {
  background: var(--fg-surface-accent) !important; border: 1px solid rgba(255,77,0,0.15) !important;
  color: var(--fg-orange) !important; border-radius: 999px; font-weight: 600;
}
.event-content .time-info li i,.rd-meta i { color: var(--fg-blue) !important; }
.rd-cat-pill--active,.rd-cat-pill--active:hover {
  background: var(--fg-gradient) !important; color: #fff !important; border-color: transparent !important;
}

/* SECTIONS */
.section-title h2,.rd-top-events-head h2 { position: relative; padding-bottom: 14px; }
.section-title h2::after,.rd-top-events-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px;
  border-radius: 3px; background: var(--fg-gradient);
}

/* SIDEBAR / WIDGETS */
.rd-sidebar .widget,.widget {
  background: var(--fg-surface) !important; border: 1px solid var(--fg-line) !important;
  border-left: 4px solid var(--fg-orange) !important;
  border-radius: var(--fg-radius) !important; box-shadow: var(--fg-shadow) !important;
}
.rd-sidebar .widget-title { color: var(--fg-text) !important; font-weight: 700; font-size: 16px; }
.rd-sidebar input[type="text"],.rd-sidebar select,
input[type="text"],input[type="email"],input[type="password"],input[type="search"],input[type="number"],
select,textarea,.form-control,.nice-select,.select2-container .select2-selection--single {
  background: var(--fg-surface-blue) !important; color: var(--fg-text) !important;
  border: 1px solid var(--fg-line-strong) !important; border-radius: var(--fg-radius-sm) !important;
}
input:focus,select:focus,textarea:focus,.form-control:focus {
  border-color: var(--fg-orange) !important;
  box-shadow: 0 0 0 3px rgba(255,77,0,0.10) !important;
}
input::placeholder,textarea::placeholder { color: var(--fg-text-low) !important; }
.form-group label,.form-label { color: var(--fg-text) !important; font-weight: 600; }

/* MODALS */
.modal-content,.select2-dropdown,.dropdown-menu,.daterangepicker,.nice-select .list {
  background-color: var(--fg-surface) !important; color: var(--fg-text-mid) !important;
  border: 2px solid var(--fg-orange) !important;
}
.modal-header,.modal-footer { border-color: var(--fg-line) !important; }
.modal-title,.modal h4,.modal h5 { color: var(--fg-text) !important; }

/* PAGINATION */
.pagination .page-link {
  background: var(--fg-surface) !important; color: var(--fg-text-mid) !important;
  border: 1px solid var(--fg-line) !important; border-radius: 999px !important;
}
.pagination .page-item.active .page-link,.pagination .page-link:hover {
  background: var(--fg-gradient) !important; color: #fff !important; border-color: transparent !important;
  box-shadow: 0 6px 16px -4px rgba(255,77,0,0.35);
}

/* TABLES */
.table,.table td,.table th { color: var(--fg-text-mid) !important; border-color: var(--fg-line) !important; }
.table thead th { color: #fff !important; background: var(--fg-gradient) !important; }

/* FOOTER */
.site-footer,.footer-area,footer {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%) !important;
  color: #CBD5E1 !important; border-top: 3px solid var(--fg-orange) !important;
}
.site-footer h4,.footer-area h4,.footer-title,.footer-widget h4 { color: #fff !important; }
.footer-area a,.site-footer a,.footer-links a,.footer-widget li a { color: #94A3B8 !important; }
.footer-area a:hover,.footer-widget li a:hover { color: var(--fg-orange) !important; }

/* SEARCH BAR */
.event-search {
  background: var(--fg-surface) !important; border: 2px solid var(--fg-orange) !important;
  border-radius: 16px !important; box-shadow: 0 8px 32px -8px rgba(255,77,0,0.15) !important;
}
.event-search .search-item label { color: var(--fg-orange) !important; }
.event-search select,.event-search input { color: var(--fg-text) !important; background: transparent !important; }

/* FAVORI */

/* ===================== ACCENT ORANGE SUR TOUT L'ACCUEIL ===================== */

/* TITRES DE SECTION — soulignement orange vif */
.section-title h2::after,
.rd-top-events-head h2::after {
  background: linear-gradient(90deg, #FF4D00, #FF7A2E) !important;
  height: 5px !important;
  width: 70px !important;
}

/* ABOUT SECTION */
.about-section {
  background: linear-gradient(135deg, #FFF5F0 0%, #EFF6FF 100%) !important;
  border-top: 3px solid #FF4D00 !important;
  border-bottom: 3px solid #2563EB !important;
}
.about-content {
  border-left: 4px solid #FF4D00 !important;
  padding-left: 20px !important;
}
.about-content h3, .about-content h4 { color: #FF4D00 !important; }

/* FEATURE SECTION */
.feature-section {
  background: #FFF5F0 !important;
  border-top: 3px solid #FF4D00 !important;
}
.feature-item {
  border-left: 4px solid #FF4D00 !important;
}
.feature-item h4, .feature-item h5, .feature-item h3 { color: #FF4D00 !important; }
.feature-item i, .feature-item .icon { color: #FF4D00 !important; }
.feature-item:hover { border-left-color: #2563EB !important; }

/* CATEGORY SECTION */
.category-section {
  background: linear-gradient(180deg, #EFF6FF 0%, #FFF5F0 100%) !important;
  border-top: 3px solid #2563EB !important;
}
.category-item { border-top: 3px solid #FF4D00 !important; }
.category-item:hover { border-top-color: #2563EB !important; }
.category-wrap {
  background: linear-gradient(135deg, rgba(255,77,0,0.85), rgba(37,99,235,0.85)) !important;
}
.rd-fav-btn,.event-content .wishlist-btn {
  background: rgba(255,255,255,0.95) !important; color: var(--fg-text-mid) !important;
  border: 1px solid var(--fg-line) !important;
}
.rd-fav-btn:hover { color: var(--fg-orange) !important; }
.rd-fav-btn.bg-success { background: var(--fg-orange) !important; color: #fff !important; }

/* FOCUS */
:focus-visible { outline: 2px solid var(--fg-orange); outline-offset: 2px; }

/* FORMULAIRE CREATE EVENT */
.event-create-form .card { background: var(--fg-surface) !important; border: 1px solid var(--fg-line) !important; border-top: 3px solid var(--fg-blue) !important; border-radius: var(--fg-radius) !important; box-shadow: var(--fg-shadow) !important; padding: 28px !important; margin-bottom: 24px; }
.event-create-form .card-title { font-size: 18px; font-weight: 700; color: var(--fg-orange); border-bottom: 2px solid var(--fg-orange); padding-bottom: 10px; margin-bottom: 20px; }
.event-create-form label { font-weight: 600; color: var(--fg-text); margin-bottom: 6px; font-size: 14px; }
.event-create-form .form-group { margin-bottom: 18px; }
.event-create-form .selectgroup-item input:checked + .selectgroup-button { background: var(--fg-gradient) !important; color: #fff !important; border-color: transparent !important; }
.event-create-form .text-warning { background: #FFF7ED; padding: 8px 12px; border-radius: 8px; font-size: 13px; margin-top: 6px; border-left: 3px solid var(--fg-orange); }

/* BREADCRUMB BANNER */
.page-banner { position: relative; }
.page-banner.overlay::before { background: linear-gradient(135deg, #FF4D00 0%, #FF7A2E 40%, #2563EB 100%) !important; opacity: 0.9; }
.page-banner .page-title { color: #fff !important; font-weight: 800; text-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.page-banner .breadcrumb { background: rgba(255,255,255,0.15); border-radius: 999px; padding: 8px 16px; }
.page-banner .breadcrumb a,.page-banner .breadcrumb-item,.page-banner .breadcrumb-item.active { color: #fff !important; }

/* SECTION ABOUT / FEATURES */
.about-section,.feature-section,.how-it-work-section {
  background: var(--fg-surface-blue) !important;
  border-radius: var(--fg-radius);
  padding: 40px;
  margin: 24px 0;
}
.feature-item,.about-content,.how-it-work-item {
  background: var(--fg-surface) !important;
  border: 1px solid var(--fg-line) !important;
  border-top: 3px solid var(--fg-blue) !important;
  border-radius: var(--fg-radius) !important;
  box-shadow: var(--fg-shadow) !important;
  padding: 24px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.feature-item:hover,.about-content:hover,.how-it-work-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--fg-shadow-hover) !important;
}

/* ===================== PAGE DE VOTE ===================== */
.vote-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.vote-header {
  background: linear-gradient(135deg, #FF4D00 0%, #FF7A2E 40%, #2563EB 100%);
  color: #fff;
  padding: 40px 30px;
  text-align: center;
}

.vote-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.vote-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.vote-desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.vote-meta .badge {
  margin: 0 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
}

.vote-form {
  padding: 30px;
}

.vote-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.vote-option {
  cursor: pointer;
  margin: 0;
}

.vote-option input[type="radio"] {
  display: none;
}

.vote-option-card {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.vote-option:hover .vote-option-card {
  border-color: #FF4D00;
  background: #FFF5F0;
}

.vote-option input:checked + .vote-option-card {
  border-color: #FF4D00;
  background: #FFF5F0;
  box-shadow: 0 4px 16px -4px rgba(255,77,0,0.25);
}

.vote-opt-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 16px;
}

.vote-opt-info {
  flex: 1;
}

.vote-opt-info strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a2e;
}

.vote-opt-info span {
  font-size: 13px;
  color: #64748b;
}

.vote-opt-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 18px;
  transition: all 0.3s ease;
}

.vote-option input:checked + .vote-option-card .vote-opt-check {
  background: #FF4D00;
  border-color: #FF4D00;
  color: #fff;
}

.vote-btn {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 14px;
}

/* EVENTS SECTION */
.events-section {
  background: #FFF5F0 !important;
  border-top: 3px solid #FF4D00 !important;
}
.event-item {
  border-top: 3px solid #FF4D00 !important;
}
.event-item:hover {
  border-top-color: #2563EB !important;
}

/* RD TICKET CARD */
.rd-ticket-card {
  border-top: 3px solid #FF4D00 !important;
}
.rd-ticket-card:hover {
  border-top-color: #2563EB !important;
}

/* RD CAT PILLS */
.rd-cat-pill {
  background: rgba(255,77,0,0.08) !important;
  border: 1px solid rgba(255,77,0,0.20) !important;
  color: #FF4D00 !important;
}
.rd-cat-pill:hover {
  background: rgba(255,77,0,0.15) !important;
  border-color: #FF4D00 !important;
}
.rd-cat-pill--active, .rd-cat-pill--active:hover {
  background: linear-gradient(135deg, #FF4D00, #FF7A2E) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* RD DATE CHIP */
.rd-date-chip {
  background: linear-gradient(135deg, #FF4D00, #FF7A2E) !important;
  color: #fff !important;
}
.rd-date-chip .rd-day, .rd-date-chip .rd-month { color: #fff !important; }

/* RD COUNTDOWN PILL */
.rd-countdown-pill {
  background: linear-gradient(135deg, #FF4D00, #FFB347) !important;
  color: #fff !important;
}

/* RD TIME CHIP */
.rd-time-chip {
  background: rgba(255,77,0,0.10) !important;
  border: 1px solid rgba(255,77,0,0.20) !important;
  color: #FF4D00 !important;
}
.rd-time-chip i { color: #FF4D00 !important; }

/* RD PRICE */
.rd-ticket-card .rd-price, .rd-price {
  color: #FF4D00 !important;
  font-weight: 800 !important;
}

/* RD META */
.rd-meta i { color: #FF4D00 !important; }

/* RD DIVIDER */
.rd-divider {
  background: linear-gradient(90deg, #FF4D00, transparent) !important;
  height: 2px !important;
}

/* RD FOOTER ROW */
.rd-footer-row {
  border-top: 1px solid rgba(255,77,0,0.15) !important;
}

/* RD MORE BTN */
.rd-more-btn {
  background: linear-gradient(135deg, #FF4D00, #FF7A2E) !important;
  color: #fff !important;
}

/* RD FAV BTN */
.rd-fav-btn:hover { color: #FF4D00 !important; }
.rd-fav-btn.bg-success { background: #FF4D00 !important; }

/* SECTION TITLE TEXT */
.section-title h2, .rd-top-events-head h2 { color: #0F172A !important; }
.section-title p, .rd-top-events-head p { color: #FF4D00 !important; font-weight: 600 !important; }
.rd-eyebrow, .rd-kicker { color: #FF4D00 !important; font-weight: 700 !important; }

/* SEARCH BAR */
.event-search { border: 2px solid #FF4D00 !important; }
.event-search .search-item label { color: #FF4D00 !important; }
.event-search .theme-btn { background: linear-gradient(135deg, #FF4D00, #FF7A2E) !important; }

/* PAGINATION */
.pagination .page-link { border: 1px solid rgba(255,77,0,0.20) !important; }
.pagination .page-item.active .page-link { background: linear-gradient(135deg, #FF4D00, #FF7A2E) !important; }

/* TABLES */
.table thead th { background: linear-gradient(135deg, #FF4D00, #FF7A2E) !important; color: #fff !important; }

/* WIDGETS */
.rd-sidebar .widget { border-left: 4px solid #FF4D00 !important; }
.rd-sidebar .widget-title { color: #FF4D00 !important; border-bottom: 2px solid #FF4D00 !important; }

/* FOOTER */
.site-footer, .footer-area, footer { border-top: 3px solid #FF4D00 !important; }
.site-footer h4, .footer-area h4 { color: #FF4D00 !important; }

/* BOUTONS */
.theme-btn, .main-btn, .rd-more-btn, a.btn, button.btn, input[type="submit"], .btn-primary {
  background: linear-gradient(135deg, #FF4D00, #FF7A2E) !important;
  box-shadow: 0 6px 20px -4px rgba(255,77,0,0.40) !important;
}
.theme-btn:hover, .main-btn:hover, .rd-more-btn:hover, a.btn:hover, button.btn:hover {
  box-shadow: 0 14px 34px -6px rgba(255,77,0,0.50) !important;
}

/* FOCUS */
:focus-visible { outline-color: #FF4D00 !important; }

/* SELECTION */
::selection { background: #FF4D00 !important; }
