/* ============================= */
/* font families   */
/* ============================= */
@font-face {
    font-family: 'Outfit';
    src: url('../assets/outfit/Outfit-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

/* ============================= */
/* Base font-size et variables   */
/* ============================= */
:root {
    /* Base 1rem = 10px */
    font-size: 62.5%; 
    
    /* --- ÉCHELLE TYPOGRAPHIQUE FLUIDE --- */
    /* Formule : clamp(MIN, VALEUR_IDEALE, MAX) */
    --fs-h1: clamp(2.8rem, 5vw + 1rem, 4.5rem);
    --fs-h2: clamp(2.4rem, 4vw + 1rem, 3.6rem);
    --fs-h3: clamp(2.0rem, 1vw, 2.8rem);
    --fs-h4: clamp(1.8rem, 2vw + 0.5rem, 2.2rem);
    --fs-p:  clamp(1.6rem, 0.5vw + 1.4rem, 1.8rem);
    --fs-small: 1.4rem;

    /* --- ÉCHELLE DE GRAISSE (Variable Font) --- */
    --fw-reg: 400;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-black: 900;

    /* --- ESPACEMENT & LIGNES --- */
    --line-height: 1.6;
    --lh-titles: 1.2;
    --spacing: 1.5rem;

    /* --- COULEURS CHARTE --- */
    --color-dark: #1d1d1b;
    --color-blue: #04baee;
    --color-dark-blue: #005069;
    --color-orange: #ed7203;
    --color-teal: #2d989e;
    --color-dark-teal: #175154;
    --color-base-classic: #fafafa;
    --color-ui-soft-gray: #f5f5f5;
    --color-soft-gray: #d1d1d1;
    --color-medium-gray: #b9b9b9;

    /* --- HAUTEURS --- */
    --header-height: 130px;
    --site-description-height: 40px;
}

/* ==========================================================================
   LOGIQUE DE THÈME FIDÈLE À LA CHARTE
   ========================================================================== */

/* Mode VIBRANT : On utilise les VRAIES couleurs du logo */
[data-mode="vibrant"][data-theme="blue"]   { --brand-color: var(--color-blue); }
[data-mode="vibrant"][data-theme="orange"] { --brand-color: var(--color-orange); }
[data-mode="vibrant"][data-theme="teal"]   { --brand-color: var(--color-teal); }

[data-mode="vibrant"] { 
    --text-color: #fafafa;
    /* On ajoute une ombre portée subtile mais profonde pour le AAA+ visuel */
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* On ajoute un filtre assombrissant léger sur le fond pour aider le blanc */
    --bg-overlay: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15));
}

/* Mode PASTEL : On utilise les couleurs pures mais sur fond blanc */
[data-mode="pastel"] {
    --brand-color: #ffffff; /* Le fond devient blanc */
    --text-color: var(--color-dark);
    --accent-line: var(--color-blue); /* On utilise la couleur charte en accent */
    --text-shadow: none;
    --bg-overlay: none;
}
[data-mode="pastel"][data-theme="orange"] { --accent-line: var(--color-orange); }
[data-mode="pastel"][data-theme="teal"]   { --accent-line: var(--color-teal); }

/* ============================= */
/* Responsive Root               */
/* ============================= */

/* On évite de descendre en dessous de 9px pour garder une base saine */
@media (max-width: 1400px) {
    :root { font-size: 58%; } /* Env. 9.3px */
}

@media (max-width: 1000px) {
    :root { font-size: 56.25%; } /* 9px : limite basse conseillée */
}

