/* ==============================================
   MODALLAS EVENT & DESIGN - CUSTOM STYLES
   ============================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==============================================
   ROOT VARIABLES
   ============================================== */
:root {
  /* Brand Colors */
  --color-gold: #d4a54a;
  --color-gold-hover: #c59535;
  --color-forest: #1f3a33;
  --color-forest-light: #2d4d44;
  --color-cream: #f5ede1;
  --color-cream-dark: #ebe0d0;

  /* Semantic Colors */
  --color-background: #ffffff;
  --color-foreground: #0a0a0a;
  --color-muted: #8c8c8c;
  --color-border: #e6d9c8;

  /* Shadows */
  --shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
  --shadow-elegant: 0 8px 30px -8px rgba(212, 165, 74, 0.2);
  --shadow-card: 0 2px 15px -3px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ==============================================
   IMAGE LOADING OPTIMIZATION
   ============================================== */
img {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"] {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.portfolio-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* ==============================================
   BASE STYLES
   ============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-foreground);
  overflow-x: hidden;
  background-color: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

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

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

/* ==============================================
   UTILITY CLASSES
   ============================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

/* Section Backgrounds */
.section-cream {
  background-color: var(--color-cream);
}

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

/* CTA Section with Background Image */
.cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-wedding.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(2px);
  transform: scale(1.1);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 58, 51, 0.92), rgba(31, 58, 51, 0.88));
}

/* Gold Line Divider */
.gold-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  margin: 2rem auto;
}

/* ==============================================
   HEADER & NAVIGATION
   ============================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.5rem 0;
}

.header.scrolled {
  background-color: rgba(31, 58, 51, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  padding: 1rem 0;
}

/* Force scrolled state on non-home pages */
body:not(.home-page) .header {
  background-color: rgba(31, 58, 51, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  padding: 1rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  flex: 0 0 auto;
  margin-top: -20px;
}

.logo a {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.logo img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .logo img {
  height: 60px;
  margin-top: 10px;
}

.logo:hover img {
  filter: drop-shadow(0 4px 12px rgba(212, 165, 74, 0.4));
  transform: scale(1.05);
}

.header nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  justify-content: center;
}

/* Liens de navigation */
.nav-menu li {
  flex-shrink: 0;
}

/* CTA Container (Desktop) */
.nav-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* CTA Mobile - caché sur desktop */
.nav-cta-mobile {
  display: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: white;
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), #f4d078);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(212, 165, 74, 0.3);
}

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

.nav-link.active {
  color: white;
}

/* CTA Button in Navigation */
.nav-btn-cta {
  background: linear-gradient(135deg, var(--color-gold), #f4d078);
  color: var(--color-foreground);
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(212, 165, 74, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f4d078, var(--color-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.nav-btn-cta i {
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.nav-btn-cta span {
  position: relative;
  z-index: 1;
}

.nav-btn-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(212, 165, 74, 0.5);
  color: var(--color-foreground);
}

.nav-btn-cta:hover::before {
  opacity: 1;
}

.nav-btn-cta:active {
  transform: translateY(0) scale(1);
}

.nav-btn-cta.active {
  box-shadow: 0 6px 30px rgba(212, 165, 74, 0.6);
  background: linear-gradient(135deg, #f4d078, var(--color-gold));
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: white;
  transition: var(--transition-base);
}

/* Bouton fermeture - cache sur desktop */
.nav-close {
  display: none;
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-foreground);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

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

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: var(--color-foreground);
}

.btn-outline-white {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-outline-white:hover {
  background-color: white;
  color: var(--color-forest);
}

/* ==============================================
   HERO SECTION
   ============================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 900px;
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 1s ease-out 1s both;
}

.scroll-indicator-inner {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator-dot {
  width: 6px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  animation: scrollBounce 1.5s infinite;
}

/* ==============================================
   CARDS
   ============================================== */
.card-elegant {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  border: 1px solid rgba(212, 165, 74, 0.1);
}

.card-elegant::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), #f4d078);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.card-elegant:hover {
  transform: translateY(-12px);
  box-shadow:
    0 20px 40px rgba(212, 165, 74, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 165, 74, 0.3);
}

.card-elegant:hover::before {
  width: 60%;
}

.card-elegant:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: rgba(212, 165, 74, 0.2);
}

.card-elegant:hover .card-icon i {
  transform: scale(1.1);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-color: rgba(212, 165, 74, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-icon i {
  font-size: 2rem;
  color: var(--color-gold);
  transition: transform 0.4s ease;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-foreground);
}

.card-description {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ==============================================
   PORTFOLIO / GALLERY
   ============================================== */

/* Filter Buttons */
.filter-btn {
  background-color: transparent;
  color: var(--color-forest);
  border: 2px solid rgba(212, 165, 74, 0.3);
  padding: 0.625rem 1.5rem;
  margin: 0.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
  background: linear-gradient(135deg, rgba(212, 165, 74, 0.1), rgba(244, 208, 120, 0.1));
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 165, 74, 0.2);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--color-gold), #f4d078);
  color: var(--color-foreground);
  border-color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(212, 165, 74, 0.3);
}

.filter-btn.active:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 165, 74, 0.4);
}

