/* SNBG Home — cinematic hero with rich animations */

/* ===== Hero carousel ===== */
.hero {
  position: relative;
  height: clamp(580px, 92vh, 820px);
  overflow: hidden;
  isolation: isolate;
}
.carousel { position: relative; width: 100%; height: 100%; }

/* Slide background with Ken Burns effect */
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease-out), visibility 0s linear 1.4s;
  z-index: 1;
}
.slide.slide-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 1.4s var(--ease-out), visibility 0s linear 0s;
  animation: kenBurns 14s ease-out forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.18) translate(-1.5%, -1%); }
}

/* Cinematic overlay with subtle animation */
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(15,59,36,0.92) 0%, rgba(15,59,36,0.55) 55%, rgba(15,59,36,0.3) 100%),
    radial-gradient(circle at 80% 100%, rgba(255,215,0,0.12) 0%, transparent 55%);
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 0 1rem;
}
.slide-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at var(--mx, 30%) var(--my, 40%), rgba(255,255,255,0.06), transparent 50%);
  pointer-events: none;
  transition: background 0.6s var(--ease-out);
}
.slide-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(15,59,36,0.6) 100%);
  pointer-events: none;
}

/* Slide content with stagger animations (active only) */
.slide-content {
  position: relative;
  max-width: 760px;
  margin: 0;
  text-align: left;
  z-index: 2;
  transition: transform 0.6s var(--ease-out);
}
.slide-content > [data-anim] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}
.slide-active .slide-content > [data-anim] {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.slide-active .slide-content > [data-anim="0"] { transition-delay: 0.25s; }
.slide-active .slide-content > [data-anim="1"] { transition-delay: 0.45s; }
.slide-active .slide-content > [data-anim="2"] { transition-delay: 0.65s; }
.slide-active .slide-content > [data-anim="3"] { transition-delay: 0.85s; }
.slide-active .slide-content > [data-anim="4"] { transition-delay: 1.05s; }
.slide-active .slide-content > [data-anim="5"] { transition-delay: 1.25s; }

/* Badge */
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,215,0,0.14);
  border: 1px solid rgba(255,215,0,0.4);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gold-300);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(255,215,0,0.18);
  position: relative;
}
.slide-badge::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent, rgba(255,215,0,0.6), transparent);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: badgeShine 3s linear infinite;
  pointer-events: none;
}
@keyframes badgeShine {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== Slide variant: "heritage" (centered, refined) ===== */
.slide.slide-centered .slide-overlay { justify-content: center; }
.slide.slide-centered .slide-content {
  text-align: center;
  margin: 0 auto;
  max-width: 880px;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.slide.slide-centered .slide-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.slide.slide-centered .slide-title .accent {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--white);
  animation: none;
}
.slide.slide-centered .slide-subtitle {
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.15rem);
  letter-spacing: 0.02em;
  margin-bottom: 1.75rem;
}
.slide.slide-centered .slide-actions { justify-content: center; }

/* Slimmer line-style badge for heritage variant */
.slide-badge.slide-badge-line {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.35rem 0;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-300);
  gap: 0.85rem;
}
.slide-badge.slide-badge-line::before,
.slide-badge.slide-badge-line::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  position: static;
  inset: auto;
  padding: 0;
  border-radius: 0;
  -webkit-mask: none;
  mask: none;
  animation: none;
}
.slide-badge.slide-badge-line span { display: inline-block; }

/* Title with line-by-line reveal */
.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw + 0.5rem, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -0.025em;
  text-shadow: 0 6px 30px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}
