.conseil-1 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2026/06/Conseil-3.png');
}

.conseil-2 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2024/02/Web-Medias-Agence-360-Conseil-marketing.jpg');
}

.conseil-3 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2026/06/Conseil-1.png');
}

.conseil-4 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2026/06/Conseil-4.png');
}

.conseil-5 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2026/06/Conseil-5.png');
}

.conseil-6 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2026/06/Conseil-6.png');
}

.conseil-7 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2026/06/Conseil-2.png');
}

/* ==========================================
   VARIABLES DE LA PAGE CONSEIL
========================================== */

:root {
    --conseil-background: #262433;
    --conseil-text: #ffffff;
    --conseil-text-soft: rgba(255, 255, 255, 0.76);
    --conseil-glass-bg: rgba(255, 255, 255, 0.08);
    --conseil-glass-bg-hover: rgba(255, 255, 255, 0.13);
    --conseil-glass-border: rgba(255, 255, 255, 0.16);
    --conseil-glass-border-hover: rgba(255, 255, 255, 0.30);
}


/* ==========================================
   BLOCS DE CONTENU
========================================== */

.content-box {
    box-sizing: border-box;
}

.content-box h2 {
    margin-top: 0;
}

.content-box h3 {
    margin-bottom: 25px;
}

.content-box p {
    margin-top: 0;
    margin-bottom: 22px;
}


/* ==========================================
   GRILLES D’ANALYSES ET BUSINESS PLAN
========================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;

    width: 90%;
    max-width: 1400px;

    margin: 60px auto 80px;

    box-sizing: border-box;
}

.analyses-grid,
.business-plan-grid {
    align-items: stretch;
}


/* ==========================================
   CARTES GLASS EFFECT
========================================== */

.service-card {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 100%;
    padding: 38px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.11),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid var(--conseil-glass-border);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);

    box-sizing: border-box;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* Reflet lumineux */

.service-card::before {
    content: "";

    position: absolute;
    top: -60%;
    left: -100%;

    width: 80%;
    height: 220%;

    background:
        linear-gradient(
            110deg,
            transparent 25%,
            rgba(255, 255, 255, 0.09) 50%,
            transparent 75%
        );

    transform: rotate(12deg);

    transition: left 0.8s ease;

    pointer-events: none;
}


/* Halo discret */

.service-card::after {
    content: "";

    position: absolute;
    top: -90px;
    right: -90px;

    width: 210px;
    height: 210px;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.025) 45%,
            transparent 72%
        );

    pointer-events: none;
}


/* ==========================================
   TEXTES DES CARTES
========================================== */

.service-card h3 {
    position: relative;
    z-index: 2;

    margin-top: 0;
    margin-bottom: 18px;

    color: var(--conseil-text);
}

.service-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: var(--conseil-text-soft);
}


/* ==========================================
   SURVOL DES CARTES
========================================== */

.service-card:hover {
    transform: translateY(-8px);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.055)
        );

    border-color: var(--conseil-glass-border-hover);

    box-shadow:
        0 30px 65px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.service-card:hover::before {
    left: 130%;
}


/* ==========================================
   AJUSTEMENT BUSINESS PLAN
========================================== */

.business-plan-grid .service-card {
    min-height: 250px;
}

.analyses-grid .service-card {
    min-height: 230px;
}


/* ==========================================
   TABLETTE
========================================== */

@media screen and (max-width: 1000px) {

    .services-grid,
    .analyses-grid,
    .business-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 650px) {

    .services-grid,
    .analyses-grid,
    .business-plan-grid {
        grid-template-columns: 1fr;

        gap: 20px;

        width: calc(100% - 40px);

        margin-top: 40px;
        margin-bottom: 60px;
    }

    .service-card {
        min-height: auto;
        padding: 28px;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .analyses-grid .service-card,
    .business-plan-grid .service-card {
        min-height: auto;
    }

    .service-card:hover {
        transform: none;
    }

    .service-card::before {
        display: none;
    }

}