/* ============================================
   PAGE ACCUEIL CLIENT (index.php)
   ============================================ */

/* Reset pour page client */
body {
    margin: 0;
    padding: 0;
}

.home-container {
    width: 100%;
    padding: 0;
    min-height: 100vh;
}

/* Section Hero / Bienvenue */
.hero-section {
    background: var(--gradient-primary);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 50px;
}

.hero-logo {
    width: 80px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-content h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .brand {
    color: #ffffff;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Cards */
.cards-section {
    padding: 0 20px 50px;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px;
}

/* Card individuelle */
.service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

/* Card Bleu */
.card-blue::before {
    background: linear-gradient(90deg, #4A90E2, #5B9BD5);
}
.card-blue .card-icon {
    background: linear-gradient(135deg, #4A90E2, #4A90E2);
}
.card-blue .card-btn {
    background: #4A90E2;
}
.card-blue .card-btn:hover {
    background: #4A90E2;
}


/* Card Gris */
.card-grey::before {
    background: linear-gradient(90deg, #7a7d80, #7a7d80);
}
.card-grey .card-icon {
    background: linear-gradient(135deg, #7a7d80, #7a7d80);
}
.card-grey .card-btn {
    background: #7a7d80;
}
.card-grey .card-btn:hover {
    background: #7a7d80;
}


/* Card Vert */
.card-green::before {
    background: linear-gradient(90deg, #27AE60, #2ECC71);
}
.card-green .card-icon {
    background: linear-gradient(135deg, #27AE60, #2ECC71);
}
.card-green .card-btn {
    background: #27AE60;
}
.card-green .card-btn:hover {
    background: #229954;
}


/* Card Rouge */
.card-red::before {
    background: linear-gradient(90deg, #dd0707, #dd0707);
}
.card-red .card-icon {
    background: linear-gradient(135deg, #dd0707, #dd0707);
}
.card-red .card-btn {
    background: #dd0707;
}
.card-red .card-btn:hover {
    background: #dd0707;
}


/* Card Orange */
.card-orange::before {
    background: linear-gradient(90deg, #FFA726, #FFA726);
}
.card-orange .card-icon {
    background: linear-gradient(135deg, #FFA726, #FFA726);
}
.card-orange .card-btn {
    background: #FFA726;
}
.card-orange .card-btn:hover {
    background: #FFA726;
}


/* Card Violet */
.card-purple::before {
    background: linear-gradient(90deg, #8e44ad, #8e44ad);
}
.card-purple .card-icon {
    background: linear-gradient(135deg, #8e44ad, #8e44ad);
}
.card-purple .card-btn {
    background: #8e44ad;
}
.card-purple .card-btn:hover {
    background: #8e44ad;
}


/* Card Beige */
.card-beige::before {
    background: linear-gradient(90deg, #FFE0B2, #FFCC80);
}

.card-beige .card-icon {
    background: linear-gradient(135deg, #FFCC80, #FFCC80);
}

.card-beige .card-btn {
    background: #FFCC80;
    color: #4A4A4A; /* Une couleur de texte sombre pour contraster */
}

.card-beige .card-btn:hover {
    background: #FFE0B2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Icône de la card */
.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #4A90E2, #5B9BD5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.card-icon svg {
    width: 45px;
    height: 45px;
}

/* Titre de la card */
.card-title {
    font-size: 26px;
    font-weight: bold;
    color: #2C3E50;
    margin-bottom: 15px;
    text-align: center;
}

/* Description */
.card-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
    min-height: 70px;
}

/* Bouton de la card */
.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 30px;
    background: #4A90E2;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.card-btn:hover {
    background: #2C3E50;
    transform: scale(1.05);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.card-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Section informations */
.info-section {
    background-color: #F5F5F5;
    padding: 50px 20px;
    margin-top: 50px;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.info-box h3 {
    font-size: 22px;
    color: #4A90E2;
    margin-bottom: 15px;
}

.info-box p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-contact {
    font-weight: bold;
    color: #2C3E50;
}

/* ============================================
   RESPONSIVE - PAGE ACCUEIL CLIENT
   ============================================ */

@media (max-width: 768px) {
    .hero-logo {
        width: 60px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .card-title {
        font-size: 22px;
    }

    .info-container {
        grid-template-columns: 1fr;
    }
}