.slide-title .reveal-line {
  display: inline-block;
  overflow: hidden;
  position: relative;
}
.slide-title .reveal-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  transform: translateX(-100%);
  opacity: 0;
}
.slide-active .slide-title .reveal-line::after {
  animation: lineSweep 1.4s var(--ease-out) forwards;
  animation-delay: 1.2s;
}
.slide-title .accent {
  color: var(--gold-300);
  background: linear-gradient(120deg, var(--gold-400) 0%, var(--gold-200) 50%, var(--gold-400) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: titleShine 4s linear infinite;
}
@keyframes lineSweep {
  0%   { transform: translateX(-100%); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
@keyframes titleShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.slide-subtitle {
  font-size: clamp(1.1rem, 1.5vw + 0.25rem, 1.5rem);
  color: var(--gold-300);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.slide-description {
  font-size: var(--fs-md);
  margin-bottom: 1.75rem;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  line-height: 1.6;
}

/* Actions */
.slide-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.btn-hero { padding: 0.95rem 1.85rem !important; font-size: var(--fs-md) !important; }
.slide-actions .btn-primary {
  background: var(--gradient-gold);
  color: var(--green-700);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}
.slide-actions .btn-primary:hover { color: var(--green-800); }
.slide-actions .btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: left 0.7s var(--ease-out);
}
.slide-actions .btn-primary:hover::before { left: 130%; }

/* Glow pulse on primary CTA */
.btn-glow { animation: btnGlow 2.6s ease-in-out infinite; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 22px rgba(255,215,0,0.32), 0 0 0 0 rgba(255,215,0,0.5); }
  50%      { box-shadow: 0 12px 32px rgba(255,215,0,0.45), 0 0 0 14px rgba(255,215,0,0); }
}
.btn-arrow { display: inline-block; transition: transform var(--duration) var(--ease-out); }
.slide-actions .btn-primary:hover .btn-arrow { transform: translateX(4px); }

.slide-actions .btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}
.slide-actions .btn-outline:hover { background: rgba(255,255,255,0.18); border-color: var(--white); color: var(--white); }

/* Stats */
.slide-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.mini-stat { text-align: left; position: relative; padding-right: 2rem; }
.mini-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,215,0,0.4), transparent);
}
.mini-stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}
.mini-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
  display: block;
  font-weight: 600;
}

/* Hero floating decoration */
.hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.leaf {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
  animation: leafDrift 16s linear infinite;
  will-change: transform, opacity;
}
.leaf-1 { left: 8%;  font-size: 1.4rem; animation-duration: 18s; animation-delay: -2s; }
.leaf-2 { left: 22%; font-size: 1.8rem; animation-duration: 22s; animation-delay: -8s; }
.leaf-3 { left: 45%; font-size: 1.2rem; animation-duration: 15s; animation-delay: -5s; }
.leaf-4 { left: 68%; font-size: 1.6rem; animation-duration: 20s; animation-delay: -12s; }
.leaf-5 { left: 85%; font-size: 1.4rem; animation-duration: 17s; animation-delay: -3s; }

@keyframes leafDrift {
  0%   { transform: translateY(-10vh) translateX(0)    rotate(0deg);   opacity: 0; }
  10%  { opacity: 0.7; }
  30%  { transform: translateY(30vh)  translateX(40px)  rotate(120deg); }
  60%  { transform: translateY(60vh)  translateX(-30px) rotate(240deg); opacity: 0.5; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(110vh) translateX(20px)  rotate(360deg); opacity: 0; }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: glowFloat 12s ease-in-out infinite alternate;
}
.hero-glow-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,215,0,0.6), transparent 70%);
  top: 10%; left: -100px;
}
.hero-glow-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(79,154,90,0.5), transparent 70%);
  bottom: -150px; right: -120px;
  animation-delay: -6s;
}
@keyframes glowFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}

