/* ===== VOYANCE SITE - Style moderne & mystique ===== */
:root {
  --primary: #6b2d8b;
  --primary-dark: #4a1c63;
  --secondary: #c9a227;
  --accent: #e8d5a3;
  --bg: #1a0f24;
  --bg-card: #2a1a3a;
  --text: #f5f0e6;
  --text-muted: #cbb8d9;
  --link: #ffe18a;
  --link-hover: #fff7d6;
  --header-bg: rgba(26, 15, 36, 0.95);
  --border: rgba(201, 162, 39, 0.3);
  --gradient: linear-gradient(135deg, #6b2d8b 0%, #2a1a3a 50%, #1a0f24 100%);
  --card-front: linear-gradient(145deg, #4a1c63, #2a1a3a);
  --card-back: linear-gradient(145deg, #f5f0e6, #e8d5a3);
  --card-back-text: #2a1a3a;
}

/* Mode clair */
[data-theme="light"] {
  --primary: #6b2d8b;
  --primary-dark: #4a1c63;
  --secondary: #8b6914;
  --accent: #6b2d8b;
  --bg: #f8f4ef;
  --bg-card: #ffffff;
  --text: #2a1a3a;
  --text-muted: #5a4a6a;
  --link: #6b2d8b;
  --link-hover: #3f1558;
  --header-bg: rgba(248, 244, 239, 0.95);
  --border: rgba(107, 45, 139, 0.25);
  --gradient: linear-gradient(135deg, #e8d5a3 0%, #f5f0e6 50%, #ffffff 100%);
  --card-front: linear-gradient(145deg, #6b2d8b, #4a1c63);
  --card-back: linear-gradient(145deg, #fff, #f0e6d0);
  --card-back-text: #2a1a3a;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

a {
  color: var(--link);
  text-decoration-color: color-mix(in srgb, currentColor 65%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

/* Header */
.header {
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  min-width: max-content;
}

.logo-image {
  display: block;
  width: 230px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.nav-links {
  display: flex;
  gap: 0.9rem;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.88rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.theme-toggle:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

/* Hero */
.hero {
  background: var(--gradient);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--secondary);
  position: relative;
}

.hero p {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 1.8rem;
  color: var(--text-muted);
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--secondary);
  color: #1a0f24;
}

[data-theme="light"] .btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: #1a0f24;
}

[data-theme="light"] .btn-outline:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* Sections */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Long SEO text */
.seo-content {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.seo-content p {
  margin-bottom: 1.1rem;
}

.seo-content a {
  font-weight: 650;
}

.seo-content h3 {
  color: var(--secondary);
  margin: 1.8rem 0 0.8rem;
  font-size: 1.25rem;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.7rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.card-icon {
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
}

.card h3 {
  color: var(--secondary);
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.card a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.card a:hover {
  text-decoration: underline;
}

/* Features */
.features {
  background: color-mix(in srgb, var(--bg-card) 70%, transparent);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.feature-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.feature-item .icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Tirage de cartes */
.tirage-container {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.spread-buttons {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cartes-zone {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  min-height: 240px;
}

.carte {
  width: 120px;
  height: 190px;
  perspective: 1000px;
  cursor: pointer;
}

.carte.large {
  width: 130px;
  height: 205px;
}

.carte-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.85s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.carte.flipped .carte-inner {
  transform: rotateY(180deg);
}

.carte-front,
.carte-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.carte-front {
  background: var(--card-front);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-size: 2.2rem;
}

.carte-front .stars {
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-top: 0.3rem;
  opacity: 0.7;
}

.carte-back {
  background: var(--card-back);
  color: var(--card-back-text);
  transform: rotateY(180deg);
  border: 2px solid #c9a227;
}

.carte-back .nom {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.carte-back .signification {
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
}

.carte-back .numero {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-bottom: 0.3rem;
}

.interpretation {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.8rem;
  margin-top: 1.8rem;
  border: 1px solid var(--border);
  text-align: left;
  display: none;
}

.interpretation.visible {
  display: block;
  animation: fadeIn 0.55s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.interpretation h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.interpretation .position {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
}

/* Celtic cross layout */
.celtic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  max-width: 700px;
  margin: 0 auto;
  justify-items: center;
}

.celtic-grid .carte {
  width: 95px;
  height: 150px;
}

/* Formulaire */
.form-group {
  margin-bottom: 1.1rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  color: var(--text);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

/* Footer */
.footer {
  background: color-mix(in srgb, var(--bg) 90%, #000);
  padding: 2.8rem 1.5rem 1.3rem;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
}

.footer-tariff {
  display: block;
  width: min(100%, 330px);
  margin: 0.8rem 0 1rem !important;
}

.footer-tariff img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.24);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin: 0 auto 1.8rem;
}

.footer h4 {
  color: var(--secondary);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer ul {
  list-style: none;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.35rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.3rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 0;
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .carte {
    width: 100px;
    height: 160px;
  }
  .celtic-grid .carte {
    width: 70px;
    height: 110px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }
  .logo-image {
    width: 190px;
  }
}

.seo-keywords {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Barre téléphone persistante */
.phone-bar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #4a1c63, #6b2d8b);
  color: #f5f0e6;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.phone-bar a {
  color: #e8d5a3;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.phone-bar a:hover { text-decoration: underline; }
.phone-cta-box {
  text-align: center;
  margin: 2.5rem 0 0;
  padding: 1.6rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
}
.region-title {
  color: var(--secondary);
  font-size: 1.35rem;
  margin: 2.4rem 0 1rem;
  text-align: center;
}

.hero {
  background-size: cover !important;
  background-position: center !important;
}
.hero-photo {
  position: relative;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,15,36,0.55) 0%, rgba(26,15,36,0.82) 100%);
  pointer-events: none;
}
.hero-photo > * { position: relative; z-index: 1; }

.img-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}
.img-row img, .content-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}
.editorial-title { margin-top: 2.7rem; }
.visual-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.visual-link img {
  transition: transform 0.35s ease, filter 0.35s ease;
}
.visual-link span {
  position: absolute;
  inset: auto 0 0;
  padding: 1.35rem 1rem 0.85rem;
  color: #fff7d6;
  background: linear-gradient(transparent, rgba(26, 15, 36, 0.94));
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.visual-link:hover img {
  transform: scale(1.045);
  filter: brightness(1.08);
}
.content-img.wide { height: 280px; }
.card-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.9rem;
}

.tarif-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.45rem; }
.phone-numbers a { font-weight: 700; color: var(--secondary); }


/* Utilitaires de mise en page centralisés */
.space-top { margin-top: 2rem; }
.space-top-sm { margin-top: 1.5rem; }
.space-top-lg { margin-top: 3rem; }
.centered { text-align: center; }
.container-narrow { max-width: 600px; }
.full-width { width: 100%; }
.btn-phone { font-size: 1.15rem; }
.premium-heading { color: var(--secondary); margin-bottom: 0.6rem; }
.muted-copy { color: var(--text-muted); margin-bottom: 1rem; }
.zodiac-visual { max-width: 420px; height: 280px; margin: 0 auto 1.5rem; display: block; }
.local-depth blockquote { margin: 1.4rem 0 0.55rem; padding: 1.25rem 1.4rem; border-left: 4px solid var(--secondary); background: var(--bg-card); border-radius: 0 12px 12px 0; font-style: italic; }
.story-label { color: var(--text-muted); font-size: 0.88rem; }
.hero-bg-amethyst { background-image: url('../images/amethyst.jpg'); }
.hero-bg-moon-stars { background-image: url('../images/moon-stars.jpg'); }
.hero-bg-hero-cards { background-image: url('../images/hero-cards.jpg'); }
.hero-bg-hero-tarot { background-image: url('../images/hero-tarot.jpg'); }
.hero-bg-tarot-crystals { background-image: url('../images/tarot-crystals.jpg'); }
.hero-bg-voyance-amour-couple { background-image: url('../images/voyance-amour-couple.jpg'); }
.hero-bg-astrologie-amour-couple { background-image: url('../images/astrologie-amour-couple.jpg'); }
.hero-bg-voyance-telephone-voyante { background-image: url('../images/voyance-telephone-voyante.jpg'); }
.hero-bg-signe-belier { background-image: url('../images/signe-belier.jpg'); }
.hero-bg-signe-taureau { background-image: url('../images/signe-taureau.jpg'); }
.hero-bg-signe-gemeaux { background-image: url('../images/signe-gemeaux.jpg'); }
.hero-bg-signe-cancer { background-image: url('../images/signe-cancer.jpg'); }
.hero-bg-signe-lion { background-image: url('../images/signe-lion.jpg'); }
.hero-bg-signe-vierge { background-image: url('../images/signe-vierge.jpg'); }
.hero-bg-signe-balance { background-image: url('../images/signe-balance.jpg'); }
.hero-bg-signe-scorpion { background-image: url('../images/signe-scorpion.jpg'); }
.hero-bg-signe-sagittaire { background-image: url('../images/signe-sagittaire.jpg'); }
.hero-bg-signe-capricorne { background-image: url('../images/signe-capricorne.jpg'); }
.hero-bg-signe-verseau { background-image: url('../images/signe-verseau.jpg'); }
.hero-bg-signe-poissons { background-image: url('../images/signe-poissons.jpg'); }


/* Blocs et composants sans styles intégrés */
.container-medium { max-width: 800px; }
.space-top-xl { margin-top: 2.5rem; }
.premium-panel { text-align: center; margin-bottom: 2.5rem; padding: 1.5rem; background: var(--bg-card); border-radius: 14px; border: 1px solid var(--border); }
.premium-panel-large { margin-top: 3rem; padding: 2rem; border-radius: 16px; }
.form-note { margin-top: 2rem; color: var(--text-muted); font-size: 0.9rem; text-align: center; }
.premium-note { margin-top: 1rem; color: var(--text-muted); font-size: 0.95rem; }
.muted-copy-lg { color: var(--text-muted); margin-bottom: 1.5rem; }
.btn-premium { font-size: 1.15rem; padding: 1rem 2rem; }
.btn-premium-large { font-size: 1.25rem; padding: 1.1rem 2.4rem; }
.legal-note { margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; }
    .faq-question { padding: 1.2rem 1.5rem; cursor: pointer; font-weight: 600; color: var(--secondary); display: flex; justify-content: space-between; align-items: center; }
    .faq-question:hover { background: color-mix(in srgb, var(--bg-card) 80%, var(--secondary)); }
    .faq-answer { padding: 0 1.5rem 1.3rem; color: var(--text-muted); display: none; }
    .faq-item.open .faq-answer { display: block; }
    .faq-item.open .faq-question span { transform: rotate(45deg); }
    .faq-question span { transition: transform 0.3s; font-size: 1.4rem; }


/* Avis clients, audiotel et planning */
.testimonial-author { margin-top: 0.35rem; color: var(--secondary); font-weight: 700; }
.audiotel-callout { margin-top: 2.5rem; padding: 2rem; text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.schedule-section h2 { text-align: center; }
.schedule-intro { max-width: 760px; margin: 0.75rem auto 1.5rem; text-align: center; color: var(--text-muted); }
.schedule-frame { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.schedule-frame iframe { display: block; width: 100%; border: 0; }
