/* Tous les titres */
h1, h2, h3, h4 {
  color: #FFD700; /* or luxueux */
  font-weight: bold;
  letter-spacing: 1px;
}

.btn-lire-suite a,
.btn-voir-toutes,
.btn-retour-analyses a {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg, #FFD700, #DAA520);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.btn-lire-suite a:hover,
.btn-voir-toutes:hover,
.btn-retour-analyses a:hover {
  background: #FFD700;
  color: #000;
  box-shadow: 0 0 20px rgba(255,215,0,0.8), 0 0 40px rgba(255,215,0,0.6);
  transform: translateY(-3px);
}

/* ====== SEPARATEURS ENTRE BLOCS ====== */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

/* Ligne dorée entre sections */
section::before {
  content: "";
  display: block;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, #FFD700, transparent);
  margin: 0 auto 60px auto;
}

/* ====== DIFFERENCIER LES BLOCS ====== */

#apropos-accueil p,
#apercu-analyses p {
  color: #f5f0e6;  /* beige clair élégant */
  font-size: 1.1rem;
  line-height: 1.7;
}

#apropos-accueil {
  background-color: #fff8f0; /* Beige clair */
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#apercu-analyses {
  background-color: #111111; /* Noir élégant */
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(255,215,0,0.1);
}

#contact {
  background-color: #f8f2eb; /* Beige plus doux */
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Titres */
section h2 {
  color: #FFD700;
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* ====== SCROLL ANIMATIONS ====== */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.scroll-animate {
  opacity: 0;
  visibility: hidden;
}

.scroll-animate.visible-left {
  animation: fadeInLeft 1s ease forwards;
  visibility: visible;
}

.scroll-animate.visible-right {
  animation: fadeInRight 1s ease forwards;
  visibility: visible;
}



/* ==== GENERAL ==== */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #000000; /* Noir profond */
  color: #ffffff;
  margin: 0;
  padding: 0;
}

/* ==== NAVBAR ==== */
header {
  background-color: #000000;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  color: #FFD700; /* Doré */
  text-decoration: none;
  font-weight: 600;
  margin: 0 15px;
  transition: 0.3s;
}

header a:hover {
  color: #ffffff; /* Blanc au hover */
  text-shadow: 0 0 8px #FFD700;
}

header .logo {
  font-size: 24px;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: 2px;
  cursor: pointer;
}

/* ==== HERO AVEC PHOTO ==== */
.hero {
  position: relative;
  height: 100vh;
  background: url("images/photo-banniere.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFD700;
}

/* Overlay sombre transparent */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* voile noir transparent */
  z-index: 1;
}

/* Texte par-dessus */
.hero h1 {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(90deg, #FFD700, #DAA520, #FFF8DC, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s infinite linear;
  z-index: 2;
  position: relative;
}

/* Effet doré qui brille */
@keyframes shine {
  0% { background-position: 0% }
  100% { background-position: 200% }
}

/* Bouton doré */
.hero button {
  background: linear-gradient(90deg, #FFD700, #DAA520);
  color: #000000;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.3s;
  z-index: 2;
  position: relative;
}

.hero button:hover {
  background: #000000;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 0 12px #FFD700;
}

/* ==== SECTION TITLES ==== */
section h2 {
  color: #FFD700;
  font-size: 30px;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==== CARDS ==== */
.card {
  background: #111111;
  border: 1px solid #FFD700;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  color: #ffffff;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.card img {
  max-width: 80px;
  margin-bottom: 15px;
}

/* ==== FOOTER ==== */
footer {
  background: #000000;
  color: #FFD700;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

footer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
  margin: 0 10px;
}

footer a:hover {
  text-shadow: 0 0 8px #FFD700;
}



/* Navigation */
header {
  background: #222;
  color: white;
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between; /* sépare logo et menu */
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* Logo à gauche */
.logo {
  margin-right: auto; /* pousse les liens vers la droite */
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px; 
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #d4af37; /* un doré-beige pour rester dans ton thème */
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: beige;
  letter-spacing: 2px;
  text-decoration: none; /* pas de soulignement */
  transition: color 0.3s ease;
}

.logo:hover {
  color: #d4af37; /* effet hover doré élégant */
}


/* ====== NAVIGATION ====== */
header {
  background: #111; /* noir */
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: #f5f0e6; /* beige clair */
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #d1bfa7; /* beige légèrement plus foncé au hover */
}

/* HERO / BANNIÈRE pleine largeur */
.hero-banner {
  height: 100vh; /* plein écran */
  background-image: url('images/photo-banniere.jpg'); /* ta photo bannière */
  background-size: cover; /* couvre toute la section */
  background-position: center; /* centre la photo */
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  color: #f5f0e6; /* texte beige clair */
  padding: 0 20px;
}

/* Texte sur la bannière */
.banner-text {
  max-width: 800px;
  background-color: rgba(0,0,0,0.4); /* voile sombre pour lisibilité */
  padding: 20px 30px;
  border-radius: 10px;
}

.banner-text .quote {
  font-size: 2rem;
  font-style: italic;
  line-height: 1.4;
}


/* Responsive */
@media (max-width: 900px) {
  .banner-text .quote {
    font-size: 1.5rem;
  }
}


/* ====== SECTIONS ====== */
section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

#apropos, #contact {
  text-align: center;
}

/* Conteneur de toutes les analyses */
.analyses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Toujours 2 colonnes */
  gap: 25px;
  margin-top: 40px;
  align-items: stretch;
}

/* Pour les très petits écrans, on garde 2 colonnes mais on réduit un peu l'espace */
@media (max-width: 500px) {
  .analyses-grid {
    gap: 15px;
  }
  .analyse-card h3 {
    font-size: 1rem;
  }
  .analyse-card p {
    font-size: 0.85rem;
  }
}


/* Cartes individuelles */
.analyse-card {
  background: #111; /* fond noir élégant */
  border: 1px solid #FFD700; /* contour doré */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.analyse-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Image/logo dans la carte */
.analyse-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}

/* Titre */
.analyse-card h3 {
  margin-top: 15px;
  color: #FFD700;
  font-size: 1.2rem;
}

/* Date */
.analyse-card .date {
  font-size: 0.9rem;
  color: #bbb;
  margin: 8px 0 12px;
}

/* Texte */
.analyse-card p {
  color: #eee;
  font-size: 1rem;
  line-height: 1.5;
}


.voir-toutes {
  margin-top: 20px;
}

.btn-voir-toutes {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: #f8f2eb;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn-voir-toutes:hover {
  background-color: #333;
}

/* ====== CONTACT ====== */
#contact a {
  color: #111; /* noir */
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover {
  color: #d1bfa7; /* beige foncé */
  text-decoration: underline;
}

/* ====== MEDIA QUERIES RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-photo {
    margin-bottom: 20px;
  }

  .card {
    flex: 1 1 100%;
  }
}

#apropos-accueil {
  padding: 50px 20px;
  background: none;   /* plus de bloc */
  max-width: 900px;
  margin: auto;
  text-align: center;
  border: none;
  box-shadow: none;
}

#apercu-analyses {
  padding: 50px 20px;
  background: none;  /* plus de fond bloc */
  max-width: 1200px;
  margin: auto;
  text-align: center;
  border: none;
  box-shadow: none;
  flex-wrap: nowrap;
}

