/* ========================================
   HEXAGONE - Full Page Scroll Experience
   Force dark theme on homepage
   ======================================== */

html {
  /* moved to bottom */;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #000 !important;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* Sections snap */
.hero,
.image-showcase,
.scroll-section-dark,
.stats-section {
  /* removed */
  /* removed */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ========================================
   HERO SECTION - Force dark
   ======================================== */
.hero {
  background: #000 !important;
  padding: 0 !important;
}

.hero::before {
  display: none !important;
}

.hero-content {
  max-width: 900px;
  padding: 0 40px;
  z-index: 2;
  text-align: center;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6) !important;
  margin-bottom: 24px;
}

.hero-title,
.hero h1 {
  font-size: clamp(48px, 10vw, 96px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 24px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px) !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 48px !important;
  line-height: 1.5 !important;
  max-width: 600px;
  background: none !important;
  padding: 0 !important;
  border: none !important;
}

.hero-cta-group,
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.hero-cta svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-cta-primary {
  background: #fff !important;
  color: #000 !important;
}

.hero-cta-primary:hover {
  background: rgba(255,255,255,0.9) !important;
  transform: scale(1.02);
}

.hero-cta-secondary {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.hero-cta-secondary:hover {
  background: rgba(255,255,255,0.15) !important;
}

/* ========================================
   IMAGE SHOWCASE SECTIONS
   ======================================== */
.image-showcase {
  background: #000;
}

.image-showcase-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.image-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.6) 100%);
}

.image-showcase-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.image-showcase-title {
  font-size: clamp(56px, 12vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff !important;
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}

.image-showcase-subtitle {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   CONTENT SECTIONS (Dark)
   ======================================== */
.scroll-section-dark {
  background: #0a0a0a !important;
}

.content-block {
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

.content-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5) !important;
  margin-bottom: 20px;
}

.content-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff !important;
  margin: 0 0 24px;
}

.content-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.6;
  margin-bottom: 32px;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 500;
  color: #93c5fd !important;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.section-cta:hover {
  gap: 12px;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  background: #fff !important;
  flex-direction: column;
  padding: 80px 40px;
}

.stats-section .content-block {
  margin-bottom: 60px;
}

.stats-section .content-title {
  color: #0a0a0a !important;
}

.stats-section .content-subtitle {
  color: #6b7280 !important;
}

.stats-section .content-eyebrow {
  color: #091A50 !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1000px;
  width: 100%;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  background: #f9fafb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.stat-number {
  white-space: nowrap;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  /* removed */
  /* removed */
  min-height: auto;
  padding: 120px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #091A50 0%, #0c2461 100%) !important;
  text-align: center;
  border: none !important;
}

.cta-title {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff !important;
  margin: 0 0 20px;
}

.cta-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  font-size: 17px;
  font-weight: 600;
  color: #091A50 !important;
  background: #fff !important;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ========================================
   REVEAL ANIMATIONS (no blink)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .hero-cta-group,
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ========================================
   FOOTER - Pas de snap
   ======================================== */
.footer {
  /* removed */
  /* removed */
  min-height: auto !important;
  display: block !important;
}

/* ========================================
   HEADER TRANSPARENT SUR HOMEPAGE
   ======================================== */
/* Header overrides removed - using global light header */

/* ========================================
   SHOWCASE SECTIONS - PHOTO SUR PHOTO
   ======================================== */
.image-showcase-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.image-showcase-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.image-showcase-cta:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* ========================================
   SHOWCASE TEXT - PLUS GROS ET LISIBLE
   ======================================== */
.image-showcase-eyebrow {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 16px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.image-showcase-title {
  font-size: clamp(60px, 14vw, 140px) !important;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5) !important;
}
.image-showcase-subtitle {
  font-size: clamp(18px, 2.5vw, 24px) !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.9) !important;
  max-width: 600px !important;
  line-height: 1.6 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.image-showcase-cta {
  font-size: 17px !important;
  padding: 16px 36px !important;
  margin-top: 28px !important;
  text-shadow: none;
}


/* APPLE SCROLL - smooth + padding */
html {
  scroll-padding-top: 0;
}
.hero, .image-showcase, .stats-section, .cta-section {
  /* removed */
  /* removed */
}
/* Parallax effect on showcase images */
.image-showcase-bg {
  transition: transform 0.1s linear;
  will-change: transform;
}
/* Smooth content reveal on snap */
.image-showcase-content {
  transition: opacity 0.6s ease, transform 0.6s ease;
}


/* ========================================
   HERO WITH BACKGROUND IMAGE
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* ========================================
   APPLE-STYLE SECTION TRANSITIONS
   ======================================== */
/* Each section covers the previous one as you scroll */
.image-showcase {
  position: relative;
  z-index: 1;
}
.image-showcase:nth-child(2) { z-index: 2; }
.image-showcase:nth-child(3) { z-index: 3; }
.image-showcase:nth-child(4) { z-index: 4; }
.image-showcase:nth-child(5) { z-index: 5; }

/* Content fades in when section is snapped */
.image-showcase-content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.image-showcase-content.active,
.image-showcase-content.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Eyebrow slides in from left */
.image-showcase-eyebrow {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.image-showcase-content.active .image-showcase-eyebrow,
.reveal.active .image-showcase-eyebrow {
  opacity: 1;
  transform: translateX(0);
}

/* CTA slides in from bottom */
.image-showcase-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}
.image-showcase-content.active .image-showcase-cta,
.reveal.active .image-showcase-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Image parallax zoom on scroll */
.image-showcase-bg {
  transform: scale(1.15);
  transition: transform 0.1s linear;
}

/* Snap scroll behavior */
html {
  /* removed */
  scroll-behavior: smooth !important;
}
.hero, .image-showcase, .stats-section, .cta-section {
  /* removed */
  /* removed */
  height: 100vh !important;
  min-height: 100vh !important;
}

/* HERO FIX - full cover + centered content */
.hero {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hero-bg {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
}
.hero-overlay {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  z-index: 1 !important;
}
.hero-content {
  position: relative !important;
  z-index: 2 !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* ALL SECTIONS - max-width content but full-width bg */
.image-showcase {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.image-showcase-content {
  text-align: center !important;
  max-width: 800px !important;
  padding: 0 40px !important;
}

/* Container max-width for all pages */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ========================================
   APPLE SCROLL - SECTIONS PLEIN ÉCRAN
   ======================================== */
html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* Each major section = full viewport, snaps */
.hero,
.image-showcase,
.stats-section,
.cta-section {
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Image background covers entire section */
.image-showcase-bg,
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Overlay gradient */
.image-showcase-overlay,
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.6) 100%);
}
.image-showcase-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.55) 100%);
}

/* Content centered over image */
.hero-content,
.image-showcase-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

/* Disable snap on mobile (too aggressive) */
@media (max-width: 768px) {
  html { scroll-snap-type: none; }
  .hero, .image-showcase, .stats-section, .cta-section {
    height: auto;
    min-height: 80vh;
  }
}
