/* ==========================================================================
   BNJ VISION GROUPE - Design System & Feuilles de Style Principales
   Palette : Vert Agricole (#2E7D32), Vert Clair (#8BC34A), Terre/Ocre (#A1887F)
   Typographie : Poppins (Titres) & Inter (Corps de texte)
   ========================================================================== */

:root {
  --primary-color: #2E7D32;
  --primary-hover: #1B5E20;
  --primary-light: #E8F5E9;
  --accent-color: #8BC34A;
  --accent-hover: #7CB342;
  --accent-light: #F1F8E9;
  --earth-color: #A1887F;
  --earth-dark: #6D4C41;
  --earth-light: #EFEBE9;
  --dark-color: #1E293B;
  --dark-soft: #334155;
  --text-muted: #64748B;
  --light-bg: #F8FAF7;
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--dark-color);
  background-color: var(--light-bg);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-fluid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-color);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
  color: var(--dark-soft);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

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

.badge-earth {
  background-color: var(--earth-light);
  color: var(--earth-dark);
}

.badge-white {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(139, 195, 74, 0.3);
}

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

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

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

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Icons */
.icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  flex-shrink: 0;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-xl {
  width: 48px;
  height: 48px;
}

/* ==========================================================================
   En-tête & Barre de Navigation (Fixed Header)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 4px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}

.site-header.scrolled .navbar {
  height: 70px;
}

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

.navbar-brand img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .navbar-brand img {
  height: 46px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-soft);
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Burger Mobile Menu */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

.burger-btn.open span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

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

.burger-btn.open span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Main Content Wrapper (padding top for fixed header) */
.main-content {
  padding-top: 80px;
  flex: 1 0 auto;
}

/* ==========================================================================
   Hero Slider (Accueil)
   ========================================================================== */

.hero-slider-section {
  position: relative;
  height: calc(100vh - 80px);
  min-height: 580px;
  max-height: 780px;
  overflow: hidden;
  background-color: #0b1f10;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.slider-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-slide.active .slider-bg {
  transform: scale(1);
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 33, 18, 0.88) 0%, rgba(20, 48, 25, 0.65) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.slider-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  color: var(--white);
  padding: 40px 0;
}

.slider-content .badge {
  margin-bottom: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s 0.2s ease-out;
}

.slider-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s 0.4s ease-out;
}

.slider-content p {
  color: #E2E8F0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin-bottom: 32px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s 0.6s ease-out;
}

.slider-content .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s 0.8s ease-out;
}

.slider-slide.active .slider-content .badge,
.slider-slide.active .slider-content h1,
.slider-slide.active .slider-content p,
.slider-slide.active .slider-content .btn-group {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.slider-dot.active {
  width: 36px;
  background: var(--accent-color);
}

/* ==========================================================================
   Sections Générales & Utilitaires
   ========================================================================== */

.section {
  padding: 85px 0;
  position: relative;
}

.section-bg-light {
  background-color: var(--light-bg);
}

.section-bg-white {
  background-color: var(--white);
}

.section-bg-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.section-bg-dark {
  background-color: var(--dark-color);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px auto;
}

.section-header .badge {
  margin-bottom: 14px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section-bg-primary .section-header h2,
.section-bg-dark .section-header h2 {
  color: var(--white);
}

.section-bg-primary .section-header p,
.section-bg-dark .section-header p {
  color: #CBD5E1;
}

/* ==========================================================================
   Cartes des 4 Activités (Accueil)
   ========================================================================== */

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(46, 125, 50, 0.3);
}

.activity-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.activity-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-card-img img {
  transform: scale(1.08);
}

.activity-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.activity-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.activity-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--dark-color);
}

.activity-card-body p {
  font-size: 0.95rem;
  color: var(--dark-soft);
  margin-bottom: 20px;
  flex: 1;
}

.activity-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.activity-card-link:hover {
  color: var(--primary-hover);
  gap: 12px;
}

/* ==========================================================================
   Section Pourquoi Nous Choisir
   ========================================================================== */

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

.why-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

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

.why-icon-box {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

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

.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Chiffres Clés (Stats Counter)
   ========================================================================== */

.stats-bar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1c5222 100%);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  margin-top: -40px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.85rem;
  color: #D1E7DD;
}

/* ==========================================================================
   Témoignages Clients
   ========================================================================== */

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

