/* =========================================================
   ALTESSA VOYANCE – THEME MYSTIQUE / FÉERIQUE PREMIUM
   Remplace entièrement ton styles.css par ce fichier
   ========================================================= */

/* ========== RESET & BASE ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Poppins', system-ui, sans-serif;
  background: radial-gradient(circle at top, #4b1c7f 0, #080016 55%, #05000d 100%);
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

/* Ciel étoilé animé */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.18) 0, transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(248,224,160,0.16) 0, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(154,95,214,0.18) 0, transparent 55%);
  opacity: 0.4;
  mix-blend-mode: screen;
}

@keyframes star-drift {
  0% { transform: translate3d(0,0,0); opacity: .4; }
  50% { transform: translate3d(-20px,10px,0); opacity: .9; }
  100% { transform: translate3d(0,0,0); opacity: .4; }
}

body::after {
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.7) 0, transparent 50%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.6) 0, transparent 50%),
    radial-gradient(1px 1px at 80% 20%, rgba(248,224,160,0.7) 0, transparent 50%),
    radial-gradient(2px 2px at 40% 85%, rgba(255,255,255,0.4) 0, transparent 55%);
  animation: star-drift 45s linear infinite;
  opacity: 0.45;
}

/* Liens */
a {
  color: inherit;
  text-decoration: none;
}

/* ========== HEADER ========== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8vw;
  background: radial-gradient(circle at top left, rgba(110,58,196,0.7), rgba(5,0,20,0.96));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217,164,65,0.28);
  box-shadow: 0 10px 40px rgba(0,0,0,0.55);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  filter: drop-shadow(0 0 26px rgba(248,224,160,0.9));
  animation: pulse-glow 3.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,100% { filter: drop-shadow(0 0 18px rgba(248,224,160,0.8)); }
  50% { filter: drop-shadow(0 0 38px rgba(255,238,190,1)); }
}

.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 1.35rem; font-weight: 600; }
.logo-sub  { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: #f3d48a; }

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .95rem;
}

.nav a {
  opacity: .8;
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-image: linear-gradient(90deg,#f8e0a0,#d9a441,#f8e0a0);
  border-radius: 999px;
  transition: width .18s ease, left .18s ease;
}

@keyframes shimmer-gold {
  0% { background-position: -120% 0; }
  100% { background-position: 220% 0; }
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  width: 100%;
  left: 0;
  animation: shimmer-gold 1s linear infinite;
}

.nav a.active {
  opacity: 1; font-weight: 500;
}

.nav a.active::after {
  width: 100%; left: 0;
}

/* Bouton contact */
.btn-nav {
  padding: 8px 18px;
  border-radius: 999px;
  background-image: linear-gradient(120deg,#f8e0a0,#d9a441,#fbeac4);
  color: #2c143c;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(217,164,65,0.65);
  position: relative;
  overflow: hidden;
}

.btn-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-120%);
}

.btn-nav:hover::before {
  transform: translateX(120%);
  transition: transform .6s ease;
}

/* Sélecteur langue */
#lang-switcher {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(243,212,138,0.7);
  background: rgba(5,0,20,0.85);
  color: #fdf7e6;
}

/* ========== HERO + LOTUS ANIMÉ ========== */

.hero {
  padding: 80px 8vw 40px;
  text-align: center;
  position: relative;
}

/* Halo lumineux derrière le lotus */
.hero::before {
  content: "";
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248,224,160,0.4) 0, transparent 65%);
  animation: lotus-aura 5.8s ease-in-out infinite;
}

@keyframes lotus-aura {
  0%,100% { opacity: .35; transform: translateX(-50%) scale(1); }
  50% { opacity: .75; transform: translateX(-50%) scale(1.18); }
}

/* === ANIMATION TAPIS VOLANT === */

.lotus-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  animation: lotus-flight 3.8s ease-out forwards;
}

@keyframes lotus-flight {
  0%   { transform: translateX(-110%) translateY(30px) rotate(-4deg); }
  40%  { transform: translateX(15%) translateY(-10px) rotate(2deg); }
  70%  { transform: translateX(-5%) translateY(8px); }
  100% { transform: translateX(0) translateY(0); }
}

