/* ============================================
   TRÉSOR VOYAGES – Custom CSS
   Color Palette:
   - Primary Green: #0D7C3F
   - Gold: #D4A843
   - Dark Navy: #0A1628
   - Light BG: #F7F9FC
   ============================================ */

/* ====== CSS Custom Properties ====== */
:root {
  --tv-primary: #0D7C3F;
  --tv-primary-light: #11A352;
  --tv-primary-dark: #095C2E;
  --tv-gold: #D4A843;
  --tv-gold-light: #E8C46A;
  --tv-gold-dark: #B08A30;
  --tv-navy: #0A1628;
  --tv-navy-light: #142640;
  --tv-dark: #111827;
  --tv-gray-900: #1F2937;
  --tv-gray-800: #374151;
  --tv-gray-700: #4B5563;
  --tv-gray-600: #6B7280;
  --tv-gray-500: #9CA3AF;
  --tv-gray-400: #D1D5DB;
  --tv-gray-300: #E5E7EB;
  --tv-gray-200: #F3F4F6;
  --tv-gray-100: #F7F9FC;
  --tv-white: #FFFFFF;
  --tv-amber: #F59E0B;
  --tv-teal: #14B8A6;
  --tv-rose: #F43F5E;
  --tv-purple: #8B5CF6;
  --tv-blue: #3B82F6;

  --tv-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --tv-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --tv-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --tv-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --tv-shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.15);

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

  --tv-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tv-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --tv-font-display: 'Playfair Display', Georgia, serif;
}

/* ====== Reset & Base ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--tv-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tv-gray-700);
  background-color: var(--tv-white);
  background-image: radial-gradient(var(--tv-gray-200) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--tv-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--tv-font);
  font-weight: 700;
  color: var(--tv-navy);
  line-height: 1.3;
}

.tv-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== Preloader ====== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--tv-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
  position: relative;
}

.loader-ring {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--tv-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

.loader-logo {
  width: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ====== Subtle Text Gradient (or Solid) ====== */
.tv-text-gradient {
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== Buttons ====== */
.tv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--tv-radius-full);
  font-family: var(--tv-font);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tv-transition);
  white-space: nowrap;
  text-decoration: none;
}

.tv-btn:hover {
  text-decoration: none;
}

.tv-btn-primary {
  background: var(--tv-primary);
  color: var(--tv-white);
  border-color: var(--tv-primary);
  box-shadow: 0 4px 15px rgba(13, 124, 63, 0.2);
}

.tv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 124, 63, 0.3);
  background: var(--tv-primary-light);
  color: var(--tv-white);
}

.tv-btn-outline {
  background: transparent;
  color: var(--tv-primary);
  border-color: var(--tv-primary);
}

.tv-btn-outline:hover {
  background: var(--tv-primary);
  color: var(--tv-white);
  transform: translateY(-2px);
}

.tv-btn-sm {
  padding: 6px 16px;
  font-size: 0.82rem;
}

.tv-btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.tv-btn-block {
  width: 100%;
}

/* ====== NAVBAR ====== */
.tv-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all var(--tv-transition);
  background: transparent;
}

.tv-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.tv-navbar.scrolled .tv-brand-name,
.tv-navbar.scrolled .tv-nav-link {
  color: var(--tv-navy);
}

.tv-navbar.scrolled .tv-brand-sub {
  color: var(--tv-primary);
  /* Using primary green for more professional look on white, or stick to gold dark */
}

.tv-navbar.scrolled .tv-nav-link:hover,
.tv-navbar.scrolled .tv-nav-link.active {
  background: rgba(13, 124, 63, 0.05);
  color: var(--tv-primary);
}

.tv-navbar.scrolled .tv-navbar-toggle span {
  background: var(--tv-navy);
}

.tv-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tv-navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.tv-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.tv-navbar.scrolled .tv-logo {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.tv-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.tv-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tv-white);
  letter-spacing: -0.5px;
}

.tv-brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--tv-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tv-navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tv-nav-link {
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--tv-radius-sm);
  transition: all var(--tv-transition);
  position: relative;
}

.tv-nav-link:hover,
.tv-nav-link.active {
  color: var(--tv-white);
  background: rgba(255, 255, 255, 0.1);
}

.tv-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--tv-gold);
  border-radius: 2px;
}

.tv-nav-cta {
  margin-left: 8px;
}

/* Mobile Toggle */
.tv-navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.tv-navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tv-white);
  border-radius: 2px;
  transition: all var(--tv-transition);
}

