/***
 Template Name: Groupama
 Description: CSS - Biper studio
***/

/* Typôs */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


::selection {
    background-color: #e30613;
    color: #ffffff;
}

.box-swiper,
.swiper-container {
    overflow: hidden !important;
    max-width: 100%;
}

body p {
    font-family: "Montserrat", sans-serif;
}

.noirgan{
    color:#101828 !important;
}

.btn-bordeaux {
    background-color: #CE1432;
    color: white;
}

.btn-bordeaux:hover {
    background-color: #505050;
    color: white;
}

.txt-bordeaux {
    color: #CE1432;
}


a.text-heading-4:hover {
    color: #CE1432 !important;
}

#scrollUp {
    background-color: #b13b3c;
}


.tag-1 {
    background: linear-gradient(135deg, #E63946 0%, #CE1432 35%, #8B2420 70%, #5C1F1A 100%);
    color: white;
    text-transform: uppercase;
    border-radius: 0px;
    padding: 14px 28px;
    font-size: 15px;
    line-height: 15px;
    font-family: "Montserrat", sans-serif;
    display: inline-block;
    font-weight: 600;
}
.tag-1:hover{
    color: white;
}
.tag-2 {
    background-color: white;
    color: #CE1432;
    text-transform: uppercase;
    border-radius: 0px;
    padding: 14px 28px;
    font-size: 15px;
    line-height: 15px;
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;


}

.bg_1 {
    background: linear-gradient(135deg, #E63946 0%, #CE1432 35%, #8B2420 70%, #5C1F1A 100%);
}


p, content-detail {
    font-size: 16px;
    line-height: 22px;
    margin-top: 10px;
    font-family: "Montserrat", sans-serif;

}

.text-body-lead-large {
    font-size: 22px;
    line-height: 26px;
    font-family: "Montserrat", sans-serif;

}

.text-heading-2 {
    font-size: 34px !important;
    line-height: 36px !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: gray;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 10px;
}

.text-heading-2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 80px;
    height: 5px;
    background-color: #CE1432;
}

.text-heading-2-white {
    font-size: 34px !important;
    line-height: 36px !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: white;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
    margin-bottom: 10px;
}

.text-heading-2-white::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 80px;
    height: 5px;
    background-color: white;
}

a {
    color: #101828;
}

a:hover {
    color: #CE1432;
}

h1 {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 38px !important;
    line-height: 42px !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.text-display-3 {
    font-size: 38px !important;
    line-height: 42px !important;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    letter-spacing: 0%;

}

h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

.h2-underline {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 36px;
    font-weight: 400;

}

.h2-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px; /* ajuste selon ton goût */
    height: 5px; /* épaisseur du trait */
    width: 0%;
    background-color: #CE1432; /* ton rouge */
    transition: width 1s ease-out;
}

.h2-underline.is-visible::after {
    width: 20%; /* longueur du trait : ajuste à la largeur souhaitée */
}

h4{
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    padding-top: 20px;
}


.text-heading-2.underline-center {
    display: block;
    text-align: center;
}

.text-heading-2.underline-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.bordure_bas {
    margin-top: 25px;
    margin-bottom: 25px;
    border-bottom: 25px solid #CE1432;
    border-radius: 0 0 6px 6px; /* coins bas légèrement arrondis pour casser la ligne droite */
    padding-bottom: 0px; /* petit espace entre l'image et le trait */
    width: 100%
}

.btn {
    padding: 14px 40px;
}

