/* ----SERVICE MAIN---- */

/* Section globale */
.services-page {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
    text-align: center;
}

.services-page h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* Ligne dégradée sous le titre */
.services-page h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #F18536, #ff9f5c);
    border-radius: 2px;
}

/* Grille des services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Carte de service */
.service-item {
    background: rgba(49, 49, 49, 0.8);
    border-radius: 1rem;
    margin: 5rem;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
    transform: translateY(-15px) translateX(-15px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Icône / image en haut de la carte */
.service-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Titre */
.service-item h2 {
    font-size: 1.5rem;
    color: #bbb;
    margin-bottom: 0.5rem;
}

/* Texte */
.service-item p {
    font-size: 1rem;
    color: #f18536;
    line-height: 1.5;
}

.service-logo {
    margin-top: 1rem;
    width: 60px; /* taille ajustable */
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto; /* centre horizontalement */
}


/* -----MEDIA----- */
/* ---MAIN--- */
/* ---SERVICE PAGE--- */

/* Responsive : sur mobile, marge réduite */
@media (max-width: 768px) {
  .services-page {
    padding: 1rem;
  }

  .service-item {
    padding: 1.5rem 1rem;
    margin: 2rem 1rem;
  }
}