/* ========== ROOT VARIABLES & RESET ========== */
:root {
  --terracotta: #B87333;
  --sand: #D4B896;
  --indigo: #1A2744;
  --dark-brown: #0F1B2D;
  --cream: #F5F0E8;
  --gold: #C8963E;
  --sand-white: #EDE6D8;
  --copper: #B87333;
  --deep-blue: #162038;
  --touareg-blue: #2C4A7C;
  --midnight: #0D1525;
  --warm-sand: #E8D5B5;
  --shadow-sm: 0 2px 8px rgba(13, 21, 37, 0.08);
  --shadow-md: 0 4px 16px rgba(13, 21, 37, 0.12);
  --shadow-lg: 0 12px 32px rgba(13, 21, 37, 0.18);
  --shadow-xl: 0 20px 48px rgba(13, 21, 37, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark-brown);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
}

p {
  font-size: 1rem;
  line-height: 1.8;
}

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

a:hover {
  color: var(--gold);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--touareg-blue) 0%, var(--indigo) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--indigo) 0%, var(--touareg-blue) 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}

.btn-secondary:hover {
  background: var(--terracotta);
  color: white;
  transform: translateY(-2px);
}

.btn-tertiary {
  background: var(--gold);
  color: var(--dark-brown);
  box-shadow: var(--shadow-md);
}

