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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #fff;
  transition: none;
}

/* Header et navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 40px;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

#header.header-scrolled {
  padding: 12px 40px;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

#header-contenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

#logo {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  letter-spacing: -0.5px;
}

#logo .accent {
  color: #f5a623;
}

#nav-liste {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-lien {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-lien::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease;
}

.nav-lien:hover {
  color: #000;
}

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

.btn-contact {
  background-color: #1a1a1a;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 4px;
}

.btn-contact::after {
  display: none;
}

.btn-contact:hover {
  background-color: #333;
}

/* Menu Hamburger - Masque par defaut */
#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #000;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

/* Active hamburger animation */
#menu-toggle.active .hamburger {
  background-color: transparent;
}

#menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

#menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

#theme-toggle {
  display: none;
}

/* Section hero */
#hero {
  background-color: #fff;
  background-image: radial-gradient(#e0e0e0 1.5px, transparent 1.5px), radial-gradient(circle at top left, rgba(245, 166, 35, 0.08), transparent 50%);
  background-size: 24px 24px, 100% 100%;
  padding: 140px 40px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  /* Pleine largeur pour le fond */
  margin: 0;
}

#hero-contenu {
  flex: 1;
  max-width: 820px;
  text-align: center;
}

#titre-principal {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

#sous-titre {
  font-size: 18px;
  margin-bottom: 40px;
  color: #666;
  font-weight: 400;
}

/* Boutons hero */
#boutons-hero {
  display: flex;
  gap: 16px;
  margin-top: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid #000;
  border-radius: 4px;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.btn-outline:hover {
  background-color: #1a1a1a;
  color: #fff;
}


/* Bande défilante Tech & Réseaux */
#tech-marquee {
  width: 100%;
  background: #ffffff;
  padding: 14px 0;
  overflow: hidden;
}

#tech-marquee .tech-track {
  display: inline-flex;
  gap: 18px;
  white-space: nowrap;
  animation: tech-marquee-scroll 28s linear infinite;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #333333;
  font-size: 13px;
  font-weight: 500;
}

.tech-pill i {
  color: #f5a623;
  font-size: 1.1em;
}

@keyframes tech-marquee-scroll {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  #tech-marquee {
    padding: 10px 0;
  }

  .tech-pill {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* A propos */
#about {
  padding: 100px 40px;
  background-color: #ffffff;
}

#about-contenu {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#titre-about {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 700;
}

#description {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 50px;
}

#description a {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #f5a623;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

#description a:hover {
  color: #f5a623;
  text-decoration-color: #000;
}

#nom-kerane {
  font-weight: 600;
  color: #000;
}

/* Stats */
#stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-nombre {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #000;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Témoignages dans À propos */
.temoignages {
  margin-top: 60px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;

  /* Masquer la scrollbar */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

/* Masquer la scrollbar pour Chrome, Safari et Opera */
.temoignages::-webkit-scrollbar {
  display: none;
}

.temoignage-card {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  padding: 20px 30px;
  min-width: 380px;
  width: 380px;
  flex-shrink: 0;
  border: 1px solid #f5f5f5;
  border-left: 4px solid #f5a623;
  transition: box-shadow 0.3s ease;
}

/* Pas d'effet de mouvement au survol, juste l'ombre qui s'intensifie legèrement */
.temoignage-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.temoignage-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.temoignage-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #eee;
}

.temoignage-meta {
  flex: 1;
}

.temoignage-nom {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.temoignage-role {
  display: block;
  font-size: 13px;
  color: #999;
  line-height: 1.2;
  margin-top: 4px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.temoignage-texte {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  font-style: normal;
  /* Plus moderne sans italique forcé */
  position: relative;
  font-weight: 400;
}

.cta-about {
  margin-top: 50px;
  text-align: center;
}

/* Desktop : On garde le scroll horizontal, donc on supprime la grille */
@media (min-width: 993px) {
  .temoignages {
    /* Pas de grille, on garde le flex du mobile/base */
    display: flex;
    overflow-x: auto;
  }

  .temoignage-card {
    min-width: 420px;
    width: 420px;
    padding: 25px 40px;
  }
}

/* Section competences */
#competences {
  padding: 100px 40px;
  background-color: #ffffff;
}

#titre-competences {
  font-size: 32px;
  margin-bottom: 60px;
  font-weight: 700;
  text-align: center;
}

#competences-liste {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.competence-groupe {
  flex: 1 1 300px;
  /* Slightly wider for 3 columns on big screens */
  min-width: 280px;
  background-color: #fafafa;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.competence-groupe:hover {
  border-color: #f5a623;
  background-color: #fff;
}

.competence-groupe h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #000;
  border-bottom: 2px solid #f5a623;
  display: inline-block;
  padding-bottom: 4px;
}

.icon-titre {
  margin-right: 10px;
  color: #f5a623;
  font-size: 1.1em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #f0f0f0;
  color: #1a1a1a;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #e0e0e0;
}