.tv-navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.tv-navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.tv-navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ====== HERO ====== */
.tv-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.tv-hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--tv-navy);
  background-image: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?q=80&w=2069&auto=format&fit=crop');
  /* Professional Bus at night/dark background */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.tv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 22, 40, 0.8) 0%,
      rgba(10, 22, 40, 0.6) 50%,
      rgba(10, 22, 40, 0.9) 100%);
}

.tv-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tv-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.tv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: var(--tv-radius-full);
  color: var(--tv-gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.tv-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--tv-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.tv-hero h1 .tv-text-gradient {
  color: var(--tv-gold);
  background: none;
  -webkit-text-fill-color: initial;
}

.tv-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 550px;
}

.tv-hero-subtitle strong {
  color: var(--tv-gold);
}

.tv-hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tv-radius-lg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.tv-stat-item {
  text-align: center;
}

.tv-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tv-gold);
  display: inline;
}

.tv-stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tv-gold);
}

.tv-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  font-weight: 500;
}

.tv-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Booking Widget */
.tv-booking-widget {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--tv-radius-xl);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.tv-booking-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.05) 0%, transparent 70%);
  z-index: -1;
}

.tv-booking-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--tv-white);
}

.tv-booking-header i {
  font-size: 1.3rem;
  color: var(--tv-gold);
}

.tv-booking-header h3 {
  font-size: 1.2rem;
  color: var(--tv-white);
  font-weight: 700;
}

.tv-booking-form .tv-form-group {
  margin-bottom: 16px;
}

.tv-booking-form label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.tv-booking-form label i {
  margin-right: 6px;
  color: var(--tv-gold);
}

.tv-booking-form select,
.tv-booking-form input[type="date"] {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--tv-radius);
  color: var(--tv-white);
  font-family: var(--tv-font);
  font-size: 0.95rem;
  transition: all var(--tv-transition);
  -webkit-appearance: none;
  appearance: none;
}

.tv-booking-form select:focus,
.tv-booking-form input[type="date"]:focus {
  outline: none;
  border-color: var(--tv-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.2);
}

.tv-booking-form select option {
  background: var(--tv-navy);
  color: var(--tv-white);
}

.tv-booking-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.tv-booking-note {
  text-align: center;
  margin-top: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.tv-booking-note i {
  margin-right: 4px;
}

.tv-booking-note a {
  color: var(--tv-gold);
  text-decoration: underline;
}

/* Scroll Indicator */
.tv-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
}

.tv-scroll-indicator a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: color var(--tv-transition);
}

.tv-scroll-indicator a:hover {
  color: var(--tv-gold);
}

.tv-scroll-indicator i {
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(8px);
  }

  60% {
    transform: translateY(4px);
  }
}

/* ====== SECTIONS ====== */
.tv-section {
  padding: 100px 0;
  position: relative;
}

.tv-section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.tv-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(13, 124, 63, 0.08);
  color: var(--tv-primary);
  border-radius: var(--tv-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.tv-section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.tv-section-header p {
  font-size: 1.05rem;
  color: var(--tv-gray-600);
  line-height: 1.7;
}

/* ====== SERVICES ====== */
.tv-services {
  background: var(--tv-gray-100);
}

.tv-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tv-service-card {
  background: var(--tv-white);
  border-radius: var(--tv-radius-lg);
  padding: 36px;
  box-shadow: var(--tv-shadow);
  border: 1px solid var(--tv-gray-300);
  transition: all var(--tv-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tv-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tv-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tv-transition);
}

.tv-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tv-shadow-lg);
}

.tv-service-card:hover::before {
  transform: scaleX(1);
}

.tv-service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--tv-radius);
  background: linear-gradient(135deg, rgba(13, 124, 63, 0.1), rgba(13, 124, 63, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--tv-primary);
  margin-bottom: 20px;
  transition: all var(--tv-transition);
}

.tv-service-card:hover .tv-service-icon {
  background: var(--tv-primary);
  color: var(--tv-white);
  transform: scale(1.05);
}

.tv-service-icon.tv-icon-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  color: var(--tv-amber);
}

.tv-service-card:hover .tv-icon-amber {
  background: linear-gradient(135deg, var(--tv-amber), #d4890a);
  color: var(--tv-white);
}

.tv-service-icon.tv-icon-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.05));
  color: var(--tv-teal);
}