.btn.btn-default {
    color: #101828;
    background-color: #F2F4F7;
    border-radius: 0px;
    font-size: 16px;
    line-height: 22px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.img-monogramme {
    position: relative;
    display: inline-block;
    width: 100%;
}

.img-monogramme img {
    display: block;
    width: 100%;
}

.img-monogramme::before {
    /*content: "";*/
    /*position: absolute;*/
    /*bottom: 10px; !* distance depuis le haut de l'image *!*/
    /*left: 5px; !* distance depuis le bord gauche *!*/
    /*width: 150px; !* largeur du monogramme, ajuste selon le rendu voulu *!*/
    /*height: 150px; !* respecte le ratio 303x365 ≈ 0.83 (largeur/hauteur) *!*/
    /*background-image: url('../../images/carre-3D.png');*/
    /*background-size: contain;*/
    /*background-repeat: no-repeat;*/
    /*pointer-events: none; !* pour ne pas gêner un clic/lien éventuel sur l'image *!*/
}


.site-copyright,.site-copyright p{
    font-size: 14px;
    line-height: 16px;
    font-family: "Montserrat", sans-serif;
    color: #5f6b7a;
}

.text-heading-6 {
    font-family: "Montserrat", sans-serif !important;
}

.btn {
    font-family: "Montserrat", sans-serif !important;
}

.card-grid-style-4 .grid-4-img::before {
    background-color: #CE1432;
}

.card-grid-style-4 .grid-4-img.color-bg-2::before {
    background-color: #E1E1E1;
}

.bg-6 {
    background-color: #E5E6E7 !important;
}

.bg-5 {
    /*background-color: #CE1432 !important;*/
    background: linear-gradient(135deg, #E63946 0%, #5C1F1A 100%);

}

.banner-hero {
    padding: 50px 0px 20px 0px;
    position: relative;
}


.banner-hero.banner-1 {
    background: linear-gradient(135deg, #a8a8a8 0%, #ffffff 75%);
}

.bg-6 {
    background: linear-gradient(135deg, #a8a8a8 0%, #ffffff 75%);

}


.banner-hero.sommaire {
    background-color: #E5E6E7 !important;
}

.banner-hero.banner-1::after {

    .banner-hero.banner-1::after {
        /* content: ""; */
        /* position: absolute; */
        /* bottom: 0px; */
        /* left: 100px; */
        /* height: 400px; */
        /* width: 600px; */
        /* background: url(../../images/carre-3D.png) no-repeat !important; */
        /* background-size: cover; */
        background: none !important;
    }

    background: none !important;
}

.banner-hero.banner-1::before {
    display: none;
}

.section-box#begin {
    position: relative;
    z-index: 100;
}


.swiper-button-next, .swiper-button-prev {
    display: none;
}


.article-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
    position: relative;
    font-family: "Montserrat", sans-serif;

}


.article-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.25s ease;
    font-family: "Montserrat", sans-serif;

}

.article-nav-item:hover {
    color: #e30613;
}

.article-nav-arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s ease;
    color: #e30613;
}

/* la flèche glisse légèrement vers la direction de lecture au survol */
.article-nav-prev:hover .article-nav-arrow {
    transform: translateX(-5px);
}

.article-nav-next:hover .article-nav-arrow {
    transform: translateX(5px);
}

/* bloc sommaire mis en avant au centre */
.article-nav-sommaire {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #888;
    font-family: "Montserrat", sans-serif;

}

