/* ==========================
   RESET
========================== */

*{

    margin:0;
    padding:0;

    box-sizing:border-box;

}


body{

    min-height:100vh;

    background:#12120F;

    color:#12120F;

    font-family:'Montserrat', sans-serif;

}

/* ==========================
   PAGE ACTUALITÉS
========================== */

.actualites {
    min-height: 100vh;

    padding-top: 100px;

    background: #12120F;
}


/* ==========================
   INTRODUCTION
========================== */

.actualites-intro {
    position: relative;

    width: calc(100% - 80px);
    min-height: 250px;

    margin: 0 auto;

    padding: 42px 45px;

    background: #FFFDF9;

    color: #12120F;

    display: flex;
    align-items: center;
    justify-content: space-between;

    overflow: hidden;
}


.actualites-intro-text {
    max-width: 620px;
}


.actualites-intro h1 {
    margin-bottom: 14px;

    font-family: 'Montserrat', sans-serif;

    font-size: 38px;
    font-weight: 700;

    line-height: 1;
}


.actualites-intro p {
    max-width: 445px;

    font-family: 'Montserrat', sans-serif;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.5;

    text-align: justify;
}


/* ==========================
   CONSTRUCTION DÉCORATIVE
========================== */

.actualites-decoration {
    position: absolute;

    right: 30px;
    bottom: 12px;

    width: 275px;
    height: auto;

    object-fit: contain;
}


/* ==========================
   ZONE DES ARTICLES
========================== */

.actualites-content {
    width: calc(100% - 80px);

    min-height: 700px;

    margin: 8px auto 0;

    background: #B0A391;
}

/* ==========================
   GRILLE DES ACTUALITÉS
========================== */

.actualites-content {
    position: relative;

    width: calc(100% - 80px);
    min-height: 850px;

    margin: 8px auto 0;
    padding: 80px 120px 60px;

    background: #B0A391;
}

.news-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 400px));

    justify-content: center;

    gap: 110px;
}


/* ==========================
   CARTE ACTUALITÉ
========================== */

.news-card {
    position: relative;

    min-height: 465px;

    padding: 35px 28px 30px;

    background: #FFFDF9;

    border: 2px solid #B48A5A;

    color: #12120F;

    cursor: pointer;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.news-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 12px 25px rgba(18, 18, 15, .15);
}


.news-card h2 {
    min-height: 110px;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.45;
}


/* ==========================
   DATE
========================== */

.news-date {
    position: relative;

    margin: 8px 0 30px;

    padding: 7px 0;

    text-align: center;

    color: #6f6b64;

    font-size: 14px;

    border-top: 2px solid #77736d;
    border-bottom: 2px solid #77736d;
}


/* ==========================
   IMAGE
========================== */

.news-card img {
    display: block;

    width: 210px;
    height: 210px;

    margin: 0 auto;

    object-fit: contain;
}


/* ==========================
   SCOTCH
========================== */

.tape {
    position: absolute;

    z-index: 5;

    display: block;

    width: 30px;
    height: 60px;

    background: #B48A5A;

    opacity: .9;
}


.tape-top {
    top: -32px;
    left: 50%;

    transform: translateX(-50%);
}


/* ==========================
   MESSAGE BAS DE PAGE
========================== */

.news-coming {
    width: max-content;

    margin: 45px auto 0;

    padding: 6px 8px;

    color: #FFFDF9;

    font-size: 13px;
    font-weight: 600;

    border-top: 2px solid #FFFDF9;
    border-bottom: 2px solid #FFFDF9;
}

/* ==========================
   ARTICLE OUVERT
========================== */

.article-overlay {
    position: absolute;

    inset: 0;

    z-index: 20;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding: 80px 100px;

    background: #B0A391;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


.article-overlay.active {
    opacity: 1;
    visibility: visible;
}


.article-open {
    position: relative;

    width: min(900px, 100%);

    padding: 45px 40px 40px;

    background: #FFFDF9;

    border: 2px solid #B48A5A;

    color: #12120F;

    transform: scale(.96);

    transition: transform .3s ease;
}


.article-overlay.active .article-open {
    transform: scale(1);
}


.article-open h2 {
    margin-bottom: 30px;

    font-size: 22px;
    line-height: 1.4;
}


.article-date {
    margin: 0 100px 35px;

    padding: 7px;

    text-align: center;

    color: #6f6b64;

    border-top: 2px solid #77736d;
    border-bottom: 2px solid #77736d;
}


.article-body {
    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 35px;

    align-items: center;
}


.article-text p {
    margin-bottom: 20px;

    font-size: 14px;
    line-height: 1.55;

    text-align: justify;
}


.article-image {
    width: 100%;

    border-radius: 15px;
}

.article-footer-text {
    margin-top: 20px;
}

.article-footer-text p {
    margin-bottom: 18px;

    font-size: 14px;
    line-height: 1.55;

    text-align: justify;
}

.article-conclusion {
    margin-bottom: 0 !important;

    font-weight: 600;
    text-align: center !important;
}


/* SCOTCHS ARTICLE */

.article-tape {
    position: absolute;

    top: -20px;

    width: 28px;
    height: 75px;

    background: #B48A5A;
}


.article-tape-left {
    left: 15px;

    transform: rotate(45deg);
}


.article-tape-right {
    right: 15px;

    transform: rotate(-45deg);
}


/* FERMETURE */

.article-close {
    position: absolute;

    top: 20px;
    right: 55px;

    z-index: 10;

    padding: 0 0 4px;

    border: none;
    background: none;

    color: #12120F;

    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: color .3s ease;
}


/* SOULIGNEMENT */

.article-close::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: #B48A5A;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .3s ease;
}


/* SURVOL */

.article-close:hover {
    color: #B48A5A;
}

.article-close:hover::after {
    transform: scaleX(1);
}

.news-author {
    position: absolute;

    right: 20px;
    bottom: 15px;

    max-width: 300px;

    margin: 0;

    color: #77736D;

    font-size: 9px;
    font-weight: 400;
    line-height: 1.4;

    text-align: right;
}

.article-author {
    position: absolute;

    right: 20px;
    bottom: 15px;

    max-width: 450px;

    margin: 0;

    color: #77736D;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;

    text-align: right;
}

/* ==========================
   APPARITION PAGE ACTUALITÉS
========================== */

.actualites {
    animation: actualitesReveal 0.5s ease-out both;
}

@keyframes actualitesReveal {

    from {
        opacity: 0;
        filter: blur(6px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* ==========================
   ESPACEMENT INSTALLATION PWA
========================== */

.pwa-install {
    margin-top: 60px;
}