/* ======================================
   SÉNÉGAL PRESTIGE TOURS - Global Styles
   Modern, Premium, Responsive Design
   ====================================== */

/* 1. ROOT VARIABLES & RESET */
:root {
  --primary: #D4AF37;
  --primary-dark: #B8860B;
  --secondary: #1a4d2e;
  --accent: #e74c3c;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: 'Georgia', serif;
  
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: 1.8rem;
  color: var(--primary-dark);
}

h4 {
  font-size: 1.3rem;
  color: var(--secondary);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--gray);
  font-size: 1rem;
}

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

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* 3. CONTAINER & GRID */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.row {
  display: grid;
  gap: var(--spacing-lg);
}

.row.two-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.row.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.row.four-cols {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* 4. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: #0f3a1f;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--primary-dark);
  background-color: transparent;
  color: var(--primary-dark);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--dark);
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 0.9rem;
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* 5. HEADER & NAVIGATION */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  color: var(--primary-dark);
  font-family: var(--font-secondary);
}

.logo span {
  color: var(--secondary);
}

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

.brand-logo {
  width: 155px;
  height: 40px;
  object-fit: contain;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}

.nav-links a.active {
  color: var(--primary-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
}

.nav-links a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.nav-close {
  display: none;
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: right;
  border-bottom: 1px solid #e0e0e0;
}

.menu-close {
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}

.nav-cta {
  display: flex;
  gap: var(--spacing-md);
}

.nav-cta-mobile {
  display: none;
}

.nav-lang-mobile {
  display: none;
}

.hamburger {
  position: relative;
}

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  flex: 0 0 auto;
}

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

.hamburger:hover,
.hamburger:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  outline: none;
}

/* 6. HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, rgba(26, 77, 46, 0.8) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="rgba(212,175,55,0.1)"/></svg>');
  background-size: cover, 100px 100px;
  background-position: center;
  color: var(--white);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 77, 46, 0.85);
  z-index: 1;
}

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

.hero h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .accent-gold {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero.hero-home {
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.75) 0%, rgba(26, 77, 46, 0.4) 100%), url('../images/lac-rose.jpg');
  background-size: cover;
  background-position: center;
}

.hero.hero-gallery {
  background: linear-gradient(135deg, rgba(26, 77, 46, 0.75) 0%, rgba(26, 77, 46, 0.45) 100%), url('../images/kayar-et-ses-4000-pirogues.jpg');
  background-size: cover;
  background-position: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--spacing-md);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
  color: var(--white);
}

.gallery-item-overlay p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-logo {
  width: 96px;
  height: auto;
  margin-bottom: var(--spacing-md);
  display: block;
}

.footer-brand p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.85);
}

/* 7. CARDS */
.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.card-price {
  font-size: 1.8rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.card-text {
  color: var(--gray);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: var(--spacing-md);
  border-top: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* 8. PRICING SECTION */
.pricing {
  background-color: var(--white);
  padding: var(--spacing-xxl) 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.price-badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--dark);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

/* 9. SECTIONS */
.section {
  padding: var(--spacing-xxl) 0;
}

.section-alt {
  background-color: #f0ebe0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-title {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 3px solid var(--primary);
  padding-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-top: var(--spacing-md);
}

/* 10. ACTIVITY LIST */
.activity-list {
  list-style: none;
  margin: var(--spacing-lg) 0;
}

.activity-list li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  color: var(--dark);
}

.activity-list li:last-child {
  border-bottom: none;
}

.activity-list li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* 11. FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xxl) 0;
}

.feature-box {
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

.feature-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.feature-title {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--gray);
}

/* 12. FORMS */
.form-group {
  margin-bottom: var(--spacing-lg);
}

label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--dark);
}

input,
textarea,
select {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* 13. FOOTER */
footer {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--primary);
}

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

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--dark);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2000;
}

.floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-action span {
  font-size: 1.5rem;
  line-height: 1;
}

.floating-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp {
  background: #25D366;
}

.floating-call {
  background: var(--primary-dark);
}

@media (max-width: 600px) {
  .floating-actions {
    right: 0.75rem;
    bottom: 120px;
    gap: 0.5rem;
  }

  .floating-action {
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--mobile-menu-top, 72px);
    left: var(--spacing-md);
    right: var(--spacing-md);
    width: auto;
    max-height: calc(100dvh - var(--mobile-menu-top, 72px) - var(--spacing-md));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem;
    background: linear-gradient(180deg, var(--white) 0%, #fbf8ef 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(26, 77, 46, 0.12);
    border-top: 4px solid var(--secondary);
    border-radius: 0 0 16px 16px;
    z-index: 2500;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    border-bottom: 0;
    padding: 0;
    text-align: left;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    color: var(--dark);
  }

  .nav-links a.active {
    border-bottom: 0;
    background: rgba(212, 175, 55, 0.18);
    color: var(--primary-dark);
    box-shadow: inset 4px 0 0 var(--primary);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(26, 77, 46, 0.08);
    color: var(--secondary);
    outline: none;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-close {
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(26, 77, 46, 0.12);
    position: sticky;
    top: 0;
    margin: -0.5rem -0.5rem 0.25rem;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2;
  }

  .menu-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .menu-close:hover,
  .menu-close:focus-visible {
    background: #0f3a1f;
    outline: 3px solid rgba(212, 175, 55, 0.35);
    outline-offset: 2px;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: 0.5rem 0 0;
  }

  .nav-cta-mobile .btn {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
  }

  .nav-lang-switcher {
    display: none !important;
  }

  .nav-lang-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.6rem;
    margin-top: 0.35rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
  }

  .nav-lang-mobile .lang-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 0.35rem;
    background: var(--white);
  }

  .mobile-menu-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--secondary);
  }

  .nav-lang-mobile .lang-btn {
    min-height: 42px;
    font-size: 0.95rem;
  }

  .hamburger {
    display: flex;
  }

  .row.two-cols,
  .row.three-cols,
  .row.four-cols {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

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

  .row.two-cols,
  .row.three-cols,
  .row.four-cols {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

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

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero {
    padding: var(--spacing-xl) 0;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .nav-links {
    top: var(--mobile-menu-top, 64px);
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    max-height: calc(100dvh - var(--mobile-menu-top, 64px) - var(--spacing-sm));
  }
}

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

.text-right {
  text-align: right;
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.flex {
  display: flex;
}

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

.gap-md {
  gap: var(--spacing-md);
}

.hidden {
  display: none;
}

.opacity-75 {
  opacity: 0.75;
}

.badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.badge-accent {
  background-color: var(--accent);
  color: var(--white);
}

/* 16. ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-in {
  animation: fadeIn 0.6s ease;
}

.slide-in {
  animation: slideIn 0.6s ease;
}

/* 17. MODALS */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  float: right;
  font-size: 2rem;
  font-weight: bold;
  color: var(--gray);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.modal-close:hover {
  color: var(--dark);
}

/* 18. LOADING & STATES */
.loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

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

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--white);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  animation: slideIn 0.3s ease;
  max-width: 300px;
}

.toast.error {
  background: var(--accent);
}

.toast.success {
  background: #27ae60;
}

/* FR / EN language switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  background: transparent;
  color: var(--secondary);
  transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--dark);
}

#backToTop {
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: Arial, sans-serif;
  position: fixed;
  bottom: 2rem;
  left: 1rem;
  right: auto;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.45rem;
  box-shadow: var(--shadow-lg);
  z-index: 1800;
}

@media (max-width: 768px) {
  nav {
    gap: 0.5rem;
  }
}