.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 125, 50, 0.25);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--dark-soft);
  margin-bottom: 24px;
  position: relative;
  line-height: 1.7;
}

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

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-color);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Call To Action (CTA Banner)
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, #1b4d21 0%, #2E7D32 50%, #43A047 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.cta-banner p {
  color: #E8F5E9;
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 32px auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Page Produits & Services
   ========================================================================== */

.filter-pills-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-pill {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--dark-soft);
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover, .filter-pill.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
}

.product-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  transition: var(--transition);
}

.product-detail-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-grid-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
}

.product-media-column {
  background-color: #f1f5f9;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-main-image-wrap {
  position: relative;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
}

.product-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs-wrap {
  display: flex;
  gap: 10px;
}

.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.product-thumb.active, .product-thumb:hover {
  border-color: var(--primary-color);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-column {
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.product-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}

.product-title {
  font-size: 1.65rem;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.product-price-tag {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.product-short-desc {
  font-size: 1.05rem;
  color: var(--dark-soft);
  margin-bottom: 24px;
}

/* Detailed Advantages List */
.product-advantages-section {
  margin-bottom: 28px;
}

.advantages-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.advantage-item {
  display: flex;
  gap: 12px;
  background: var(--light-bg);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.advantage-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-content h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.advantage-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Usage or Program Box */
.product-usage-box {
  background: #FEF3C7;
  border-left: 4px solid #D97706;
  padding: 18px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 28px;
}

.product-usage-box h5 {
  color: #92400E;
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-usage-box p {
  font-size: 0.9rem;
  color: #78350F;
  margin: 0;
}

.product-action-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Page Galerie (Photos & Vidéos avec Lightbox)
   ========================================================================== */

.gallery-filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.gallery-type-pills, .gallery-cat-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.gallery-item {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-thumb-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #111;
}

.gallery-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-thumb-container img {
  transform: scale(1.06);
}

.gallery-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(46, 125, 50, 0.9);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  z-index: 2;
}

.gallery-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.gallery-item:hover .gallery-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent-color);
}

.gallery-info {
  padding: 20px;
}

.gallery-info h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.gallery-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 20, 0.95);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 30px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 1050px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.lightbox-media-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio */
  background: #000;
}

.lightbox-media-wrapper iframe,
.lightbox-media-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox-media-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-caption {
  background: #111827;
  color: var(--white);
  padding: 18px 24px;
}

.lightbox-caption h4 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.lightbox-caption p {
  color: #9CA3AF;
  font-size: 0.9rem;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2010;
}

.lightbox-close:hover {
  background: var(--white);
  color: #000;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: var(--radius-full);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2010;
}

.lightbox-nav:hover {
  background: var(--white);
  color: #000;
}

.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* ==========================================================================
   Page Contact & Formulaire de Commande
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-content h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item-content p, .contact-item-content a {
  font-size: 0.95rem;
  color: var(--dark-soft);
  margin: 0;
}

.contact-social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--light-bg);
  color: var(--dark-soft);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

/* Order / Contact Form Card */
.order-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-color);
}

.form-label span.req {
  color: #DC2626;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--dark-color);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Honeypot field for anti-spam */
.website-hp {
  display: none !important;
  visibility: hidden !important;
}

/* Form Alerts */
.form-alert {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 26px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.5;
}

.form-alert-success {
  background-color: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46;
}

.form-alert-error {
  background-color: #FEF2F2;
  border: 1px solid #EF4444;
  color: #991B1B;
}

/* ==========================================================================
   Bouton WhatsApp Flottant
   ========================================================================== */

.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background: #20BD5A;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

.whatsapp-float-btn svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  background: var(--dark-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--dark-color);
}

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

/* Pulse animation on load */
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float-btn {
  animation: wa-pulse 2.5s infinite;
}

/* ==========================================================================
   Pied de Page (Footer)
   ========================================================================== */

.site-footer {
  background-color: #0f1f14;
  color: #CBD5E1;
  padding: 75px 0 25px 0;
  margin-top: auto;
  border-top: 4px solid var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 55px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background-color: var(--accent-color);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.925rem;
  color: #94A3B8;
}

.footer-contact-item svg {
  color: var(--accent-color);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-bottom strong {
  color: #FFFFFF;
  font-weight: 700;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