.tag i {
  font-size: 1.1em;
  color: #666;
  transition: color 0.2s ease;
}

.tag:hover i {
  color: #f5a623;
  /* Le jaune au survol pour l'icone aussi */
}

.tag:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Responsive tablette */
@media (max-width: 992px) {
  #hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 30px 60px;
    gap: 40px;
  }

  #hero-contenu {
    text-align: center;
  }

  #titre-principal {
    font-size: 36px;
  }

  #boutons-hero {
    justify-content: center;
  }

  #competences-liste {
    gap: 50px;
  }

  .competence-groupe {
    text-align: center;
  }

  .tags {
    justify-content: center;
  }

  .temoignages {
    gap: 16px;
    margin-top: 40px;
  }

  .temoignage-card {
    min-width: 300px;
    padding: 24px 20px;
  }

  .temoignage-avatar {
    width: 48px;
    height: 48px;
  }

  .temoignage-nom {
    font-size: 15px;
  }

  .temoignage-role {
    font-size: 13px;
  }

  .temoignage-texte {
    font-size: 14px;
    padding-left: 20px;
  }

  .temoignage-texte::before {
    font-size: 28px;
    top: -2px;
  }
}

/* Responsive mobile */
@media (max-width: 768px) {
  #header {
    padding: 15px 20px;
  }

  #header.header-scrolled {
    padding: 10px 20px;
  }

  #menu-toggle {
    display: block;
  }

  #nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
  }

  #nav.nav-open {
    right: 0;
  }

  #nav-liste {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  #nav-liste li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .nav-lien {
    display: block;
    padding: 15px 0;
    font-size: 16px;
  }

  .nav-lien::after {
    display: none;
  }

  .btn-contact {
    margin-top: 20px;
    text-align: center;
    display: block;
  }

  #hero {
    padding: 110px 20px 60px;
    /* Moins de padding en haut */
    min-height: auto;
    background-size: 16px 16px, 100% 100%;
    /* Points du motif plus petits */
  }

  #titre-principal {
    font-size: 32px;
    /* Un peu plus grand que 28px pour l'impact, mais gérable */
    line-height: 1.3;
    margin-bottom: 15px;
  }

  #sous-titre {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
    /* Marge interne pour éviter que le texte touche les bords */
  }

  /* Boutons plus compacts sur mobile */
  .btn {
    width: 100%;
    /* Pleine largeur pour le confort tactile */
    max-width: 300px;
    /* Mais pas trop large sur les tablettes */
    margin: 0 auto;
    text-align: center;
    padding: 12px 24px;
  }

  #about {
    padding: 60px 20px;
  }

  #titre-about,
  #titre-competences {
    font-size: 26px;
    margin-bottom: 30px;
  }

  #description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  #stats {
    gap: 30px;
  }

  .stat-nombre {
    font-size: 36px;
  }

  .stat-label {
    font-size: 12px;
  }

  .temoignages {
    gap: 20px;
    margin-top: 40px;
  }

  .temoignage-card {
    padding: 20px;
    max-width: 380px;
  }

  .temoignage-avatar {
    width: 48px;
    height: 48px;
  }

  .temoignage-nom {
    font-size: 15px;
  }

  .temoignage-role {
    font-size: 13px;
  }

  .temoignage-texte {
    font-size: 14px;
    padding-left: 20px;
  }

  .temoignage-texte::before {
    font-size: 28px;
    top: -2px;
  }

  .cta-about {
    margin-top: 30px;
  }

  #competences {
    padding: 60px 20px;
  }

  #competences-liste {
    gap: 40px;
  }

  .competence-groupe {
    min-width: 100%;
  }

  .competence-groupe h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }
}

/* Section Projets */
#projets {
  padding: 100px 20px;
  background-color: #ffffff;
}

#projets-contenu {
  max-width: 1200px;
  margin: 0 auto;
}

#titre-projets {
  font-size: 32px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

#titre-projets::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #f5a623;
}

#projets-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.projet-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.projet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #eee;
}

.projet-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.projet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.projet-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
}

.projet-tag {
  background-color: #000;
  color: #f5a623;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.projet-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.projet-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #000;
}

.projet-info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.projet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.projet-tags span {
  font-size: 11px;
  background-color: #f5f5f5;
  color: #333;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid #f0f0f0;
}

/* Fin Section Projets */

/* Petit mobile */
@media (max-width: 480px) {
  #titre-principal {
    font-size: 24px;
  }

  .tag {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* Section Témoignages dédiée */
#testimonials-section {
  padding: 100px 0;
  background-color: #ffffff;
  overflow: hidden;
}

#titre-testimonials {
  font-size: 32px;
  margin-bottom: 60px;
  font-weight: 700;
  text-align: center;
  color: #000;
}

.cta-testimonials {
  margin-top: 50px;
  text-align: center;
}

/* Section FAQ */
#faq {
  padding: 100px 40px;
  background-color: #ffffff;
}

#faq-contenu {
  max-width: 1000px;
  margin: 0 auto;
}