/* Lotus géant + flottement */
.hero-lotus {
  width: 260px;
  filter: drop-shadow(0 0 40px rgba(248,224,160,1))
          drop-shadow(0 0 70px rgba(255,230,150,0.9));
  animation:
    lotus-float 4s ease-in-out infinite,
    lotus-shimmer 3s ease-in-out infinite;
}

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

@keyframes lotus-shimmer {
  0%,100% { filter: drop-shadow(0 0 35px rgba(255,230,180,0.8)); }
  50%     { filter: drop-shadow(0 0 65px rgba(255,240,200,1)); }
}

/* Traînée dorée */
.lotus-trail {
  position: absolute;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 80px;
  background: radial-gradient(circle,
    rgba(255,230,180,0.8) 0%,
    rgba(255,230,180,0.35) 25%,
    transparent 70%);
  filter: blur(12px);
  opacity: 0;
  animation: trail-fade 4s ease-out forwards;
}

@keyframes trail-fade {
  0% { opacity: 0; transform: translateX(0) scaleX(.6); }
  20% { opacity: .8; }
  60% { opacity: .4; transform: translateX(120px) scaleX(1.3); }
  100% { opacity: 0; transform: translateX(250px) scaleX(1.8); }
}

/* Titres Hero */
.hero-title {
  font-size: clamp(3rem, 4.5vw, 4rem);
  margin-top: 10px;
}

.hero-subtitle {
  font-size: 1.7rem;
  letter-spacing: .32em;
  color: #f3d48a;
  margin-bottom: 16px;
}
/* =========================================================
   SECTION TEXTE HERO
   ========================================================= */

.hero-text {
  max-width: 650px;
  margin: 0 auto 26px;
  font-weight: 300;
  opacity: 0.9;
}

/* Boutons Hero */
.hero-btn {
  margin-top: 8px;
}

/* ========== SECTIONS GÉNÉRIQUES ========== */

.section {
  padding: 20px 8vw 60px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
  font-weight: 300;
  opacity: 0.85;
}

/* =========================================================
   CARTES (Horoscope / Experts / Tarifs)
   ========================================================= */

.horocard,
.expert-card,
.tarif-card {
  background: radial-gradient(circle at top,#2b134f,#120021 55%,#090013 100%);
  border-radius: 24px;
  padding: 20px 18px 22px;
  border: 1px solid rgba(217,164,65,0.22);
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Lueur interne */
.horocard::before,
.expert-card::before,
.tarif-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(248,224,160,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.horocard:hover,
.expert-card:hover,
.tarif-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  border-color: rgba(248,224,160,0.8);
}

.horocard:hover::before,
.expert-card:hover::before,
.tarif-card:hover::before {
  opacity: 1;
}

/* =========================================================
   HOROSCOPE
   ========================================================= */

.horoscope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 30px;
}

.horocard {
  text-align: center;
}

.horocard img {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 14px rgba(248,224,160,0.8));
  animation: float-soft 6s ease-in-out infinite;
}

.horocard h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.horocard p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.88;
}

/* =========================================================
   EXPERTS
   ========================================================= */

.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
  margin-top: 30px;
}

.expert-card {
  text-align: center;
  padding-top: 26px;
}

.expert-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid rgba(217,164,65,0.9);
  box-shadow: 0 0 18px rgba(217,164,65,0.55);
}

.expert-card h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.expert-role {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #f8e0a0;
}

.expert-bio {
  font-size: 0.86rem;
  opacity: 0.9;
  margin: 0 0 16px;
}

/* =========================================================
   TARIFS
   ========================================================= */

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 26px;
}

.tarif-card h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.tarif-price {
  font-size: 1.4rem;
  color: #f8e0a0;
  margin: 0 0 10px;
  font-weight: 600;
}

.tarif-card p {
  font-size: 0.88rem;
  margin: 0;
  opacity: 0.9;
}

.tarif-highlight {
  box-shadow: 0 0 28px rgba(217,164,65,0.7);
  border-color: rgba(248,224,160,0.85);
}

.tarifs-actions {
  text-align: center;
  margin-bottom: 30px;
}

.tarifs-actions a + a {
  margin-left: 10px;
}

/* =========================================================
   FORMULAIRES TARIFS & CONTACT
   ========================================================= */

.form-section {
  max-width: 760px;
  margin: 0 auto;
}

.form-section h2 {
  text-align: center;
  margin-bottom: 10px;
}