*, *::before, *::after {
  box-sizing: border-box;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* ============================= */
/* Body et base                 */
/* ============================= */
body {
    font-size: var(--fs-p);
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-base-classic);
    color: var(--color-dark);
    font-weight: var(--fw-reg);
    line-height: var(--line-height);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

/* ============================= */
/* Titres                        */
/* ============================= */
h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: var(--spacing);
    line-height: var(--lh-titles);
    text-transform: uppercase;
    font-weight: var(--fw-black);
    margin: 0;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p, li { font-size: var(--fs-p); margin-bottom: var(--spacing); }
small { font-size: var(--fs-small); }

/* ============================= */
/* Ajustements Mobiles           */
/* ============================= */
@media (max-width: 1000px) {
    :root {
        /* On ajuste les variables plutôt que de trop réduire le root */
        --fs-h1: 2.8rem; 
        --fs-h2: 2.4rem;
        --fs-h3: 2.1rem;
        --fs-p: 1.6rem; /* Garanti 14.4px réel (9px * 1.6) */
    }
}

/* ============================= */
/* Utilitaires                   */
/* ============================= */
code {
    background-color: #f7f7f7;
    padding: 1.5rem;
    color: #c00;
    display: block;
    max-height: 200px;
    overflow: auto;
    font-size: 1.3rem;
    border-radius: 4px;
}

[hidden="true"] { 
    display: none; 
}

[hidden="false"] { 
    display: block !important; 
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.block + .block {
    margin-top: 2rem;
}

.tal-right {
    text-align: right;
}

img {
    max-width: 100%;
    height: auto;
}

img.full-width {
    min-width: 100%;
}

.comp-text ul, .text ol {
    margin: 0 0 1.2em 0;
    padding-left: 1.5em;
}

.comp-text ul {
    list-style-type: square;
}

.comp-text ol {
    list-style-type: decimal;
}

.comp-text li {
    /*font-size: clamp(0.9rem, 1.1vw, 1.2rem);
    line-height: 1.6;*/
    margin: 0.2em 0;
    color: #111;
    display: list-item;
}

.comp-text li:has(> ul), .comp-text li:has(> ol) {
    list-style-type: none !important;
}

.comp-text li > ul, .comp-text li > ol {
    margin: 0.5em 0 0.5em 0;
    padding-left: 1.5em;
}

.comp-text li ul {
    list-style-type: circle;
}

.comp-text li ol {
    list-style-type: lower-alpha;
}

.comp-text li li {
    list-style-type: inherit; 
    display: list-item !important; 
}

.comp-text li li::marker {
    content: initial !important;
}

/* ============================= */
/* LINKS           */
/* ============================= */
a {
    color: var(--color-dark-blue);
}

/* --- RÈGLE COMMUNE À TOUS CES LIENS SPÉCIAUX --- */
a[href$=".pdf" i]:not(.publication-download):not(.publication-more),
a[href$=".doc" i],
a[href$=".docx" i],
a[href$=".xls" i],
a[href$=".xlsx" i],
a[href^="mailto:" i] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Propriétés communes du masque pour toutes les icônes */
a[href$=".pdf" i]:not(.publication-download)::after:not(.publication-more)::after,
a[href$=".doc" i]::after,
a[href$=".docx" i]::after,
a[href$=".xls" i]::after,
a[href$=".xlsx" i]::after,
a[href^="mailto:" i]::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    text-decoration: none !important;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* ==========================================
   ICÔNE PDF (Document rouge/général)
   ========================================== */
a[href$=".pdf" i]:not(.publication-download)::after:not(.publication-more)::after {
    background-color: #eb5757;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.38' height='18' viewBox='-4 0 0.72 0.9'%3E%3Cpath fill='%23eb5757' d='m -3.4224565,0.5871645 c -0.010966,0.003238 -0.027067,0.003602 -0.044329,0.001098 -0.018527,-0.002687 -0.037424,-0.00835 -0.055998,-0.016695 0.033122,-0.004819 0.058817,-0.003335 0.080795,0.004453 0.00521,0.001845 0.013759,0.006777 0.019532,0.011144 z M -3.607258,0.55678275 c -0.00135,3.6675e-4 -0.00267,7.1325e-4 -0.004,0.00108 -0.00891,0.002426 -0.017584,0.004793 -0.02594,0.006899 l -0.011268,0.002857 c -0.022666,0.005735 -0.045842,0.0115943 -0.068731,0.0185715 0.0087,-0.0209767 0.01678,-0.0421853 0.024694,-0.0629213 0.00586,-0.0153495 0.011842,-0.0310297 0.018029,-0.0465075 0.00314,0.005184 0.00642,0.0103702 0.00982,0.01557 0.015529,0.023652 0.03505,0.0455198 0.057388,0.0644513 z M -3.6649142,0.3202335 c 0.00147,0.025884 -0.00412,0.0507847 -0.012308,0.074673 -0.010091,-0.029538 -0.014794,-0.0621562 -0.00218,-0.0884902 0.00324,-0.00675 0.00589,-0.010359 0.00761,-0.0122423 0.00265,0.0041 0.00615,0.0132705 0.00688,0.0260595 z m -0.1183327,0.327888 c -0.00567,0.010143 -0.011457,0.019638 -0.017389,0.0286043 -0.014315,0.021573 -0.037726,0.0446715 -0.049753,0.0446715 -0.00118,0 -0.00262,-1.9125e-4 -0.00471,-0.002401 -0.00135,-0.001413 -0.00156,-0.002426 -0.0015,-0.003807 4.054e-4,-0.007931 0.010914,-0.0220568 0.026138,-0.035154 0.013818,-0.0118822 0.029436,-0.022446 0.04721,-0.0319138 z m 0.3990854,-0.0598342 c -0.00184,-0.0264195 -0.046312,-0.0433688 -0.046751,-0.0435262 -0.017192,-0.006095 -0.03587,-0.009056 -0.057096,-0.009056 -0.022723,0 -0.047221,0.003287 -0.078682,0.010638 -0.027995,-0.0198453 -0.052177,-0.0446897 -0.070245,-0.0721937 -0.00798,-0.0121523 -0.015151,-0.024282 -0.021404,-0.0361305 0.015264,-0.0364973 0.029009,-0.0757395 0.026512,-0.119691 -0.00201,-0.0352418 -0.017905,-0.058914 -0.039517,-0.058914 -0.014825,0 -0.027589,0.01098 -0.037969,0.0326655 -0.018515,0.0386415 -0.013648,0.0880853 0.014458,0.14708475 -0.010123,0.0237757 -0.019528,0.0484245 -0.028631,0.0722858 -0.011327,0.0296707 -0.022997,0.060282 -0.036151,0.0894015 -0.036888,0.0145958 -0.067192,0.0322965 -0.092448,0.054027 -0.016545,0.014211 -0.03649,0.0359348 -0.037629,0.0586125 -5.557e-4,0.0106808 0.00311,0.020475 0.010548,0.028323 0.00791,0.008332 0.017839,0.0127192 0.028761,0.0127327 0.036072,0 0.070789,-0.0495608 0.077375,-0.0595013 0.013255,-0.01998 0.025661,-0.0422662 0.037818,-0.0679725 0.030618,-0.0110655 0.063248,-0.0193252 0.094873,-0.0273082 l 0.011327,-0.002878 c 0.00851,-0.002165 0.017363,-0.004559 0.02644,-0.007043 0.00961,-0.002597 0.019487,-0.00529 0.029531,-0.007848 0.032474,0.0206528 0.067397,0.0341235 0.1014548,0.0390668 0.028688,0.004174 0.054164,0.001753 0.071411,-0.007238 0.015518,-0.008082 0.016373,-0.0205538 0.016013,-0.025537 z m 0.06986,0.22717575 c 0,0.048384 -0.042644,0.0513675 -0.051248,0.0514642 h -0.5501911 c -0.048209,0 -0.051112,-0.0429368 -0.051204,-0.0514642 l -6.5e-6,-0.73094355 c 0,-0.0484317 0.042723,-0.05136795 0.051204,-0.05146515 h 0.3716647 l 1.98e-4,1.962e-4 v 0.1450386 c 0,0.0291076 0.017597,0.0842162 0.08424,0.0842162 h 0.1441012 l 0.00124,0.001235 z M -3.348463,0.229446 h -0.1111568 c -0.048195,0 -0.051111,-0.042703 -0.051176,-0.0511522 V 0.06644407 Z m 0.067219,0.586017 V 0.25010325 L -3.510796,0.019598 v -0.0010725 h -0.0011 L -3.5303305,0 h -0.385409 C -3.9448854,0 -4,0.01767006 -4,0.08453497 V 0.81547875 C -4,0.84471075 -3.9823835,0.9 -3.9157395,0.9 h 0.5502418 c 0.02914,-6.75e-6 0.084253,-0.0176783 0.084253,-0.084537 z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.38' height='18' viewBox='-4 0 0.72 0.9'%3E%3Cpath fill='%23eb5757' d='m -3.4224565,0.5871645 c -0.010966,0.003238 -0.027067,0.003602 -0.044329,0.001098 -0.018527,-0.002687 -0.037424,-0.00835 -0.055998,-0.016695 0.033122,-0.004819 0.058817,-0.003335 0.080795,0.004453 0.00521,0.001845 0.013759,0.006777 0.019532,0.011144 z M -3.607258,0.55678275 c -0.00135,3.6675e-4 -0.00267,7.1325e-4 -0.004,0.00108 -0.00891,0.002426 -0.017584,0.004793 -0.02594,0.006899 l -0.011268,0.002857 c -0.022666,0.005735 -0.045842,0.0115943 -0.068731,0.0185715 0.0087,-0.0209767 0.01678,-0.0421853 0.024694,-0.0629213 0.00586,-0.0153495 0.011842,-0.0310297 0.018029,-0.0465075 0.00314,0.005184 0.00642,0.0103702 0.00982,0.01557 0.015529,0.023652 0.03505,0.0455198 0.057388,0.0644513 z M -3.6649142,0.3202335 c 0.00147,0.025884 -0.00412,0.0507847 -0.012308,0.074673 -0.010091,-0.029538 -0.014794,-0.0621562 -0.00218,-0.0884902 0.00324,-0.00675 0.00589,-0.010359 0.00761,-0.0122423 0.00265,0.0041 0.00615,0.0132705 0.00688,0.0260595 z m -0.1183327,0.327888 c -0.00567,0.010143 -0.011457,0.019638 -0.017389,0.0286043 -0.014315,0.021573 -0.037726,0.0446715 -0.049753,0.0446715 -0.00118,0 -0.00262,-1.9125e-4 -0.00471,-0.002401 -0.00135,-0.001413 -0.00156,-0.002426 -0.0015,-0.003807 4.054e-4,-0.007931 0.010914,-0.0220568 0.026138,-0.035154 0.013818,-0.0118822 0.029436,-0.022446 0.04721,-0.0319138 z m 0.3990854,-0.0598342 c -0.00184,-0.0264195 -0.046312,-0.0433688 -0.046751,-0.0435262 -0.017192,-0.006095 -0.03587,-0.009056 -0.057096,-0.009056 -0.022723,0 -0.047221,0.003287 -0.078682,0.010638 -0.027995,-0.0198453 -0.052177,-0.0446897 -0.070245,-0.0721937 -0.00798,-0.0121523 -0.015151,-0.024282 -0.021404,-0.0361305 0.015264,-0.0364973 0.029009,-0.0757395 0.026512,-0.119691 -0.00201,-0.0352418 -0.017905,-0.058914 -0.039517,-0.058914 -0.014825,0 -0.027589,0.01098 -0.037969,0.0326655 -0.018515,0.0386415 -0.013648,0.0880853 0.014458,0.14708475 -0.010123,0.0237757 -0.019528,0.0484245 -0.028631,0.0722858 -0.011327,0.0296707 -0.022997,0.060282 -0.036151,0.0894015 -0.036888,0.0145958 -0.067192,0.0322965 -0.092448,0.054027 -0.016545,0.014211 -0.03649,0.0359348 -0.037629,0.0586125 -5.557e-4,0.0106808 0.00311,0.020475 0.010548,0.028323 0.00791,0.008332 0.017839,0.0127192 0.028761,0.0127327 0.036072,0 0.070789,-0.0495608 0.077375,-0.0595013 0.013255,-0.01998 0.025661,-0.0422662 0.037818,-0.0679725 0.030618,-0.0110655 0.063248,-0.0193252 0.094873,-0.0273082 l 0.011327,-0.002878 c 0.00851,-0.002165 0.017363,-0.004559 0.02644,-0.007043 0.00961,-0.002597 0.019487,-0.00529 0.029531,-0.007848 0.032474,0.0206528 0.067397,0.0341235 0.1014548,0.0390668 0.028688,0.004174 0.054164,0.001753 0.071411,-0.007238 0.015518,-0.008082 0.016373,-0.0205538 0.016013,-0.025537 z m 0.06986,0.22717575 c 0,0.048384 -0.042644,0.0513675 -0.051248,0.0514642 h -0.5501911 c -0.048209,0 -0.051112,-0.0429368 -0.051204,-0.0514642 l -6.5e-6,-0.73094355 c 0,-0.0484317 0.042723,-0.05136795 0.051204,-0.05146515 h 0.3716647 l 1.98e-4,1.962e-4 v 0.1450386 c 0,0.0291076 0.017597,0.0842162 0.08424,0.0842162 h 0.1441012 l 0.00124,0.001235 z M -3.348463,0.229446 h -0.1111568 c -0.048195,0 -0.051111,-0.042703 -0.051176,-0.0511522 V 0.06644407 Z m 0.067219,0.586017 V 0.25010325 L -3.510796,0.019598 v -0.0010725 h -0.0011 L -3.5303305,0 h -0.385409 C -3.9448854,0 -4,0.01767006 -4,0.08453497 V 0.81547875 C -4,0.84471075 -3.9823835,0.9 -3.9157395,0.9 h 0.5502418 c 0.02914,-6.75e-6 0.084253,-0.0176783 0.084253,-0.084537 z'/%3E%3C/svg%3E");
    width: 0.9em;
}

/* ==========================================
   ICÔNES WORD (.doc & .docx) - Lignes de texte style traitement de texte
   ========================================== */
a[href$=".doc" i]::after, a[href$=".docx" i]::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.3em;
    vertical-align: -0.1em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1.27 2.5339803 2.475697'%3E%3Cg transform='matrix(0.02302974,0,0,0.02302974,-5.11772e-6,-1.27)'%3E%3Cpath d='m 57.505,0 h 7.475 v 10 c 13.375,0.075 26.738,-0.138 40.101,0.075 2.85,-0.288 5.087,1.925 4.825,4.775 0.212,24.625 -0.05,49.262 0.125,73.887 -0.125,2.525 0.25,5.325 -1.213,7.562 -1.825,1.3 -4.188,1.138 -6.312,1.237 C 89.992,97.475 77.492,97.5 64.98,97.5 v 10 h -7.812 c -19.024,-3.475 -38.1,-6.662 -57.162,-10 -0.013,-29.162 0,-58.325 0,-87.475 C 19.167,6.675 38.343,3.413 57.506,0 Z' fill='%232a5699'/%3E%3Cpath d='m 64.98,13.75 h 41.25 v 80 H 64.98 v -10 h 32.5 v -5 H 64.98 V 72.5 h 32.5 v -5 h -32.5 v -6.25 h 32.5 v -5 H 64.98 V 50 h 32.5 v -5 h -32.5 v -6.25 h 32.5 v -5 H 64.98 V 27.5 h 32.5 v -5 H 64.98 Z M 25.83,35.837 c 2.375,-0.137 4.75,-0.237 7.125,-0.362 1.662,8.438 3.362,16.862 5.162,25.262 1.413,-8.675 2.976,-17.325 4.487,-25.987 2.5,-0.087 5,-0.225 7.488,-0.375 -2.825,12.112 -5.3,24.325 -8.388,36.362 -2.088,1.088 -5.213,-0.05 -7.688,0.125 -1.663,-8.274 -3.6,-16.5 -5.088,-24.812 -1.462,8.075 -3.362,16.075 -5.037,24.101 -2.4,-0.125 -4.812,-0.275 -7.226,-0.438 -2.074,-11 -4.512,-21.925 -6.449,-32.95 2.137,-0.1 4.287,-0.188 6.425,-0.263 1.287,7.962 2.75,15.888 3.875,23.862 1.765,-8.174 3.564,-16.349 5.314,-24.525 z' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");
}

/* ==========================================
   ICÔNES EXCEL (.xls & .xlsx) - Grille de tableau
   ========================================== */
a[href$=".xls" i]::after, a[href$=".xlsx" i]::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.3em;
    vertical-align: -0.1em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --%3E%3Csvg width='18.02253' height='18' viewBox='0 0 0.72090118 0.72' version='1.1' id='svg5' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:cc='http://creativecommons.org/ns%23' xmlns:dc='http://purl.org/dc/elements/1.1/'%3E%3Cdefs id='defs5' /%3E%3Ctitle id='title1'%3Efile_type_excel2%3C/title%3E%3Cg id='g5' transform='matrix(0.02574647,0,0,0.02574647,-0.05149294,-0.05195638)'%3E%3Cpath d='M 28.781,4.405 H 18.651 V 2.018 L 2,4.588 v 22.527 l 16.651,2.868 v -3.538 h 10.13 A 1.162,1.162 0 0 0 30,25.349 V 5.5 A 1.162,1.162 0 0 0 28.781,4.405 Z m 0.16,21.126 H 18.617 L 18.6,23.642 h 2.487 v -2.2 h -2.506 l -0.012,-1.3 h 2.518 v -2.2 H 18.55 l -0.012,-1.3 h 2.549 v -2.2 H 18.53 v -1.3 h 2.557 v -2.2 H 18.53 v -1.3 h 2.557 v -2.2 H 18.53 v -2 h 10.411 z' style='fill:%2320744a;fill-rule:evenodd' id='path1' /%3E%3Crect x='22.487' y='7.4390001' width='4.323' height='2.2' style='fill:%2320744a' id='rect1' /%3E%3Crect x='22.487' y='10.94' width='4.323' height='2.2' style='fill:%2320744a' id='rect2' /%3E%3Crect x='22.487' y='14.441' width='4.323' height='2.2' style='fill:%2320744a' id='rect3' /%3E%3Crect x='22.487' y='17.941999' width='4.323' height='2.2' style='fill:%2320744a' id='rect4' /%3E%3Crect x='22.487' y='21.443001' width='4.323' height='2.2' style='fill:%2320744a' id='rect5' /%3E%3Cpolygon points='11.436,10.397 13.582,10.274 10.976,15.54 13.582,20.819 11.313,20.666 9.781,16.642 8.248,20.513 6.163,20.329 8.585,15.666 6.347,10.673 8.493,10.55 9.842,14.259 ' style='fill:%23ffffff;fill-rule:evenodd' id='polygon5' /%3E%3C/g%3E%3Cmetadata id='metadata5'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:title%3Efile_type_excel2%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3C/svg%3E%0A");
}

