/* Summary */
/* 01 — Fonts */
/* 02 — Variables */
/* 03 — General */
/* 04 — Global Styles */
/* 05 — Gadgets */
/* 06 — Footer */

/*=================================================================
                            01 — Fonts
==================================================================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');


/*=================================================================
                            02 — Variables
==================================================================*/
:root {
    /* Font families */
    --lumx-custom-typography-font-family: "Inter", sans-serif;
    --font-family-accent: "Caveat", cursive;

    /* Typography */
    --font-size-h2: 27px;
    --font-size-title-page: 44px;
    --font-size-welcome-message: 52px;
    --font-size-widget-title: 22px;
    --font-size-tagline: 22px;
    --font-size-headline: 36px;    

    /* Font weights */
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-primary: #213067;
    --color-secondary: #2E7DA6;
    --color-accent-red: #E42313;
    --color-accent-purple: #8E0156;
    --color-bg-page: #ffffff;
    --color-white-10: rgba(255, 255, 255, 0.1);
    --color-white-30: rgba(255, 255, 255, 0.3);
    --color-white-50: rgba(255, 255, 255, 0.5);
    --color-white-60: rgba(255, 255, 255, 0.6);
    --color-white-80: rgba(255, 255, 255, 0.8);
    --color-white-100: rgba(255, 255, 255, 1);    
    
    /* Background assets */
    --bg-lines: url('https://agpm.app.lumapps.com/serve/3681107975066881-2474281399475566/LINES.svg?contentDisposition=inline&isOriginalSize=true');
    --bg-spiral: url('https://agpm.app.lumapps.com/serve/3681107975066881-6632354725875924/Spiral+2.svg?contentDisposition=inline&isOriginalSize=true');     
}


/*=================================================================
                            03 — General
==================================================================*/
/* ========== General Styles ========== */
body,
body.theme-lumapps,
body.front-office {
        font-family: var(--lumx-custom-typography-font-family); 
        background-color: var(--color-bg-page);
}

/* ============= Fixed Backrgound All Pages + Annuaire ============= */
.component-row--fix-header,
.content-module {
    background-attachment: fixed!important; 
    background-position: center center!important;
    background-size: cover!important;
    background-image: var(--bg-lines) !important;
}

/* ============= Hide Microsoft Apps ============= */
.header-top__bookmarked-apps {
    display: none !important;
}

/* ========== Welcome Message ========== */
.widget-welcome {
	font-family: var(--font-family-accent) !important;
	font-size: var(--font-size-welcome-message) !important;
    font-weight: var(--font-weight-bold) !important;
	color: var(--color-primary) !important;
    overflow-wrap: anywhere;
    position: relative;
}
.widget-welcome span{
	color: var(--color-secondary) !important;
}
.widget-welcome::after {
  content: ",";
  color: var(--color-secondary);
  margin-left: -0.2em;
}

/* ========== Remove Create Button ========== */
.header-top__contribution {
	display: none !important;
}

/* ========== Widget Titles ========== */
.widget-header__title {
	font-family: var(--font-family-accent) !important;
    font-size: var(--font-size-widget-title) !important;
    font-weight: var(--font-weight-bold) !important;
    text-transform: uppercase; 
    overflow: unset;
}
/* ========== Widget Footers ========== */
.widget-footer__label {
    text-transform: uppercase; 
}


/*=================================================================
                        04 — Global Styles
==================================================================*/
/* ========== Titre page ========== */
.widget--shared-titre-page .block-title,
.widget--shared-titre-page .widget-title__title {
  	font-size: var(--font-size-title-page) !important;
    font-weight: var(--font-weight-bold) !important;
    text-transform: uppercase; 
    color: var(--color-secondary) !important;
}

/* ========== Widget Titles - Taglines ========== */
.widget--taglines .block-html > p:nth-of-type(1),
.widget--taglines .block-html > p:nth-of-type(2),
.widget--taglines .widget-html__content > p:nth-of-type(1),
.widget--taglines .widget-html__content > p:nth-of-type(2) {
    font-family: var(--font-family-accent) !important;
    display: block;
    width: fit-content;
    margin: 0;
    padding: 4px 10px;
    color: var(--color-white);
    font-size: var(--font-size-tagline);
    font-weight: var(--font-weight-bold) !important;
    text-transform: uppercase;
    line-height: 1.2;
}
.widget--tag-white .block-html > p:nth-of-type(1),
.widget--tag-white .widget-html__content > p:nth-of-type(1) {
    color: var(--color-accent-purple);
}
.widget--taglines .block-html > p:nth-of-type(1),
.widget--taglines .widget-html__content > p:nth-of-type(1) {
    background-color: var(--color-accent-red);
}
.widget--tag-white .block-html > p:nth-of-type(1),
.widget--tag-white .widget-html__content > p:nth-of-type(1) {
    background-color: var(--color-white);
}
.widget--taglines .block-html > p:nth-of-type(2),
.widget--taglines .widget-html__content > p:nth-of-type(2) {
    background-color: var(--color-primary);
    margin: 0 0 10px 40px;
}

