/* ===== CUSTOM FONTS (Propositions Valentin) ===== */
/* Toutes les typos display sont chargées en Regular (poids 400).
   Elles sont caractérielles : pas besoin de gras. font-weight:400 sur toutes
   évite le faux-bold synthétisé par le navigateur (glyphes qui se touchent). */
@font-face { font-family: 'Arsenica'; src: url('fonts/Arsenica-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Birds and Home'; src: url('fonts/Birds and Home.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Brown Sugar'; src: url('fonts/Brown Sugar .otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Palmore'; src: url('fonts/Palmore.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rattani'; src: url('fonts/Allmo Studio - Rattani.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sailing Club'; src: url('fonts/SailingClub-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Selga'; src: url('fonts/Selga.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tritone'; src: url('fonts/Champagne Design - Tritone Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Zafrada'; src: url('fonts/Pedroglifos - Zafrada Normal.otf') format('opentype'); font-weight: 400; font-display: swap; }

/* Quand une typo custom est active via le switcher :
   - on neutralise le gras hérité (pour ne pas déclencher de faux-bold)
   - on ouvre légèrement le tracking pour éviter que les glyphes se touchent */
body.custom-heading-font h1,
body.custom-heading-font h2,
body.custom-heading-font h3,
body.custom-heading-font .highlight,
body.custom-heading-font .section-title,
body.custom-heading-font .hero-title,
body.custom-heading-font .stat-number {
  font-weight: 400 !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Colors - Premium Catering Palette */
  --bg-dark: #0f0f12;
  --bg-dark-secondary: #16161a;
  --bg-light: #f8f7f4;
  --bg-card: #1a1a1f;
  --bg-card-hover: #222229;
  
  /* Accent - Warm Amber/Gold for food elegance */
  --accent: #d4a853;
  --accent-light: #e8c87a;
  --accent-dark: #b8923f;
  --accent-glow: rgba(212, 168, 83, 0.25);
  
  /* Secondary accent - Deep teal */
  --secondary: #2d6b6b;
  --secondary-light: #3d8a8a;
  
  /* Text colors */
  --text: #f5f5f0;
  --text-muted: #9a9a95;
  --text-dark: #2a2a2a;
  --text-dark-muted: #6a6a6a;
  
  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.08);
  
  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Spacing */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 80px;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--text);
  line-height: 0; /* évite tout décalage vertical hérité */
}

/* Icône (losange/symbole) : carrée, bien visible, ~70% de la hauteur du header (80px) */
.logo-icone {
  height: 56px;
  width: auto;
  display: block;
  transition: var(--transition);
}

/* Typographie du logo : plus basse que l'icône pour rester équilibrée */
.logo-typo {
  height: 30px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo:hover .logo-icone,
.logo:hover .logo-typo { filter: brightness(1.15); }

/* Ancien utilitaire conservé pour le footer */
.logo-svg {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

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

.nav a {
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  padding: 10px 16px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav a:hover, .nav a.active { 
  color: var(--text); 
  background: rgba(255, 255, 255, 0.05); 
}

.lang-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.8rem; font-weight: 600;
  padding: 8px 16px; border-radius: 20px; cursor: pointer;
  transition: var(--transition); margin-left: 12px;
  font-family: var(--font-body);
}
.lang-btn:hover { 
  border-color: var(--accent); 
  color: var(--accent); 
}

.btn-cta-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #000 !important; font-weight: 600;
  font-size: 0.875rem; padding: 12px 24px; border-radius: 28px;
  border: none; cursor: pointer; transition: var(--transition);
  margin-left: 16px;
}
.btn-cta-header:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px var(--accent-glow);
  background: #000;
  color: #fff !important;
}

/* Mobile menu */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}

@media (max-width: 1024px) {
  .hamburger { display: flex; z-index: 1001; position: relative; }
  .hamburger span { transition: transform 0.3s ease, opacity 0.2s ease; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    background: #0f0f12;
    background-image:
      radial-gradient(circle at 20% 15%, rgba(212, 168, 83, 0.12) 0%, transparent 55%),
      radial-gradient(circle at 85% 90%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
      linear-gradient(180deg, #111114 0%, #0a0a0d 100%);
    flex-direction: column; align-items: center; justify-content: center;
    padding: 80px 24px 40px; gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 500;
    padding: 14px 24px;
    color: var(--text);
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
  }
  .nav a:hover, .nav a.active {
    background: rgba(212, 168, 83, 0.1);
    color: var(--accent);
  }
  .btn-cta-header { margin: 24px 0 0 0; font-size: 1rem; }
  .lang-btn { margin: 20px 0 8px 0; padding: 10px 24px; font-size: 0.9rem; }

  /* Body lock when menu open */
  body.menu-open { overflow: hidden; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}

.hero-image {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.4);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 18, 0.3) 0%,
    rgba(15, 15, 18, 0.6) 50%,
    rgba(15, 15, 18, 0.9) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; padding: 100px 0;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 8px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 500;
  color: var(--accent); margin-bottom: 32px;
  text-transform: uppercase; letter-spacing: 1px;
}

.badge-dot {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted); max-width: 600px;
  margin-bottom: 48px; line-height: 1.7;
}

.hero-stats {
  display: flex; align-items: center; gap: 32px;
  margin-bottom: 48px; flex-wrap: wrap;
}

.hero-stats .stat {
  text-align: left;
}

.hero-stats .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}

.hero-stats .stat-label {
  font-size: 0.85rem; color: var(--text-muted); margin-top: 6px;
}

.stat-divider {
  width: 1px; height: 40px; background: var(--border);
}

/* --- Hero stats : sur mobile, grille 3 colonnes centrées + dividers masqués --- */
@media (max-width: 640px) {
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
    width: 100%;
  }
  .hero-stats .stat {
    text-align: center;
    min-width: 0;
  }
  .hero-stats .stat-number {
    font-size: 1.35rem;
    letter-spacing: -0.01em;
  }
  .hero-stats .stat-label {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-top: 4px;
  }
  .hero-stats .stat-divider { display: none; }
}
@media (max-width: 360px) {
  .hero-stats .stat-number { font-size: 1.15rem; }
  .hero-stats .stat-label  { font-size: 0.68rem; }
}

.btn-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #000 !important; font-weight: 600;
  font-size: 1rem; padding: 18px 40px; border-radius: 50px;
  border: none; cursor: pointer; transition: var(--transition);
  font-family: var(--font-body);
}
@media (hover: hover) {
  .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--accent-glow);
    background: #000;
    color: #fff !important;
  }
}

