/*
========================================================
 GUMA DIGITAL — V5-C6
 PREMIUM VISUAL FINISH
========================================================

 Scope:
 - Partners
 - Vision
 - Footer

 No content modification.
========================================================
*/

/* =====================================================
   1. PARTNERS — FULL WIDTH SECTION
===================================================== */

body.is-home #partenaires {
    background: #f8f7fb;
    padding-block: clamp(4rem, 6vw, 6rem);
}

body.is-home #partenaires > .guma-container {
    max-width: 1240px;
    margin-inline: auto;
}

body.is-home #partenaires .guma-section-heading {
    max-width: 780px;
}

body.is-home #partenaires h2 {
    color: #351852;
}

body.is-home #partenaires p {
    color: #626071;
    line-height: 1.8;
}

/* Neutralise uniquement les fonds des blocs
   éditoriaux directement imbriqués dans la section. */

body.is-home #partenaires .guma-partners-content {
    background: transparent;
    box-shadow: none;
}

/* =====================================================
   2. VISION — LIGHTER PREMIUM SHADOW
===================================================== */

body.is-home #vision {
    background: #faf9fc;
}

body.is-home #vision .guma-vision-card,
body.is-home #vision .guma-vision-panel,
body.is-home #vision .guma-vision-content {
    box-shadow:
        0 12px 28px rgba(38, 18, 65, .10);
}

body.is-home #vision h2 {
    letter-spacing: -.025em;
}

body.is-home #vision p {
    line-height: 1.8;
}

/* =====================================================
   3. FOOTER — INSTITUTIONAL FINISH
===================================================== */

.guma-footer {
    border-top: 1px solid rgba(107, 63, 160, .10);
}

.guma-footer__grid {
    align-items: start;
    column-gap: clamp(2rem, 4vw, 5rem);
    row-gap: 2.5rem;
}

.guma-footer__brand,
.guma-footer__links,
.guma-footer__contact {
    min-width: 0;
}

.guma-footer h2,
.guma-footer h3 {
    letter-spacing: .035em;
    line-height: 1.4;
}

.guma-footer p {
    line-height: 1.75;
}

.guma-footer a {
    text-underline-offset: 3px;
}

.guma-footer a:focus-visible {
    outline: 3px solid #E65100;
    outline-offset: 4px;
}

.guma-footer-identity h2 {
    margin-top: .75rem;
    margin-bottom: .75rem;
    color: #351852;
}

.guma-footer-identity p + p {
    margin-top: .75rem;
}

.guma-footer-contact h3 {
    margin-bottom: 1rem;
}

.guma-footer-contact p {
    margin: 0 0 .8rem;
    overflow-wrap: anywhere;
}

.guma-footer-contact a {
    color: inherit;
    text-decoration: none;
}

.guma-footer-contact a:hover {
    color: #6B3FA0;
    text-decoration: underline;
}

/* =====================================================
   4. RESPONSIVE
===================================================== */

@media (max-width: 1180px) {

    body.is-home #partenaires {
        padding-block: 3.5rem;
    }

    .guma-footer__grid {
        column-gap: 2rem;
    }
}

@media (max-width: 767px) {

    body.is-home #partenaires {
        padding-block: 2.75rem;
    }

    body.is-home #partenaires .guma-section-heading {
        max-width: 100%;
    }

    .guma-footer__grid {
        row-gap: 2rem;
    }

    .guma-footer-contact p {
        margin-bottom: .7rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .guma-footer a {
        transition: none !important;
    }
}
