/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #0A0F2C; background: #fff; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; font-weight: 700; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Logo en Chewy */
.logo, .logo-footer { font-family: 'Chewy', cursive; font-size: 1.5rem; color: white; }
.logo span, .logo-footer span { color: #FF2E45; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  transition: background 0.3s ease;
  padding: 10px 0;
}
.header.scrolled { background: rgba(10,15,44,0.9); }

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}
.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav a:hover { color: #FF6B4A; }

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.twist {
  color: #FF2E45;
}

.nav ul.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: absolute;
  top: 60px;
  right: 10px;
  background: #0A0F2C;
  padding: 15px 25px;
  border-radius: 10px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}
.btn-secondary:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* Hero + Méthode */
.intro {
  background: #0A0F2C;
  color: white;
  padding: 120px 0 50px;
}
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.intro-text h1 { font-size: 2.5rem; margin-bottom: 20px; }
.intro-text p { margin-bottom: 30px; }

/* Dégradé pour "Notre méthode" */
.intro-process h2 {
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 25px;
}

/* Process pictos */
.process-list .step { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.icon-bg {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
}

/* Nos Expertises simplifiées */
.expertises { text-align: center; padding: 50px 0; background: white; }
.expertises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 30px;
}
.expertise-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.expertise-item .icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
  color: white;
}
.expertise-item h3 { margin: 0; }
.expertise-item p { max-width: 250px; }

/* Nos Cas Clients */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.expertise-card {
  background: #f8f8f8;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.expertise-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.expertise-card img { width: 100%; }
.expertise-card h3 { margin: 15px; }
.expertise-card p { margin: 0 15px 20px; }

/* Présentation */
.presentation { padding: 50px 0; text-align: center; }
.team { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; margin-top: 40px; }
.member img { border-radius: 15px; margin-bottom: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.member img:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.member p { max-width: 300px; margin: 0 auto; }

/* Pictos socials */
.socials { margin-top: 40px; display: flex; justify-content: center; gap: 25px; font-size: 1.5rem; }
.socials a { text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }

/* Pré-footer stylé */
.cta { background: white; padding: 50px 0; text-align: center; }
.cta-box {
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
  border-radius: 25px;
  padding: 40px 30px;
  color: white;
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 46, 69, 0.4);
  background: linear-gradient(90deg, #FF6B4A, #FF2E45);
}
.cta-box h2 { margin-bottom: 20px; }
.cta-box .btn-primary { background: white; color: #0A0F2C; border: 2px solid #0A0F2C; font-weight: 700; }
.cta-box .btn-primary:hover { background: #0A0F2C; color: white; }

.linkedin-icon2 svg {
  width: 24px;
  height: 24px;
  fill: #0A66C2; /* Bleu LinkedIn fixe */
}

.linkedin-icon {
  display: flex;
  align-items: center;
  gap: 8px; /* espace entre l'icône et le texte */
  text-decoration: none;
  color: white; /* texte blanc */
}

.linkedin-icon p {
  margin: 0;
  font-weight: 500;
}

html {
  scroll-behavior: smooth;
}

.member img {
  width: 250px;
  height: 250px;
  border-radius: 15px;
  object-fit: cover; /* garde le ratio tout en remplissant le carré */
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Footer */
.footer { background: #0A0F2C; color: white; padding: 60px 0 30px; }
.footer-flex { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; margin-bottom: 20px; }
.footer-left p, .footer-right a { color: white; text-decoration: none; }
.footer-right a { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; color: #aaa; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; text-align: center; }
  .intro-process { margin-top: 50px; }
  .footer-flex { flex-direction: column; text-align: center; }
  .burger { display: flex; }
  .nav ul { display: none; }
}

@media (max-width: 600px) {
  .header .logo {
    font-size: 1.2rem;
  }

  .btn-primary {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .header .container {
    padding: 0 15px; /* espace entre le bord du téléphone et le contenu */
  }
}

.icon-bg {
  width: 45px;
  height: 45px;
  min-width: 45px;
  min-height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.icon {
  font-size: 1.2rem;
  line-height: 1;
}

.container {
  padding-left: 10px;
  padding-right: 10px;
}

@media (max-width: 600px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-left, .footer-right {
    text-align: center;
  }

  .footer-left p {
    margin: 10px 0;
  }

  .footer-right a {
    display: inline-block;
    margin: 5px 0;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}

.footer-right a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-right a:hover {
  opacity: 0.8;
}

.mail-link {
  color: white;
}

.mentions-link {
  text-decoration: none;
}

.mentions-link:hover {
  text-decoration: underline;
}

/* Bouton retour en haut */
.back-top {
  margin-top: 10px;
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
  border: none;
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.back-top:hover {
  transform: scale(1.05);
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

/* ----- PAGE MENTIONS LÉGALES ----- */
.legal-container {
  max-width: 900px;
  margin: 120px auto 80px;
  padding: 40px 30px;
  border-radius: 20px;
  background: rgba(10, 15, 44, 0.95); /* Bleu foncé semi-transparent */
  color: #fff; /* Texte blanc pour bien contraster */
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  backdrop-filter: blur(6px);
}

.legal-container h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-container h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FF6B4A;
}

.legal-container p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #fff; /* Texte blanc */
}

.legal-container a {
  color: #FF6B4A;
  text-decoration: none;
}

.legal-container a:hover {
  text-decoration: underline;
}

/* Bouton retour à l'accueil */
.legal-container .back-home {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  color: white;
  background: linear-gradient(90deg, #FF2E45, #FF6B4A);
  transition: transform 0.3s ease;
}

.legal-container .back-home:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .legal-container {
    margin: 80px auto 60px;
    padding: 30px 20px;
  }

  .legal-container h1 {
    font-size: 2rem;
  }

  .legal-container h2 {
    font-size: 1.25rem;
  }
}

