@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card: #1a1a3a;
  --gold: #d4af37;
  --gold-light: #f4e4a6;
  --purple: #6b5b95;
  --purple-light: #9b8fc2;
  --text-primary: #f0f0f5;
  --text-secondary: #b0b0c5;
  --star: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  background-image: 
    radial-gradient(ellipse at 20% 20%, rgba(107, 91, 149, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(26, 26, 58, 1) 0%, rgba(10, 10, 26, 1) 100%);
  background-attachment: fixed;
}

/* Étoiles animées */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, var(--star), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--star), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--star), transparent),
    radial-gradient(2px 2px at 130px 80px, var(--star), transparent),
    radial-gradient(1px 1px at 160px 120px, var(--star), transparent),
    radial-gradient(2px 2px at 200px 50px, var(--star), transparent),
    radial-gradient(1px 1px at 250px 160px, var(--star), transparent),
    radial-gradient(2px 2px at 300px 100px, var(--star), transparent),
    radial-gradient(1px 1px at 350px 60px, var(--star), transparent),
    radial-gradient(2px 2px at 400px 140px, var(--star), transparent);
  background-size: 400px 200px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  z-index: 1000;
  padding: 0 20px;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 2px;
}

.logo span {
  color: var(--purple-light);
}

/* Navigation Desktop */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--gold);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* CTA Header */
.cta-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, #c4a030 100%);
  color: var(--bg-primary);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.cta-phone-icon {
  font-size: 1.1rem;
}

/* Menu Burger Mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(15px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: var(--gold);
}

.mobile-cta {
  margin-top: 30px;
}

/* Main Content */
main {
  position: relative;
  z-index: 1;
  padding-top: 90px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px 80px;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  line-height: 1.3;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero .cta-phone {
  font-size: 1.1rem;
  padding: 15px 35px;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(107, 91, 149, 0.2) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.cta-box h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cta-box .price {
  font-size: 0.9rem;
  color: var(--purple-light);
  margin-top: 10px;
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
}

/* Grid Signes */
.signes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.signe-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.signe-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.signe-card .symbol {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

.signe-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.signe-card .dates {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Compatibilité Grid */
.compat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.compat-card {
  background: var(--bg-card);
  border: 1px solid rgba(107, 91, 149, 0.3);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.compat-card:hover {
  border-color: var(--purple-light);
  background: rgba(107, 91, 149, 0.15);
}

.compat-card .symbols {
  font-size: 1.5rem;
}

.compat-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--text-primary);
}

/* Horoscope Cards */
.horoscope-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.horoscope-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.horoscope-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.horoscope-card h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.horoscope-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Article / Page Content */
article {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 40px;
  margin: 20px 0 40px;
  border: 1px solid rgba(107, 91, 149, 0.2);
}

article h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 25px;
  line-height: 1.3;
}

article h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--purple-light);
  margin: 35px 0 15px;
  text-align: left;
}

article h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--gold-light);
  margin: 25px 0 12px;
}

article p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

article strong {
  color: var(--text-primary);
}

/* Breadcrumb */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--purple-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-secondary);
}

/* Liens internes */
.internal-links {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(107, 91, 149, 0.3);
}

.internal-links h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  margin-bottom: 20px;
}

.internal-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.internal-links ul li a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.internal-links ul li a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-cta {
  margin-bottom: 30px;
}

.footer-cta h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.footer-cta p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-legal {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.footer-legal p {
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 900px) {
  nav ul {
    display: none;
  }
  
  .burger {
    display: flex;
  }
  
  .cta-header .cta-phone {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 25px;
  }
  
  article h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .header-content {
    height: 60px;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: 40px 15px 60px;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  
  .signes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .signe-card {
    padding: 18px 12px;
  }
  
  .signe-card .symbol {
    font-size: 2rem;
  }
  
  .compat-grid {
    grid-template-columns: 1fr;
  }
  
  article {
    padding: 20px 15px;
    border-radius: 10px;
  }
  
  article h1 {
    font-size: 1.4rem;
  }
  
  article h2 {
    font-size: 1.25rem;
  }
  
  .cta-box {
    padding: 20px 15px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Utility */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* ===== BOUTON APPEL FLOTTANT MOBILE ===== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #1a1a2e;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
  animation: pulse-float 2s infinite;
  align-items: center;
  justify-content: center;
}

.floating-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.7);
}

@keyframes pulse-float {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.8);
  }
}

@media (max-width: 768px) {
  .floating-cta {
    display: flex;
  }
}