.btn-tertiary:hover {
  background: #C4922E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-small {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.filter-button:focus-visible,
.filter-btn:focus-visible,
.gallery-filter button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ========== CONTAINER & LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-lg {
  max-width: 1400px;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* ========== FIXED NAVIGATION ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(245, 240, 232, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.1);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--indigo);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo i {
  font-size: 1.75rem;
}

.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo a {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--indigo);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--indigo);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* AJOUT: Style pour le toggle de langue avec drapeaux */
.lang-toggle {
  background: none;
  border: 2px solid var(--terracotta);
  border-radius: 20px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.lang-toggle:hover {
  background: var(--terracotta);
  color: white;
}

.language-switch {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--terracotta);
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.language-switch:hover {
  color: var(--gold);
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }

  .hamburger,
  .language-switch {
    display: none;
  }

  nav {
    height: 80px;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  margin-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: url('hero-bg.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 2rem 2rem 4rem;
  animation: fadeInUp 1s ease-out;
}

/* MODIF: Text-shadow renforcé pour lisibilité sans assombrir l'image */
.hero h1 {
  color: var(--sand-white);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--sand-white);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.hero-body {
  font-size: 1rem;
  color: rgba(237, 230, 216, 0.85);
  margin-bottom: 0.75rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-style: italic;
}

.hero p {
  font-size: 1.25rem;
  color: var(--sand);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
    gap: 1.5rem;
  }

  .hero p {
    font-size: 1.5rem;
  }
}

/* ========== HERO SEARCH BAR ========== */
.search-container {
  display: flex;
  max-width: 550px;
  margin: 0 auto 2rem;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  color: white;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.filter-bar .destination-filter {
  padding: 1rem;
  font-size: 1.1rem;
  width: 100%;
  max-width: 400px;
  border: 2px solid var(--gold);
  border-radius: 0.5rem;
  background: white;
  color: var(--dark-brown);
  cursor: pointer;
  transition: var(--transition);
}

.filter-bar .destination-filter:hover {
  border-color: var(--terracotta);
  box-shadow: var(--shadow-md);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-btn {
  padding: 1rem 2rem;
  border: none;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.search-btn:hover {
  background: var(--copper);
  color: white;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--warm-sand);
  font-size: 0.95rem;
  font-weight: 500;
}

.badge i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ========== SAND DUNE DIVIDER ========== */
.dune-divider {
  position: relative;
  height: 80px;
  background: var(--cream);
  overflow: hidden;
}

.dune-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works {
  padding: 4rem 0;
  background: var(--cream);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--dark-brown);
  margin-bottom: 1rem;
}

.section-header p {
  color: #6B5344;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 2rem;
  border-radius: 0.75rem;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.step-card::before {
  display: none;
}

.step-card:nth-child(1)::before {
  display: none;
}

.step-card:nth-child(2)::before {
  display: none;
}

.step-card:nth-child(3)::before {
  display: none;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  border-radius: 50%;
  color: white;
  font-size: 3rem;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-card h3 {
  color: var(--dark-brown);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.step-card p {
  color: #6B5344;
  font-size: 0.95rem;
}

/* ========== DESTINATIONS SECTION ========== */
.destinations {
  padding: 4rem 0;
  background: var(--sand-white);
  position: relative;
  overflow: hidden;
}

.destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.destination-card {
  position: relative;
  height: 350px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.destination-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.destination-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(13, 21, 37, 0.85) 100%);
  z-index: 2;
}

/* SEO: .destination-image adapté pour <img> au lieu de background-image CSS */
.destination-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}
.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.destination-card h3,
.destination-card p,
.destination-highlights,
.btn-decouvrir {
  position: relative;
  z-index: 3;
}

.destination-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.destination-highlights {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.destination-highlights .highlight {
  background: rgba(200, 150, 62, 0.15);
  color: var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
  cursor: default;
  border: 1px solid rgba(200, 150, 62, 0.3);
}

.btn-decouvrir {
  background: var(--gold);
  color: var(--midnight);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
}

.btn-decouvrir:hover {
  background: var(--copper);
  color: white;
  transform: translateY(-2px);
}

.destination-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(45, 24, 16, 0.9) 100%);
  color: white;
  z-index: 2;
  transform: translateY(60px);
  transition: var(--transition);
}

.destination-card:hover .destination-card-content {
  transform: translateY(0);
}

.destination-card h3 {
  color: var(--sand-white);
  margin-bottom: 0.5rem;
}

.destination-card p {
  color: var(--sand);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ========== GUIDE PRATIQUE SECTION ========== */
.guide-pratique {
  padding: 4rem 0;
  background: var(--cream);
}

.tabs-container {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #E0D5CC;
  position: relative;
  overflow: hidden;
}

.tab-button {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #8B7B70;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.tab-button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--touareg-blue);
  transition: var(--transition);
}

.tab-button.active {
  color: white;
  background: var(--touareg-blue);
  border-radius: 0.5rem 0.5rem 0 0;
}

.tab-button.active::after {
  width: 100%;
}

.tab-button:hover {
  color: var(--terracotta);
}

.tab-content {
  display: none;
  animation: fadeInUp 0.3s ease-out;
}

.tab-content.active {
  display: block;
}

.tab-content-item {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.tab-content-item h4 {
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.tab-content-item p {
  color: #6B5344;
  font-size: 0.95rem;
}

.tabs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #E0D5CC;
  overflow: hidden;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.info-card {
  background: white;
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(13, 21, 37, 0.08);
  border: 1px solid rgba(212, 196, 184, 0.3);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 21, 37, 0.12);
}

.info-card h4 {
  color: var(--touareg-blue);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--dark-brown);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(212, 196, 184, 0.2);
}

.info-card ul li:last-child {
  border-bottom: none;
}

.info-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.info-card p {
  color: var(--dark-brown);
  font-size: 0.95rem;
  line-height: 1.7;
}

.info-card.pro-tip {
  background: linear-gradient(135deg, rgba(44, 74, 124, 0.06) 0%, rgba(44, 74, 124, 0.12) 100%);
  border-left: 4px solid var(--touareg-blue);
  border-color: rgba(44, 74, 124, 0.15);
}

.info-card.pro-tip h4 {
  color: var(--touareg-blue);
}

.info-card.warning {
  background: linear-gradient(135deg, rgba(184, 115, 51, 0.06) 0%, rgba(184, 115, 51, 0.12) 100%);
  border-left: 4px solid var(--copper);
  border-color: rgba(184, 115, 51, 0.15);
}

.info-card.warning h4 {
  color: var(--copper);
}

.info-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.info-card table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(212, 196, 184, 0.3);
  color: var(--dark-brown);
}

.info-card table tr:last-child td {
  border-bottom: none;
}

.tab-content h3 {
  color: var(--indigo);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ========== AGENCY DIRECTORY SECTION ========== */
.agency-directory {
  padding: 4rem 0;
  background: var(--sand-white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.filter-button {
  padding: 0.625rem 1.25rem;
  background: white;
  border: 2px solid #D4C4B8;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-brown);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.filter-button:hover,
.filter-button.active {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}

.agency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .agency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .agency-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.agency-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 21, 37, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid rgba(212, 196, 184, 0.2);
}

.agency-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(13, 21, 37, 0.15);
  border-color: var(--gold);
}

.agency-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.agency-header h3 {
  font-size: 1.25rem;
  color: var(--indigo);
  margin-bottom: 0;
}

.destination-tag {
  background: linear-gradient(135deg, var(--touareg-blue), var(--indigo));
  color: white;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.agency-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(44, 74, 124, 0.1) 0%, rgba(200, 150, 62, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.agency-icon i {
  font-size: 1.5rem;
  color: var(--touareg-blue);
}

.agency-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.specialty-badge {
  background: rgba(44, 74, 124, 0.08);
  color: var(--touareg-blue);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.agency-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.agency-rating .stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.agency-rating .experience {
  color: var(--touareg-blue);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(44, 74, 124, 0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
}

.agency-description {
  color: #5A6B7B;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.btn-contacter {
  padding: 0.75rem 1.5rem;
  background: var(--touareg-blue);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
}

.btn-contacter:hover {
  background: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 74, 124, 0.3);
}

.agency-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
}

.agency-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--terracotta);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.agency-description {
  color: #6B5344;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.agency-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.agency-card-footer {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #D4C9B8;
}

.agency-card-footer .btn {
  flex: 1;
  justify-content: center;
  padding: 0.625rem;
  font-size: 0.85rem;
}

/* ========== GALLERY SECTION ========== */
.galerie {
  padding: 4rem 0;
  background: var(--cream);
}

.gallery {
  padding: 4rem 0;
  background: var(--cream);
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.gallery-filter button {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid #D4C4B8;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-brown);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.gallery-filter button:hover,
.gallery-filter button.active {
  background: var(--gold);
  color: white;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid #D4C4B8;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--dark-brown);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(2) {
    grid-row: span 2;
  }

  .gallery-item:nth-child(5) {
    grid-column: span 2;
  }
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .gallery-item:nth-child(2) {
    height: 520px;
  }

  .gallery-item:nth-child(5) {
    height: 300px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover !important;
  background-position: center !important;
  z-index: 1;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13, 21, 37, 0.6) 100%);
  z-index: 2;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 24, 16, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 2.5rem;
  color: white;
}

.gallery-subtitle {
  text-align: center;
  color: #6B5344;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.gallery-overlay p {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.gallery-region {
  display: inline-block;
  background: var(--gold);
  color: var(--midnight);
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.gallery-contribute {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(44, 74, 124, 0.05), rgba(200, 150, 62, 0.08));
  border: 2px dashed var(--gold);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}

.contribute-content i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.contribute-content h3 {
  color: var(--indigo);
  margin-bottom: 0.75rem;
}

.contribute-content p {
  color: #6B5344;
  max-width: 550px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.btn-contribute {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--touareg-blue);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-contribute:hover {
  background: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 74, 124, 0.3);
}

/* ========== DESTINATION DETAIL MODAL ========== */
.destination-detail-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 39, 68, 0.85);
  z-index: 10000;
  overflow-y: auto;
  padding: 2rem 1rem;
  animation: fadeIn 0.3s ease;
}
.destination-detail-modal.active { display: flex; justify-content: center; align-items: flex-start; }
.destination-detail-content {
  background: var(--cream);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  margin: 2rem auto;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
  position: relative;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.detail-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: rgba(26,39,68,0.7); color: white;
  border: none; border-radius: 50%;
  width: 40px; height: 40px; font-size: 1.5rem;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.detail-close:hover { background: var(--terracotta); }
.detail-header {
  height: 280px;
  background-size: cover; background-position: center;
  position: relative;
  display: flex; align-items: flex-end;
}
.detail-header .detail-title-overlay {
  background: linear-gradient(transparent, rgba(26,39,68,0.85));
  width: 100%; padding: 2rem;
}
.detail-header .detail-title-overlay h2 {
  color: white; font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0;
}
.detail-header .detail-title-overlay .detail-tagline {
  color: var(--gold); font-style: italic; font-size: 1.05rem; margin-top: 0.3rem;
}
.detail-body { padding: 2rem 2.5rem; }
.detail-body .detail-description {
  color: #4A3C31; line-height: 1.8; font-size: 1.05rem; margin-bottom: 1.5rem;
}
.detail-body h3 {
  color: var(--indigo); font-family: var(--font-display);
  font-size: 1.3rem; margin-bottom: 1rem;
}
.detail-body .detail-highlights {
  list-style: none; padding: 0;
}
.detail-body .detail-highlights li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(184,115,51,0.15);
  color: #4A3C31; line-height: 1.6;
}
.detail-body .detail-highlights li strong {
  color: var(--copper); display: block; font-size: 1.05rem; margin-bottom: 0.2rem;
}
.detail-body .detail-highlights li:last-child { border-bottom: none; }
.detail-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem; padding: 0 2.5rem 1.5rem;
}
.detail-gallery img {
  width: 100%; height: 130px; object-fit: cover;
  border-radius: 10px; transition: var(--transition);
}
.detail-gallery img:hover { transform: scale(1.05); }
.detail-cta {
  text-align: center; padding: 1.5rem 2.5rem 2.5rem;
}
@media (max-width: 768px) {
  .detail-header { height: 200px; }
  .detail-body { padding: 1.5rem; }
  .detail-gallery { padding: 0 1.5rem 1rem; grid-template-columns: repeat(2, 1fr); }
  .detail-cta { padding: 1rem 1.5rem 2rem; }
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  padding: 4rem 0;
  background: var(--sand-white);
}

.testimonials h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin-bottom: 2.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  border-left: 4px solid var(--gold);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-size: 3rem;
  color: var(--sand);
  font-family: 'Playfair Display', serif;
  opacity: 0.5;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  color: #6B5344;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.testimonial-info h4 {
  color: var(--dark-brown);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.testimonial-info p {
  color: #8B7B70;
  font-size: 0.8rem;
}

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

/* ========== AGENCY CTA SECTION ========== */
.agency-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--midnight) 100%);
  position: relative;
  overflow: hidden;
  color: white;
}

