/* ============================
   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: #1571fa; /* 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, #1571fa, #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: #1571fa;
  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: #1571fa;
  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: #1571fa;
  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, #1571fa, #1571fa);
  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: #1571fa;
}

/* --- 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);
}


@media (min-width: 768px) {
  .text-fix {
    margin-top: 60px; /* Ajuste verticalement le bloc texte */
  }
}

/* --- indexsecton --- */


    .btn-offre {
      display:inline-block;
      background:linear-gradient(90deg,#ff0303,#180101);
      color:#fff;
      font-weight:700;
      padding:14px 53px;
      border-radius:7px;
      box-shadow:0 0 20px rgba(230,0,0,0.4);
      text-decoration:none;
      transition:all 0.3s ease;
      animation:pulse-glow 2s infinite;
    }
    .btn-offre:hover{background:linear-gradient(90deg,#FF2B2B,#ff0909);box-shadow:0 0 35px rgba(255,0,0,0.8);transform:scale(1.05)}
    .btn-livre{
      display:inline-block;
      background:linear-gradient(90deg,#09a913,#022002);
      color:#fff;
      font-weight:600;
      font-size:18px;
      padding:14px 18px;
      border:none;
      border-radius:7px;
      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,#E60000);
      box-shadow:0 0 45px rgba(255,0,0,0.9);
      transform:scale(1.08);
    }
    @keyframes pulse-glow{0%,100%{box-shadow:0 0 15px rgba(255,0,0,0.5);}50%{box-shadow:0 0 35px rgba(255,0,0,1);}}
    @keyframes gradient-move{0%{transform:translateX(0);}50%{transform:translateX(-25%);}100%{transform:translateX(0);}}
    .animate-gradient-move{animation:gradient-move 18s ease-in-out infinite;}
    @keyframes pulse-slow{0%,100%{opacity:0.3;transform:scale(1);}50%{opacity:0.6;transform:scale(1.1);}}
    .animate-pulse-slow{animation:pulse-slow 7s ease-in-out infinite;}
    @keyframes float-1{0%,100%{transform:translateY(0) scale(1);}50%{transform:translateY(-20px) scale(1.05);}}
    .animate-float-1{animation:float-1 12s ease-in-out infinite;}
    @keyframes float-2{0%,100%{transform:translateY(0) scale(1);}50%{transform:translateY(20px) scale(1.1);}}
    .animate-float-2{animation:float-2 15s ease-in-out infinite;}
    @keyframes border-flow{0%{box-shadow:0 0 20px #1571fa;}50%{box-shadow:0 0 40px #1571fa;}100%{box-shadow:0 0 20px #1571fa;}}
    .animate-border-flow{animation:border-flow 4s ease-in-out infinite;}
    @keyframes book-float{0%,100%{transform:translateY(0) rotate(0deg);}50%{transform:translateY(-10px) rotate(-1deg);}}
    .animate-book-float{animation:book-float 5s ease-in-out infinite;}
    .moving-light{position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,0.1)0%,transparent 70%);animation:light-move 10s linear infinite;mix-blend-mode:overlay;}
    @keyframes light-move{0%{transform:translate(0,0);}50%{transform:translate(25%,25%);}100%{transform:translate(0,0);}}

/* Espacement entre la bannière et le bouton "Offre spéciale limitée" */
.section-livre-promo {
  margin-top: 10px; /* Espace au-dessus sur mobile */
}

/* Ajustement pour les écrans plus larges (ordinateurs) */
@media (min-width: 768px) {
  .section-livre-promo {
    margin-top: 40px; /* Espace plus grand sur desktop */
  }
}






:root {
  --main-bg1: #157afa;     /* Couleur de départ du dégradé */
  --main-bg2: #eab308;     /* Couleur de fin du dégradé */
  --text-color: #111;      /* Couleur principale du texte */
  --highlight-color: #fff; /* Couleur du mot Marketing */
  --btn-bg: #000;          /* Couleur du bouton */
  --btn-text: #facc15;     /* Couleur du texte du bouton */
}

.hero-mobile {
  background: linear-gradient(to bottom, var(--main-bg1), var(--main-bg2));
  color: var(--text-color);
  text-align: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.hero-logo {
  width: 80px;
  margin: 0 auto 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
}

.hero-title .highlight {
  color: var(--highlight-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 350px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.05);
  background: #222;
}

.hero-image img {
  width: 260px;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  margin-top: 2rem;
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

.hero-contact {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #222;
}





