/* ============================
   MADIPRO MARKETING – STYLE PERSONNALISÉ
   ============================ */

/* --- 1. Structure globale --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  overflow-x: hidden;
}

/* --- 2. Navigation --- */
nav {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav a {
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #facc15; /* jaune Tailwind */
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* --- 3. Hero Section --- */
.hero {
  min-height: 59vh; /* Réduction de la hauteur */
  background: linear-gradient(135deg, #fbbf24, #423827);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
  padding: 52px 0; /* garde un peu d’espace pour respirer */
}


.hero h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero a {
  margin-top: 1.5rem;
  background-color: #facc15;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* --- 4. Cartes (Services, Blog, etc.) --- */
.card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- 5. Boutons --- */
.btn {
  display: inline-block;
  background-color: #facc15;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-align: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  background-color: #eab308;
  transform: scale(1.05);
}

/* --- 6. Sections de texte (À propos, Contact, etc.) --- */
section h2, section h3 {
  position: relative;
  display: inline-block;
}

section h2::after, section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, #facc15, #f59e0b);
  border-radius: 2px;
}

/* --- 7. Footer --- */
footer {
  background-color: #111827;
  color: #d1d5db;
  text-align: center;
  padding: 3rem 0;
}

footer a {
  color: #d1d5db;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #facc15;
}

/* --- 8. Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 9. Responsive --- */
@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* --- 10. Banniere --- */
section.h-screen {
  height: 55vh !important;
}

/* --- 11. mockup ebook --- */
.image img {
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.image img:hover {
  transform: scale(1.03);
}



/* --- Bouton Offre spéciale limitée --- */
.btn-offre {
  display: inline-block;
  background: linear-gradient(90deg, #181313 0%, #b37878 100%);
  color: #2e0404;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(230, 0, 0, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-offre:hover {
  background: linear-gradient(90deg, #FF2B2B 0%, #E60000 100%);
  box-shadow: 0 0 35px rgba(255, 0, 0, 0.8);
  transform: scale(1.05);
}

/* --- Bouton Oui ! Je veux le livre --- */
.btn-livre {
  display: inline-block;
  background: linear-gradient(90deg, #E60000 0%, #FF0000 100%);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 35px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.btn-livre:hover {
  background: linear-gradient(90deg, #FF4040 0%, #E60000 100%);
  box-shadow: 0 0 45px rgba(255, 0, 0, 0.9);
  transform: scale(1.08);
}