/* Carousel controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  width: 56px; height: 56px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  transition: all var(--duration) var(--ease-out);
}
.carousel-btn:hover {
  background: var(--gold-400);
  color: var(--green-700);
  border-color: var(--gold-400);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-gold);
}
.carousel-btn:active { transform: translateY(-50%) scale(0.95); }
.carousel-btn-prev { left: 28px; }
.carousel-btn-next { right: 28px; }

/* Indicators with progress bar */
.carousel-indicators {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}
.indicator {
  position: relative;
  width: 44px;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border: 0;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  transition: width var(--duration) var(--ease-out);
}
.indicator:hover { background: rgba(255,255,255,0.4); }
.indicator.indicator-active {
  width: 80px;
  background: rgba(255,255,255,0.3);
}
.indicator-progress {
  position: absolute;
  inset: 0;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
}
.indicator.indicator-active .indicator-progress {
  animation: indicatorProgress 6s linear forwards;
}
@keyframes indicatorProgress {
  to { transform: scaleX(1); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  z-index: 10;
  transition: color var(--duration) var(--ease-out);
}
.hero-scroll:hover { color: var(--gold-400); }
.hero-scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,215,0,0.5);
  border-radius: 50%;
  background: rgba(255,215,0,0.1);
  backdrop-filter: blur(8px);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Pause animations on hover */
.hero:hover .indicator-progress { animation-play-state: paused; }
.hero:hover .slide.slide-active { animation-play-state: paused; }

/* ===== Features ===== */
.features-section { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(15,59,36,0.04);
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--green-700); }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* ===== About preview ===== */
.about-preview { padding: clamp(3rem, 6vw, 5rem) 0; }
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.about-text .lead { color: var(--text-secondary); margin-bottom: 1.5rem; }
.about-highlights { margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.85rem; }
.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-base);
  color: var(--gray-700);
}
.about-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.about-visual { position: relative; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.about-image:hover img { transform: scale(1.05); }
.image-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold-400);
  color: var(--green-700);
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration) var(--ease-out);
}
.image-overlay:hover { transform: translate(-50%, -50%) scale(1.1); }

.about-stats-mini { display: flex; gap: 1rem; margin-top: 1.25rem; }
.mini-stat-card {
  flex: 1;
  background: var(--white);
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(15,59,36,0.04);
}
.mini-number { font-size: 1.6rem; font-weight: 800; display: block; color: var(--green-700); }
.mini-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

@media (max-width: 880px) { .about-content { grid-template-columns: 1fr; } }

/* ===== Stats / Performances ===== */
.stats { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--bg-soft); }

/* ===== Services preview ===== */
.services-preview { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,59,36,0.04);
  display: flex; flex-direction: column;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.service-card:hover .service-image img { transform: scale(1.06); }
.service-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15,59,36,0.85) 100%);
  color: var(--white);
}
.service-highlights { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.highlight-badge {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.service-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--green-700); }
.service-content p { color: var(--text-secondary); font-size: 0.95rem; flex: 1; margin-bottom: 1rem; }
.service-link {
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: gap var(--duration) var(--ease-out);
}
.service-link:hover { color: var(--green-700); gap: 0.6rem; }
.section-footer { text-align: center; display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ===== Testimonials ===== */
.testimonials { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--bg-soft); }
.testimonial-slider { max-width: 820px; margin: 0 auto; position: relative; }
.testimonial-card {
  display: none;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid rgba(15,59,36,0.04);
}
.testimonial-card.testimonial-active { display: block; animation: fadeIn 0.5s var(--ease-out); }
.testimonial-rating { color: var(--gold-400); margin-bottom: 1rem; font-size: 1.1rem; letter-spacing: 0.1em; }
.testimonial-content p {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
  line-height: 1.65;
}
.testimonial-author strong { display: block; color: var(--green-700); font-size: 1rem; margin-bottom: 0.25rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.9rem; }

/* ===== CTA ===== */
.cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--gradient-forest);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,215,0,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(79,154,90,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.cta .container { position: relative; z-index: 1; }
.cta-content { max-width: 820px; margin: 0 auto; }
.cta h2 { color: var(--gold-300); margin-bottom: 1rem; font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem); }
.cta p { color: rgba(255,255,255,0.92); font-size: var(--fs-md); margin-bottom: 1.5rem; }
.cta-features { display: flex; gap: 2rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.cta-feature { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.95); font-weight: 500; }
.cta-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: var(--gradient-gold); color: var(--green-700); box-shadow: var(--shadow-gold); }
.cta .btn-outline { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); backdrop-filter: blur(8px); }
.cta .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); color: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .slide-content { text-align: center; margin: 0 auto; }
  .slide-stats { justify-content: center; }
  .mini-stat { text-align: center; }
  .carousel-btn { width: 44px; height: 44px; font-size: 1.2rem; }
  .carousel-btn-prev { left: 12px; }
  .carousel-btn-next { right: 12px; }
}

