/* =========================================================
   LOTERIE-NATIONALE.COM
   STYLES PREMIUM - VERSION 2
   ========================================================= */

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

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

html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;
    background: #f3f5f7;
    color: #26313c;

    line-height: 1.6;
}


/* =========================================================
   CONTENEUR
   ========================================================= */

.container {
    width: calc(100% - 48px);
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;

    background: #ffffff;

    border-top: 3px solid #075fc9;
    border-bottom: 1px solid #e2e6ea;

    box-shadow: 0 1px 8px rgba(20, 35, 50, 0.03);
}

.site-header .container {
    max-width: 1180px;

    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navigation {
    width: 100%;
    min-height: 70px;

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

    gap: 8px 30px;

    padding: 16px 0;
}

.navigation a {
    position: relative;

    display: inline-block;

    padding: 7px 0;

    color: #344250;

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

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #075fc9;

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

    transition: transform 0.2s ease;
}

.navigation a:hover {
    color: #075fc9;
}

.navigation a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   MAIN
   ========================================================= */

main {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
}


/* =========================================================
   PAGE SEO
   ========================================================= */

.seo-page {
    display: block;

    width: 100%;

    margin: 0;
    padding: 58px 0 72px;
}


/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */

.seo-page > .container {
    max-width: 940px;

    padding: 58px 72px;

    background: #ffffff;

    border: 1px solid #e0e5e9;
    border-radius: 10px;

    box-shadow:
        0 8px 30px rgba(24, 39, 54, 0.045);

    text-align: left;
}


/* =========================================================
   EN-TETE ARTICLE
   ========================================================= */

.article-header {
    margin: 0 0 46px;

    padding: 0 0 38px;

    text-align: center;

    border-bottom: 1px solid #e5e9ed;
}

.article-header .eyebrow {
    margin: 0 0 12px;

    color: #075fc9;

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

    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.article-header h1 {
    margin: 0 0 20px;

    color: #1d2a36;

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

    line-height: 1.12;

    letter-spacing: -0.02em;
}

.article-header .intro {
    max-width: 720px;

    margin: 0 auto;

    color: #5c6873;

    font-size: 18px;

    line-height: 1.75;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.seo-page section {
    width: 100%;

    margin: 0 0 48px;
    padding: 0;
}

.seo-page section:last-of-type {
    margin-bottom: 0;
}


/* =========================================================
   TITRES
   ========================================================= */

.seo-page h2 {
    position: relative;

    margin: 0 0 20px;

    padding-left: 16px;

    color: #1d2a36;

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

    line-height: 1.3;
}

.seo-page h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 4px;
    bottom: 4px;

    width: 3px;

    background: #075fc9;

    border-radius: 2px;
}

.seo-page h3 {
    margin: 0 0 12px;

    color: #263746;

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

    line-height: 1.35;
}


/* =========================================================
   TEXTE
   ========================================================= */

.seo-page p {
    margin: 0 0 18px;

    color: #4d5964;

    font-size: 16.5px;

    line-height: 1.8;
}

.seo-page p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LIENS
   ========================================================= */

.seo-page a {
    color: #075fc9;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

.seo-page a:hover {
    color: #004a9f;

    text-decoration: underline;
}


/* =========================================================
   LISTES
   ========================================================= */

.seo-page ul {
    margin: 22px 0 0;

    padding-left: 24px;
}

.seo-page li {
    margin: 0 0 12px;

    padding-left: 5px;

    color: #4d5964;

    font-size: 16.5px;

    line-height: 1.7;
}


/* =========================================================
   CARTES DES JEUX
   ========================================================= */

.game-list {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;

    margin-top: 28px;
}

.game-card {
    position: relative;

    min-width: 0;

    margin: 0;
    padding: 27px 26px 25px;

    background: #f8fafc;

    border: 1px solid #e1e6eb;

    border-radius: 8px;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.game-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: #075fc9;

    border-radius: 8px 0 0 8px;
}

.game-card:hover {
    transform: translateY(-2px);

    border-color: #cfd8e0;

    box-shadow: 0 8px 20px rgba(25, 43, 60, 0.06);
}

.game-card h3 {
    margin: 0 0 13px;

    color: #253443;

    font-size: 20px;
}

.game-card p {
    margin: 0 0 17px;

    color: #5b6670;

    font-size: 15.5px;

    line-height: 1.7;
}

.game-card a {
    display: inline-block;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   BLOC DOMAINE A VENDRE
   ========================================================= */

.domain-sale {
    position: relative;

    width: 100%;

    margin-top: 58px;

    padding: 32px 34px;

    background: #f5f8fc;

    border: 1px solid #d9e2ea;
    border-left: 4px solid #075fc9;

    border-radius: 8px;
}

.domain-sale h2 {
    margin-bottom: 16px;

    padding-left: 0;

    font-size: 23px;
}

.domain-sale h2::before {
    display: none;
}

.domain-sale p {
    margin-bottom: 10px;

    font-size: 16px;
}

.domain-sale strong {
    color: #1d2a36;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    display: block;

    width: 100%;

    margin: 0;
    padding: 30px 0;

    background: #ffffff;

    border-top: 1px solid #e1e5e9;
}

footer .container {
    max-width: 1180px;

    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    text-align: center;
}

footer p {
    margin: 5px 0;

    color: #74808b;

    font-size: 13px;

    line-height: 1.7;
}

footer a {
    color: #596875;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

footer a:hover {
    color: #075fc9;

    text-decoration: underline;
}


/* =========================================================
   PAGE D'ACCUEIL
   Ces règles concernent uniquement le .container
   directement placé dans body.
   ========================================================= */

body > .container {
    max-width: 700px;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 45px 40px;

    background: #ffffff;

    text-align: center;

    border: 1px solid #e5e5e5;

    border-radius: 8px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body > .container h1 {
    margin: 0 0 25px;

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

    line-height: 1.4;

    color: #222;
}

body > .container p {
    margin: 10px 0;

    font-size: 17px;

    line-height: 1.6;

    color: #555;
}

body > .container a {
    color: #007bff;

    font-weight: 600;

    text-decoration: none;
}

body > .container a:hover {
    text-decoration: underline;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 800px) {

    .container {
        width: calc(100% - 32px);
    }

    .navigation {
        gap: 8px 20px;
    }

    .seo-page {
        padding: 38px 0 50px;
    }

    .seo-page > .container {
        width: calc(100% - 32px);

        padding: 42px 34px;
    }

    .article-header h1 {
        font-size: 36px;
    }

    .article-header .intro {
        font-size: 17px;
    }

    .game-list {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .container {
        width: calc(100% - 22px);
    }

    .navigation {
        gap: 8px 15px;

        padding: 14px 0;
    }

    .navigation a {
        font-size: 13px;
    }

    .seo-page {
        padding: 20px 0 35px;
    }

    .seo-page > .container {
        width: calc(100% - 18px);

        padding: 30px 21px;

        border-radius: 7px;
    }

    .article-header {
        margin-bottom: 32px;

        padding-bottom: 27px;
    }

    .article-header .eyebrow {
        font-size: 12px;
    }

    .article-header h1 {
        font-size: 30px;

        letter-spacing: -0.01em;
    }

    .article-header .intro {
        font-size: 16px;
    }

    .seo-page section {
        margin-bottom: 38px;
    }

    .seo-page h2 {
        font-size: 23px;
    }

    .seo-page h3 {
        font-size: 19px;
    }

    .seo-page p,
    .seo-page li {
        font-size: 15.5px;
    }

    .game-list {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .game-card {
        padding: 23px 21px;
    }

    .domain-sale {
        margin-top: 45px;

        padding: 26px 22px;
    }

    footer {
        padding: 24px 0;
    }

    footer .container {
        width: calc(100% - 22px);
    }

    body > .container {
        width: calc(100% - 22px);

        padding: 35px 20px;
    }

    body > .container h1 {
        font-size: 24px;
    }

    body > .container p {
        font-size: 16px;
    }
}