.article-nav-icon {
    width: 38px;
    height: 38px;
    border: 1px solid #e30613;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e30613;
    font-size: 16px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.article-nav-sommaire:hover .article-nav-icon {
    background-color: #e30613;
    color: #fff;
}


/* responsive : on empile proprement sur mobile */
@media (max-width: 600px) {

    .article-nav {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    body {
        padding-left: 10px;
        padding-right: 10px;
    }

    .article-nav {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .text-display-3 {
        font-size: 34px !important;
        line-height: 36px !important;
        font-family: "Montserrat", sans-serif;
        font-weight: 400;
        line-height: 66px;
        letter-spacing: 0%;

    }

    .text-heading-1 {
        font-family: "Onest", sans-serif;
        font-size: 35px;
        line-height: 35px;
        letter-spacing: 6px;
        color: white;
        font-weight: 400;
    }

    .text-intro {
        padding-top: 20px;
        font-family: "Onest", sans-serif;
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 2px;
        color: white;
        font-weight: 400;
    }

    .hero-block {
        position: relative;
        width: 100%;
        min-height: 325px;
        border-radius: 0px;
        overflow: hidden;
        display: flex;
        align-items: flex-end;
        color: white;
        padding-bottom: 5px;
        margin-top: 50px;
        margin-bottom: 60px;
    }


    .text-hero-2 {
        font-family: "Onest", sans-serif;
        font-size: 25px;
        line-height: 25px;
        letter-spacing: 3px;
        font-weight: 600;
        color: white;
        text-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);


    }

    .hero-block p {
        color: white;
        padding-top: 20px;
        padding-right: 20px;
        text-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
        display: none;
    }


    .text-heading-2 {
        font-size: 24px !important;
        line-height: 28px !important;
        letter-spacing: 1px;
        color: #004028;
        font-weight: 400;
    }

    .text-heading-2-white {
        font-size: 24px !important;
        line-height: 28px !important;
        letter-spacing: 1px;
        font-weight: 400;
    }

    .site-copyright {
        font-family: "Onest", sans-serif;
    }

    .h2-underline {
        position: relative;
        display: inline-block;
        margin-top: 30px;
        margin-bottom: 20px;
        font-size: 30px;
        line-height: 36px;
        text-transform: uppercase;
        font-weight: 400;
    }


    .banner-hero.banner-1::after {
        display: none;

    }

    .banner-hero {
        overflow: hidden;
    }
}


/* ====================================================================
   ==========   REPOSITIONNEMENT DU LOGO GAN DANS LE HEADER   =========
   ==================================================================== */

.container {
    position: relative;
}

/* Le logo Gan est sorti du flux flexbox (position: absolute ci-dessous),
   donc header-left peut garder son width:100% d'origine défini dans
   style.css. Ne pas le surcharger : header-nav a un width:100% calculé
   en pourcentage de header-left, et le passer en width:auto cassait
   ce calcul (logo réduit, header sans hauteur/padding). */

.header-right-gan {
    display: flex !important;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.header-right-gan a {
    display: flex !important;
}

/* Le burger du template d'origine est positionné par rapport au
   .container (top:45px fixe) ; on le recentre verticalement et on
   le rapproche du logo Gan, avec un léger espace entre les deux.
   :not(.burger-close) exclut la croix de fermeture du menu mobile :
   celle-ci passe en position:fixed (ancrée au viewport) et doit
   garder sa position d'origine en haut à droite, sinon elle hérite
   du top:50% + transform ci-dessous et se retrouve centrée à l'écran. */
.burger-icon:not(.burger-close) {
    top: 50%;
    transform: translateY(-50%);
    right: 95px;
}

.burger-icon.burger-close {
    top: 34px;
    right: 30px;
}


.banner-hero.banner-1 .banner-imgs img {
    position: absolute;
    bottom: 330px;
    right: 100px;
    left: 0px;
    max-width: 100%;
    z-index: 1;
    width: 150px;
}

.banner-hero {
    padding: 50px 0px 20px 0px;
    position: relative;
    height: auto;
}
@media (min-width:768px){
    .banner-hero {
        height: 300px;
    }
}
.img-responsive{
    height: auto;
}

.header {
    padding: 15px 0;
    float: left;
    width: 100%;
    position: relative;
}


.card-grid-style-4 .grid-4-img img {
    border-radius: 0px;
}

.card-grid-style-4 .grid-4-img::before {

    border-radius: 0px;
}

.footnotes {
    margin-top: 48px;
    font-size: 13px;
    color: #555;
    font-family: "Montserrat", sans-serif;
}

.footnotes ol {
    padding-left: 20px;
    list-style: none;

}

.footnotes li {
    margin-bottom: 0px;
    line-height: 1.3;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;

}

.footnotes a {
    color: #e30613; /* ou ta couleur d'accent */
    text-decoration: none;
    margin-left: 4px;
}

.footnotes a:hover {
    text-decoration: underline;
}

sup a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    color: #e30613;
    padding-left: 3px;
}

sup a:hover {
    text-decoration: underline;
}

ol {
    font-size: 16px;
    line-height: 22px;
    list-style: decimal;
    font-family: "Montserrat", sans-serif;
    padding-left: 35px;
    padding-bottom: 5px;
    padding-top: 15px;
}

ol li {
    padding-bottom: 10px;
}

ul {
    font-size: 16px;
    line-height: 22px;
    list-style-type: "— ";
    font-family: "Montserrat", sans-serif;
    padding-left: 35px;
    padding-bottom: 5px;
    padding-top: 15px;
}

ul li {
    padding-bottom: 10px;
}


i {
    font-style: italic;
}

/* TABLEAUX */
table {
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 22px;
    border: 1px dotted gray;
}

table thead {
   background-color: #CE1432;
    color: white;
    border: 1px dotted gray;
}

table thead tr th {
    padding: 5px;
    font-size: 16px;
    font-weight: 500;
}

table tr td {
    padding: 3px;
    border: 1px dotted gray;
}
.col-100 { width: 100%; }
.col-34 { width: 34%; }
.col-33 { width: 33%; }
.col-50 { width: 50%; }
.align-right { text-align: right; }
.align-left { text-align: left; }
.align-center { text-align: center; }
caption { text-align: left; font-weight: bold; font-size: 18px;caption-side: top; padding-bottom: 10px; }
/* WordPress V2 integration corrections */
.banner-hero.banner-1::after {
    content: none !important;
    background: none !important;
}

.entry-content ul,
.article-content ul {
    list-style-type: "— ";
    padding-left: 35px;
    padding-top: 15px;
}

.entry-content ol,
.article-content ol {
    list-style: decimal;
    padding-left: 35px;
    padding-top: 15px;
}

.entry-content table,
.article-content table {
    width: 100%;
}

.text-heading-2-white a,
.text-heading-2-white a:hover {
    color: #fff;
}

@media (min-width: 1200px) {
    .mt-lg-50 {
        margin-top: 50px;
    }
}
.site-copyright>p:first-child{
    margin-top:0;
}
.article-sources p{
    font-family: Chivo, sans-serif;
    font-weight: 500;
    font-size: 14px;
    margin:0;
}
.mobile-header-wrapper-style{
	width:380px;
}

/* Correctifs accessibilité RAWEB */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid currentColor !important;
    outline-offset: 3px;
}

a.lire {
    font-size: 120%;
}