/* ==========================================
   ICÔNE EMAIL (mailto:) - Enveloppe
   ========================================== */
a[href^="mailto:" i]::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1.92 1.44'%3E%3Cpath fill='none' stroke='%23000' stroke-width='0.08' stroke-linecap='round' stroke-linejoin='round' d='M1.8,0 H0.12 C0.05367,0 0,0.05367 0,0.12 v1.2 C0,1.38633 0.05367,1.44 0.12,1.44 H1.8 c0.06633,0 0.12,-0.05367 0.12,-0.12 V0.12 C1.92,0.05367 1.86633,0 1.8,0 Z M0.12,0.06 H1.8 c0.03312,0 0.06,0.02688 0.06,0.06 V0.19407 L0.96,0.86262 0.06,0.19407 V0.12 C0.06,0.08688 0.08688,0.06 0.12,0.06 Z M1.8,1.38 H0.12 C0.08688,1.38 0.06,1.35312 0.06,1.32 V1.23576 L0.61752,0.83433 C0.63096,0.82467 0.63402,0.80592 0.62436,0.79245 C0.6147,0.77904 0.59598,0.77598 0.58248,0.78561 L0.06,1.16187 V0.26883 L0.94209,0.92409 C0.94743,0.92805 0.9537,0.93 0.96,0.93 C0.9663,0.93 0.97257,0.92805 0.97791,0.92409 L1.86,0.26883 V1.16187 L1.33752,0.78567 C1.32408,0.77601 1.3053,0.77904 1.29564,0.79251 C1.28598,0.80595 1.28901,0.8247 1.30248,0.83439 L1.86,1.23576 V1.32 c0,0.03312 -0.02688,0.06 -0.06,0.06 z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg version='1.0' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1.92 1.44'%3E%3Cpath fill='none' stroke='%23000' stroke-width='0.08' stroke-linecap='round' stroke-linejoin='round' d='M1.8,0 H0.12 C0.05367,0 0,0.05367 0,0.12 v1.2 C0,1.38633 0.05367,1.44 0.12,1.44 H1.8 c0.06633,0 0.12,-0.05367 0.12,-0.12 V0.12 C1.92,0.05367 1.86633,0 1.8,0 Z M0.12,0.06 H1.8 c0.03312,0 0.06,0.02688 0.06,0.06 V0.19407 L0.96,0.86262 0.06,0.19407 V0.12 C0.06,0.08688 0.08688,0.06 0.12,0.06 Z M1.8,1.38 H0.12 C0.08688,1.38 0.06,1.35312 0.06,1.32 V1.23576 L0.61752,0.83433 C0.63096,0.82467 0.63402,0.80592 0.62436,0.79245 C0.6147,0.77904 0.59598,0.77598 0.58248,0.78561 L0.06,1.16187 V0.26883 L0.94209,0.92409 C0.94743,0.92805 0.9537,0.93 0.96,0.93 C0.9663,0.93 0.97257,0.92805 0.97791,0.92409 L1.86,0.26883 V1.16187 L1.33752,0.78567 C1.32408,0.77601 1.3053,0.77904 1.29564,0.79251 C1.28598,0.80595 1.28901,0.8247 1.30248,0.83439 L1.86,1.23576 V1.32 c0,0.03312 -0.02688,0.06 -0.06,0.06 z'/%3E%3C/svg%3E");
    width: 1.33em;
}