/* ===== SECTIONS ===== */
.section-dark { 
  padding: 120px 0; 
  background: var(--bg-dark);
}

.section-light { 
  padding: 120px 0; 
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-light .section-title { color: var(--text-dark); }
.section-light .section-subtitle { color: var(--text-dark-muted); }
.section-light .highlight {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-accent {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-form {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
}

.section-header {
  margin-bottom: 64px;
}

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

.section-header.center .section-subtitle {
  margin-left: auto; margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 16px;
}

.section-tag.light {
  color: var(--accent-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--text);
  margin-bottom: 20px; line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.7;
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FOR WHO ===== */
.for-who-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}

.for-who-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .for-who-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) { 
  .for-who-grid { grid-template-columns: 1fr; }
  .for-who-grid-3 { grid-template-columns: 1fr; }
}

.for-who-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.for-who-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.for-who-card .card-image {
  position: relative; height: 220px; overflow: hidden;
}

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

.for-who-card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 100%);
}

.for-who-card .card-content {
  padding: 32px;
}

.for-who-card .card-icon {
  width: 48px; height: 48px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
}

.for-who-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 600;
  color: var(--text); margin-bottom: 12px;
}

.for-who-card p { 
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; 
}

.for-who-note {
  margin-top: 40px; padding: 20px 28px;
  background: rgba(212, 168, 83, 0.05);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius);
  color: var(--text-muted); font-size: 0.9rem;
  display: flex; align-items: center; gap: 12px;
}