/* ========== Widget Titles - Headlines ========== */
.widget--headlines .block-html > p:nth-of-type(1),
.widget--headlines .widget-html__content > p:nth-of-type(1) {
    font-family: var(--font-family-accent) !important;
    display: block !important;
    width: fit-content !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    font-size: var(--font-size-headline) !important;
    font-weight: var(--font-weight-bold) !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    background-color: var(--color-accent-red) !important;
    color: var(--color-white) !important;
}
/* Second line */
.widget--headlines .block-html > p:nth-of-type(2),
.widget--headlines .widget-html__content > p:nth-of-type(2) {
    font-family: var(--font-family-accent) !important;
    display: block !important;
    width: fit-content !important;
    margin: 0 0 10px 40px !important;
    padding: 4px 10px !important;
    font-size: 20px !important;
    font-weight: var(--font-weight-semibold) !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    background-color: var(--color-primary) !important;
    color: var(--color-white) !important;
}

/* ========== Slideshow ========== */
.widget--shared-slideshow .block-page-preview__excerpt {
    margin-bottom: 24px !important;
}

/* ========== Spiral ========== */
.component-cell--spiral .cell__wrapper {
    position: relative;
}
.component-cell--spiral .cell__wrapper::after {
    content: "" !important;
    position: absolute;
    inset: 0;
    top: -4px;
    left: 24px;
    right: 24px;    
    background-image: var(--bg-spiral) !important;
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 99;
    pointer-events: none; /* VERY important so it doesn’t block clicks */
}
@media (max-width: 1023px) {
    .component-cell--spiral .cell__wrapper::after {
        content: none;
    }
    .component-cell--spiral .cell__wrapper::after {
        background-repeat: repeat-x;
        background-size: auto 100%;
        background-position: top left;
        background-size: auto 26px;
    }    
}

/* ========== Events List ========== */
.widget--theme-dark.widget-event-list .block-event-preview__date-action .lumx-link__content,
.widget--theme-dark.widget-event-list .block-event-preview__title .lumx-link__content {
  color: var(--color-white) !important;
}
.widget--theme-dark.widget-event-list .block-event-preview__guests-show-link .lumx-link__content {
  color: var(--color-white) !important;
}
.widget--theme-dark.widget-event-list .block-event-preview__date,
.widget--theme-dark.widget-event-list .block-event-preview__location,
.widget--theme-dark.widget-event-list .block-event-preview__description {
  color: rgba(255, 255, 255, 0.8) !important;
}
.widget--theme-dark.widget-event-list .block-event-preview__date-action button.lumx-link:hover .lumx-link__content,
.widget--theme-dark.widget-event-list .block-event-preview__guests-show-link:hover .lumx-link__content {
  color: var(--color-white) !important;
  text-decoration: underline;
  text-decoration-color: var(--color-white);
}
.widget-event-list .block-event-preview__title .lumx-link__content {
  font-size: 20px;
}
/* ========== Social Media Buttons ========== */
.widget--shared-button-social-media .block-html,
.widget--shared-button-social-media .widget-html__content {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}
.widget--shared-button-social-media .block-html > p,
.widget--shared-button-social-media .widget-html__content > p {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}
.widget--shared-button-social-media .agpm-btn-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 90px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 16px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 22px;
    font-family: var(--font-family-accent);
    transition: background-color 0.3s ease;
}
.widget--shared-button-social-media .agpm-btn-linkedin img,
.widget--shared-button-social-media .agpm-btn-linkedin img.fr-dib,
.widget--shared-button-social-media .agpm-btn-linkedin img.fr-fil,
.widget--shared-button-social-media .agpm-btn-linkedin img.fr-fil.fr-dib,
.widget--shared-button-social-media .block-html .agpm-btn-linkedin img,
.widget--shared-button-social-media .widget-html__content .agpm-btn-linkedin img {
    width: 48px;
    display: block;
    margin: 0 !important;
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}
.widget--shared-button-social-media .agpm-btn-linkedin span {
    display: inline-block;
    line-height: 1;
    transition: transform 0.3s ease;
}
.widget--shared-button-social-media .agpm-btn-linkedin:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.widget--shared-button-social-media .agpm-btn-linkedin:hover img {
    transform: rotate(10deg) scale(1.08);
}
.widget--shared-button-social-media .agpm-btn-linkedin:hover span {
    transform: translateX(2px);
}
.widget--shared-button-social-media .agpm-btn-linkedin,
.widget--shared-button-social-media .agpm-btn-linkedin span {
    color: #ffffff !important;
}
.agpm-btn-linkedin {
    cursor: pointer;
}

