/* =========================================================
   HOME - RESET LAYOUT SIMONE
   ========================================================= */

#secondary {
    display: none !important;
}

#primary {
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.site-main {
    padding: 0 !important;
    margin: 0 !important;
}

.site-content {
    background: #0f0f0f !important;
    padding: 0 !important;
    max-width: 100% !important;
}


/* =========================================================
   HOME - WRAPPER GLOBAL
   ========================================================= */

.pgrid-wrap {
    max-width: 100%;
    margin: 0;
    padding: 1rem 8px 3rem;
}


/* =========================================================
   HOME - TEXTE SEO HAUT
   ========================================================= */

.seo-top {
    max-width: 1150px;
    margin: 0 auto 2.5rem;
    padding: 2.4rem 3rem;
    background: #1a1a1a;
    border-radius: 14px;
    border-left: 5px solid #e8334a;
    text-align: center;
}

.seo-top h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 3vw, 3.3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.seo-top h1 span {
    color: #e8334a;
}

.seo-top p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #d6d6d6;
    line-height: 1.8;
    max-width: 950px;
    margin: 0 auto 1.3rem;
}


/* =========================================================
   HOME - BADGES SEO HAUT
   ========================================================= */

.seo-top-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 1rem;
}

.seo-badge {
    display: inline-block;
    background: #e8334a;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 30px;
}

.seo-badge.outline {
    background: transparent;
    border: 1.5px solid #333;
    color: #aaa;
}


/* =========================================================
   HOME - HEADER GRILLE
   ========================================================= */

.pgrid-header {
    text-align: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #222;
}

.pgrid-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e8334a;
    margin: 0;
}


/* =========================================================
   HOME - GRILLE PROFILS
   ========================================================= */

.pgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.pcard {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #1a1a1a;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.pcard:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(232, 51, 74, .3);
}

.pcard img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    transition: transform .4s ease;
}

.pcard:hover img {
    transform: scale(1.08);
}

.pcard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .88) 0%,
        rgba(0, 0, 0, .2) 50%,
        transparent 100%
    );
}

.pcard-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem .9rem .9rem;
}

.pcard-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 .4rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pcard-tag {
    display: inline-block;
    background: #e8334a;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 30px;
}


/* =========================================================
   HOME - PAGINATION
   ========================================================= */

.pgrid-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pgrid-nav .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid #333;
    border-radius: 50%;
    color: #aaa;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    transition: all .2s;
}

.pgrid-nav .page-numbers:hover,
.pgrid-nav .page-numbers.current {
    background: #e8334a;
    border-color: #e8334a;
    color: #fff;
}

.pgrid-nav .page-numbers.prev,
.pgrid-nav .page-numbers.next {
    width: auto;
    padding: 0 16px;
    border-radius: 30px;
}


/* =========================================================
   HOME - TEXTE SEO BAS
   ========================================================= */

.seo-bottom {
    max-width: 1200px;
    margin: 3.5rem auto 1.5rem;
    padding: 3rem;
    background: #1a1a1a;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
}

.seo-bottom h2 {
    margin: 0 0 1.6rem;
    padding-bottom: .8rem;
    border-bottom: 3px solid #e8334a;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
}

.seo-bottom h3 {
    margin: 2.2rem 0 1rem;
    color: #e8334a;
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
}

.seo-bottom p {
    margin: 0 0 1.3rem;
    color: #d0d0d0;
    font-size: 21px;
    line-height: 1.9;
}

.seo-bottom strong {
    color: #fff;
    font-weight: 800;
}

.seo-bottom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 1.8rem;
}


/* =========================================================
   HOME - RESPONSIVE TABLETTE
   ========================================================= */

@media (max-width: 1100px) {
    .pgrid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* =========================================================
   HOME - RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .pgrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .seo-top {
        padding: 1.6rem 1.2rem;
    }

    .seo-top h1 {
        font-size: 1.85rem;
    }

    .seo-top p {
        font-size: 16px;
        line-height: 1.7;
    }

    .seo-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .seo-bottom {
        padding: 1.6rem 1.2rem;
    }

    .seo-bottom-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .seo-bottom h2 {
        font-size: 26px;
    }

    .seo-bottom h3 {
        font-size: 21px;
    }

    .seo-bottom p {
        font-size: 18px;
        line-height: 1.8;
    }
}

@media (max-width: 420px) {
    .pgrid {
        grid-template-columns: 1fr;
    }
}