/* ==========================================================================
   1. VARIABLES & TYPOGRAPHIE SYSTEM
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  /* Palette de couleurs sombres élégantes */
  --bg-main: #0b0f19;
  --bg-card: rgba(26, 34, 53, 0.75);
  --bg-card-hover: rgba(33, 44, 69, 0.85);
  --bg-nav: rgba(11, 15, 25, 0.9);

  /* Couleurs d'accentuation */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --accent-orange: #ff5722;
  --accent-orange-hover: #e64a19;
  --accent-gold: #ffd700;

  /* Couleurs de texte */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Polices modernes */
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* UI Elements */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.15);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
}

/* Reset de base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(rgba(11, 15, 25, 0.92), rgba(11, 15, 25, 0.92)),
  url('../../VIEW/IMAGES/image_back_ground_body.png') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Container Global pour centrer et aérer les pages */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Image sous le header */
section > img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: 20px;
  box-shadow: var(--shadow-main);
}

/* ==========================================================================
   2. EN-TÊTE ET NAVIGATION (HEADER / NAV)
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
  padding: 15px 0;
}

.flexboxNav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.flexboxNav a {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.flexboxNav a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.flexboxNav a.active {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  box-shadow: inset 0 0 12px rgba(0, 242, 254, 0.15);
}

#h1PascalBourgaux {
  /*font-family: var(--font-title);*/
  /*font-size: 2.8rem;*/
  /*font-weight: 800;*/
  /*font-style: italic;*/
  /*text-align: center;*/
  /*margin-top: 15px;*/
  /*letter-spacing: 3px;*/
  /*background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);*/
  /*-webkit-background-clip: text;*/
  /*-webkit-text-fill-color: transparent;*/
  /*text-transform: uppercase;*/


  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Parisienne&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
  font-family: 'Parisienne', cursive;
  font-size: 3.6rem; /* Taille augmentée car le tracé de Parisienne est très fin */
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.4;
  text-align: center;
  margin: 35px 0 20px 0;

  /* Fallback couleur de secours */
  color: #00f2fe;

  /* Dégradé Néon Cyan / Bleu */
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #00c6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Halo lumineux discret pour faire ressortir les majuscules fines */
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
}


/* ==========================================================================
   3. TYPOGRAPHIE ET ELEMENTS DE CONTENU
   ========================================================================== */
h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin: 40px 0 15px 0;
  letter-spacing: 2px;
}

h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: center;
  margin: 35px 0 20px 0;
  letter-spacing: 2px;
}

#h3Accueil {
  font-size: 2.2rem;
  line-height: 1.3;
  color: var(--accent-cyan);
  margin-top: 40px;
  letter-spacing: 2px;
}

h4 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-align: center;
  margin: 20px 0 10px 0;
  letter-spacing: 1px;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 15px auto;
}

/* Boutons d'action */
.boutonMeContacterPascalBourgaux {
  display: inline-block;
  background: var(--accent-orange);
  color: #ffffff !important;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.boutonMeContacterPascalBourgaux:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

#conclusion {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

/* ==========================================================================
   4. LAYOUTS FLUIDES & CARDS (PRESENTATION SECTEURS)
   ========================================================================== */
article {
  margin-bottom: 40px;
}

.flexboxArticle1Paragraphe1Accueil {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  margin: 30px 0;
  box-shadow: var(--shadow-main);
}
.flexboxArticle1Paragraphe1,
.flexboxDevweb,
.flexboxMagie1,
.paragrapheDj,
.paragrapheDj2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 35px;
  margin: 30px 0;
  box-shadow: var(--shadow-main);
}

.flexboxArticle1Paragraphe1,
.flexboxMagie1,
.paragrapheDj {
  flex-direction: row-reverse;
}

.ParagragraphePresentation,
.paragrapheMagie,
.paragrapheDj,
.paragrapheDj2 {
  text-align: left;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  padding-top: 2%;
  padding-bottom: 2%;
}

.ParagragraphePresentationDevWeb {
  text-align: left;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}



/* Stylisation des images */
#photoPascalPc, #photoPascalMixClub, #pascalMix, #photoPascalMixDehors, #photoPascalMagieBouteille,
#photoPascalHypnose {
  width: 280px;
  height: 280px;
  object-position: top !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  border: var(--border-subtle);
  flex-shrink: 0;
}

#photoPascalPrésentation {
  width:280px;
  height: auto;
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
}


#photoPascalMixDehors {
  margin-bottom: 5%;
}


#pascalMix {
  margin-top: 5%;
}


