/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-primary: #2C5F2D;
  --color-primary-light: #4A8B4D;
  --color-primary-dark: #1A3A1B;
  --color-secondary: #D4AF37;
  --color-accent: #E8B4B8;
  --color-text: #2D3748;
  --color-text-light: #0b0c0c;
  --color-text-lighter: #718096;
  --color-bg: #FFFFFF;
  --color-bg-light: #F7FAFC;
  --color-bg-dark: #EDF2F7;
  --color-success: #48BB78;
  --color-error: #F56565;
  --color-warning: #ED8936;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 96px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-3xl) 0;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition-base);
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-primary);
}

.btn-secondary-white {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn-secondary-white:hover {
  background: var(--color-text);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

.cta-button {
  background: var(--color-primary);
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
}

.cta-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* === SLIDESHOW IMAGES === */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slideshow .slide.active {
  opacity: 1;
}

/* === OVERLAY === */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 45, 0.55), rgba(26, 58, 27, 0.6));
  z-index: 1;
}

/* === CONTENT === */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
    color: #f2f2f2; /* blanc légèrement adouci */
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons .btn {
  margin: 0 10px;
  padding: 10px 25px;
  font-size: 1.1rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #2c5f2d;
  color: #fff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #2c5f2d;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  color: white;
  font-size: 14px;
  z-index: 2;
  text-align: center;
  width: 100%;
}


.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--color-bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
  font-size: 1.5rem;
}

.service-card p {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features {
  background: white;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-2xl);
  align-items: center;
  margin-bottom: var(--spacing-3xl);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.feature-title {
  margin-bottom: var(--spacing-md);
}

.feature-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.feature-list li {
  padding: var(--spacing-xs) 0;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.feature-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.feature-image:hover img {
  transform: scale(1.05);
}

/* ===== GALLERY SECTION ===== */
.gallery {
  background: var(--color-bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: var(--transition-base);
}

.gallery-overlay h4 {
  color: white;
  font-size: 1.25rem;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===== PRICING SECTION ===== */
.pricing {
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 2px solid var(--color-bg-dark);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-title {
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  gap: 4px;
}

.currency {
  font-size: 1.5rem;
  color: var(--color-text-light);
}

.amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.period {
  font-size: 1.125rem;
  color: var(--color-text-light);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.pricing-features li {
  padding: var(--spacing-xs) 0;
  color: var(--color-text-light);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: var(--color-bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial-author h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--color-text-lighter);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  text-align: center;
  padding: var(--spacing-3xl) 0;
}

.cta-title {
  color: white;
  margin-bottom: var(--spacing-md);
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.cta-note {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--color-bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-2xl);
}

.contact-info h2 {
  margin-bottom: var(--spacing-md);
}

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.contact-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.contact-item p {
  color: var(--color-text-light);
}

.contact-form {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-bg-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-text);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: var(--spacing-md);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  color: white;
  transition: var(--transition-fast);
}

.social-link:hover {
  color: var(--color-secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: var(--spacing-md);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-xl);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .cta-button {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
  }

  section {
    padding: var(--spacing-2xl) 0;
  }

  .services-grid,
  .gallery-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}