.tv-service-card:hover .tv-icon-teal {
  background: linear-gradient(135deg, var(--tv-teal), #0e9384);
  color: var(--tv-white);
}

.tv-service-icon.tv-icon-rose {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(244, 63, 94, 0.05));
  color: var(--tv-rose);
}

.tv-service-card:hover .tv-icon-rose {
  background: linear-gradient(135deg, var(--tv-rose), #d1344f);
  color: var(--tv-white);
}

.tv-service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.tv-service-content p {
  font-size: 0.92rem;
  color: var(--tv-gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

.tv-service-features {
  margin-bottom: 20px;
}

.tv-service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--tv-gray-700);
  padding: 4px 0;
}

.tv-service-features li i {
  color: var(--tv-primary);
  font-size: 0.8rem;
}

.tv-service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tv-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--tv-transition);
}

.tv-service-link:hover {
  color: var(--tv-primary-dark);
  gap: 10px;
}

/* ====== DESTINATIONS ====== */
.tv-destinations {
  background: var(--tv-white);
}

.tv-destinations-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 124, 63, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.tv-filter-bar {
  max-width: 400px;
  margin: 0 auto 32px;
}

.tv-search-input {
  position: relative;
}

.tv-search-input i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tv-gray-500);
}

.tv-search-input input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 2px solid var(--tv-gray-300);
  border-radius: var(--tv-radius-full);
  font-family: var(--tv-font);
  font-size: 0.95rem;
  color: var(--tv-navy);
  background: var(--tv-white);
  transition: all var(--tv-transition);
}

.tv-search-input input:focus {
  outline: none;
  border-color: var(--tv-primary);
  box-shadow: 0 0 0 4px rgba(13, 124, 63, 0.1);
}

.tv-search-input input::placeholder {
  color: var(--tv-gray-500);
}

/* Routes Table */
.tv-routes-table-wrapper {
  overflow-x: auto;
  border-radius: var(--tv-radius-lg);
  box-shadow: var(--tv-shadow-md);
  border: 1px solid var(--tv-gray-300);
}

.tv-routes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tv-routes-table thead {
  background: var(--tv-navy);
}

.tv-routes-table thead th {
  padding: 16px 20px;
  color: var(--tv-white);
  font-weight: 600;
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tv-routes-table tbody tr {
  border-bottom: 1px solid var(--tv-gray-200);
  transition: background var(--tv-transition);
}

.tv-routes-table tbody tr:hover {
  background: rgba(13, 124, 63, 0.04);
}

.tv-routes-table tbody tr:last-child {
  border-bottom: none;
}

.tv-routes-table td {
  padding: 14px 20px;
  vertical-align: middle;
}

.tv-route-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--tv-navy);
}

.tv-route-name i {
  color: var(--tv-primary);
  font-size: 0.85rem;
}

.tv-schedule {
  font-size: 0.85rem;
  color: var(--tv-gray-600);
}

.tv-price {
  font-weight: 700;
  color: var(--tv-primary);
}

.tv-price-vip {
  color: var(--tv-gold-dark);
  background: rgba(212, 168, 67, 0.1);
  padding: 4px 10px;
  border-radius: var(--tv-radius-sm);
}

/* ====== AGENCES ====== */
.tv-agences {
  background: var(--tv-gray-100);
}

.tv-agences-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.tv-map-container {
  border-radius: var(--tv-radius-lg);
  overflow: hidden;
  box-shadow: var(--tv-shadow-md);
  min-height: 500px;
  border: 1px solid var(--tv-gray-300);
}

.tv-map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.tv-agences-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 8px;
}

.tv-agences-list::-webkit-scrollbar {
  width: 4px;
}

.tv-agences-list::-webkit-scrollbar-track {
  background: var(--tv-gray-200);
  border-radius: 4px;
}

.tv-agences-list::-webkit-scrollbar-thumb {
  background: var(--tv-primary);
  border-radius: 4px;
}

.tv-agence-card {
  background: var(--tv-white);
  border-radius: var(--tv-radius);
  padding: 20px;
  box-shadow: var(--tv-shadow-sm);
  border: 1px solid var(--tv-gray-300);
  transition: all var(--tv-transition);
}

.tv-agence-card:hover {
  box-shadow: var(--tv-shadow);
  border-color: var(--tv-primary);
}