/*=================================================================
                        05 — Gadgets
==================================================================*/
/* ==================== Alert Message ==================== */
.widget--shared-alert-message .block-page-preview__title {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
}
.widget--shared-alert-message .block-page-preview__link {
    position: absolute;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: smooth-scroll 20s linear infinite;
}
.widget--shared-alert-message .block-page-preview__link span {
    display: inline-flex;
    align-items: center;
    font-size: 14px !important;
}
.widget--shared-alert-message .block-page-preview__link span::before {
    content: "";
    display: inline-flex;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background-image: url("https://agpm.app.lumapps.com/serve/3681107975066881-2777946930018483/warning_circle.svg?contentDisposition=inline&isOriginalSize=true");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    margin-right: 8px;
}
@keyframes smooth-scroll {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* ========== Social Media Buttons (Scoped to homepage CTA) ========== */
.widget--homepage-cta .block-html,
.widget--homepage-cta .widget-html__content {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.widget--homepage-cta .block-html > p,
.widget--homepage-cta .widget-html__content > p {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.widget--homepage-cta .agpm-btn-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 90px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 16px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 22px;
    font-family: var(--font-family-accent);
    transition: background-color 0.3s ease;
}

.widget--homepage-cta .agpm-btn-linkedin img,
.widget--homepage-cta .agpm-btn-linkedin img.fr-dib,
.widget--homepage-cta .agpm-btn-linkedin img.fr-fil,
.widget--homepage-cta .agpm-btn-linkedin img.fr-fil.fr-dib,
.widget--homepage-cta .block-html .agpm-btn-linkedin img,
.widget--homepage-cta .widget-html__content .agpm-btn-linkedin img {
    width: 48px;
    display: block;
    margin: 0 !important;
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.widget--homepage-cta .agpm-btn-linkedin span {
    display: inline-block;
    line-height: 1;
    transition: transform 0.3s ease;
}

.widget--homepage-cta .agpm-btn-linkedin:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.widget--homepage-cta .agpm-btn-linkedin:hover img {
    transform: rotate(10deg) scale(1.08);
}

.widget--homepage-cta .agpm-btn-linkedin:hover span {
    transform: translateX(2px);
}

.widget--homepage-cta .agpm-btn-linkedin,
.widget--homepage-cta .agpm-btn-linkedin span {
    color: #ffffff !important;
}

/* stays global unless you also want to scope it */
.agpm-btn-linkedin {
    cursor: pointer;
}



/*=================================================================
                        06 — Footer
==================================================================*/
/* ========== Home Banner Footer========== */
.contact-banner {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    position: relative;
}

/* Overlay arriba de TODO */
.banner_clickable_overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    cursor: pointer;
}

/* Todo el contenido NO captura el click */
.contact-banner__inner * {
    pointer-events: none;
}

/* EXCEPCIÓN: el link del título sí */
.contact-banner__title a {
    pointer-events: auto;
    position: relative;
    z-index: 20;
}

.contact-banner__inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    box-sizing: border-box;
}
.contact-banner__col--text {
    flex: 0 0 60% !important;
    max-width: 60% !important;
}
.contact-banner__col--content {
    flex: 0 0 35% !important;
    max-width: 35% !important;
    margin-left: -100px;
}  
.contact-banner__col--image {
    margin-left: auto !important;
}  
.contact-banner__text {
    text-align: center;
}
.contact-banner__chip.fr-fil.fr-dib {
    margin: 0 auto -12px !important;
    margin-left: 24px;
    left: 24px;
    position: relative;
    top: -12px;
}
.contact-banner__text {
    margin-bottom: 0 !important;
}  
.contact-banner__col {
    box-sizing: border-box;
}
.contact-banner__col--text {
    flex: 1 1 auto;
}
.contact-banner__col--content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-banner__col--image {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    flex: 0 0 92px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-banner__tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    background-color: var(--color-accent-red);
    color: var(--color-white);
    font-family: var(--font-family-accent) !important;
    font-size: 34px;
    font-weight: var(--font-weight-bold) !important;
    line-height: 1.05;
}
.contact-banner__title {
    color: var(--color-white);
    font-size: 18px;
    font-weight: var(--font-weight-bold) !important;
    line-height: 1;
    text-transform: uppercase;
}
.contact-banner__text {
    margin: 0;
    color: var(--color-white);
    font-size: 14px;
    font-weight: var(--font-weight-bold) !important;
    line-height: 1.45;
    text-transform: uppercase;
}
.contact-banner__chip,
.contact-banner__mail {
    display: block;
    max-width: 100%;
    height: auto;
}
.contact-banner__chip {
    width: 220px;
}
.contact-banner__mail {
    width: 100%;
}  

/* LINK STYLE */
.contact-banner__title a {
    color: var(--color-white);
    text-decoration: none;
}
.contact-banner__title a:hover {
    text-decoration: underline;
}

/* Screen min 1280px */
@media (min-width: 1280px) {
    .contact-banner__inner {
        width: 1130px;
    }
}
/* Screen min 1024px max 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
    .contact-banner__inner {
        width: 950px;
    }
    .contact-banner__col--text {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .contact-banner__col--content {
        margin-left: 0 !important;
    }
}
/* Screen max 1023px */    
@media (max-width: 1023px) {
    .contact-banner__inner {
        width: 100%;
        gap: 24px;
    }
    .contact-banner__col--text {
        flex: 0 0 40% !important;
        max-width: 40% !important;
}
    .contact-banner__col--content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }          
    .contact-banner__col--content {
        flex: 0 0 35% !important;
        max-width: 35% !important;
        margin-left: 0;
    }        
    .contact-banner__tag {
        font-size: 28px;
    }
    .contact-banner__title {
        font-size: 14px;
    }    
}
/* Screen max 767px */
@media (max-width: 767px) {
    .contact-banner__col--text {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .contact-banner__col--content {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }   
    .contact-banner__text {
        text-align: left;
    }
    .contact-banner__col--image {
        width: 45px !important;
        min-width: 45px !important;
        max-width: 45px !important;
        flex: 0 0 45px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        top: -100px;
        margin-top: -32px;
    }      
    .contact-banner__chip.fr-fil.fr-dib {
        display: none;
    }
    .contact-banner__inner {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .contact-banner__col--image {
        justify-content: flex-start;
    }
    .contact-banner {
        padding: 24px 12px;
    }
    .contact-banner__inner {
        gap: 20px;
    }
    .contact-banner__tag {
        font-size: 24px;
    }
    .contact-banner__title {
        font-size: 13px;
    }
    .contact-banner__text {
        font-size: 13px;
    }
}
/* ==================== FOOTER AGPM ==================== */
@media (max-width: 1024px) {
    .page,
    .layout {
        margin-bottom: 0px!important;
    }    
}
.agpm-footer-container {
    background-color: var(--color-white);
    width: 100%;
    padding: 48px 0 48px;
}
.agpm-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-black);
}
.agpm-social-icons {
    display: flex;
    gap: 18px;
    margin-bottom: 16px;
}
.agpm-social-icon {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 50%;
    padding: 5px;
    transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out;
}
.agpm-social-icon img {
    width: 35px;
    height: 35px;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.agpm-social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-white-30), var(--color-white-60));
    box-shadow: 0 0 10px var(--color-white-50);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: -1;
}
.agpm-social-icon:hover {
    background-color: var(--color-white-10);
    transform: rotate(10deg) scale(1.1);
}
.agpm-social-icon:hover img {
    transform: scale(1.2);
}
.agpm-social-icon:hover::before {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 20px var(--color-white-80);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 20px var(--color-white-80); }
    50% { box-shadow: 0 0 30px var(--color-white-100); }
    100% { box-shadow: 0 0 20px var(--color-white-80); }
}
.agpm-footer-text {
    font-size: 14px;
    color: var(--color-primary);
    text-align: center;
    padding: 0 24px;
    font-weight: var(--font-weight-medium);
}
@media (max-width: 440px) {
    .agpm-social-icons {
        gap: 8px;
    }
    .agpm-social-icon img {
        width: 24px;
        height: 24px;
    }    
}
/*=================================================================
                        07 - Media Queries
==================================================================*/
@media (max-width: 1280px) and (min-width: 1024px) {

}