.for-who-note svg {
  color: var(--accent); flex-shrink: 0;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-featured {
  grid-column: span 1;
}

.card-image-wrap {
  height: 180px; overflow: hidden;
}

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

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

.card-body {
  padding: 28px;
}

.card-icon {
  width: 44px; height: 44px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: var(--accent-dark);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem; color: var(--text-dark-muted); line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-bottom: 48px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
  padding: 10px 20px; border-radius: 50px;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.active {
  background: var(--accent); color: var(--bg-dark);
  border-color: var(--accent); font-weight: 600;
}

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

@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ===== GALERIE — APPARITION FLUIDE (initial + load more) ===== */
@keyframes gallery-item-appear {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
.gallery-item-enter {
  animation: gallery-item-appear 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, transform;
}
/* Respect des préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
  .gallery-item-enter {
    animation: none;
    opacity: 1; transform: none;
  }
}

/* ===== GALERIE — VARIANTE MASONRY (ratios d'origine préservés) =====
   Utilise CSS multi-columns : compatible tous navigateurs, zéro JS. */
.gallery-grid.layout-masonry {
  display: block;
  column-count: 4;
  column-gap: 16px;
}
.gallery-grid.layout-masonry .gallery-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 16px;
  aspect-ratio: auto;
  display: block;
}
.gallery-grid.layout-masonry .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: initial;
  aspect-ratio: auto;
}
@media (max-width: 1024px) { .gallery-grid.layout-masonry { column-count: 3; } }
@media (max-width: 768px)  { .gallery-grid.layout-masonry { column-count: 2; column-gap: 12px; } .gallery-grid.layout-masonry .gallery-item { margin-bottom: 12px; } }
@media (max-width: 480px)  { .gallery-grid.layout-masonry { column-count: 2; column-gap: 10px; } .gallery-grid.layout-masonry .gallery-item { margin-bottom: 10px; } }

.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 1;
  cursor: pointer; transition: var(--transition);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-tags { opacity: 1; }

.gallery-tags {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px; opacity: 0;
  background: linear-gradient(transparent, rgba(15,15,18,0.9));
  transition: opacity 0.3s ease;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.gallery-tag {
  font-size: 0.7rem; font-weight: 500;
  background: rgba(212, 168, 83, 0.2); color: var(--accent);
  padding: 4px 10px; border-radius: 20px;
}

.gallery-load-more {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.gallery-cta { margin-top: 4px; }
.btn-load-more {
  background: transparent; border: 1px solid var(--accent);
  color: var(--accent); font-size: 0.9rem; font-weight: 500;
  padding: 14px 36px; border-radius: 50px;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font-body);
}
.btn-load-more:hover {
  background: var(--accent); color: var(--bg-dark);
}
.btn-load-more:disabled {
  opacity: 0.3; cursor: default;
}

/* Gallery lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.95); backdrop-filter: blur(20px);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh; object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: white;
  font-size: 2rem; cursor: pointer;
}

/* ===== WHY GURU ===== */
.why-guru-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .why-guru-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-guru-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.why-icon {
  width: 48px; height: 48px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 600;
  color: var(--text); margin-bottom: 12px;
}
.why-card p {
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.7;
}

/* ===== CASE STUDY ===== */
.case-study-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.case-study-image {
  position: relative; min-height: 400px;
}

.case-study-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.case-study-badge {
  position: absolute; top: 24px; left: 24px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(15, 15, 18, 0.9);
  border: 1px solid var(--accent);
  padding: 10px 18px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  z-index: 2;
}

.badge-pulse {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s infinite;
}

.case-study-content {
  padding: 48px;
}

.case-study-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
}

.cs-subtitle {
  color: var(--text-muted); margin-bottom: 40px; font-size: 1.05rem;
}

.cs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; margin-bottom: 40px;
}

.cs-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.cs-item:hover {
  border-color: var(--accent);
  background: rgba(212, 168, 83, 0.03);
}

.cs-item-icon {
  width: 36px; height: 36px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--accent);
}

.cs-item h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent); margin-bottom: 10px;
}

.cs-item p { 
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; 
}

.cs-quote {
  position: relative;
  padding: 28px 32px;
  background: rgba(212, 168, 83, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-icon {
  color: var(--accent); opacity: 0.3;
  margin-bottom: 12px;
}

.cs-quote p {
  font-style: italic; color: var(--text); font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 968px) {
  .case-study-wrapper { grid-template-columns: 1fr; }
  .case-study-image { min-height: 250px; }
  .case-study-content { padding: 32px; }
  .cs-grid { grid-template-columns: 1fr; }
}

/* ===== LOGOS ===== */
.logos-band {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 20px; margin-bottom: 64px;
}

.logo-item {
  font-size: 0.9rem; font-weight: 600; color: var(--text-dark-muted);
  letter-spacing: 1px; text-transform: uppercase;
  padding: 16px 28px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.logo-item:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-2px);
}

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

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

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.85rem; color: var(--text-dark-muted);
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
}

/* Header logo : légèrement réduit sur mobile pour garder le menu lisible */
@media (max-width: 600px) {
  .logo { gap: 8px; }
  .logo-icone { height: 44px; }
  .logo-typo { height: 22px; }
}

