/* ===================================
   Services Page - Style Grille Classique (Bleu Gladex)
   =================================== */

/* === Hero Section === */
.services-hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Image: Vue avion hublot ou ciel */
    background: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=80&w=2074') center/cover no-repeat;
    animation: zoomEffect 20s infinite alternate;
    z-index: 0;
}

.services-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.9) 0%, rgba(26, 33, 56, 0.8) 100%);
    z-index: 1;
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.services-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* === Services Section (GRILLE) === */
.services-section {
    padding: 40px 0 80px;
    /* Moins d'espace en haut */
    background: #0A1128;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    /* Réduit */
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #00aff2;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* La Grille Principale */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Cartes un peu plus étroites pour en mettre plus */
    gap: 30px;
    /* Espace réduit */
    padding: 0 20px;
    justify-content: center;
    /* Centrer les cartes s'il y a de l'espace */
    max-width: 1400px;
    margin: 0 auto;
}

/* Carte Service Verticale (Style Ancien modernisé) */
.service-card {
    background: rgba(26, 33, 56, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00aff2;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
    height: 200px;
    /* Hauteur réduite pour mieux voir le contenu */
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00aff2;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: white;
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-icon-inline {
    width: 24px;
    height: 24px;
    color: #00aff2;
}

.service-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
}

.service-features li {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li svg {
    color: #00aff2;
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.btn-card {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background: transparent;
    border: 1px solid #00aff2;
    color: #00aff2;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-card:hover {
    background: #00aff2;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 175, 242, 0.3);
}

/* === CTA Section === */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: #0A1128;
    /* Même fond pour continuité si besoin, ou dégradé */
}

.cta-content.glass {
    background: linear-gradient(135deg, rgba(16, 24, 45, 0.95), rgba(0, 50, 80, 0.8));
    border: 1px solid rgba(0, 175, 242, 0.3);
    padding: 60px;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp-large {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* === Responsive === */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}