/* === Reset global === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;

  scroll-behavior: smooth;

}

/* === Container === */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* === Header === */
header {
  background: linear-gradient(135deg, #1f3a5f, #3a86ff);
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.logo p {
  font-size: 14px;
  opacity: 0.85;
  font-weight: 400;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #fff;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #e6f0ff;
}

/* CTA header */
.cta {
  background: #fff;
  color: #1f3a5f;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.cta:hover {
  background: #e6f0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

/* === Hero === */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1f3a5f, #3a86ff);
  color: #fff;
  backdrop-filter: blur(5px);
  animation: fadeIn 1s ease;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}
h1,h2 {
   color: yellow!important;
}
/* === Sections principales === */
section {
  padding: 80px 20px;
  border-radius: 16px;
  max-width: 1200px;
  margin: 40px auto;
  color: white;
  background: rgba(31, 58, 95, 0.85);
  backdrop-filter: blur(5px);
  text-align: center;
}

/* Titres sections */
section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: yellow;
}

/* === Grille de cartes === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* === Cartes services / portfolio / testimonials === */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
  backdrop-filter: blur(5px);
  color: #fff;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

/* Icônes cartes */
.service-card i {
  font-size: 40px;
  color: #3a86ff;
  margin-bottom: 20px;
}

/* Titres et textes cartes */
.service-card h3 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.service-card p {
  font-size: 15px;
  color: #e6f0ff;
}

/* Images portfolio */
.portfolio .service-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}
/* === About Modernisé === */
.about-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
  background: rgba(31, 58, 95, 0.85);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.about-text {
  flex: 1;
  color: #fff;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #e6f0ff;
}

/* Liste modernisée */
.about-text ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: #e6f0ff;
}

.about-text ul li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  padding-left: 10px;
}

.about-text ul li::marker {
  color: #3a86ff; /* accent couleur */
}

/* Responsive */
@media (max-width: 900px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-text ul {
    margin-left: 0;
    padding-left: 20px;
  }
}

/* === Certifications === */
.certifications-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  width: 200px;
}

.cert-card img {
  width: 80px;
  margin-bottom: 10px;
}

/* === Testimonials === */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.testimonial-card {
  background: rgba(31, 58, 95, 0.85);
  padding: 30px;
  border-radius: 16px;
  color: #fff;
  width: 300px;
  text-align: center;
}

.testimonial-card img {
  width: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimonial-card video {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* === Lead Magnet === */
.leadmagnet {
  background: #ffd700;
  color: #1f3a5f;
  border-radius: 12px;
  text-align: center;
  padding: 50px 20px;
}

.leadmagnet form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.leadmagnet input,
.leadmagnet button {
  padding: 14px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

.leadmagnet button.cta {
  background: #3a86ff;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.leadmagnet button.cta:hover {
  background: #1f3a5f;
}

/* === Form Contact Modernisé === */
.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.contact form input::placeholder,
.contact form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Focus élégant */
.contact form input:focus,
.contact form textarea:focus {
  border-color: #3a86ff;
  box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

/* Bouton CTA modernisé */
.contact form button.cta {
  background: linear-gradient(135deg, #3a86ff, #1f3a5f);
  color: #fff;
  padding: 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact form button.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #1f3a5f, #3a86ff);
}


/* === Footer === */
footer {
  background: linear-gradient(135deg, #1f3a5f, #3a86ff);
  color: #fff;
  padding: 50px 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
  align-items: flex-start;
}

.footer-logo h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-logo p {
  font-size: 14px;
  color: #e6f0ff;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 2px 0;
  transition: color 0.3s;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #fff;
  transition: width 0.3s;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav a:hover {
  color: #3a86ff;
}

.footer-external a {
  display: inline-block;
  margin: 12px 0;
  font-weight: 700;
  color: #ffd700;
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-external a:hover {
  color: #fff;
}

.footer-contact p {
  font-size: 14px;
  color: #e6f0ff;
  margin: 4px 0;
}

.footer-contact a {
  color: #3a86ff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-social {
  margin-top: 12px;
}

.footer-social a {
  color: #fff;
  margin-right: 12px;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #3a86ff;
}

/* === Responsive === */
@media (max-width: 900px) {
  .header-flex {
    flex-direction: column;
    text-align: center;
  }
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-flex {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 30px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .footer-social a {
    margin-right: 16px;
  }
  section {
    padding: 60px 15px;
  }
}

/* === Animations === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === FAQ === */
.faq {
  padding: 80px 20px;
  background: rgba(31, 58, 95, 0.85);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  margin: 40px auto;
  color: #fff;
  text-align: center;
}

.faq h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px 30px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  padding-right: 25px;
}

.faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #e6f0ff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active p {
  max-height: 500px; /* assez grand pour le texte */
  padding-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .faq {
    padding: 60px 15px;
  }
  .faq-item {
    padding: 18px 20px;
  }
}