/* ===== PROCESS ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 700;
  color: var(--accent); line-height: 1;
  margin-bottom: 20px; opacity: 0.6;
}

.step-line {
  position: absolute; top: 48px; right: -32px;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
}

.process-step:last-child .step-line { display: none; }

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem; font-weight: 600;
  color: var(--text); margin-bottom: 12px;
}

.process-step p { 
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; 
}

@media (max-width: 968px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .step-line { display: none; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ===== COMMITMENTS ===== */
.commitments-wrapper {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
}

.commitments-image {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden;
}

.commitments-image img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
}

.image-caption {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  background: rgba(15, 15, 18, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
}

.caption-tag {
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent);
}

.caption-text {
  font-size: 0.95rem; font-weight: 500;
  color: var(--text);
}

.commitments-content .section-subtitle {
  margin-bottom: 40px;
}

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

.commitment {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.commitment:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.commitment-icon {
  width: 44px; height: 44px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent-dark);
}

.commitment h4 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 6px;
}

.commitment p { 
  font-size: 0.85rem; color: var(--text-dark-muted); line-height: 1.6; 
}

@media (max-width: 968px) {
  .commitments-wrapper { grid-template-columns: 1fr; }
  .commitments-image { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .commitments-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px; margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0; color: var(--text);
  font-size: 1.05rem; font-weight: 500; text-align: left;
  font-family: var(--font-body);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .faq-icon {
  width: 32px; height: 32px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0; margin-left: 16px;
}

.faq-item.open .faq-icon { 
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--bg-dark);
}

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 0 28px; color: var(--text-muted);
  font-size: 0.95rem; line-height: 1.8;
}

/* ===== FORM ===== */
.form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  max-width: 900px; margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 48px;
}

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

@media (max-width: 640px) { 
  .form-grid { grid-template-columns: 1fr; } 
  .form-wrapper { padding: 32px; }
}

.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem; font-weight: 500; color: var(--text);
  margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(212, 168, 83, 0.03);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select { cursor: pointer; appearance: none; }
.form-group select option { background: var(--bg-card); color: var(--text); }

.checkbox-group {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px;
}

.checkbox-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 400; color: var(--text-muted);
  cursor: pointer;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.checkbox-group label:hover {
  border-color: var(--accent);
  color: var(--text);
}

.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--accent);
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--bg-dark); font-weight: 600;
  font-size: 1rem; padding: 18px 48px; border-radius: 50px;
  border: none; cursor: pointer; margin-top: 32px;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-submit:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 12px 32px var(--accent-glow);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-content {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 24px;
}

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text);
}

.footer-logo { line-height: 0; }
.footer-logo .logo-svg { height: 80px; width: auto; display: block; }
@media (max-width: 600px) {
  .footer-logo .logo-svg { height: 64px; }
}

.footer-text {
  color: var(--text-muted); font-size: 0.9rem;
}