/* ============================= */
/* SKIP LINK           */
/* ============================= */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    background-color: var(--color-dark);
    color: #fff;
    padding: 10px;
    z-index: 999;
}

/* ============================= */
/* STRUCTURE DU HEADER           */
/* ============================= */
#header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    grid-template-rows: 40px 100px;
    min-height: var(--header-height);
    background: #fff;
    border-bottom: 1px solid var(--color-soft-gray);
    z-index: 10001;
}

.site-description {
    height: var(--site-description-height);
    background-color: var(--color-dark);
    color: var(--color-base-classic);
    font-size: 1.4rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    letter-spacing: 0.1rem;
    margin: 0;
}

/* Les fameux ronds Armor/Argoat */
.site-description::before, .site-description::after {
    content: "";
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}
.site-description::before { 
    background-color: var(--color-blue); 
}

.site-description::after  { 
    background-color: var(--color-teal); 
}

.header-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

/* Structure 3 colonnes du header */
.header-content > div:first-child {
  justify-self: start; /* Le menu à gauche */
  padding-left: 5rem;
}

.header-content > div:nth-child(2) {
  justify-self: center; /* Le logo au milieu */
}

.header-content > div:last-child {
  justify-self: end; /* La recherche à droite */
  padding-right: 5rem;
}