.filter-btn i {
  margin-right: 0.4rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Hidden portfolio items */
.portfolio-grid-item.hidden-item {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.portfolio-grid-item.hidden-item.show {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}

/* Portfolio filter animations - grid sans trous */
.portfolio-grid-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-grid-item.filtered-out {
  display: none !important;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.portfolio-grid-item.filtered-in {
  opacity: 1;
  transform: scale(1);
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  aspect-ratio: 1;
  cursor: pointer;
}

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

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

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

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
  transform: translateY(100%);
  transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.portfolio-category {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ==============================================
   TESTIMONIALS - 3D LUXURY DESIGN
   ============================================== */
.testimonial-card {
  background: linear-gradient(145deg, #ffffff, #faf8f5);
  border-radius: 1.5rem;
  padding: 3rem;
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(212, 165, 74, 0.1);
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Grand guillemet décoratif en arrière-plan */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 15rem;
  font-weight: 700;
  color: var(--color-gold);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  transition: all 0.4s ease;
}

/* Ligne dorée décorative */
.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), #f4d078, var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow:
    0 30px 60px rgba(212, 165, 74, 0.2),
    0 15px 30px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(212, 165, 74, 0.3);
}

.testimonial-card:hover::before {
  opacity: 0.15;
  transform: scale(1.1);
}

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

/* Icône de citation flottante */
.testimonial-quote-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-gold), #f4d078);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow:
    0 8px 25px rgba(212, 165, 74, 0.35),
    inset 0 -2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.testimonial-quote-icon i {
  color: white;
  font-size: 1.4rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Texte du témoignage */
.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--color-foreground);
  margin-bottom: 2rem;
  text-align: left;
  position: relative;
  z-index: 2;
  font-style: italic;
}

/* Footer avec avatar et infos */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

/* Avatar avec bordure dorée brillante */
.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #f4d078);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow:
    0 8px 20px rgba(212, 165, 74, 0.4),
    inset 0 -3px 6px rgba(0, 0, 0, 0.15);
}

/* Anneau brillant autour de l'avatar */
.testimonial-avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #f4d078, var(--color-gold));
  z-index: -1;
  animation: rotateGlow 4s linear infinite;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.testimonial-avatar span {
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonial-info {
  flex: 1;
  text-align: left;
}

.testimonial-author {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--color-forest);
}

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

.testimonial-event {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 500;
  background: rgba(212, 165, 74, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

/* Étoiles avec animation */
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
}

.testimonial-stars i {
  color: var(--color-gold);
  font-size: 1rem;
  transition: transform 0.3s ease;
  animation: starPulse 2s ease-in-out infinite;
}

.testimonial-stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-stars i:nth-child(2) { animation-delay: 0.1s; }
.testimonial-stars i:nth-child(3) { animation-delay: 0.2s; }
.testimonial-stars i:nth-child(4) { animation-delay: 0.3s; }
.testimonial-stars i:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.testimonial-card:hover .testimonial-stars i {
  animation: starBounce 0.5s ease forwards;
}

.testimonial-card:hover .testimonial-stars i:nth-child(1) { animation-delay: 0s; }
.testimonial-card:hover .testimonial-stars i:nth-child(2) { animation-delay: 0.05s; }
.testimonial-card:hover .testimonial-stars i:nth-child(3) { animation-delay: 0.1s; }
.testimonial-card:hover .testimonial-stars i:nth-child(4) { animation-delay: 0.15s; }
.testimonial-card:hover .testimonial-stars i:nth-child(5) { animation-delay: 0.2s; }

@keyframes starBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 2rem;
    border-radius: 1rem;
  }

  .testimonial-card::before {
    font-size: 8rem;
    top: -10px;
    right: 10px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }

  .testimonial-author {
    font-size: 1.1rem;
  }

  .testimonial-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ==============================================
   TESTIMONIAL CAROUSEL
   ============================================== */