.agency-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 164, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.agency-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.agency-cta h2 {
  color: var(--sand-white);
  margin-bottom: 1rem;
}

.agency-cta p {
  color: var(--sand);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.agency-cta-subtitle {
  text-align: center;
  font-size: 1.15rem;
}

.agency-value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}

.agency-value-props .value-prop {
  padding: 1.5rem;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
}

.agency-value-props .value-prop i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.agency-value-props .value-prop h4 {
  color: var(--sand-white);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.agency-value-props .value-prop p {
  color: rgba(237, 230, 216, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .agency-value-props { grid-template-columns: 1fr; }
}

.agency-action-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-agency-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-agency-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-inscrire {
  background: var(--gold);
  color: var(--midnight);
}

.btn-inscrire:hover {
  background: #D9A844;
}

.btn-dashboard {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-dashboard:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--gold);
}

.btn-leads {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-leads:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--gold);
}

/* Navbar agency button */
.btn-agency-nav {
  background: var(--gold) !important;
  color: var(--midnight) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-agency-nav:hover {
  background: #D9A844 !important;
  transform: translateY(-1px);
}

.btn-agency-nav i {
  margin-right: 4px;
}

/* Navbar guide button */
.btn-guide-nav {
  background: var(--touareg-blue) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-guide-nav:hover {
  background: #3A5E94 !important;
  transform: translateY(-1px);
}
.btn-guide-nav i { margin-right: 4px; }

/* Navbar feedback button */
.btn-feedback-nav {
  background: var(--copper) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-feedback-nav:hover {
  background: #CC8844 !important;
  transform: translateY(-1px);
}
.btn-feedback-nav i { margin-right: 4px; }

/* Mobile: toggle buttons and nav CTA adjustments */
@media (max-width: 480px) {
  .contact-toggle, .feedback-section > .container > div:first-of-type {
    flex-wrap: wrap !important;
  }
  .contact-tab, .feedback-tab {
    font-size: 0.8rem !important;
    padding: 0.6rem 1rem !important;
  }
  .contact-tab:first-child, .feedback-tab:first-child {
    border-radius: 50px 50px 0 0 !important;
  }
  .contact-tab:last-child, .feedback-tab:last-child {
    border-radius: 0 0 50px 50px !important;
  }
  .btn-guide-nav, .btn-feedback-nav, .btn-agency-nav {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
  }
}


.agency-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--sand-white);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.875rem;
  border: 1px solid rgba(232, 201, 155, 0.3);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--dark-brown);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 164, 55, 0.1);
}