.tv-agence-city {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tv-agence-city i {
  color: var(--tv-primary);
}

.tv-agence-city h4 {
  font-size: 1rem;
  margin: 0;
}

.tv-agence-address {
  font-size: 0.88rem;
  color: var(--tv-gray-600);
  margin-bottom: 14px;
}

.tv-agence-address i {
  margin-right: 6px;
  color: var(--tv-gray-500);
}

.tv-agence-actions {
  display: flex;
  gap: 10px;
}

/* ====== WHY US ====== */
.tv-why-us {
  background: var(--tv-white);
}

.tv-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tv-why-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--tv-radius-lg);
  background: var(--tv-gray-100);
  border: 1px solid var(--tv-gray-300);
  transition: all var(--tv-transition);
  position: relative;
  overflow: hidden;
}

.tv-why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tv-primary);
  transform: scaleX(0);
  transition: transform var(--tv-transition);
}

.tv-why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tv-shadow-md);
  background: var(--tv-white);
}

.tv-why-card:hover::after {
  transform: scaleX(1);
}

.tv-why-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--tv-radius-lg);
  background: linear-gradient(135deg, rgba(13, 124, 63, 0.1), rgba(13, 124, 63, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--tv-primary);
  margin: 0 auto 20px;
  transition: all var(--tv-transition);
}

.tv-why-card:hover .tv-why-icon {
  background: var(--tv-primary);
  color: var(--tv-white);
  transform: scale(1.1) rotate(5deg);
}

.tv-why-icon.tv-icon-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  color: var(--tv-amber);
}

.tv-why-card:hover .tv-icon-amber {
  background: var(--tv-amber);
  color: #fff;
}

.tv-why-icon.tv-icon-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.05));
  color: var(--tv-teal);
}

.tv-why-card:hover .tv-icon-teal {
  background: var(--tv-teal);
  color: #fff;
}

.tv-why-icon.tv-icon-rose {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), rgba(244, 63, 94, 0.05));
  color: var(--tv-rose);
}

.tv-why-card:hover .tv-icon-rose {
  background: linear-gradient(135deg, var(--tv-rose), #d1344f);
  color: #fff;
}

.tv-why-icon.tv-icon-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
  color: var(--tv-purple);
}

.tv-why-card:hover .tv-icon-purple {
  background: linear-gradient(135deg, var(--tv-purple), #7c3aed);
  color: #fff;
}

.tv-why-icon.tv-icon-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  color: var(--tv-blue);
}

.tv-why-card:hover .tv-icon-blue {
  background: linear-gradient(135deg, var(--tv-blue), #2563eb);
  color: #fff;
}

.tv-why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.tv-why-card p {
  font-size: 0.9rem;
  color: var(--tv-gray-600);
  line-height: 1.7;
}

.tv-why-card p strong {
  color: var(--tv-navy);
}

/* ====== PARTNERS ====== */
.tv-partners {
  background: var(--tv-gray-100);
  padding: 80px 0;
}

.tv-partners-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tv-partner-card {
  flex: 0 0 auto;
  width: 180px;
  text-align: center;
  padding: 32px 20px;
  background: var(--tv-white);
  border-radius: var(--tv-radius-lg);
  border: 1px solid var(--tv-gray-300);
  box-shadow: var(--tv-shadow-sm);
  transition: all var(--tv-transition);
}

.tv-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tv-shadow-md);
  border-color: var(--tv-primary);
}

.tv-partner-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--tv-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--tv-gray-500);
  margin: 0 auto 14px;
  transition: all var(--tv-transition);
  filter: grayscale(1);
}

.tv-partner-card:hover .tv-partner-logo {
  filter: grayscale(0);
  background: var(--tv-primary);
  color: var(--tv-white);
}

.tv-partner-card h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.tv-partner-card p {
  font-size: 0.78rem;
  color: var(--tv-gray-500);
}

/* ====== TESTIMONIALS ====== */
.tv-testimonials {
  background: var(--tv-white);
  position: relative;
}

.tv-testimonials-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.tv-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tv-testimonial-card {
  background: var(--tv-gray-100);
  border-radius: var(--tv-radius-lg);
  padding: 32px;
  border: 1px solid var(--tv-gray-300);
  transition: all var(--tv-transition);
  position: relative;
}

.tv-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: var(--tv-gray-300);
  font-family: var(--tv-font-display);
  line-height: 1;
}

.tv-testimonial-card:hover {
  box-shadow: var(--tv-shadow-md);
  border-color: rgba(13, 124, 63, 0.2);
  transform: translateY(-4px);
}