/* ===== Performances highlight section (cream, refined) ===== */
.perf-highlights {
  position: relative;
  background: #f7efe1;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.perf-highlights .container { position: relative; z-index: 2; }
.perf-leaf {
  position: absolute;
  top: 50%;
  width: 180px;
  height: 220px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240'><path fill='%2354603f' d='M100 8c-44 32-72 76-72 124 0 60 32 100 72 100s72-40 72-100C172 84 144 40 100 8zM100 40c0 60 0 120 0 180' stroke='%2354603f' stroke-width='2' fill-opacity='.6'/></svg>");
}
.perf-leaf-left  { left: -40px; transform: translateY(-50%) rotate(-18deg); }
.perf-leaf-right { right: -40px; transform: translateY(-50%) rotate(168deg); }

.perf-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.perf-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw + 0.5rem, 3rem);
  color: #2b2418;
  letter-spacing: -0.005em;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.perf-subtitle {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: clamp(0.95rem, 0.5vw + 0.85rem, 1.05rem);
  color: #6b5e48;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.perf-grid::before,
.perf-grid::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(43,36,24,0.18), transparent);
}
.perf-grid::before { left: calc(33.33% - 0.5px); }
.perf-grid::after  { left: calc(66.66% - 0.5px); }

.perf-item { text-align: center; padding: 0 0.5rem; }
.perf-value {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.4rem, 4vw + 0.5rem, 3.4rem);
  color: #2f4732;
  line-height: 1;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.perf-label {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: clamp(0.85rem, 0.3vw + 0.8rem, 0.95rem);
  color: #6b5e48;
  line-height: 1.45;
  max-width: 24ch;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .perf-grid { grid-template-columns: 1fr; gap: 2rem; }
  .perf-grid::before,
  .perf-grid::after { display: none; }
  .perf-leaf { width: 110px; height: 140px; opacity: 0.12; }
  .perf-leaf-left  { left: -30px; }
  .perf-leaf-right { right: -30px; }
}

/* ===== Essences richness section ===== */
.essences-richness {
  position: relative;
  background: #0f3b24;
  color: #ffffff;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.essences-header { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.essences-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.6rem);
  color: #ffffff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.essences-subtitle {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: clamp(0.92rem, 0.4vw + 0.85rem, 1rem);
  color: rgba(255,255,255,0.72);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.essences-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  margin: 0 auto;
  max-width: 1300px;
}

.essence-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 1.1rem 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.essence-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.32);
  background: rgba(255,255,255,0.06);
}

.essence-thumb {
  width: 100%;
  height: 90px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 8px 18px rgba(0,0,0,0.25);
  position: relative;
}
.essence-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 45%, rgba(0,0,0,0.25) 100%);
}

.essence-name {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 1vw + 0.85rem, 1.5rem);
  color: #ffffff;
  margin: 0 0 0.2rem;
  line-height: 1.1;
}
.essence-tagline {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.88rem;
  color: #FFD700;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.essence-usages {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 1rem;
}
.essence-usages li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  text-align: left;
  padding-left: 0.25rem;
}
.essence-usages li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFD700;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.18);
}

.essences-footnote {
  text-align: center;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.86rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

@media (max-width: 1100px) {
  .essences-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .essences-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .essences-grid { grid-template-columns: 1fr; }
}

/* ===== Histoire intro section ===== */
.histoire-intro {
  background: #f7efe1;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  color: #2b2418;
}
.histoire-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.histoire-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #2b2418;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
}
.histoire-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0,0,0,0.05), transparent 35%, rgba(0,0,0,0.18));
  pointer-events: none;
}

