/*
 * GUMA DIGITAL — V6-A8
 * President Signature Premium
 * CSS only — Joomla module preserved.
 */

body.is-home #mot-du-president {
    background: #faf9fc;
    padding-block: clamp(2.5rem, 4vw, 4rem);
}

body.is-home #mot-du-president .guma-president-layout {
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
}

body.is-home #mot-du-president .guma-president-portrait {
    min-width: 0;
}

body.is-home #mot-du-president .guma-president-portrait img {
    display: block;
    width: 100%;
    max-height: 430px;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    box-shadow: 0 18px 42px rgba(42, 22, 61, .12);
}

body.is-home #mot-du-president .guma-president-message {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
}

body.is-home #mot-du-president .guma-president-content {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.8rem);
    background: #ffffff;
    border: 1px solid #ece6f1;
    border-left: 3px solid #e65100;
    border-radius: 3px;
    box-shadow: 0 12px 34px rgba(48, 25, 70, .045);
    color: #514758;
    opacity: 1;
    visibility: visible;
    text-align: left;
}

body.is-home #mot-du-president .guma-president-content .guma-eyebrow,
body.is-home #mot-du-president .guma-president-message .guma-eyebrow {
    display: block;
    margin: 0 0 .9rem;
    color: #a44b17 !important;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
    opacity: 1;
}

body.is-home #mot-du-president .guma-president-content h1,
body.is-home #mot-du-president .guma-president-content h2,
body.is-home #mot-du-president .guma-president-content h3,
body.is-home #mot-du-president .guma-president-message h1,
body.is-home #mot-du-president .guma-president-message h2,
body.is-home #mot-du-president .guma-president-message h3 {
    display: block;
    margin: 0 0 1rem;
    color: #351852 !important;
    font-size: clamp(1.8rem, 2.7vw, 2.65rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.03em;
    opacity: 1;
    visibility: visible;
}

body.is-home #mot-du-president .guma-president-content p,
body.is-home #mot-du-president .guma-president-message p:not(.guma-eyebrow) {
    color: #514758 !important;
    font-size: 1rem;
    line-height: 1.75;
    opacity: 1;
    visibility: visible;
}

body.is-home #mot-du-president .guma-president-content .guma-president-open,
body.is-home #mot-du-president .guma-president-message .guma-president-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: .75rem;
    padding: .8rem 1.35rem;
    background: #e65100;
    border: 1px solid #e65100;
    border-radius: 3px;
    color: #fff !important;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(230, 81, 0, .12);
    cursor: pointer;
}

body.is-home #mot-du-president .guma-president-open:hover {
    background: #c84600;
    border-color: #c84600;
    color: #fff !important;
}

body.is-home #mot-du-president .guma-president-open:focus-visible {
    outline: 3px solid #6b3fa0;
    outline-offset: 4px;
}

@media (max-width: 900px) {
    body.is-home #mot-du-president .guma-president-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 1.5rem;
    }

    body.is-home #mot-du-president .guma-president-content {
        padding: 1.5rem;
    }
}

@media (max-width: 680px) {
    body.is-home #mot-du-president {
        padding-block: 2.5rem;
    }

    body.is-home #mot-du-president .guma-president-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    body.is-home #mot-du-president .guma-president-portrait img {
        max-height: 380px;
    }

    body.is-home #mot-du-president .guma-president-content {
        padding: 1.35rem;
    }

    body.is-home #mot-du-president .guma-president-content h1,
    body.is-home #mot-du-president .guma-president-content h2 {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }
}
