/* ===========================
   Global
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo Play', sans-serif;
  background: #EDF2F4;
  color: #04168a;
}

/* ===========================
   Navbar
=========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ff0000;
  padding: 0.8rem 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.navbar .logo {
  color: #EDF2F4;
  font-family: 'Cairo Play', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.navbar .logo:hover {
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-links li a {
  color: #EDF2F4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links li a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* CTA button */
.navbar .btn {
  background: #160376;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.navbar .btn:hover {
  background: #0f024f;
  transform: scale(1.05);
}

/* Burger */
.burger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #EDF2F4;
  transition: transform 0.3s ease;
}

.burger:hover {
  transform: rotate(90deg);
}

/* ===========================
   Responsive Navbar
=========================== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #021bba;
    width: 100%;
    height: 0;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: height 0.4s ease;
  }

  .nav-links.active {
    height: 280px; /* ajustable selon le nombre de liens */
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .navbar .btn {
    display: none; /* cacher le bouton sur mobile si nécessaire */
  }

  .burger {
    display: block;
  }
}

/* Hero Content Centré */
#hero .hero-content {
  position: relative;
  z-index: 2;
  height: 100%; /* Prend toute la hauteur du hero */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre verticalement */
  align-items: center;     /* centre horizontalement */
  text-align: center;      /* texte centré */
  padding: 0 1.5rem;       /* évite que le texte touche les bords */
  box-sizing: border-box;
}

/* Titre et texte */
#hero .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

#hero .hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Boutons */
#hero .hero-content .btn {
  background:#d80505;
  color:#fff;
  padding:0.8rem 1.5rem;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
}

#hero .hero-content .btn:hover {
  background:#ee2424;
  transform:translateY(-2px);
}

/* Responsive : réduire un peu la taille du texte sur mobile */
@media (max-width:768px){
  #hero .hero-content h1 {
    font-size: 2rem;
  }
  #hero .hero-content p {
    font-size: 1rem;
  }
}


/* Formulaires */
form input, form textarea {
  width:100%;
  padding:0.8rem 1rem;
  border:1px solid #ccc;
  border-radius:8px;
  font-size:1rem;
}
form textarea {
  min-height:100px;
  resize:none;
}
button.btn {
  background: linear-gradient(45deg, #d80505, #ee2424);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(216,5,5,0.4);
}
button.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(25, 158, 10, 0.455);
  color: rgb(255, 255, 255);
  background-color: lawngreen;
}


/* Storytelling / Persuasion */
#persuasion {
  padding: 4rem 1.5rem;   /* espace autour du contenu */
  background: #fff;       /* fond clair */
  color: #2B2E42;         /* texte principal */
  text-align: center;     /* centre le texte horizontalement */
  box-sizing: border-box;
}

#persuasion h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #d80505;         /* couleur principale de l'agence */
  line-height: 1.3;
}

#persuasion p {
  max-width: 800px;       /* limite la largeur pour une lecture confortable */
  margin: 0 auto 1.5rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

#persuasion .btn {
  background: #d80505;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

#persuasion .btn:hover {
  background: #ee2424;
  transform: translateY(-2px);
}

/* Responsive : texte plus petit sur mobile */
@media (max-width:768px){
  #persuasion h2 {
    font-size: 1.7rem;
  }
  #persuasion p {
    font-size: 1rem;
  }
}


/* Politique & Confidentialité */
#privacy {
  padding: 4rem 1.5rem;
  background: #f8f8f8;
  color: #2B2E42;
  text-align: center;
}

#privacy .container {
  max-width: 900px;
  margin: 0 auto;
}

#privacy h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #d80505;
}

#privacy p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

#privacy .btn {
  background: #d80505;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

#privacy .btn:hover {
  background: #ee2424;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width:768px){
  #privacy h2 {
    font-size: 1.7rem;
  }
  #privacy p {
    font-size: 1rem;
  }
}
/* Footer Global */
#footer {
  background: #d80505;
  color: #EDF2F4;
  padding: 3rem 1rem 1.5rem;
  font-family: "Cairo Play", sans-serif;
}

/* Conteneur principal */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

/* Colonnes */
.footer-col {
  flex: 1 1 300px;
}

.footer-logo img {
  width: 160px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Titres */
.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
  border-left: 3px solid #EDF2F4;
  padding-left: 0.5rem;
}

/* Contact */
.footer-contact p,
.footer-contact a {
  color: #EDF2F4;
  font-size: 0.95rem;
  margin: 0.4rem 0;
  text-decoration: none;
}

.footer-contact i {
  margin-right: 8px;
  color: #fff;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Réseaux sociaux */
.footer-socials .social-icons {
  margin-top: 0.5rem;
}

.footer-socials a {
  color: #EDF2F4;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  color: #fff;
  transform: scale(1.2);
}

/* Bas de page */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-size: 0.9rem;
}