.histoire-content { display: flex; flex-direction: column; }
.histoire-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b5e48;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.histoire-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.7rem, 2.2vw + 0.6rem, 2.4rem);
  line-height: 1.15;
  color: #2b2418;
  margin: 0 0 1.1rem;
  letter-spacing: -0.005em;
}
.histoire-body {
  color: #4a4233;
  line-height: 1.7;
  font-size: clamp(0.92rem, 0.4vw + 0.85rem, 1rem);
  margin-bottom: 1.5rem;
}
.histoire-body p { margin: 0; }

.histoire-stats {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.histoire-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.histoire-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,59,36,0.08);
  color: #2f4732;
  flex-shrink: 0;
}
.histoire-stat-text { display: flex; flex-direction: column; line-height: 1.2; }
.histoire-stat-text strong {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.2rem;
  color: #2b2418;
}
.histoire-stat-text span {
  font-size: 0.85rem;
  color: #6b5e48;
  margin-top: 2px;
}

.histoire-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2b2418;
  text-decoration: none;
  border-bottom: 1px solid #2b2418;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.histoire-cta:hover {
  color: #c89020;
  border-color: #c89020;
  gap: 0.6rem;
}

@media (max-width: 880px) {
  .histoire-intro-grid { grid-template-columns: 1fr; }
  .histoire-image { aspect-ratio: 16 / 10; max-height: 360px; }
}

/* ===== Cap 2030 section ===== */
.cap-2030 {
  background: #0f3b24;
  color: #ffffff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}
.cap-2030-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.cap-2030-content { text-align: center; }

.cap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #FFD700;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  margin-bottom: 0.75rem;
}
.cap-eyebrow::before,
.cap-eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.6), transparent);
}

.cap-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw + 0.5rem, 2.4rem);
  color: #ffffff;
  margin: 0 0 0.85rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.cap-body {
  max-width: 580px;
  margin: 0 auto 1.75rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-size: clamp(0.92rem, 0.4vw + 0.85rem, 1rem);
}

.cap-features {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.cap-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  min-width: 100px;
}
.cap-feature-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,215,0,0.10);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
}
.cap-feature-label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  text-align: center;
}

.cap-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.cap-qr-card {
  display: block;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,215,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cap-qr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
}
.cap-qr-card img {
  display: block;
  width: 130px;
  height: 130px;
  object-fit: contain;
}
.cap-qr-caption {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
  max-width: 200px;
  line-height: 1.4;
}

@media (max-width: 880px) {
  .cap-2030-grid { grid-template-columns: 1fr; justify-items: center; }
}

/* ===== Actualités & Événements section ===== */
.actualites-home {
  background: #f7efe1;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.actualites-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.actualites-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw + 0.5rem, 3rem);
  color: #2b2418;
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.1;
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
}
.news-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #2b2418;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}
.news-card-image:hover { transform: scale(1.01); }
.news-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18));
  pointer-events: none;
}

.news-card-body { padding: 1.1rem 0 0; }

.news-card-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c89020;
  margin-bottom: 0.55rem;
}

.news-card-title {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.2rem);
  font-weight: 700;
  color: #2b2418;
  margin: 0 0 0.65rem;
  line-height: 1.3;
}
.news-card-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.news-card-title a:hover { color: #c89020; }

.news-card-text {
  margin: 0 0 0.85rem;
  color: #6b5e48;
  line-height: 1.55;
  font-size: 0.92rem;
}

.news-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2b2418;
  text-decoration: none;
  border-bottom: 1px solid #2b2418;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.news-card-cta:hover {
  color: #c89020;
  border-color: #c89020;
  gap: 0.5rem;
}

@media (max-width: 880px) {
  .actualites-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .actualites-grid { grid-template-columns: 1fr; }
}
