/* =========================================================
   HERO – CONTRIBUTION
   ========================================================= */

/* HERO – Section contribution */
.contribution-hero {
    position: relative;                
    min-height: 60vh;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 3rem 2rem;
    overflow: hidden;
    background: none;                  
}

/* Image de fond */
.contribution-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    animation: heroImageZoom 1.8s ease-out forwards;
}

@keyframes heroImageZoom {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contenu hero centré */
.contribution-hero .hero-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4); /* Lisibilité du texte */
}

/* Titre hero */
.contribution-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    opacity: 0; 
    transform: translateY(20px); 
    animation: heroTextFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.6s; 
}

/* Paragraphe hero */
.contribution-hero p {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(18px);
    animation: heroTextFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.9s; 
}

@keyframes heroTextFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE – TABLETTE
   ========================================================= */
@media (max-width: 1024px) {
    .contribution-hero {
        padding: 3rem 1.5rem;
        min-height: 55vh;
    }

    .contribution-hero h1 {
        font-size: 2.4rem;
    }

    .contribution-hero p {
        font-size: 1.1rem;
    }
}

/* =========================================================
   RESPONSIVE – MOBILE
   ========================================================= */
@media (max-width: 768px) {
    .contribution-hero {
        padding: 2.5rem 1.2rem;
        min-height: 50vh;
    }

    .contribution-hero h1 {
        font-size: 2rem;
    }

    .contribution-hero p {
        font-size: 1rem;
    }
}

/* =========================================================
   RESPONSIVE – PETIT MOBILE
   ========================================================= */
@media (max-width: 480px) {
    .contribution-hero {
        padding: 2rem 1rem;
        min-height: 45vh;
    }

    .contribution-hero h1 {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .contribution-hero p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}


/* ICON LUCIDE ALIGNE HORIZONTALEMENT */

/* Header icône + titre */
.domain-header {
    display: flex;
    align-items: center;        /* aligne verticalement icône et texte */
    gap: 0.6rem;                /* espace entre icône et titre */
    margin-bottom: 0.6rem;
}

/* Icône Lucide */
.domain-header i {
    width: 20px;
    height: 20px;
    color: var(--color-primary, #0055ff);
    flex-shrink: 0;             /* empêche l’icône de se réduire */
}

/* Titre */
.domain-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}


@media (max-width: 768px) {
    .domain-header i {
        width: 18px;
        height: 18px;
    }

    .domain-header h3 {
        font-size: 1rem;
    }
}



/* Boutons */
.btn {
  background: #8d8d8d;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 0px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Effet hover sur bouton */
.btn:hover {
  background: #0088cc;
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}