/* ==========================================================================
   SITE VOYANCE DU BÉNIN - GRAND FÉTICHEUR PAPA DAH LISSA
   Feuille de style principale & Design System Esotérique Sacré
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,500;0,700;1,400&display=swap');

:root {
  /* Palette de couleurs sacrées */
  --bg-darkest: #05070a;
  --bg-primary: #0a0d14;
  --bg-secondary: #101622;
  --bg-card: rgba(16, 22, 34, 0.75);
  --bg-card-hover: rgba(24, 32, 50, 0.88);
  --bg-glass: rgba(13, 18, 28, 0.85);

  /* Or royal béninois & lueurs */
  --gold-pure: #ffd700;
  --gold-primary: #e5b338;
  --gold-light: #fae082;
  --gold-dark: #ad801a;
  --gold-muted: rgba(229, 179, 56, 0.18);
  --gold-glow: 0 0 25px rgba(229, 179, 56, 0.45);
  --gold-glow-intense: 0 0 45px rgba(250, 224, 130, 0.65);
  --gradient-gold: linear-gradient(135deg, #fce289 0%, #e5b338 50%, #996e14 100%);
  --gradient-gold-text: linear-gradient(135deg, #fff2c4 0%, #e5b338 60%, #b8860b 100%);

  /* Accents spirituels */
  --red-accent: #c42730;
  --red-glow: 0 0 25px rgba(196, 39, 48, 0.45);
  --green-sacred: #10b981;
  --blue-water: #2563eb;
  
  /* Textes */
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-gold: #f5d47a;

  /* Bordures */
  --border-gold: rgba(229, 179, 56, 0.3);
  --border-gold-bright: rgba(229, 179, 56, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Typographies */
  --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  /* Rayons & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(229, 179, 56, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(196, 39, 48, 0.035) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(229, 179, 56, 0.03) 0%, transparent 50%),
    linear-gradient(to bottom, #05070a 0%, #0a0d14 100%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

/* Sélection de texte dorée */
::selection {
  background: var(--gold-primary);
  color: #05070a;
}

/* Scrollbar dorée personnalisée */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #33260c;
  border-radius: 5px;
  border: 1px solid var(--border-gold);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* ==========================================================================
   TYPOGRAPHIE & TITRES
   ========================================================================== */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.gold-gradient-text {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(229, 179, 56, 0.25);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(229, 179, 56, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '✦';
  color: var(--gold-pure);
  font-size: 0.9rem;
}

.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 60px auto;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

.divider-sacred {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px auto 0;
  width: 220px;
}

.divider-sacred::before, .divider-sacred::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.divider-sacred span {
  color: var(--gold-light);
  font-size: 1.2rem;
}

/* ==========================================================================
   LAYOUT & CONTENEURS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

section {
  padding: 90px 0;
  position: relative;
}

/* ==========================================================================
   BOUTONS & CALL TO ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #0b0e14;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(229, 179, 56, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(229, 179, 56, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #000;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.75s ease-in-out;
}

.btn-gold:hover::after {
  transform: rotate(25deg) translateY(100%);
}

.btn-outline-gold {
  background: rgba(229, 179, 56, 0.06);
  color: var(--gold-light);
  border: 1px solid var(--border-gold-bright);
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(229, 179, 56, 0.18);
  color: #ffffff;
  border-color: var(--gold-pure);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(229, 179, 56, 0.3);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.btn-red {
  background: linear-gradient(135deg, #c42730 0%, #800e13 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(196, 39, 48, 0.4);
}

.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(196, 39, 48, 0.6);
}

/* ==========================================================================
   BADGES ET CARTES VERRE (GLASSMORPHISM)
   ========================================================================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(229, 179, 56, 0.25), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(229, 179, 56, 0.15);
}

/* ==========================================================================
   ANIMATIONS ESSENTIELLES
   ========================================================================== */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(229, 179, 56, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(229, 179, 56, 0.6);
  }
}

@keyframes floatElement {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes redPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.1rem;
  }
  section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}