.form-group input::placeholder {
  color: #B5A89A;
}

.agency-form .btn {
  margin-top: 0.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .agency-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .agency-form .btn {
    grid-column: 1 / -1;
  }
}

/* ========== CONTACT FORM SECTION ========== */
.contact-section {
  padding: 4rem 0;
  background: var(--cream);
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-subtitle {
  text-align: center;
  color: #6B5344;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(13, 21, 37, 0.1);
  border: 1px solid rgba(212, 196, 184, 0.2);
}

.contact-form .form-group {
  margin-bottom: 0;
}

.contact-form .form-group label {
  color: var(--indigo) !important;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  display: block;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #D4C9B8;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--dark-brown);
  background: #FAFAF8;
  transition: var(--transition);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.12);
  background: white;
}

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

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: var(--touareg-blue);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
  background: var(--indigo);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 74, 124, 0.3);
}

.contact-form h3 {
  color: var(--dark-brown);
  margin-bottom: 2rem;
  text-align: center;
}

.vol-estimate {
  background: linear-gradient(135deg, rgba(44, 74, 124, 0.05) 0%, rgba(200, 150, 62, 0.08) 100%);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1rem 0;
  border-left: 4px solid var(--touareg-blue);
}

.vol-estimate h4 {
  color: var(--touareg-blue);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.vol-estimate p {
  color: var(--dark-brown);
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group textarea {
  padding: 0.875rem;
  border: 1px solid #D4C4B8;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--dark-brown);
  resize: vertical;
  min-height: 150px;
  transition: var(--transition);
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 91, 40, 0.1);
}

.form-group textarea::placeholder {
  color: #B5A89A;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--terracotta);
}

.checkbox-group label {
  color: #6B5344;
  font-size: 0.9rem;
  cursor: pointer;
  flex-grow: 1;
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

/* ========== CHATBOT WIDGET ========== */
.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 1001;
}

.chatbot-button:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.chatbot-panel {
  position: fixed;
  width: 400px;
  height: 500px;
  bottom: 80px;
  right: 2rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
  z-index: 1000;
}

.chatbot-panel.active {
  display: flex;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--touareg-blue), var(--indigo));
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.chatbot-header button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0;
}