.tv-testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.tv-testimonial-stars i {
  color: var(--tv-gold);
  font-size: 0.9rem;
}

.tv-testimonial-text {
  font-size: 0.95rem;
  color: var(--tv-gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.tv-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-white);
  font-size: 1rem;
}

.tv-avatar-amber {
  background: linear-gradient(135deg, var(--tv-amber), #d4890a);
}

.tv-avatar-teal {
  background: linear-gradient(135deg, var(--tv-teal), #0e9384);
}

.tv-avatar-rose {
  background: linear-gradient(135deg, var(--tv-rose), #d1344f);
}

.tv-testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--tv-navy);
}

.tv-testimonial-author span {
  font-size: 0.8rem;
  color: var(--tv-gray-500);
}

/* ====== CONTACT SECTION ====== */
.tv-contact-section {
  background: var(--tv-gray-100);
}

.tv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.tv-info-card {
  background: var(--tv-navy);
  border-radius: var(--tv-radius-xl);
  padding: 40px;
  color: var(--tv-white);
  height: 100%;
}

.tv-info-card h3 {
  color: var(--tv-white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.tv-info-card>p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.tv-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tv-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tv-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--tv-radius);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.tv-info-item strong {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.tv-info-item a {
  color: var(--tv-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.tv-info-item a:hover {
  color: var(--tv-gold);
}

.tv-contact-form {
  background: var(--tv-white);
  border-radius: var(--tv-radius-xl);
  padding: 40px;
  box-shadow: var(--tv-shadow-md);
  border: 1px solid var(--tv-gray-300);
}

.tv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tv-contact-form .tv-form-group {
  margin-bottom: 18px;
}

.tv-contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tv-navy);
  margin-bottom: 6px;
}

.tv-contact-form label i {
  margin-right: 6px;
  color: var(--tv-primary);
  font-size: 0.8rem;
}

.tv-contact-form input,
.tv-contact-form select,
.tv-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--tv-gray-300);
  border-radius: var(--tv-radius);
  font-family: var(--tv-font);
  font-size: 0.95rem;
  color: var(--tv-navy);
  background: var(--tv-gray-100);
  transition: all var(--tv-transition);
  -webkit-appearance: none;
  appearance: none;
}

.tv-contact-form input:focus,
.tv-contact-form select:focus,
.tv-contact-form textarea:focus {
  outline: none;
  border-color: var(--tv-primary);
  box-shadow: 0 0 0 4px rgba(13, 124, 63, 0.1);
  background: var(--tv-white);
}

.tv-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ====== FOOTER ====== */
.tv-footer {
  background: var(--tv-navy);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding-top: 60px;
}

.tv-footer-wave {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  color: var(--tv-navy);
  line-height: 0;
}

.tv-footer-wave svg {
  width: 100%;
  height: 60px;
}

.tv-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.tv-footer-brand img {
  width: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tv-footer-brand h3 {
  color: var(--tv-white);
  font-size: 1.2rem;
  margin: 0;
}

.tv-footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tv-social-links {
  display: flex;
  gap: 10px;
}

.tv-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--tv-transition);
}

.tv-social-links a:hover {
  background: var(--tv-primary);
  border-color: var(--tv-primary);
  color: var(--tv-white);
  transform: translateY(-3px);
}

.tv-footer-col h4 {
  color: var(--tv-white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.tv-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--tv-gold);
  border-radius: 2px;
}

.tv-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tv-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tv-contact-item i {
  color: var(--tv-gold);
  margin-top: 3px;
  font-size: 0.85rem;
}

.tv-contact-item strong {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.tv-contact-item p {
  font-size: 0.88rem;
  margin: 0;
}

.tv-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.tv-contact-item a:hover {
  color: var(--tv-gold);
}

.tv-footer-links li {
  margin-bottom: 10px;
}

.tv-footer-links a {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--tv-transition);
}

.tv-footer-links a i {
  font-size: 0.6rem;
  color: var(--tv-gold);
  transition: transform var(--tv-transition);
}

.tv-footer-links a:hover {
  color: var(--tv-white);
  padding-left: 4px;
}

.tv-footer-links a:hover i {
  transform: translateX(3px);
}