#logo img {
    width: clamp(180px, 15vw, 250px);
    height: auto;
}

#toggle-main-menu, #search-access {
    background: none;
    border: none;
    font-size: var(--fs-p);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* bouton ouvrir menu */
#toggle-main-menu {
    background: none;
    border: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--fs-p);
    text-transform: uppercase;
    font-weight: 600;
    /*margin-left: 25%;*/
}

#toggle-main-menu i {
    font-size: 1.5em;
    line-height: 1;
}

/* Logo */
#logo {
    margin: 0;
}

#logo img {
    display: block;
    width: 250px;
    height: auto;
    max-height: 74px;
}

/* bouton ouvrir recherche */
#search-access {
    background: none;
    border: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--fs-p);
    text-transform: uppercase;
    font-weight: 600;
    /*margin-right: 25%;*/
}

#search-access i {
    font-size: 1.5em; 
    line-height: 1;
}

/* ===============================
   Reset & accessibilité
   =============================== */
[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid #04baee !important;
    outline-offset: 3px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* ===============================
   Menu plein écran
   =============================== */
#main-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 20, 20, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    z-index: 100002;
    display: flex;
    flex-direction: column;
}

/* Fallback si backdrop-filter n'est pas supporté : fond quasi opaque */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #main-menu {
        background: rgba(20, 20, 20, 0.95);
    }
}