.chatbot-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  display: flex;
  gap: 0.75rem;
  animation: fadeInUp 0.3s ease-out;
}

.message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 80%;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.message.ai .message-content {
  background: var(--sand-white);
  color: var(--dark-brown);
}

.message.user .message-content {
  background: var(--terracotta);
  color: white;
}

.chatbot-input {
  padding: 1rem;
  border-top: 1px solid #E0D5CC;
  display: flex;
  gap: 0.75rem;
}

.chatbot-input input {
  flex-grow: 1;
  border: 1px solid #D4C4B8;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.chatbot-input input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 91, 40, 0.1);
}

.chatbot-input button {
  background: var(--terracotta);
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.chatbot-input button:hover {
  background: var(--gold);
}

/* ========== CHATBOT TOGGLE BUTTON ========== */
.chatbot-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(196, 91, 40, 0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-toggle:hover {
  background: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(196, 91, 40, 0.5);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 70px;
  right: 0;
  width: 100%;
  max-width: 300px;
  height: calc(100vh - 70px);
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 998;
  padding: 2rem 0;
  overflow-y: auto;
  display: block;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav li {
  border-bottom: 1px solid #D4C9B8;
}

.mobile-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--dark-brown);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav a:hover {
  background: #EDE6D8;
  color: var(--terracotta);
}

.close-menu {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark-brown);
  padding: 0;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .chatbot-panel {
    width: 100%;
    height: 100vh;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }

  .chatbot-widget {
    bottom: 1rem;
    right: 1rem;
  }
}

/* ========== GUIDES INDEPENDANTS ========== */
.guides-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--sand-white) 0%, #EDE6D8 100%);
}
.guides-section h2 { margin-bottom: 0.5rem; }
.guides-subtitle { color: #8B7B70; margin-bottom: 2rem; }
.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) { .guides-grid { grid-template-columns: 1fr; } }
.guides-benefits { list-style: none; padding: 0; }
.guides-benefits li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.guides-benefits li i { color: var(--touareg-blue); font-size: 1.1rem; width: 24px; text-align: center; }
.guide-form-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.guide-form-card h3 { color: var(--indigo); margin-bottom: 1rem; font-size: 1.1rem; }
.guide-form-card .form-group { margin-bottom: 1rem; }
.guide-form-card label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--indigo); margin-bottom: 0.3rem; }
.guide-form-card input, .guide-form-card select, .guide-form-card textarea {
  width: 100%; padding: 0.6rem 0.8rem; border: 1px solid #E0D5CC; border-radius: 8px;
  font-size: 0.9rem; font-family: 'Inter', sans-serif; background: #FAFAF7;
}