#apropos-accueil h2 {
  color: #222;
  margin-bottom: 20px;
}

#apropos-accueil p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.btn-lire-suite {
  margin-top: 20px;
}

.btn-lire-suite a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: #f8f2eb;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn-lire-suite a:hover {
  background-color: #333;
}

#analyse-detail {
  max-width: 900px;
  margin: 80px auto; /* espace avec le haut */
  padding: 20px;
  background: transparent; /* plus de fond */
  border: none;            /* supprime le contour arrondi */
  box-shadow: none;        /* supprime l’ombre */
  line-height: 1.8;
  color: #f5f0e6; /* texte beige clair sur fond noir */
}

#analyse-detail h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #FFD700; /* doré luxueux */
  font-size: 2rem;
}

#analyse-detail .analyse-detail-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

#analyse-detail h2 {
  color: #FFD700; /* sous-titres dorés */
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

#analyse-detail ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #ddd;
}

.btn-retour-analyses {
  margin-top: 30px;
  text-align: center;
}

.btn-retour-analyses a {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(90deg, #FFD700, #DAA520);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-retour-analyses a:hover {
  background: #000;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 0 15px #FFD700;
}


.a-propos .conteneur {
  display: flex;
  flex-wrap: wrap; /* Permet au texte de descendre sous l'image si trop long */
  align-items: flex-start;
  gap: 20px; /* espace entre l'image et le texte */
}

.image-profil img {
  width: 300px; /* taille de l'image, tu peux ajuster */
  height: auto;
  border-radius: 10px;
}

.texte-profil {
  flex: 1; /* prend l'espace restant à côté de l'image */
  min-width: 250px; /* pour éviter que le texte devienne trop étroit */
}

/* Optionnel : espacement entre les paragraphes */
.texte-profil p {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Conteneur général */
.a-propos .conteneur {
  display: flex;
  flex-wrap: wrap; /* permet au texte de descendre sous l'image si nécessaire */
  align-items: flex-start;
  gap: 20px; /* espace entre image et texte */
}

.a-propos .conteneur.reverse {
  flex-direction: row-reverse; /* image à droite */
}




/* Ajoute plus d'espacement entre les paragraphes sous l'image */
.apropos-section p {
  line-height: 1.8; /* augmente la hauteur de ligne pour l’aération */
  margin-bottom: 1.2em; /* espace entre les paragraphes */
  text-align: justify; /* pour un rendu propre comme le haut */
}

/* Si tu veux que l’espacement s’applique seulement au texte sous l’image */
.texte-bas {
  line-height: 1.8;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}



.image-profil img {
  width: 200px;   /* ajustable selon ton goût */
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.texte-profil {
  flex: 1;
  min-width: 250px;
}

.texte-profil p {
  margin-bottom: 15px;
  line-height: 1.7;
}


/* Bouton doré luxueux */
button.lire-suite {
  background: linear-gradient(90deg, #FFD700, #DAA520); /* doré luxueux */
  color: #000; /* texte noir pour contraste */
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px #FFD700; /* léger éclat initial */
}

/* Effet au survol */
button.lire-suite:hover {
  background: linear-gradient(90deg, #FFF8DC, #FFD700, #DAA520); /* doré brillant */
  color: #000;
  box-shadow: 0 0 20px #FFD700; /* brille plus */
  transform: translateY(-2px);
}



/* NAVBAR SIMPLIFIÉE */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #111;
  z-index: 10000;
  padding: 10px 15px;
  box-sizing: border-box;
}

.nav-container {
  width: 80%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;       /* centre vertical logo + liens */
  gap: 15px;                 /* espace entre logo et liens */
  flex-wrap: nowrap;          /* pas de retour à la ligne */
  max-width: 700px;
  overflow: hidden;           /* empêche scroll horizontal */
}

.logo img {
  height: 35px;               /* logo petit pour mobile */
  width: auto;
}

.nav-links {
  width: 70%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 10px;                  /* espace entre liens */
  margin: 0;
  padding: 0;
  align-items: center;
  white-space: nowrap;         /* liens ne passent pas à la ligne */
}

.nav-links li{
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: #f5f0e6;
  text-decoration: none;
  font-weight: bold;
  font-size: auto;         /* petite taille pour mobile */
  transition: all 0.3s ease;
  margin: 0;
}

.nav-links li a:hover {
  color: #FFD700;
  text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 15px #FFD700;
}

/* Media query pour mobile très petit */
@media (max-width: 400px) {
  .logo img {
    height: 30px;
  }

  .nav-links li a {
    font-size: 0.75rem;
  }

  .nav-links {
    gap: 6px; /* réduire encore l'espace */
  }
}


/* ======== STYLE DU MENU GLOBAL ======== */
nav ul li a {
  color: white; /* ou la couleur de base de ton texte */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Survolage doré luxueux (valable sur TOUTES les pages) */
nav ul li a:hover {
  color: #FFD700 !important; /* or luxueux */
  text-shadow: 0 0 8px #FFD700, 0 0 15px #FFA500 !important;
  transition: all 0.3s ease-in-out;
}

/* Facultatif : quand un lien est actif (ex : page en cours) */
nav ul li a.active {
  color: #FFD700 !important;
  text-shadow: 0 0 6px #FFD700;
}


/* === Forcer image + texte côte à côte même sur mobile === */
.a-propos .conteneur {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap; /* empêche le texte de descendre sous l’image */
}

.a-propos .conteneur.reverse {
  flex-direction: row-reverse; /* image à droite */
}

/* Ajuster la taille pour que tout rentre même sur mobile */
.a-propos .image-profil img {
  width: 40vw;          /* image prend 40% de la largeur de l’écran */
  max-width: 200px;     /* limite pour éviter une image trop grande */
  height: auto;
}

.a-propos .texte-profil {
  flex: 1;              /* le texte prend l’espace restant */
  min-width: 0;         /* évite les débordements */
}

/* Texte bien lisible sur petits écrans */
.a-propos p {
  line-height: 1.8em;
  margin-top: 1.2em;
  margin-bottom: 1.5em;
  text-align: justify;
  font-size: 1rem;
}







/* --- Affichage adaptatif image/texte --- */
.a-propos .conteneur {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.a-propos .conteneur.reverse {
  flex-direction: row-reverse;
}

.a-propos .image-profil img {
  width: 40%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
}

/* --- Comportement sur mobile --- */
@media (max-width: 768px) {
  .a-propos .conteneur {
    flex-wrap: wrap; /* permet de repasser en dessous si besoin */
    text-align: center;
  }

  .a-propos .texte-profil {
    flex: 1;
    width: 100%;
  }

  .a-propos .texte-complet {
    display: none; /* on cache le texte long sur mobile */
  }

  .a-propos .intro-mobile {
    display: block; /* on montre la version courte sur mobile */
    font-size: 1rem;
    line-height: 1.7em;
    margin-top: 1em;
    text-align: justify;
  }
}

/* --- Comportement sur ordinateur --- */
@media (min-width: 769px) {
  .a-propos .intro-mobile {
    display: none; /* version courte cachée sur PC */
  }

  .a-propos .texte-complet {
    display: block; /* texte complet affiché sur PC */
  }
}


.btn-telecharger {
  display: inline-block;
  background-color: #d4af37; /* or luxueux */
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.btn-telecharger:hover {
  background-color: #b9962e;
}


.titre-analyse {
  color: #D4AF37; /* or luxueux */
  font-size: 1.8em;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

.analyse-contenu {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.05em;
  padding: 20px;
  text-align: justify;
}

