/* Structure de base de la section service */
.service {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 70px;
    padding: 0 24px;
    box-sizing: border-box;
}

/* En-tête de la page (Titre principal avec ligne ambre) */
.entete-service {
    padding-bottom: 50px;
}

.entete-service h2 {
    margin: 0;
    color: #f59e0b;
    font-size: clamp(2.2rem, 3.5vw, 3.6rem);
    line-height: 1.1;
    font-weight: 800;
    max-width: 900px;
    position: relative;
    padding-bottom: 16px;
}

.entete-service h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: #f59e0b;
    border-radius: 4px;
}

/* Bloc d'introduction (Image + bloc texte accroche) */
.carte-service {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.carte-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 48px;
}

.img-service {
    flex: 1 1 450px;
    width: min(450px, 100%);
    max-width: 450px;
    position: relative;
}

.img-service img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: block;
}

.texte-service {
    flex: 1 1 300px;
    min-width: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.texte-service h3 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: #f59e0b;
    margin: 0 0 16px;
    font-weight: 800;
}

.accroche-service {
    margin: 0;
    width: 100%;
    color: #4b5563;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Grand bandeau immersif en dégradé ambre s'étendant sur 100vw */
.liste-bandeau {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    margin-top: 60px;
    padding: 50px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.1), inset 0 -10px 20px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    margin-bottom: 70px;
}

.liste-bandeau ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
}

.liste-bandeau .bandeau-avantages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
}

/* Cartes avantages à effet de verre (Glassmorphism) */
.liste-bandeau .bandeau-item {
    min-height: 160px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 24px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 300ms cubic-bezier(.25, .8, .25, 1), box-shadow 300ms ease, background 300ms ease;
}

.liste-bandeau .bandeau-title {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.bandeau-icon {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 14px;
    font-size: 1.8rem;
    transition: transform 300ms ease, color 300ms ease;
}

.liste-bandeau .bandeau-desc {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* Animations au survol des cartes du bandeau */
.liste-bandeau .bandeau-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.liste-bandeau .bandeau-item:hover .bandeau-icon {
    transform: scale(1.15) rotate(-5deg);
    color: #ffffff;
}

/* Section de suggestion d'autres services en bas de page */
.decouvrez-section {
    max-width: 1200px;
    padding: 0 24px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.decouvrez-section h3 {
    margin: 0 0 32px 0;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    color: #f59e0b;
    font-weight: 800;
}

.decouvrez-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* Cartes de redirection "Découvrir" */
.decouvrez-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.decouvrez-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.decouvrez-card span {
    display: block;
    padding: 16px;
    font-weight: 700;
    font-size: 1.3rem;
    color: #f59e0b;
    background: #fffbf0;
}

.decouvrez-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(245, 158, 11, 0.12);
    border-color: #f59e0b;
}

@media screen and (max-width: 768px) {

    .liste-bandeau .bandeau-avantages,
    .decouvrez-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .liste-bandeau .bandeau-item {
        min-height: auto !important;
        padding: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .liste-bandeau .bandeau-title,
    .liste-bandeau h2,
    .liste-bandeau h3 {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
    }

    .bandeau-icon {
        font-size: 1.5rem !important;
        margin-right: 10px !important;
    }
}