/* The New Life — V6 : refonte cards cohérentes + palette crème */

:root {
  --v6-cream: #fef8ee;
  --v6-cream-card: #fffdf8;
  --v6-cream-warm: #f9edd3;
  --v6-gold: #a06b47;
  --v6-gold-light: #d4a373;
  --v6-bordeaux: #7a1e1e;
  --v6-bordeaux-dark: #4a0e0e;
  --v6-text: #2b1810;
  --v6-text-soft: #5c4a3a;
  --v6-border: #e8d5b7;
  --v6-shadow: 0 4px 24px rgba(139, 26, 26, 0.08);
  --v6-shadow-lg: 0 12px 32px rgba(139, 26, 26, 0.12);
}

/* ============================================
   Sections one-page → fond crème forcé
   ============================================ */
.one-page-section,
section.one-page-section,
#comment.one-page-section,
#univers.one-page-section,
#philosophie.one-page-section {
  background: var(--v6-cream) !important;
  color: var(--v6-text) !important;
  padding: 6rem 2rem !important;
  min-height: auto !important;
}

/* Container centré */
.v6-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* En-tête section */
.v6-eyebrow {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.2em !important;
  color: var(--v6-gold) !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  margin: 0 0 1rem 0 !important;
}

.v6-title {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 400 !important;
  color: var(--v6-text) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 1.5rem 0 !important;
}

.v6-lead {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 1.15rem !important;
  color: var(--v6-text-soft) !important;
  max-width: 720px !important;
  line-height: 1.6 !important;
  margin: 0 0 4rem 0 !important;
}

/* ============================================
   Grille de cards
   ============================================ */
.v6-grid {
  display: grid !important;
  gap: 1.5rem !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  margin-bottom: 3rem !important;
}

.v6-grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important; }
.v6-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; }
.v6-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }

/* ============================================
   Card
   ============================================ */
.v6-card {
  background: var(--v6-cream-card) !important;
  border: 1px solid var(--v6-border) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  box-shadow: var(--v6-shadow) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  color: var(--v6-text) !important;
}

.v6-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--v6-shadow-lg) !important;
}

.v6-card-num {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 0.9rem !important;
  color: var(--v6-gold) !important;
  letter-spacing: 0.2em !important;
  font-weight: 500 !important;
  margin: 0 0 1rem 0 !important;
  display: block !important;
}

.v6-card-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.4rem !important;
  font-weight: 500 !important;
  color: var(--v6-text) !important;
  margin: 0 0 0.75rem 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.v6-card-body {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.98rem !important;
  color: var(--v6-text-soft) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* ============================================
   Gemme (paliers dévoilement)
   ============================================ */
.v6-gemme {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 0 1.25rem 0;
  background: radial-gradient(circle at 30% 30%, var(--v6-gold-light), var(--v6-gold));
  opacity: 0.3;
  position: relative;
}
.v6-gemme.p1 { opacity: 0.55; }
.v6-gemme.p2 { opacity: 0.8; }
.v6-gemme.p3 {
  opacity: 1;
  box-shadow: 0 0 24px rgba(160, 107, 71, 0.4);
}

/* ============================================
   Card accent (règle d'or, sécurité forte)
   ============================================ */
.v6-card-accent {
  background: linear-gradient(135deg, #f9edd3 0%, #fffdf8 100%) !important;
  border-color: var(--v6-gold-light) !important;
}

.v6-card-accent .v6-card-title {
  color: var(--v6-bordeaux) !important;
}

/* ============================================
   Divider entre sous-blocs
   ============================================ */
.v6-divider {
  margin: 4rem 0 2rem 0;
  border: none;
  border-top: 1px solid var(--v6-border);
}

.v6-subtitle {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  color: var(--v6-text) !important;
  margin: 0 0 1.5rem 0 !important;
  letter-spacing: -0.01em !important;
}

/* ============================================
   Univers cards (avec icône gemme colorée)
   ============================================ */
.v6-univers-card {
  position: relative;
  overflow: hidden;
}

.v6-univers-card::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  opacity: 0.9;
}
.v6-univers-card.serieux::before    { background: radial-gradient(circle at 30% 30%, #a92c2c, #5d0f0f); }
.v6-univers-card.decontracte::before{ background: radial-gradient(circle at 30% 30%, #d97706, #92400e); }
.v6-univers-card.amitie::before     { background: radial-gradient(circle at 30% 30%, #84a98c, #52796f); }
.v6-univers-card.activite::before   { background: radial-gradient(circle at 30% 30%, #4cc9c0, #217a75); }
.v6-univers-card.communaute::before { background: linear-gradient(135deg, #d64545, #d97706 25%, #eab308 45%, #4ade80 60%, #3b82f6 80%, #a855f7); }

/* ============================================
   Bloc CTA fin de page
   ============================================ */
.v6-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--v6-cream-warm) 0%, var(--v6-cream) 100%);
}

.v6-cta .v6-title {
  margin-bottom: 1rem !important;
}

.v6-cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: var(--v6-bordeaux);
  color: white !important;
  text-decoration: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.v6-cta-button:hover {
  background: var(--v6-bordeaux-dark);
}

/* ============================================
   Section "CE QUI CHANGE" — noire → crème (override hero)
   ============================================ */
section[data-v6-force-cream],
.change-section,
.what-changes {
  background: var(--v6-cream) !important;
  color: var(--v6-text) !important;
}

section[data-v6-force-cream] h1,
section[data-v6-force-cream] h2,
section[data-v6-force-cream] h3 {
  color: var(--v6-text) !important;
}

section[data-v6-force-cream] p {
  color: var(--v6-text-soft) !important;
}

/* Cards de la section "ce qui change" — noires → crème */
section[data-v6-force-cream] .card,
section[data-v6-force-cream] [class*="card"] {
  background: var(--v6-cream-card) !important;
  border: 1px solid var(--v6-border) !important;
  color: var(--v6-text) !important;
  box-shadow: var(--v6-shadow) !important;
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 768px) {
  .one-page-section {
    padding: 4rem 1.25rem !important;
  }
  .v6-title { font-size: 2rem !important; }
  .v6-lead { font-size: 1.05rem !important; margin-bottom: 2.5rem !important; }
  .v6-card { padding: 1.5rem !important; }
  .v6-grid { gap: 1rem !important; }
}