.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.testimonial-track-container {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 1rem;
  box-sizing: border-box;
}

.testimonial-prev,
.testimonial-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  border: 2px solid rgba(212, 165, 74, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


.testimonial-prev {
  left: -1px;
}

.testimonial-next {
  right: -1px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 165, 74, 0.3);
}

.testimonial-prev:hover i,
.testimonial-next:hover i {
  color: white;
}

.testimonial-prev i,
.testimonial-next i {
  color: var(--color-forest);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(212, 165, 74, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonial-dot.active {
  background-color: var(--color-gold);
  transform: scale(1.3);
}

.testimonial-dot:hover {
  background-color: rgba(212, 165, 74, 0.5);
}

/* Responsive testimonial carousel */
@media (max-width: 768px) {
  .testimonial-carousel {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .testimonial-track-container {
    overflow: hidden;
    width: 100%;
  }

  .testimonial-track {
    width: 100%;
  }

  .testimonial-prev,
  .testimonial-next {
    display: none !important;
  }

  .testimonial-slide {
    padding: 0.5rem;
    min-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }

  .testimonial-card {
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    transform: none !important;
  }

  .testimonial-card:hover {
    transform: none;
  }

  .testimonial-card::before {
    font-size: 6rem;
    top: -5px;
    right: 5px;
  }

  .testimonial-quote-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
  }

  .testimonial-quote-icon i {
    font-size: 1.1rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .testimonial-footer {
    gap: 1rem;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .testimonial-avatar span {
    font-size: 1rem;
  }

  .testimonial-author {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .testimonial-event {
    font-size: 0.8rem;
  }

  .testimonial-stars i {
    font-size: 0.85rem;
  }

  .testimonial-dots {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }

  .testimonial-dot {
    width: 10px;
    height: 10px;
  }

  .testimonial-dot.active {
    width: 24px;
  }
}

/* Tres petits ecrans */
@media (max-width: 400px) {
  .testimonial-card {
    padding: 1.25rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .testimonial-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* ==============================================
   PARTNER LOGOS
   ============================================== */
.partner-logo {
  min-width: 160px;
  padding: 1rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(212, 165, 74, 0.15),
    rgba(244, 208, 120, 0.1)
  );
  border: 2px solid rgba(212, 165, 74, 0.3);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(212, 165, 74, 0.1);
  position: relative;
  overflow: hidden;
}

.partner-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 165, 74, 0.25),
    rgba(244, 208, 120, 0.15)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 8px 25px rgba(212, 165, 74, 0.3);
}

.partner-logo:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .partner-logo {
    min-width: 140px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background-color: var(--color-forest);
  color: white;
  padding: 3rem 0 1.5rem;
}

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

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 70px;
  width: auto;
  filter: brightness(1.1);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-legal-links {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

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

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

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.social-links a:hover {
  background-color: var(--color-gold);
  color: var(--color-forest);
}

/* ==============================================
   WHATSAPP BUTTON
   ============================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float i {
  font-size: 2rem;
  color: white;
}

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .header nav {
    justify-content: flex-end;
  }

  .menu-toggle {
    display: flex;
  }

  /* Bouton fermeture menu mobile */
  .nav-close {
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(212, 165, 74, 0.15);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: 1.25rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
  }

  .nav-close:hover {
    background: var(--color-gold);
    color: white;
    transform: rotate(90deg);
  }

  /* Cacher le CTA desktop sur mobile */
  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(31, 58, 51, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 5rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    font-size: 1.125rem;
    padding: 0.75rem 0;
  }

  /* Afficher le CTA mobile */
  .nav-cta-mobile {
    display: block;
    margin-top: 1.5rem;
    width: 100%;
  }

  .nav-cta-mobile .nav-btn-cta {
    width: 100%;
    justify-content: center;
  }

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

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

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float i {
    font-size: 1.5rem;
  }
}

/* ==============================================
   SPACING UTILITIES
   ============================================== */
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

/* ==============================================
   POPUP SAINT-VALENTIN
   ============================================== */
.valentine-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.valentine-popup.active {
  opacity: 1;
  visibility: visible;
}

.valentine-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.valentine-content {
  position: relative;
  background: linear-gradient(145deg, #d4a54a);
  border-radius: 1.5rem;
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(196, 30, 74, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(0.8) translateY(30px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.valentine-popup.active .valentine-content {
  transform: scale(1) translateY(0);
}

/* Bouton fermer */
.valentine-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valentine-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Cœurs animés en arrière-plan */
.valentine-hearts {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.valentine-hearts .heart {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.15;
  animation: floatHeart 6s ease-in-out infinite;
}

.valentine-hearts .heart:nth-child(1) { left: 5%; top: 20%; animation-delay: 0s; }
.valentine-hearts .heart:nth-child(2) { left: 15%; top: 60%; animation-delay: 1s; font-size: 1rem; }
.valentine-hearts .heart:nth-child(3) { left: 85%; top: 15%; animation-delay: 2s; }
.valentine-hearts .heart:nth-child(4) { left: 90%; top: 70%; animation-delay: 0.5s; font-size: 1.2rem; }
.valentine-hearts .heart:nth-child(5) { left: 25%; top: 85%; animation-delay: 1.5s; font-size: 0.9rem; }
.valentine-hearts .heart:nth-child(6) { left: 75%; top: 45%; animation-delay: 2.5s; }
.valentine-hearts .heart:nth-child(7) { left: 50%; top: 10%; animation-delay: 3s; font-size: 1.3rem; }
.valentine-hearts .heart:nth-child(8) { left: 60%; top: 80%; animation-delay: 0.8s; }

@keyframes floatHeart {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translateY(-20px) rotate(10deg) scale(1.1);
    opacity: 0.25;
  }
}

/* Contenu principal */
.valentine-body {
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Icône cœur principal */
.valentine-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-gold), #f4d078);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px rgba(212, 165, 74, 0.4),
    inset 0 -3px 10px rgba(0, 0, 0, 0.2);
  animation: pulseHeart 1.5s ease-in-out infinite;
}

.valentine-icon i {
  font-size: 2.5rem;
  color: #8b1a3a;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Titre */
.valentine-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.valentine-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* Compte à rebours */
.valentine-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  min-width: 70px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #201808;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(212, 165, 74, 0.5);
}

.countdown-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.countdown-separator {
  font-size: 1.5rem;
  color: var(--color-gold);
  font-weight: 700;
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Message promo */
.valentine-message {
  background: linear-gradient(135deg, rgb(0 0 0 / 20%), rgb(23 21 17 / 10%));
  border: 1px solid rgba(212, 165, 74, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.valentine-message i {
  color: var(--color-foreground);
  margin-right: 0.5rem;
}

.valentine-message strong {
  color: black;
  font-size: 1.2rem;
}

/* Bouton CTA */
.valentine-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background:linear-gradient(192deg, #f50000, #6b3838);
  color: #000000;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 25px rgba(212, 165, 74, 0.4),
    inset 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.valentine-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 35px rgba(212, 165, 74, 0.5),
    inset 0 -2px 5px rgba(0, 0, 0, 0.1);
  color: #242021;
}

.valentine-cta:active {
  transform: translateY(0) scale(1);
}

/* Checkbox ne plus afficher */
.valentine-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.valentine-dismiss:hover {
  color: rgba(255, 255, 255, 0.9);
}

.valentine-dismiss input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-gold);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 480px) {
  .valentine-body {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .valentine-title {
    font-size: 1.8rem;
  }

  .valentine-subtitle {
    font-size: 1rem;
  }

  .countdown-item {
    min-width: 60px;
    padding: 0.5rem 0.75rem;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .countdown-separator {
    font-size: 1.2rem;
  }

  .valentine-cta {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  .valentine-icon {
    width: 65px;
    height: 65px;
  }

  .valentine-icon i {
    font-size: 2rem;
  }
}

/* ==============================================
   COOKIE BANNER
   ============================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-forest), #2d4d44);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-content {
  flex: 1;
  min-width: 280px;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-content a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-content a:hover {
  color: #f4d078;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--color-gold), #f4d078);
  color: var(--color-foreground);
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 165, 74, 0.4);
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem;
  }

  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content p {
    font-size: 0.875rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ==============================================
   SCROLL TO TOP BUTTON
   ============================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 998;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #f4d078);
  color: var(--color-foreground);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 165, 74, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(212, 165, 74, 0.5);
}

.scroll-to-top i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
  }

  .scroll-to-top i {
    font-size: 1.1rem;
  }
}