/* ===============================
   Colonnes
   =============================== */
.menu-col {
    display: block;
    position: absolute;
    width: 33.333%;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid #ddd;
}

.menu-col li {
    display: flex;
    margin: 0;
}

.menu-col li + li {
    margin-top: 0.25rem;
}

.menu-col > li:first-child {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    margin-bottom: 2rem;
}

.menu-col > li:first-child::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 90%;
    margin: 0 5%;
    height: 1px;
    background: RGBA(255, 255, 255, 0);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 15%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.85) 85%, rgba(255, 255, 255, 0) 100%);
}

/* Couleurs de niveaux RGAA */
.menu-level-1 { 
    z-index: 1012;
    background: #1d1d1b; 
    color: #ffffff;
}

.menu-level-2 { 
    z-index: 1011;
    background: var(--color-dark-teal);
    color: var(--color-base-classic);
}

.menu-level-3 { 
    z-index: 1010;
    background: var(--color-dark-blue); 
    color: var(--color-base-classic);
}

/* ===============================
   Listes
   =============================== */
.menu-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-col ul[hidden] {
    display: none !important;
}

/* ===============================
   Liens & boutons
   =============================== */
#main-menu a, #main-menu button, #menu-acces-rapide button {
    flex: 1;
    padding: 0.75rem 2rem;
    font-size: var(--fs-p);
    font-weight: 600;
    line-height: 1.6;
    text-transform: uppercase;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: inherit;
    text-decoration: none ;
}

