/* 🔹 RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #FFC300;
    color: #333;
    overflow-x: hidden;
}

/* 🔹 STYLES DES SECTIONS */
section {
    width: 100%;
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* 🔹 STYLES DES CARTES */
.card {
    max-width: 1000px;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    background: white;
    border: 3px solid black;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    color: #333;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.card:hover::before {
    transform: translateX(100%);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.2);
}

/* 🔹 SECTIONS SPÉCIFIQUES */
.hero {
    background: #FFC300;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    margin: 0;
}

.hero .card {
    margin-top: 120px;
    max-width: 1200px;
    padding: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.1;
}

.probleme {
    background: linear-gradient(135deg, #333, #222);
    color: white;
}

.probleme .card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.solution {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.solution .card {
    border-color: #FFC300;
    background: white;
}

.temoignages {
    background-color: #f5f5f5;
}

.cta {
    background: linear-gradient(135deg, #FFC300, #FFA500);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta .card {
    background: white;
    color: black;
    border-color: black;
}

/* 🔹 TYPOGRAPHIE */
h1 {
    font-size: 3.5em;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #333;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    line-height: 1.3;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 🔹 LISTES */
main ul {
    list-style: none;
    padding: 0;
}

main ul li {
    margin: 15px 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Réinitialisation des styles pour le footer */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 0;
    display: block;
    text-align: left;
}

/* 🔹 ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.8s ease-out forwards;
}

/* 🔹 RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .card {
        padding: 30px;
        margin: 0 20px;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }
}