/* ========== FEEDBACK SECTION ========== */
.feedback-section {
  padding: 4rem 0;
  background: var(--cream);
}
.feedback-section h2 { margin-bottom: 0.5rem; }
.feedback-subtitle { color: #8B7B70; margin-bottom: 2rem; }
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) { .feedback-grid { grid-template-columns: 1fr; } }
.feedback-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
}
.feedback-card i.card-icon { font-size: 2rem; color: var(--touareg-blue); margin-bottom: 1rem; }
.feedback-card h3 { color: var(--indigo); margin-bottom: 0.5rem; font-size: 1.1rem; }
.feedback-card p { color: #8B7B70; font-size: 0.9rem; margin-bottom: 1.5rem; }
.btn-feedback {
  display: inline-block; padding: 0.7rem 1.5rem; background: var(--touareg-blue); color: white;
  border: none; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: var(--transition);
}
.btn-feedback:hover { background: var(--indigo); }
.btn-feedback.outline {
  background: transparent; color: var(--touareg-blue); border: 2px solid var(--touareg-blue);
}
.btn-feedback.outline:hover { background: var(--touareg-blue); color: white; }

/* ========== FOOTER ========== */
footer {
  background: var(--dark-brown);
  color: var(--sand-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column h4 {
  color: var(--sand-white);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--sand);
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 201, 155, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--terracotta);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(232, 201, 155, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: #B5A89A;
  font-size: 0.85rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: #B5A89A;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== SCROLL REVEAL (handled by AOS library) ========== */

/* ========== UTILITIES ========== */
.text-center {
  text-align: center;
}

.text-dark {
  color: var(--dark-brown);
}

.text-sand {
  color: var(--sand);
}

.text-terracotta {
  color: var(--terracotta);
}

.text-gold {
  color: var(--gold);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========== PRINT STYLES ========== */
@media print {
  nav,
  .chatbot-widget,
  .agency-cta,
  footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .btn {
    border: 1px solid black;
    background: none !important;
    color: black !important;
    text-decoration: underline;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  .destination-card,
  .agency-card,
  .testimonial-card {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc;
  }

  .gallery-item,
  .step-card {
    page-break-inside: avoid;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  img {
    max-width: 100%;
  }
}

/* ========== FAQ & SIMULATOR & MODAL STYLES ========== */
.faq-section { padding: 80px 20px; }
.faq-item { margin: 15px 0; border: 1px solid #D4C9B8; border-radius: 8px; }
.faq-question { padding: 20px; background: #F5F0E8; cursor: pointer; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 20px; display: none; background: #fff; }
.faq-item.active .faq-answer { display: block; }
.faq-toggle { transition: transform 0.3s; }
.faq-item.active .faq-toggle { transform: rotate(180deg); }
.simulator-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
@media (max-width: 768px) { .simulator-container { grid-template-columns: 1fr; } }
.simulator-form { background: #F5F0E8; padding: 30px; border-radius: 10px; }
#budget-simulator { padding: 80px 20px; background: var(--cream); }
#budget-simulator h2 { text-align: center; color: var(--indigo); margin-bottom: 0.5rem; }
#budget-simulator > .container > p { text-align: center; color: #6B5344; margin-bottom: 2rem; font-size: 1.1rem; }
#budget-simulator .form-group label { color: var(--indigo) !important; font-weight: 600; font-size: 0.95rem; }
#budget-simulator .form-group input, #budget-simulator .form-group select { background: white; color: var(--dark-brown); border: 1px solid #C8B9A6; padding: 12px; border-radius: 8px; font-size: 1rem; }
#budget-simulator .form-group input:focus, #budget-simulator .form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.15); }
#budget-simulator .btn-next { background: var(--touareg-blue); color: white; border: none; padding: 14px 40px; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: var(--transition); display: block; width: 100%; margin-top: 10px; }
#budget-simulator .btn-next:hover { background: var(--indigo); transform: translateY(-2px); }
#budget-simulator input[type="range"] { -webkit-appearance: none; width: 100%; height: 6px; background: linear-gradient(to right, var(--touareg-blue), var(--gold)); border-radius: 3px; outline: none; }
#budget-simulator input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; background: var(--gold); border-radius: 50%; cursor: pointer; border: 3px solid white; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
#budget-simulator input[type="radio"], #budget-simulator input[type="checkbox"] { width: auto !important; margin-right: 6px; accent-color: var(--touareg-blue); }
.simulator-results h3 { color: var(--indigo); margin-bottom: 1rem; }
.simulator-results p { color: var(--dark-brown); }
.simulator-results { background: #EDE6D8; padding: 30px; border-radius: 10px; border: 2px solid #C8963E; }
.breakdown-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #D4C9B8; }
.breakdown-total { font-weight: bold; font-size: 18px; color: #C8963E; padding-top: 15px; }
.simulator-disclaimer { color: #6B5344; font-size: 0.85rem; padding: 15px 0; text-align: center; }
.modal { position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(13, 21, 37, 0.7); }
.modal-content { background-color: white; margin: 5% auto; padding: 2rem; border-radius: 0.75rem; max-width: 500px; box-shadow: 0 20px 48px rgba(13, 21, 37, 0.25); }
.modal-content h3 { color: var(--dark-brown); margin-bottom: 1rem; }
.modal-content h4 { color: var(--dark-brown); margin: 1rem 0 0.5rem 0; font-size: 1rem; }
.modal-content p { color: #6B5344; font-size: 0.9rem; margin-bottom: 1rem; }
.close-modal { color: #aaa; float: right; font-size: 1.5rem; font-weight: bold; cursor: pointer; }
.close-modal:hover { color: var(--dark-brown); }
.identification-section { background: var(--sand-white); padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.modal-content .form-group input, .modal-content .form-group select, .modal-content .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #D4C9B8; border-radius: 0.5rem; font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--dark-brown); }
.modal-content .form-group input:focus, .modal-content .form-group select:focus, .modal-content .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1); }
.agency-modal { max-width: 600px; max-height: 90vh; overflow-y: auto; }
.agency-modal .form-group { margin-bottom: 1rem; }
.agency-modal label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--dark-brown); font-size: 0.9rem; }

/* ========== VISUAL IMPROVEMENTS ========== */

/* Increased section spacing */
.testimonials,
.how-it-works,
.destinations,
.guide-pratique,
.annuaire,
.contact-section,
.feedback-section,
#budget-simulator {
  padding: 5rem 0;
}

/* Larger h2 titles */
h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 2rem;
}

/* Softer section subtitles */
.hero-subtitle,
.agency-cta-subtitle,
.contact-subtitle,
.guides-subtitle,
.feedback-subtitle {
  color: var(--sand);
}

/* Hero — fixed background + overlay léger pour préserver les rouges de la Tadrart */
.hero {
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero CTA buttons */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
}

.hero-cta .btn-secondary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  border-color: white;
  color: white;
}

.hero-cta .btn-secondary:hover {
  background: white;
  color: var(--indigo);
}

/* Trust badges — semi-transparent pill */
.trust-badges .badge {
  background: rgba(13, 21, 37, 0.5);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

/* Destination cards — hover zoom */
.destination-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.destination-image {
  transition: transform 0.4s ease;
}

.destination-card:hover .destination-image {
  transform: scale(1.08);
}

/* Agency cards — colored left border by region */
.agency-card {
  border-left: 4px solid var(--sand);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agency-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.agency-card[data-destination="djanet"] { border-left-color: var(--gold); }
.agency-card[data-destination="tamanrasset"] { border-left-color: var(--touareg-blue); }
.agency-card[data-destination="ghardaia"] { border-left-color: var(--terracotta); }
.agency-card[data-destination="timimoun"] { border-left-color: var(--copper); }
.agency-card[data-destination="bechar"] { border-left-color: var(--deep-blue); }
.agency-card[data-destination="eloued"] { border-left-color: var(--sand); }
.agency-card[data-destination="multi"] { border-left-color: var(--indigo); }

/* Espace Pro — combined section */
.espace-pro {
  padding: 5rem 0;
  background: var(--sand-white);
}

.espace-pro h2 {
  text-align: center;
}

.espace-pro-subtitle {
  text-align: center;
  color: var(--sand);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.espace-pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.espace-pro-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.espace-pro-card h3 {
  margin-bottom: 1rem;
  color: var(--indigo);
}

@media (max-width: 768px) {
  .espace-pro-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background-attachment: scroll;
  }
}

/* ========== WHY ALGERIA SECTION ========== */
.why-algeria {
  padding: 4rem 0;
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF5E6 100%);
}

.why-algeria h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.section-subtitle {
  color: #8B7B70;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid var(--gold);
}

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

.why-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.why-card h3 {
  color: var(--dark-brown);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.why-card p {
  color: #8B7B70;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== TESTIMONIALS COMING SOON ========== */
.testimonials-coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.coming-soon-card {
  background: white;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 600px;
  border-top: 4px solid var(--touareg-blue);
}

.coming-soon-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.coming-soon-card h3 {
  color: var(--dark-brown);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.coming-soon-card p {
  color: #8B7B70;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.coming-soon-subtitle {
  color: #B8A89A;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-buttons .btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
}

/* E-Visa highlight card */
.info-card.highlight {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF5E6 100%);
  border-left: 4px solid var(--gold);
  border-top: none;
  box-shadow: var(--shadow-lg);
}

.info-card.highlight h4 {
  color: var(--gold);
}
