/*ACCUEIL REFONTE 2024*/

/* suppression de l'appel du bandeau en background */
body.ficheaccueil #bandeau{
    background:none;
}

.row--1 .card,.row--2 .card, .row--3 .card, .row--4 .card, .row--5 .card, .row--6 .card, .row--7 .card      {
    max-width: 80.000em;
    clear: both;
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding: 2em 0;
}

.row--3 .card {
    padding-bottom: 3em;
}

.row--4 {
    line-height: 1em;
    margin-top:-5em;
}

.row--4 .layout__slot {
    background-color: transparent;
    text-align: center;
}

/* Media query pour mobile */
@media screen and (max-width: 48rem) {
    .row--4 {
        margin-top:0;
    }

    .row--4 .layout__slot  {
        background-color: #dc0814;
    }

    .row--4 .layout__slot a{
        display: block;
        line-height: 2rem;
    }
}

.row--4 .layout__slot div  a::before {
    color:#fff !important;
}

.row--4 .layout__slot a {
    color:#fff !important;
    padding: 0 1em;
}

.row--4 .layout__slot a:hover {
    text-decoration: underline !important;
}

.row--2 .card {
    padding-bottom: 0;
}
.row--0 {
    max-width: 100%;
    margin-bottom:0;
}

.accueil h2.toolboxCard__title {
    line-height: 2em;
    margin-bottom: 1.28em;
}

/* ------------------------------------ */
/* titres des différents blocs de la HP */
/* ------------------------------------ */

/* 1 Carte UT Capitole */

.row--1 .layout__slot--1x0 {
    background-color: #bdbdbd;
}

@media all and (min-width: 48rem) {
    .row--1 .main-content {
        margin-top:-3em;
    }
}
.row--1 h2.toolboxCard__title::before {
    background-color: #181818;
    border-radius: 50%;
    color: #ffffff;
    content: "\e921";
    font-family: "icomoon" !important;
    font-size: 22px;
    font-weight: 100;
    margin-right: 18px;
    padding: 12px 14px 14px;
}

     /* Liens d'évitement pour l'accessibilité */
 .row--1 .skip-links {
     position: absolute;
     top: -40px;
     left: 6px;
     background: #000;
     color: #fff;
     padding: 8px 16px;
     text-decoration: none;
     z-index: 10000;
     border-radius: 0 0 4px 4px;
     font-size: 14px;
     font-weight: bold;
 }

.row--1 .skip-links:focus {
    top: 0;
}

/* Amélioration du focus visible pour l'accessibilité */
.row--1 *:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

/* Focus spécifique pour les segments SVG */
.row--1 .segment:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

.row--1 .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1280px;
}

.row--1 .main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    max-width: 1400px;
    height: 90%;
}

.row--1 .title-section {
    flex: 1;
    padding-right: 50px;
}

.row--1 .main-title {
    font-size: 3em !important;
    font-weight: 700;
    color: #cc020d; /* couleur rouge plus sombre pour accessibilité */
    line-height: 1.1;
    margin-bottom: 30px;
}

.row--1 .subtitle {
    font-size: 1.8em;
    color: #333;
    font-weight: 300;
    margin-bottom: 20px;
}

.row--1 .circular-diagram {
    flex: 1;
    position: relative;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row--1 .center-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.row--1 .center-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.9em;
    line-height: 1.1;
    border-radius: 8px;
}

.row--1 .center-logo img {
    width: 100px;
    height: 100px;
}


