/* assets/css/style.css */

/* Importation d'une police moderne */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

/* Définition de la palette de couleurs */
:root {
    --primary: #2c3e50;      /* Bleu foncé */
    --secondary: #2980b9;    /* Bleu vif */
    --accent: #f39c12;       /* Accès doré */
    --light: #ecf0f1;        /* Gris très clair */
    --dark: #34495e;         /* Gris foncé */
    --text-color: #2c3e50;
    --white: #ffffff;
}

/* Réinitialisation et règles globales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--light);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
}
.nav-link {
  font-weight: 500;
}

/* SECTION HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: blur(2px);
  z-index: 1;
  transform: scale(1.1);
}
.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  animation: fadeInUp 1.5s ease-out;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Animation fadeInUp */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Boutons */
.btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--accent);
  border: none;
}
.btn-primary:hover {
  background: var(--secondary);
  transform: scale(1.05);
}
.btn-outline-light {
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

/* SECTION FONCTIONNALITÉS */
.features {
  padding: 4rem 0;
  background: var(--light);
  text-align: center;
}
.features h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.feature-item {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.feature-item i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* SECTION TARIFICATION */
.pricing {
  padding: 4rem 0;
  background: var(--secondary);
  color: var(--white);
  text-align: center;
}
.pricing .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.pricing .card-header {
  background: var(--accent);
  border-bottom: none;
}
.pricing h2,
.pricing h3 {
  font-weight: 700;
}

/* SECTION TÉMOIGNAGES */
.testimonials {
  padding: 4rem 0;
  background: var(--light);
  text-align: center;
}
.testimonial {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.testimonial p {
  font-style: italic;
}
.testimonial h5 {
  margin-top: 1rem;
  font-weight: 700;
}

/* SECTION STATISTIQUES */
.statistics {
  padding: 4rem 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}
.statistics h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.statistics p {
  font-size: 1.2rem;
}

/* SECTION APPEL À L’ACTION */
.cta {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/cta-bg-2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: blur(2px);
  z-index: 1;
}
.cta .container {
  position: relative;
  z-index: 2;
}
.cta h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* PIED DE PAGE */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}
footer p {
  margin: 0;
}

/* Adaptations responsives */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .features .feature-item {
    padding: 1.5rem;
  }
  .pricing h3 {
    font-size: 1.5rem;
  }
  .cta h2 {
    font-size: 2rem;
  }
}
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}
/* Effet de flou sur les credentials, se révélant au survol */
.blur-credential {
  filter: blur(5px);
  transition: filter 0.3s ease;
  cursor: pointer;
}
.blur-credential:hover {
  filter: none;
}