#titre-faq {
  font-size: 32px;
  text-align: center;
  margin-bottom: 16px;
  font-weight: 700;
}

#faq-description {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
}

.faq-liste {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Masquer le marker par défaut */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #000;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
  background: rgba(245, 166, 35, 0.18);
}

.faq-reponse {
  padding: 0 20px 18px;
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

/* Section Contact */
#contact {
  padding: 100px 40px;
  background-color: #ffffff;
}

#contact-contenu {
  max-width: 1000px;
  margin: 0 auto;
}

#titre-contact {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

#contact-description {
  text-align: center;
  color: #666;
  margin-bottom: 60px;
}

#contact-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

#contact-form {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-groupe input,
.form-groupe textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  background-color: #fff;
  color: #1a1a1a;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-groupe input:focus,
.form-groupe textarea:focus {
  outline: none;
  border-color: #f5a623;
}

/* Custom Validation Errors */
.form-groupe input.error,
.form-groupe textarea.error {
  border-color: #ff3b30;
  /* Rouge alerte */
  background-color: rgba(255, 59, 48, 0.05);
}

.error-message {
  color: #ff3b30;
  font-size: 13px;
  margin-top: 6px;
  display: block;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#contact-infos {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.info-item i {
  font-size: 20px;
  color: #f5a623;
  margin-top: 5px;
}

.info-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.info-item p {
  color: #666;
  font-size: 14px;
}

.social-links-contact {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links-contact a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-links-contact a:hover {
  background-color: #f5a623;
  color: #000;
  transform: translateY(-3px);
}

/* Footer */
#footer {
  padding: 60px 40px;
  background-color: #1a1a1a;
  color: #fff;
}

#footer-contenu {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer-logo {
  font-size: 24px;
  font-weight: 700;
}

#footer-logo .accent {
  color: #f5a623;
}

#copyright {
  font-size: 14px;
  color: #999;
}

#footer-links {
  display: flex;
  gap: 20px;
}

#footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

#footer-links a:hover {
  color: #fff;
}

/* Responsive Contact */
@media (max-width: 768px) {
  #faq {
    padding: 60px 20px;
  }

  .faq-question {
    padding: 16px 16px;
  }

  .faq-reponse {
    padding: 0 16px 16px;
  }

  #contact {
    padding: 60px 20px;
  }

  #contact-wrapper {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  #contact-form {
    width: 100%;
  }

  .form-groupe {
    width: 100%;
  }

  #contact-infos {
    order: -1;
    /* Mettre les infos au-dessus du formulaire sur mobile */
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .info-item {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #contact-form .btn {
    width: 100%;
  }

  #footer {
    padding: 40px 20px;
  }

  #footer-contenu {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  #footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #titre-contact {
    font-size: 26px;
  }

  .form-groupe textarea {
    padding: 12px;
  }
}

/* Scroll to Top Button */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #000;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  bottom: 40px;
  /* Petit effet de glissement vers le haut */
}

#scroll-top:hover {
  background-color: #f5a623;
  border-color: #f5a623;
  color: #000;
  transform: translateY(-5px);
}

/* --- ANIMATIONS PREMIUM --- */

/* 1. Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. Hero Animations (Au chargement) */
#hero-contenu>* {
  opacity: 0;
  /* Caché par défaut */
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

#titre-principal {
  animation-delay: 0.1s;
}

#sous-titre {
  animation-delay: 0.3s;
}

#boutons-hero {
  animation-delay: 0.5s;
}

/* 3. Scroll Reveal (Sections) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 4. Effet Cascade (Projets & Compétences) */

/* Quand la section parente (.reveal) devient .active */
.reveal.active .projet-card,
.reveal.active .competence-groupe,
.reveal.active .temoignage-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Délais pour l'effet cascade */
.reveal.active .projet-card:nth-child(1),
.reveal.active .competence-groupe:nth-child(1),
.reveal.active .temoignage-card:nth-child(1) {
  animation-delay: 0.1s;
}

.reveal.active .projet-card:nth-child(2),
.reveal.active .competence-groupe:nth-child(2),
.reveal.active .temoignage-card:nth-child(2) {
  animation-delay: 0.2s;
}

.reveal.active .projet-card:nth-child(3),
.reveal.active .competence-groupe:nth-child(3),
.reveal.active .temoignage-card:nth-child(3) {
  animation-delay: 0.3s;
}

.reveal.active .projet-card:nth-child(4),
.reveal.active .competence-groupe:nth-child(4),
.reveal.active .temoignage-card:nth-child(4) {
  animation-delay: 0.4s;
}

.reveal.active .projet-card:nth-child(5),
.reveal.active .competence-groupe:nth-child(5),
.reveal.active .temoignage-card:nth-child(5) {
  animation-delay: 0.5s;
}

.reveal.active .projet-card:nth-child(6),
.reveal.active .competence-groupe:nth-child(6),
.reveal.active .temoignage-card:nth-child(6) {
  animation-delay: 0.6s;
}