/* Nouvelle approche pour les labels avec positionnement responsive */
.row--1 .component-label {
    position: absolute;
    font-size: 1em;
    font-weight: 700;
    color: #333;
    text-align: center;
    line-height: 1.1;
    pointer-events: none;
    z-index: 5;
    width: 140px;
    /* Centrage par défaut */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Positionnement des labels avec transform pour un positionnement relatif au centre */
.row--1 .label-1 {
    transform: translate(-50%, -50%) translate(0px, 230px);
}

.row--1 .label-2 {
    transform: translate(-50%, -50%) translate(-200px, 120px);
}

.row--1 .label-3 {
    transform: translate(-50%, -50%) translate(-250px, -50px);
}

.row--1 .label-4 {
    transform: translate(-50%, -50%) translate(-100px, -200px);
}

.row--1 .label-5 {
    transform: translate(-50%, -50%) translate(100px, -210px);
}

.row--1 .label-6 {
    transform: translate(-50%, -50%) translate(230px, -50px);
}

.row--1 .label-7 {
    transform: translate(-50%, -50%) translate(200px, 120px);
}

/* Modal styles - Version modifiée */
.row--1 .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.row--1 .modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    height: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.row--1 .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #333;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.row--1 .close-modal:hover,
.row--1 .close-modal:focus {
    background: #666;
    transform: scale(1.1);
}

/* Partie gauche - Logo */
.row--1 .modal-left {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.row--1 .modal-logo-container {
    text-align: center;
}

.row--1 .modal-logo-large img{
    max-width: 300px;
    max-height: 300px;
}

/* Partie droite - Contenu */
.row--1 .modal-right {
    flex: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.row--1 .modal-title {
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.row--1 .modal-text {
    font-size: 1em;
    line-height: 1.5;
    color: #555;
    text-align: justify;
    margin-bottom: 30px;
    flex-grow: 1;
    overflow-y: auto;
}

.row--1 .modal-button {
    background: #e31e24;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-end;
}

.row--1 .modal-button:hover,
.row--1 .modal-button:focus {
    background: #c51e24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

/* FIX HOVER - Styles corrigés pour les segments */
.row--1 .segment {
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 1000;
}

/* Zones de hover spéciales pour Firefox */
.row--1 .hover-zone {
    pointer-events: visible !important;
    visibility: visible !important;
    cursor: pointer;
}

/* Fix spécifique Firefox */
@supports (-moz-appearance:none) {
    .row--1 .segment {
        pointer-events: auto !important;
    }

    .row--1 .hover-zone {
        pointer-events: visible !important;
        visibility: visible !important;
    }
}

/* Fallback pour tous navigateurs */
.row--1 .segment rect {
    pointer-events: all !important;
}

@media (hover: hover) and (pointer: fine) {
    .segment1:hover {
        transform: translate(330px,330px) rotate(180deg) translate(-100px,-280px) scale(1.3);
    }
    .segment2:hover {
        transform: translate(300px,345px) rotate(231.43deg) translate(-100px,-280px) scale(1.3);
    }
    .segment3:hover {
        transform: translate(270px,320px) rotate(282.86deg) translate(-100px,-280px) scale(1.3);
    }
    .segment4:hover {
        transform: translate(260px,290px) rotate(334.29deg) translate(-100px,-280px) scale(1.3);
    }
    .segment5:hover {
        transform: translate(285px,265px) rotate(385.71deg) translate(-100px,-280px) scale(1.3);
    }
    .segment6:hover {
        transform: translate(325px,265px) rotate(437.14deg) translate(-100px,-280px) scale(1.3);
    }
    .segment7:hover {
        transform: translate(348px,290px) rotate(488.57deg) translate(-100px,-280px) scale(1.3);
    }
}

/* Classe pour les éléments destinés uniquement aux lecteurs d'écran */
.row--1 .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Media queries responsive */
@media (max-width: 1200px) {


    .row--1 .main-content {
        flex-direction: column;
        text-align: center;
    }

    .row--1 .title-section {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .row--1 .main-title {
        font-size: 3.5em;
    }

    .row--1 .circular-diagram {
        width: 600px;
        height: 600px;
    }
}

@media (max-width: 768px) {
    .row--1 .main-title {
        font-size: 2.5em;
    }

    .row--1 .subtitle {
        font-size: 1.4em;
    }

    .row--1 .circular-diagram {
        width: 600px;
        height: 600px;
    }

    .row--1 .component-label {
        font-size: 0.8em;
        width: 110px;
    }

    /* Ajustement des labels pour 768px */
    .row--1 .label-1 {
        transform: translate(-50%, -50%) translate(0px, 200px);
    }
    .row--1 .label-2 {
        transform: translate(-50%, -50%) translate(-160px, 120px);
    }
    .row--1 .label-3 {
        transform: translate(-50%, -50%) translate(-220px, -50px);
    }
    .row--1 .label-4 {
        transform: translate(-50%, -50%) translate(-90px, -190px);
    }
    .row--1 .label-5 {
        transform: translate(-50%, -50%) translate(100px, -200px);
    }
    .row--1 .label-6 {
        transform: translate(-50%, -50%) translate(220px, -50px);
    }
    .row--1 .label-7 {
        transform: translate(-50%, -50%) translate(170px, 120px);
    }

    /* Modals responsive */
    .row--1 .modal-content {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
    }

    .row--1 .modal-left {
        padding: 30px;
    }

    .row--1 .modal-logo-large {
        font-size: 0.9em;
    }

    .row--1 .modal-logo-large img {
        max-width: 220px;
        max-height: 120px;
    }

    .row--1 .modal-right {
        padding: 30px;
    }

    .row--1 .modal-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .row--1 .modal-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .row--1 .circular-diagram {
        width: 460px;
        height: 460px;
        margin-top: -4em;
        margin-bottom: -5em;
    }

    .row--1 .title-section {
        margin-bottom: 0;
    }


    .row--1 .center-circle {
        width: 150px;
        height: 150px;
    }
    .row--1 .component-label {
        font-size: 0.7em;
        width: 90px;
    }

    /* Ajustement des labels pour 480px */
    .row--1 .label-1 {
        transform: translate(-50%, -50%) translate(0px, 165px);
    }
    .row--1 .label-2 {
        transform: translate(-50%, -50%) translate(-130px, 95px);
    }
    .row--1 .label-3 {
        transform: translate(-50%, -50%) translate(-150px, -35px);
    }
    .row--1 .label-4 {
        transform: translate(-50%, -50%) translate(-65px, -150px);
    }
    .row--1 .label-5 {
        transform: translate(-50%, -50%) translate(70px, -155px);
    }
    .row--1 .label-6 {
        transform: translate(-50%, -50%) translate(150px, -35px);
    }
    .row--1 .label-7 {
        transform: translate(-50%, -50%) translate(140px, 95px);
    }

    .row--1 .modal-content {
        width: 95%;
        margin: 20px;
    }

    .row--1 .modal-logo-large {
        font-size: 0.8em;
    }

    .row--1 .modal-logo-large img {
        max-width: 200px;
        max-height: 100px;
    }

    .row--1 .modal-title {
        font-size: 1.5em;
    }

    .row--1 .modal-text {
        font-size: 0.9em;
    }
}


/* 2 Carte actu */

.actuality-card h2 {
    font-family: "Roboto Slab",sans-serif;
    font-size: 1.563em;
    font-weight: bold;
    line-height: 1.7em;
    margin-bottom: 1em;
    text-transform: uppercase;
}

.actuality-card h2::before {
    background-color: #181818;
    border-radius: 50%;
    color: #ffffff;
    content: "\e953";
    font-family: "icomoon" !important;
    font-size: 24px;
    font-weight: 100;
    margin-right: 18px;
    padding: 13px 13px 13px 15px;
}
@media all and (max-width:48rem) {
    .actuality-card {
        padding-right: 0 !important;
    }
    .actuality-card__list {
        padding-left:0;
        }
}

/* 3 carte recherche formation */

.rechercheFormationCard.rechercheFormationCard .rechercheFormationCard__title {
    padding-left:0;
}


/* 4 carte pour liens sous la recherche formation */

.row--4 h2.toolboxCard__title {
    display:none;
}

/* 5 carte paroles d'experts */
.row--5 h2.toolboxCard__title::before {
    background-color: #181818;
    border-radius: 50%;
    color: #ffffff;
    content: "\e907";
    font-family: "icomoon" !important;
    font-size: 22px;
    font-weight: 100;
    margin-right: 18px;
    padding: 12px 14px 14px;
}

/* 6 carte paroles d'étudiants */

.row--6 .layout__slot--6x0 {
    background-color: #bdbdbd;
}
.row--6 h2.toolboxCard__title::before {
    background-color: #181818;
    border-radius: 50%;
    color: #ffffff;
    content: "\e972";
    font-family: "icomoon" !important;
    font-size: 22px;
    font-weight: 100;
    margin-right: 18px;
    padding: 12px 14px 14px;
}
.accueil .row--6 .layout__slot--6x0 a[class^="type_rubrique"]{
    color: #000 !important;
}
/* 7 carte chiffres clés */
.row--7 h2.toolboxCard__title::before {
    background-color: #181818;
    border-radius: 50%;
    color: #ffffff;
    content: "\e986";
    font-family: "icomoon" !important;
    font-size: 22px;
    font-weight: 100;
    margin-right: 18px;
    padding: 12px 14px 14px;
}

/* Requete portraits */

.liste-portraits {
    display: flex;
    gap: 2.5em;
    flex-wrap: wrap;
}

.liste-portraits li {
    position: relative;
    width: 400px;
    max-width: 100%;
    display: flex;
    flex: 0 0 auto;
}

a.portrait_composante:link, a.portrait_composante:visited, a.portrait_composante:hover, a.portrait_composante:focus, a.portrait_composante:active {
    background: rgba(0,0,0,0.5);
    position: absolute;
    color:#fff;
    font-weight:bold;
    right: 0;
    margin: 2px;
    padding: 0.5em 1em;
    text-transform: uppercase;
}

/* Media query pour mobile */
@media screen and (max-width: 48rem) {
    .liste-portraits {
        flex-direction: column; /* Plus sémantique que display: block */
        gap: 1.5em; /* Gap plus petit sur mobile */
    }

    .liste-portraits li {
        max-width: none; /* Supprime la limitation de largeur */
        margin:auto;
    }
}

/* Media query pour tablettes (optionnel) et petit écran */
@media screen and (min-width: 48rem) and (max-width: 80rem) {
    .liste-portraits {
        gap: 1.5em;
    }

    .liste-portraits li {
        width: calc(32.8% - 0.75em); /* 3 colonnes sur tablette */
    }
}

/* Media query pour Smartphone */
@media screen and (max-width: 48rem)  {
    .accueil ul.liste-portraits li {
        max-width: 100%;
    }
}


.accueil .liste-portraits li div.vignette_deco {
    margin-bottom:0;
}
.liste-portraits li .vignette_deco2 {
    background:rgba(0,0,0,0.5);
    color:#fff;
    margin: 0.1em;
    padding: 0.5em;
    position:absolute;
    bottom: 0;
}

.liste-portraits .nom-portrait {
    font-weight:bold;
    padding-bottom: 1em;
    padding-top: 0.5em;
    color: #fff;
    font-size: 1em;
}

/* ligne recherche formation */

body.accueil  .row--3 #form_recherche {
    text-align: center;
}

body.accueil  .row--3 .form-submit {
    display: inline;
    position: relative;
    top: 3.4em;
}

@media screen and (max-width: 48rem) {
    body.accueil  .row--3 .form-submit {
        display: block;
    }
}
/* ------------- */
/* chiffres clés */
/*---------------*/

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Container principal */
.infographic-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* Grille principale */
.infographic-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5em;
    width: 100%;
}

/* Blocs de base */
.bloc {
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-radius: 4px;
    min-height: 100px;
}

/* Couleurs des blocs */
.bloc-red {
    background-color: #dc0814;
}

.bloc-dark {
    background-color: #434343;
}

.bloc-light {
    background-color: #f4f4f4;
    color: #333;
}

/* Tailles des blocs */
.bloc-single {
    grid-column: span 1;
    grid-row: span 1;
}

.bloc-tall-3 {
    grid-column: span 1;
    grid-row: span 3;
}

.bloc-double-height {
    grid-column: span 1;
    grid-row: span 2;
}

/* Typographie - Chiffres */
.number-xlarge {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;

}

.number-large {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;

}

.number-medium {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;

}

/* Typographie - Texte */

.text-large {
    font-size: 1.25rem;
    font-weight: bold;
}


.text-medium {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1em;
    line-height: 1.3;
}

.text-small {
    font-size: 1rem;
    font-size:bold;
    line-height: 1.4;
}

.text-small div {
    margin-bottom: 0.2em;
}

.membres div {
    margin-top: 1em;
    text-align: left;
}
.bloc-double-height .text-small {
    text-align: left;
}

/* Disposition spécifique de la grille */
.infographic-grid {
    grid-template-areas:
        "bloc1 bloc2 bloc3 bloc4"
        "bloc5 bloc2 bloc3 bloc4"
        "bloc7 bloc2 bloc6 bloc8";
}

.bloc:nth-child(1) { grid-area: bloc1; } /* 1229 */
.bloc:nth-child(2) { grid-area: bloc2; } /* 7 membres - toute la hauteur (3 blocs) */
.bloc:nth-child(3) { grid-area: bloc5; } /* 750 */
.bloc:nth-child(4) { grid-area: bloc3; } /* 9 domaines - hauteur de 2 blocs */
.bloc:nth-child(5) { grid-area: bloc4; } /* 3 campus - hauteur de 2 blocs */
.bloc:nth-child(6) { grid-area: bloc7; } /* 650 */
.bloc:nth-child(7) { grid-area: bloc6; } /* + de 21000 - sous le 9 */
.bloc:nth-child(8) { grid-area: bloc8; } /* 135 - sous le 3 */

/* Responsive */
@media (max-width: 1024px) {
    .infographic-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2em;
        grid-template-areas:
            "bloc1 bloc2 bloc3"
            "bloc5 bloc2 bloc4"
            "bloc7 bloc6 bloc8";
    }

    .bloc-double-height {
        grid-row: span 1;
    }

    .number-xlarge { font-size: 3.5rem; }
    .number-large { font-size: 2.5rem; }
    .number-medium { font-size: 2rem; }
}

@media (max-width: 768px) {
    .infographic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
        grid-template-areas:
            "bloc1 bloc3"
            "bloc2 bloc2"
            "bloc5 bloc4"
            "bloc7 bloc9"
            "bloc6 bloc8";
    }
    .bloc>div>div {
        text-align:center;
    }
    .bloc-tall-3 {
        grid-row: span 1;
    }

    .bloc-double-height {
        grid-row: span 1;
    }

    .number-xlarge { font-size: 3rem; }
    .number-large { font-size: 2rem; }
    .number-medium { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .infographic-grid {
        grid-template-columns: 1fr;
        gap: 1em;
        grid-template-areas:
            "bloc1"  /* 1229 */
            "bloc5"  /* 750 */
            "bloc7"  /* 650 */
            "bloc2"  /* 7 membres */
            "bloc3"  /* 9 domaines */
            "bloc6"  /* + de 21000 */
            "bloc4"  /* 3 campus */
            "bloc8"; /* 135 */
    }

    .bloc-wide {
        grid-column: span 1;
    }

    .number-xlarge { font-size: 2.5rem; }
    .number-large { font-size: 2rem; }
    .number-medium { font-size: 1.5rem; }

    .text-medium { font-size: 1rem; }
    .text-small { font-size: 1rem; }

}
/* autres surcharges */

body.accueil  .row--3 #form_recherche select, body.accueil  .row--3 #form_recherche input[type="text"] {
    min-width:20em;
}
body.accueil  .row--3 .rechercheFormationCard.rechercheFormationCard .form-button {
    background-color: #fff;
    color:#dc0814;
}

body.accueil  .row--3 h2::before {
    background-color:#fff;
    color:#dc0814;
}
body.accueil .row--3{
    max-width: 100%;
    clear: both;
    position: relative;
    width: 100%;
    background-color:#dc0814;
}

body.accueil .layout__slot--3x0 {
    width:80em;
    display:block;
    margin:auto;
    background:none;
}

body.accueil #form_recherche label, body.accueil #form_recherche .label {
    color:#fff;
}


body.accueil .rechercheFormationCard {
    background:none;
}

body.accueil .layout__slot--3x0 .rechercheFormationCard.rechercheFormationCard .rechercheFormationCard__title{
    color:#fff;
}

body.accueil  .rechercheFormationCard.rechercheFormationCard .form-field {
    display:inline-grid;
    margin: 1em 2em 2em 0em;
}
/* Media query pour mobile */
@media screen and (max-width: 48rem) {
    body.accueil  .rechercheFormationCard.rechercheFormationCard .form-field {
        margin: 1em 2em 2em 1em;
    }
}
body.accueil .rechercheFormationCard.rechercheFormationCard [for="MOTS_CLEFS"] {
    display:inline !important;
}
body.accueil #form_recherche label,body.accueil #form_recherche .label {
    width:100%;
    padding-bottom: 1em;
}