#main-menu li:first-child button {
    width: auto;
    display: flex;
    align-items: center;
    gap: 1em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 1rem 1rem 0.8rem;
}

#main-menu li:first-child button:hover {
    background: rgba(255, 2555, 255, 0.75);
}

#main-menu a:hover, #main-menu button:hover, #main-menu a:focus-visible, #main-menu button:focus-visible {
    background-color: #ed7203;
    color: #1d1d1b;
}

#main-menu .menu-col li.menu-item-has-children button {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#main-menu .menu-col li.menu-item-has-children button span {
    position: relative;
    flex: 1;
}

#main-menu .menu-col li.menu-item-has-children button span::after {
    content: '';
    position: absolute;
    right: -1px;
    height: 100%;
    width: 1px;
    background: RGBA(255, 255, 255, 0);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 15%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.85) 85%, rgba(255, 255, 255, 0) 100%);
}

#main-menu .menu-col li.menu-item-has-children button:hover span::after {
    content: '';
    position: absolute;
    right: -1px;
    height: 100%;
    width: 1px;
    background: RGBA(0, 0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.85) 85%, rgba(0, 0, 0, 0) 100%);
}

.menu-level-1 > li:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.menu-level-1 > li:last-child ul {
    display: flex;
}

.menu-level-1 > li:last-child ul::before {
    content: '';
    position: absolute;
    top: -5px;
    width: 90%;
    margin: 0 5%;
    height: 1px;
    background: RGBA(255, 255, 255, 0);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 15%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.85) 85%, rgba(255, 255, 255, 0) 100%);
}

.menu-level-1 > li:last-child ul li {
    flex-grow: 1;
}

.menu-level-1 > li:last-child ul li:first-child, .menu-level-1 > li:last-child ul li:last-child {
    position: relative;
}

.menu-level-1 > li:last-child ul li:first-child::before {
    content: '';
    position: absolute;
    right: -1px;
    height: 90%;
    width: 1px;
    margin: 5% 0;
    background: RGBA(255, 255, 255, 0);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 15%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.85) 85%, rgba(255, 255, 255, 0) 100%);
}

.menu-level-1 > li:last-child ul li:last-child::before {
    content: '';
    position: absolute;
    left: -1px;
    height: 90%;
    width: 1px;
    margin: 5% 0;
    background: RGBA(255, 255, 255, 0);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 15%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.85) 85%, rgba(255, 255, 255, 0) 100%);
}

#main-menu .menu-level-1 > li:last-child ul li a, #main-menu .menu-level-1 > li:last-child ul li button {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: scale(0.9);
}

#main-menu .menu-level-1 > li:last-child ul li a i, #main-menu .menu-level-1 > li:last-child ul li a span, #main-menu .menu-level-1 > li:last-child ul li button i, #main-menu .menu-level-1 > li:last-child ul li button span {
    align-self: center;
}

#menu-acces-rapide {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 33.33%;
    z-index: 1010;
    background: var(--color-dark-teal);
    color: var(--color-base-classic);
    transform: translateX(-100%);
}

#menu-acces-rapide > button {
    display: flex;
    align-items: center;
    gap: 1em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 1rem auto;
}

#menu-acces-rapide > button:hover {
    background: rgba(255, 255, 255, 0.75);
    color: var(--color-dark);
}

#menu-acces-rapide ul {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: max-content 100px;
    grid-gap: 30px 10px;
    overflow-y: auto;
    height: 100%;
    width: 100%;
}

