/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
  --primary-color: #064e3b;
  /* Deep Emerald */
  --secondary-color: #10b981;
  /* Emerald */
  --accent-color: #d97706;
  /* Amber */
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --bg-light: #f8fafc;
  --font-serif-heading: 'Playfair Display', "Times New Roman", Times, serif;
  --font-serif-body: 'Merriweather', "Times New Roman", Times, serif;
}

body {
  font-family: var(--font-serif-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 14px !important;
  /* Base 14px */
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: var(--font-serif-heading);
  font-weight: 700;
  color: var(--text-dark);
}

/* Custom Typography Sizes Override (12px, 14px, 16px) */
h1,
h2,
.display-title,
.section-title,
.display-5 {
  font-size: 16px !important;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h3,
h4,
h5,
h6,
.navbar-brand {
  font-size: 14px !important;
  line-height: 1.4;
}

.lead-text,
.lead {
  font-size: 14px !important;
  font-weight: 400;
  color: #475569;
}

p,
a,
button,
li,
.nav-link,
.btn {
  font-size: 14px !important;
}

small,
.small,
.text-muted,
.text-white-50,
.dropdown-item {
  font-size: 12px !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  border-bottom: 8px solid var(--secondary-color);
}

.heroSwiper {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1,
.hero-content p {
  color: var(--text-light);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  opacity: 0.7;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.6rem 1.5rem;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 0.25rem;
  border: none;
  transition: all 0.3s ease;
  font-family: var(--font-serif-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary-custom:hover {
  background-color: #059669;
  /* Darker Emerald */
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
  color: white;
}

.btn-outline-custom {
  background-color: transparent;
  color: white;
  padding: 0.6rem 1.5rem;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 0.25rem;
  border: 2px solid white;
  transition: all 0.3s ease;
  font-family: var(--font-serif-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-outline-custom:hover {
  background-color: white;
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* GIF Frames */
.gif-placeholder-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background-color: #e2e8f0;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gif-placeholder-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.gif-placeholder-card::before {
  content: "Emplacement GIF Animé";
  color: #64748b;
  font-family: var(--font-serif-heading);
  font-style: italic;
  font-size: 1.5rem;
  z-index: 10;
}

.gif-placeholder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5));
  pointer-events: none;
}

.dark-gif-frame {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.dark-gif-frame::before {
  content: "Animation Interactive (GIF)";
  color: #94a3b8;
}

/* Feature Cards */
.feature-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--secondary-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: #ecfdf5;
  color: var(--secondary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--secondary-color);
  color: white;
}

/* Sections */
.section-padding {
  padding: 8rem 0;
}

.bg-accent-dark {
  background-color: #0f172a;
  color: white;
}

.bg-accent-dark h2,
.bg-accent-dark h3 {
  color: white;
}

/* Label Badges with Glowing Animations */
.label-badge {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.label-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1rem;
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0.5;
}

.label-badge:hover {
  transform: translateY(-8px);
}

/* Bronze Card Animation */
.label-badge.badge-bronze {
  border-color: rgba(205, 127, 50, 0.3);
}

.label-badge.badge-bronze::before {
  box-shadow: inset 0 0 30px rgba(205, 127, 50, 0.2);
  animation: pulse-bronze 3s infinite alternate;
}

.label-badge.badge-bronze:hover {
  border-color: rgba(205, 127, 50, 0.6);
  box-shadow: 0 10px 40px rgba(205, 127, 50, 0.2);
}

/* Silver Card Animation */
.label-badge.badge-silver {
  border-color: rgba(192, 192, 192, 0.3);
}

.label-badge.badge-silver::before {
  box-shadow: inset 0 0 30px rgba(192, 192, 192, 0.2);
  animation: pulse-silver 3s infinite alternate 1s;
}

.label-badge.badge-silver:hover {
  border-color: rgba(192, 192, 192, 0.6);
  box-shadow: 0 10px 40px rgba(192, 192, 192, 0.2);
}

/* Gold Card Animation */
.label-badge.badge-gold {
  border-color: rgba(255, 215, 0, 0.3);
}

.label-badge.badge-gold::before {
  box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.2);
  animation: pulse-gold 3s infinite alternate 2s;
}

.label-badge.badge-gold:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

@keyframes pulse-bronze {
  0% {
    box-shadow: inset 0 0 20px rgba(205, 127, 50, 0.1);
  }

  100% {
    box-shadow: inset 0 0 50px rgba(205, 127, 50, 0.4);
  }
}

@keyframes pulse-silver {
  0% {
    box-shadow: inset 0 0 20px rgba(192, 192, 192, 0.1);
  }

  100% {
    box-shadow: inset 0 0 50px rgba(192, 192, 192, 0.4);
  }
}

@keyframes pulse-gold {
  0% {
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
  }

  100% {
    box-shadow: inset 0 0 50px rgba(255, 215, 0, 0.4);
  }
}

/* Text Colors */
.label-bronze {
  color: #cd7f32;
  text-shadow: 0 0 10px rgba(205, 127, 50, 0.3);
}

.label-silver {
  color: #c0c0c0;
  text-shadow: 0 0 10px rgba(192, 192, 192, 0.3);
}

.label-gold {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* GSAP Initial States to prevent Flash of Unstyled Content */
.gsap-reveal {
  opacity: 0;
  visibility: hidden;
}

/* Custom Utilities */
.text-emerald {
  color: var(--secondary-color) !important;
}

.text-amber {
  color: var(--accent-color) !important;
}