.tv-footer-col>p {
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.tv-newsletter-form {
  margin-bottom: 20px;
}

.tv-input-group {
  display: flex;
  border-radius: var(--tv-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tv-input-group input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--tv-white);
  font-family: var(--tv-font);
  font-size: 0.88rem;
}

.tv-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.tv-input-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.tv-input-group button {
  padding: 12px 18px;
  background: var(--tv-primary);
  border: none;
  color: var(--tv-white);
  cursor: pointer;
  transition: background var(--tv-transition);
}

.tv-input-group button:hover {
  background: var(--tv-primary-light);
}

.tv-footer-partners-label p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.tv-partner-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 168, 67, 0.15);
  color: var(--tv-gold);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--tv-radius-sm);
}

.tv-footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.tv-footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ====== WHATSAPP FLOAT ====== */
.tv-whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--tv-transition);
  animation: whatsappPulse 2s infinite;
}

.tv-whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--tv-white);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.tv-whatsapp-tooltip {
  position: absolute;
  left: 70px;
  background: var(--tv-navy);
  color: var(--tv-white);
  padding: 8px 14px;
  border-radius: var(--tv-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--tv-transition);
  pointer-events: none;
}

.tv-whatsapp-float:hover .tv-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* ====== BACK TO TOP ====== */
.tv-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--tv-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-white);
  font-size: 0.9rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--tv-transition);
  box-shadow: 0 4px 15px rgba(13, 124, 63, 0.3);
}

.tv-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tv-back-to-top:hover {
  transform: translateY(-3px);
  background: var(--tv-primary-dark);
  color: var(--tv-white);
}

/* ============================
   RESPONSIVE – Mobile First
   ============================ */

@media (max-width: 1024px) {
  .tv-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .tv-hero h1 {
    font-size: 2.5rem;
  }

  .tv-hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .tv-hero-stats {
    justify-content: center;
  }

  .tv-booking-widget {
    max-width: 460px;
    margin: 0 auto;
  }

  .tv-services-grid {
    grid-template-columns: 1fr;
  }

  .tv-agences-layout {
    grid-template-columns: 1fr;
  }

  .tv-map-container {
    min-height: 350px;
  }

  .tv-map-container iframe {
    min-height: 350px;
  }

  .tv-agences-list {
    max-height: none;
  }

  .tv-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tv-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .tv-contact-grid {
    grid-template-columns: 1fr;
  }

  .tv-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .tv-navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--tv-navy);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 8px;
    transition: right var(--tv-transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }

  .tv-navbar-menu.open {
    right: 0;
  }

  .tv-nav-link {
    padding: 12px 16px;
    width: 100%;
    font-size: 1rem;
  }

  .tv-nav-cta {
    margin-left: 0;
    width: 100%;
    margin-top: 16px;
    text-align: center;
  }

  .tv-hero {
    padding: 100px 0 60px;
  }

  .tv-hero h1 {
    font-size: 2rem;
  }

  .tv-hero-subtitle {
    font-size: 1rem;
  }

  .tv-hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .tv-stat-divider {
    width: 40px;
    height: 1px;
  }

  .tv-section {
    padding: 70px 0;
  }

  .tv-section-header h2 {
    font-size: 1.8rem;
  }

  .tv-section-header {
    margin-bottom: 40px;
  }

  .tv-why-grid {
    grid-template-columns: 1fr;
  }

  .tv-partners-grid {
    gap: 16px;
  }

  .tv-partner-card {
    width: 140px;
    padding: 24px 16px;
  }

  .tv-form-row {
    grid-template-columns: 1fr;
  }

  .tv-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Mobile table */
  .tv-routes-table thead {
    display: none;
  }

  .tv-routes-table,
  .tv-routes-table tbody,
  .tv-routes-table tr,
  .tv-routes-table td {
    display: block;
    width: 100%;
  }

  .tv-routes-table tr {
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--tv-gray-300);
    border-radius: var(--tv-radius);
    background: var(--tv-white);
  }

  .tv-routes-table td {
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
  }

  .tv-routes-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--tv-navy);
    font-size: 0.82rem;
    flex-shrink: 0;
    margin-right: 12px;
  }

  .tv-routes-table td:last-child {
    justify-content: flex-end;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .tv-hero h1 {
    font-size: 1.7rem;
  }

  .tv-booking-widget {
    padding: 24px 20px;
  }

  .tv-section-header h2 {
    font-size: 1.5rem;
  }

  .tv-service-card {
    padding: 28px 20px;
  }

  .tv-why-card {
    padding: 28px 20px;
  }

  .tv-info-card {
    padding: 28px 20px;
  }

  .tv-contact-form {
    padding: 28px 20px;
  }
}