#menu-acces-rapide ul li {
    position: relative;
    min-height: 100px;
    text-align: center;
}

#menu-acces-rapide ul li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-size: var(--fs-p);
    font-weight: 600;
}

#menu-acces-rapide ul li a span.one-clic-illu {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--color-base-classic);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

#menu-acces-rapide ul li a:hover span.one-clic-illu {
    background-color: var(--color-orange);
}

#menu-acces-rapide ul li a img {
    max-width: 100%;
    width: 65%;
    height: 65%;
}

#menu-acces-rapide ul li a span.one-clic-title {
    margin: 1rem auto;
    text-transform: uppercase;
    color: var(--color-base-classic);
    padding: 0.25rem 1rem;
    border-radius: 4px;
}

#menu-acces-rapide ul li a:hover span.one-clic-title {
    background-color: var(--color-orange);
    color: var(--color-dark);
}

/* main */ 
#main-content {
    background: var(--color-base-classic);
    padding-top: calc(var(--header-height) + 1rem);
}

.actualite, .evenement {
    margin: 0 auto 2em auto;
    max-width: 80vw;
    background-color: var(--color-base-classic);
    padding: 0 1.5em 1.5em 1.5em;
}

.evenement-infos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 2rem;
}

.evenement-infos--date {
    padding: 0.25em 0.9em;
    background: var(--primary-color);
    color: var(--color-dark);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 4px;
}

.evenement-infos--lieu {
    font-style: normal;
    color: var(--color-dark-teal);
}

.evenement-retour {
    margin-top: 2rem;
    text-align: center;
}

.builder-section {
    background-color: var(--section-bg, var(--color-base-classic));
}
.builder-section--bg-default { --section-bg: var(--color-base-classic); }
.builder-section--bg-alt     { --section-bg: var(--color-ui-soft-gray); }
.builder-section--bg-soft    { --section-bg: var(--color-soft-gray); }

/* Fond personnalisé sombre : texte clair */
.builder-section--dark { color: #fff; }
.builder-section--dark a { color: inherit; text-decoration: underline; }

.builder-section__inner {
    padding: 1.5em;
    max-width: 80vw;
    margin: 0 auto;
}

.builder-section h2, .builder-section h3 {
    align-items: center;
    display: flex;
    gap: .5em;
    line-height: 1.2;
}

.builder-section h2::before, .builder-section h3::before {
    background-color: var(--primary-color, #04baee);
    content: "";
    display: inline-block;
    flex-shrink: 0;
    height: .6em;
    -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 11 14%27%3E%3Cpath d=%27M10.583.015H0V3.27h10.001zM0 13.826h8.096l.582-3.227H0zM0 8.535h9.049l.582-3.228H0z%27/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 11 14%27%3E%3Cpath d=%27M10.583.015H0V3.27h10.001zM0 13.826h8.096l.582-3.227H0zM0 8.535h9.049l.582-3.228H0z%27/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    transform: translateY(.02em);
    width: .55em;
}

.builder-section h2 {
    font-weight: 600;
    margin-bottom: var(--spacing);
}

.builder-section h3 {
    font-weight: 500;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em 0;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}


#en-un-clic header {
    color: var(--color-base-classic);
}

.section-header p.intro {
    max-width: 50%;
    margin: 0 auto;
}

/* footer */
.footer-infos {
    background-color: #ebebeb;
}

.footer-infos-content {
    display: flex;
    gap: 5vw;
    margin: 0 10vw;
    padding: 2vh 0 0 0;
}

.footer-infos-content > div {
    flex: 1;
}

#footer-logo {
    width: auto;
    height: 90px;
}

.footer-infos h2 {
    padding: 0;
    margin: 0;
    font-size: 3.5rem;
    line-height: 1.1em;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #000;
    text-transform: uppercase;
}

.footer-infos a.mail, .footer-infos a[href^="mailto:"], .footer-infos a[href^="tel:"] {
    font-weight: 700;
    color: #000;
}

.footer-infos-legals ul {
    display: flex;
    list-style-type: none;
    margin: 0 15vw;
}

.footer-infos-legals ul li {
    flex: 0 0 25%;
}

.footer-infos-legals ul li:not(:last-child) {
    border-right: 1px solid #2D989E;
}

.footer-infos-legals ul li a {
    display: block;
    text-align: center;
    color: #000;
}

.footer-partners {
    background-color: #000;
}

.footer-partners-content {
    display: flex;
    align-items: center;
    gap: 2.5vw;
    margin: 0 10vw;
    padding: 2vh 0;
}

.footer-partners-content h2 {
    display: inline;
    padding: 0.1em 0.3em;
    background-color: white;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    font-size: 2rem;
    color: black;
    text-transform: uppercase;
}

.footer-partners-content a img {
    width: 160px;
    height: 70px;
}