/* Carte actualité */

.actuality-card__grid {
    gap: 1rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 48rem) {
    .actuality-card__grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

.actuality-card__push {
    grid-column-start: auto;
    grid-column-end: auto;
}
@media screen and (min-width: 48rem) {
    .actuality-card__push {
        grid-column-end: span 6;
    }
}

.actuality-card__push-content {
    background-color: #F4F4F4;
    padding: 1.5rem;
}

.actuality-card__push-link {
    color: #fff;
    text-decoration: none;
}
.actuality-card__push-link:hover, .actuality-card__push-link:active {
    color: #fff;
}
.actuality-card__push-link:visited {
    color: #fff;
}

.actuality-card__push-image {
    margin-top: 0.5em;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.actuality-card__push-image .figure,
.actuality-card__push-image img {
    aspect-ratio: 16 / 9;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.actuality-card__push-time {
    color:#666;
    display: inline-block;
    margin-bottom: 1rem;
}

.actuality-card__push-title {
    font-size: 1.5rem;
}

.actuality-card__push-resume {
    display:none;
}
@media screen and (min-width: 48rem) {
    .actuality-card__push-title {
        font-size: 2rem;
    }
}

.actuality-card__list {
    grid-column-start: auto;
    grid-column-end: auto;
    list-style:none;
}
@media screen and (min-width: 48rem) {
    .actuality-card__list {
        grid-column-start: span 6;
        grid-column-end: span 6;
    }
}

.actuality-card__item {
    border-top: solid 1px grey;
    padding-top: 1rem;
}
@media screen and (min-width: 48rem) {
    .actuality-card__item {
        border-top: none;
        padding-top: 0;
    }
}
.actuality-card__item:first-of-type {
    border-top: none;
}

@media screen and (min-width: 48rem) {
    .actuality-card__item:last-of-type .actuality-card__resume {
        border-bottom: none;
    }
    .actuality-card__item:first-of-type .actuality-card__resume {
        border-top: none;
    }
}

.actuality-card__link {
    color: #000;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
@media screen and (min-width: 48rem) {
    .actuality-card__link {
        flex-direction: row;
        gap: 1rem;
    }
}
.actuality-card__link:visited {
    color: #000;
}
.actuality-card__link:hover, .actuality-card__title:hover {
    text-decoration: none !important;
}

.actuality-card__image {
    width: 100%;
}
@media screen and (min-width: 48rem) {
    .actuality-card__image {
        margin: .5rem 0;
        max-width: 12rem;
    }
}
.actuality-card__image .figure,
.actuality-card__image img {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.actuality-card__time {
    color: #666;
    font-size: 0.875rem;
}

.actuality-card__title {
    font-size: 1.125rem;
}

.actuality-card__resume {
    padding: .5rem 0;
    width: 100%;
}
@media screen and (min-width: 48rem) {
    .actuality-card__title {
        font-size: 1.625rem;
    }

}
@media screen and (max-width: 48rem) {
    .actuality-card__resume {
    background-color: #F4F4F4;
    padding: 1.5rem;
    }
}

@media screen and (min-width: 48rem) {
    .actuality-card__resume {
        border-top: solid 1px grey;
    }
}
.actuality-card--allactus {
    text-align: right;
}
.actuality-card--allactus a, .actuality-card--allactus a:active, .actuality-card--allactus a:hover, .actuality-card--allactus a:visited, .actuality-card--allactus a:focus {
    color: #666;
    text-decoration: none;
}
.actuality-card--allactus::before {
    content: "// ";
    color: #DC0814;
}
/* Carte Visuelle */

.visual-card {
    background-color: #fff;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 105em rgba(0, 0, 0, 0.4), inset 0 40vh 10vh rgba(0, 0, 0, 0.4);
    display: flex;
    font-weight: bold;
    flex-direction: column;
    height: 60vh;
    justify-content: flex-end;
    margin-bottom: 0;
    min-height: 35rem;
    padding-bottom: 4rem;
}
@media screen and (min-width: 48rem) {
    .visual-card {
        height: calc(90vw * 0.48);
        justify-content: center;
        padding-bottom: 0;
    }
}
@media screen and (min-width: 48rem) {
    .visual-card .container-wrapper {
        max-width: 30rem;
        margin: auto;
    }
}
@media screen and (min-width: 60rem) {
    .visual-card .container-wrapper {
        max-width: 48rem;
    }
}
@media screen and (min-width: 80rem) {
    .visual-card .container-wrapper {
        max-width: 60rem;
        margin: 0 auto;
        padding: 0 1rem;
        position: relative;

    }
}

.visual-card__title,
.visual-card__hook {
    color: #fff;
    text-align: center;
}

.visual-card__title {
    font-size: 1rem;
}
@media screen and (min-width: 48rem) {
    .visual-card__title {
        font-size: 1.125rem;
    }
}

.visual-card__title::before {
    content: none;
}

.visual-card__hook {
    font-family: "Roboto Slab", arial, "Helvetica Neue", helvetica, "Bitstream Vera Sans", sans-serif;
    font-size: 1.6875rem;
    line-height: 120%;
    margin-bottom: 5rem;
}
@media screen and (min-width: 48rem) {
    .visual-card__hook {
        font-size: 3.125rem;
    }
}

/* Carte accés direct */

.directacces-card {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    position: absolute;
    top: 3rem;
    right: 0;
}
@media screen and (min-width: 48rem) {
    .directacces-card {
        top: 12rem;
    }
}

@media screen and (min-width: 60rem) {
    .directacces-card {
        top: 8rem;
    }
}
@media screen and (min-width: 80rem) {
    .directacces-card {
        top: 12rem;
    }
}

.directacces-card__link {
    background-color: #dc0814;
    background-position: center left .75rem;
    background-repeat: no-repeat;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    font-family: "Roboto Slab", arial, "Helvetica Neue", helvetica, "Bitstream Vera Sans", sans-serif;
    padding: .5rem 1rem .5rem 2rem;
    text-decoration: none;
}
.directacces-card__link:hover, .directacces-card__link:active {
    color: #fff;
}
.directacces-card__link:visited {
    color: #fff;
}

/* fin refonte HP 2024 */