/*
 * GUMA DIGITAL — V5-C14A
 * Mot du Président — finition premium.
 *
 * CSS uniquement.
 * Aucun contenu Joomla modifié.
 * Fenêtre modale existante conservée.
 */

/* ==================================================
   SECTION
   ================================================== */

body.is-home #mot-du-president {
    position: relative;
    background: #fcfbfd;
    padding-block: clamp(3.5rem, 6vw, 6rem);
}

body.is-home #mot-du-president > .guma-container {
    width: min(100% - 2rem, 1180px);
    max-width: 1180px;
    margin-inline: auto;
}

/* ==================================================
   COMPOSITION DEUX COLONNES
   ================================================== */

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

/* ==================================================
   PORTRAIT
   ================================================== */

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

body.is-home #mot-du-president .guma-president-portrait img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    box-shadow: 0 18px 45px rgba(43, 20, 61, .13);
}

/* ==================================================
   MESSAGE — CORRECTION DU TEXTE INVISIBLE
   ================================================== */

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

body.is-home #mot-du-president .guma-president-content {
    border-left: 3px solid #e65100;
    padding-left: clamp(1.2rem, 2.5vw, 2rem);
}

body.is-home #mot-du-president .guma-president-content .guma-eyebrow {
    display: block;
    margin: 0 0 1.1rem;
    color: #a44b17;
    font-size: .76rem;
    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-message h1,
body.is-home #mot-du-president .guma-president-message h2 {
    display: block;
    margin: 0 0 1.3rem;
    color: #351852;
    font-size: clamp(2rem, 3.3vw, 3.15rem);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -.035em;
    opacity: 1;
    visibility: visible;
}

body.is-home #mot-du-president .guma-president-content > p:not(.guma-eyebrow),
body.is-home #mot-du-president .guma-president-message > p:not(.guma-eyebrow) {
    margin: 0 0 1.5rem;
    color: #574d5e;
    font-size: clamp(.98rem, 1.25vw, 1.08rem);
    line-height: 1.85;
    opacity: 1;
    visibility: visible;
}

/* ==================================================
   BOUTON
   ================================================== */

body.is-home #mot-du-president .guma-president-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 46px;
    margin-top: .65rem;
    padding: .85rem 1.45rem;
    background: #e65100;
    color: #ffffff;
    border: 1px solid #e65100;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(230, 81, 0, .14);
    cursor: pointer;
}

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

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

/* ==================================================
   TABLETTE
   ================================================== */

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

    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, 3.2vw, 2.3rem);
    }
}

/* ==================================================
   MOBILE
   ================================================== */

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

    body.is-home #mot-du-president .guma-president-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

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

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

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

    body.is-home #mot-du-president .guma-president-open {
        max-width: 100%;
    }
}