.question-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.question-form input,
.question-form select,
.question-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(10,0,30,0.92);
  border: 1px solid rgba(217,164,65,0.35);
  border-radius: 12px;
  padding: 10px 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
}

.question-form input:focus,
.question-form select:focus,
.question-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f8e0a0;
  box-shadow: 0 0 0 1px rgba(248,224,160,0.7);
}

.form-btn {
  align-self: center;
  margin-top: 10px;
}

.form-note {
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 18px 8vw 22px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
  border-top: 1px solid rgba(217,164,65,0.18);
  margin-top: 20px;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

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

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 12px;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding-top: 60px;
  }
  .horoscope-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .experts-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .tarifs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 1.6rem; }
  .horoscope-grid,
  .experts-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   PAYPAL – BOÎTE MYSTIQUE PREMIUM
   ========================================================= */

.mystic-paybox {
  margin-top: 16px;
  padding: 20px;
  border-radius: 18px;
  background: radial-gradient(circle at top,
    rgba(248,224,160,0.18),
    rgba(20,0,40,0.65) 55%,
    rgba(10,0,25,0.9) 100%
  );
  border: 1px solid rgba(248,224,160,0.38);
  box-shadow:
    0 0 22px rgba(0,0,0,0.55),
    inset 0 0 24px rgba(248,224,160,0.12);
  backdrop-filter: blur(8px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Lueur animée interne */
.mystic-paybox::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle,
    rgba(255,245,200,0.15),
    transparent 70%
  );
  animation: mysticGlow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mysticGlow {
  0%,100% { opacity: 0.25; transform: scale(1); }
  50%     { opacity: 0.65; transform: scale(1.25); }
}

.mystic-paybox h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #f8e0a0;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(248,224,160,0.6);

   .mystic-paybox {
  margin-top: 18px;
  padding: 16px;
  background: radial-gradient(circle at top, rgba(248,224,160,0.15), rgba(110,58,196,0.15));
  border: 1px solid rgba(248,224,160,0.45);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 25px rgba(248,224,160,0.25);
  backdrop-filter: blur(6px);
}

.mystic-paybox h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #f8e0a0;
  font-weight: 500;
}

}

/* Ajustement du conteneur PayPal */
.mystic-paybox > div {
  margin-top: 12px;
}
/* =========================================================
   CONTACT — MISE EN PAGE COMPLÈTE & CENTRÉE
   ========================================================= */

.page-contact .section {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 20px;
}

/* Conteneur du formulaire */
.contact-form {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 20px;
}

/* Ligne de champ */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Labels */
.form-row label {
  font-size: 1rem;
  opacity: 0.85;
  font-weight: 400;
}

/* Inputs + champs */
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(10,0,30,0.92);
  border: 1px solid rgba(217,164,65,0.35);
  border-radius: 12px;
  padding: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Focus lumineux */
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #f8e0a0;
  box-shadow: 0 0 8px rgba(248,224,160,0.7);
}

/* Animation sentimentale */
.sentimental-only {
  animation: fadeIn 0.3s ease;
}

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

/* Note */
.form-note {
  font-size: 0.8rem;
  text-align: center;
  opacity: 0.7;
}

/* Bouton full width */
.btn-full {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  font-size: 1.1rem;
  background-image: linear-gradient(120deg,#f8e0a0,#d9a441,#fbeac4);
  color: #2c143c;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(248,224,160,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(248,224,160,0.7);
}
/* =========================================================
   BOUTON CONSULTER — STYLE DORÉ PREMIUM
   ========================================================= */

.btn-secondary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #f8e0a0;
  border: 1px solid rgba(248,224,160,0.55);
  background: rgba(20,0,40,0.6);
  text-decoration: none;
  transition: 0.25s ease;
  box-shadow:
    0 0 10px rgba(248,224,160,0.35),
    0 0 18px rgba(248,224,160,0.2);
}

/* Surbrillance mystique */
.btn-secondary:hover {
  color: #2c143c;
  background-image: linear-gradient(120deg,#f8e0a0,#d9a441,#fbeac4);
  border-color: rgba(248,224,160,0.9);
  box-shadow:
    0 0 16px rgba(248,224,160,0.85),
    0 0 32px rgba(248,224,160,0.55),
    0 0 55px rgba(248,224,160,0.35);
  transform: translateY(-3px);
}