#photoPascalMagie {
  width: 280px;
  height: 280px;
  object-position: top !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
  border: var(--border-subtle);
  flex-shrink: 0;
}

.zone-video {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3%;
  margin-bottom: 6%;
}

iframe {

}

/* Stylisation des Listes */
.ulAccueil, .ulDevweb,
.listePuce1Dj, .listePuce2Dj,
.listePuce1Magie,
.listePuce1Hypnose, .listePuce2Hypnose {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  margin: 30px auto;
  max-width: 850px;
  box-shadow: var(--shadow-main);
}

.ulAccueil {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

ul {
  list-style: none;
}

ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* ==========================================================================
   5. TABLEAUX DE TARIFS MODERNES
   ========================================================================== */
.table {
  max-width: 800px;
  margin: 25px auto;
}

.tableDistance {
  margin: 50px auto;
  padding-top: 30px;
  border-top: var(--border-subtle);
}

#h2table {
  font-family: var(--font-title);
  color: var(--text-main);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.subtitle {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-subtle);
  box-shadow: var(--shadow-main);
}

th {
  background: var(--accent-gradient);
  color: #0b0f19;
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 16px 24px;
}

td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.category-row td {
  background: rgba(0, 0, 0, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.formula-name {
  font-weight: 600;
  color: var(--text-main);
}

.price {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

/* ==========================================================================
   6. FORMULAIRE DE CONTACT
   ========================================================================== */


:root {
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --text-color: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --border: #334155;
}

.body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}


.form-container {
  background-color: var(--card-bg);
  margin-top: 40px;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 650px;
}

#h2Form {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

input, select, textarea {
  background-color: var(--bg-color);
  border: 1px solid var(--border);
  color: var(--text-color);
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

textarea {
  resize: vertical;
}

.btn-submit {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: var(--accent-hover);
}

/* Alertes de statut */
.alert {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
}

.alert.success {
  background-color: rgba(34, 197, 94, 0.2);
  border: 1px solid #22c55e;
  color: #4ade80;
}

.alert.error {
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #f87171;
}

/* Pop-up Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #888888;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #e74c3c;
}

.modal-icon-success {
  width: 60px;
  height: 60px;
  background-color: #2ecc71;
  color: white;
  font-size: 35px;
  font-weight: bold;
  line-height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px auto;
}

.modal-card h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 22px;
}

.modal-card p {
  color: #666666;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.modal-ok-btn {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 10px 25px;
  font-size: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.modal-ok-btn:hover {
  background-color: #27ae60;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ==========================================================================
   7. PIED DE PAGE (FOOTER)
   ========================================================================== */
footer {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  padding: 35px 20px;
  margin-top: 80px;
  background: var(--bg-nav);
  border-top: var(--border-subtle);
}

footer span, footer a {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--text-muted);
}

footer a:hover {
  color: var(--accent-cyan);
}


/*---------------------------------------javaScript------------------------*/

/*.error-message {*/
/*  color: #e74c3c;*/
/*  font-size: 0.85rem;*/
/*  display: block;*/
/*  margin-top: 4px;*/
/*}*/


/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media screen and (max-width: 768px) {
  #h1PascalBourgaux { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.4rem; }

  .flexboxArticle1Paragraphe1,
  .flexboxDevweb,
  .flexboxMagie1,
  .paragrapheDj,
  .paragrapheDj2 {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .ParagragraphePresentation,
  .paragrapheMagie,
  .paragrapheDj,
  .paragrapheDj2 {
    text-align: center;
  }

  #photoPascalPc, #photoPascalMixClub,
  #pascalMix, #photoPascalMagie,
  #photoPascalMixDehors, #photoPascalMagieBouteille,
  #photoPascalHypnose {
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  footer {
    flex-direction: column;
    gap: 15px;
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE FORM & MODAL)
   ========================================================================== */
@media screen and (max-width: 768px) {
  /* Le corps s'adapte aux petits écrans sans overflow */
  .body {
    padding: 10px;
  }

  /* Réduction des marges internes du formulaire */
  .form-container {
    padding: 25px 18px;
    margin-top: 20px;
  }

  /* Passage des champs côte-à-côte en une seule colonne */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* Ajustement des titres du formulaire */
  #h2Form {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  /* Optimisation des champs pour le tactile (évite le zoom auto sur iOS) */
  input, select, textarea {
    font-size: 16px;
    padding: 10px;
  }

  /* Modale Pop-up adaptée aux petits écrans */
  .modal-card {
    padding: 20px 15px;
    width: 95%;
  }

  .modal-card h3 {
    font-size: 18px;
  }

  .modal-card p {
    font-size: 14px;
  }
}