.footer-links {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 24px;
  margin-top: 16px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999; padding: 16px 20px;
  background: rgba(15, 15, 18, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sticky-cta.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta .btn-cta { 
  width: 100%; justify-content: center; 
  font-size: 1rem; padding: 16px;
}

@media (max-width: 1024px) {
  .sticky-cta { display: block; }
  .section-form { padding-bottom: 100px; }

  /* Sur mobile, seul le sticky-cta en bas reste visible.
     Tous les autres rappels "Demander un devis" sont masqués pour éviter la redondance. */
  .hero .btn-cta,
  .gallery-cta,
  .cta-reminder { display: none !important; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== FONT SWITCHER (DEV TOOL) ===== */
.font-switcher {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
}
.font-switcher-toggle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--bg-dark);
  border: none; font-size: 1.3rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.font-switcher-toggle:hover { transform: scale(1.1); }
.font-switcher-panel {
  display: none; position: absolute; bottom: 60px; right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  min-width: 280px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.font-switcher-panel.open { display: block; }
.font-switcher-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  text-transform: uppercase; letter-spacing: 1px;
}
.font-switcher-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 1.5rem; cursor: pointer;
}
.font-switcher-current {
  font-size: 0.8rem; color: var(--accent); margin-bottom: 12px;
  font-weight: 500;
}
.switcher-group { margin-bottom: 16px; }
.switcher-group:last-child { margin-bottom: 0; }
.switcher-label {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
#fontSelect, #gallerySelect {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font-body); font-size: 0.9rem;
  cursor: pointer;
}
#fontSelect option, #gallerySelect option { background: var(--bg-card); color: var(--text); }

@media (max-width: 1024px) {
  .font-switcher { bottom: 90px; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* ===== SELECTION ===== */
::selection {
  background: var(--accent);
  color: var(--bg-dark);
}

/* ===== FORM HINT (questions page) ===== */
.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-style: italic;
  opacity: 0.7;
  line-height: 1.5;
}

/* ===== HERO MINI (questions page) ===== */
.hero-mini {
  min-height: auto;
}

/* ============================================================
   CTA REMINDER — rappel "Demander un devis" entre les sections
   (transcript réunion 25/02 : le client veut un rappel à intervalle
   régulier, à la façon des sites de conversion)
   ============================================================ */
.cta-reminder {
  margin-top: 72px;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.25);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-reminder-text {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 500;
  color: var(--text-dark); line-height: 1.4;
  margin: 0; flex: 1 1 320px;
}
.cta-reminder-dark {
  background: rgba(212, 168, 83, 0.06);
  border-color: rgba(212, 168, 83, 0.2);
}
.cta-reminder-dark .cta-reminder-text { color: var(--text); }
@media (max-width: 640px) {
  .cta-reminder {
    padding: 28px 24px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cta-reminder-text { font-size: 1.1rem; }
  .cta-reminder .btn-cta { justify-content: center; }
}

/* ============================================================
   ALTERNANCE FOND CLAIR / FOND SOMBRE — overrides lisibilité
   Plan des sections (V2) :
     hero (dark) → for-who (light) → gallery (dark) →
     why-guru (light) → trust (dark + watermark) → faq (light) → devis (dark)
   ============================================================ */

/* --- why-guru sur fond clair --- */
.section-light .why-card {
  background: #ffffff;
  border-color: var(--border-light);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.section-light .why-card:hover {
  border-color: var(--accent-dark);
  box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}
.section-light .why-card h3 { color: var(--text-dark); }
.section-light .why-card p { color: var(--text-dark-muted); }
.section-light .why-icon {
  background: rgba(212, 168, 83, 0.14);
  border-color: rgba(212, 168, 83, 0.35);
  color: var(--accent-dark);
}

/* --- for-who sur fond clair --- */
.section-light .for-who-card {
  background: #ffffff;
  border-color: var(--border-light);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.section-light .for-who-card:hover {
  border-color: var(--accent-dark);
  box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}
.section-light .for-who-card h3 { color: var(--text-dark); }
.section-light .for-who-card p  { color: var(--text-dark-muted); }
.section-light .for-who-card .card-icon {
  background: rgba(212, 168, 83, 0.14);
  border-color: rgba(212, 168, 83, 0.35);
  color: var(--accent-dark);
}
.section-light .for-who-note {
  color: var(--text-dark-muted);
  border-color: var(--border-light);
  background: rgba(0,0,0,0.02);
}

/* --- FAQ sur fond clair --- */
.section-light .faq-item { border-bottom-color: var(--border-light); }
.section-light .faq-question { color: var(--text-dark); }
.section-light .faq-question:hover { color: var(--accent-dark); }
.section-light .faq-answer p { color: var(--text-dark-muted); }
.section-light .faq-question .faq-icon {
  background: rgba(212, 168, 83, 0.14);
  color: var(--accent-dark);
}
.section-light .faq-item.open .faq-icon {
  background: var(--accent-dark);
  color: #fff;
}

/* --- section-tag sur fond clair : accent foncé pour lisibilité --- */
.section-light .section-tag { color: var(--accent-dark); }

/* --- TRUST sur fond sombre : inverser logos + cartes stats --- */
#trust.section-dark .logo-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text-muted);
}
#trust.section-dark .logo-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}
#trust.section-dark .stat-card {
  background: var(--bg-card);
  border-color: var(--border);
}
#trust.section-dark .stat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
#trust.section-dark .stat-card .stat-label { color: var(--text-muted); }

/* --- WATERMARK logo SVG grand format ---
   Bonne pratique : logo blanc → fond sombre (contraste sobre, effet premium).
   Sur fond clair, un logo blanc disparaîtrait ; un logo noir serait trop dur.
   On place l'icône en très grand derrière le contenu, avec 6% d'opacité. */
.has-logo-watermark { position: relative; overflow: hidden; }
.has-logo-watermark > .container { position: relative; z-index: 1; }
.has-logo-watermark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(780px, 80vw);
  height: min(780px, 80vw);
  background: url('images/logo-icone-blanc.svg') no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.05));
}
@media (max-width: 768px) {
  .has-logo-watermark::before {
    width: 85vw; height: 85vw;
    opacity: 0.05;
  }
}

