﻿* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f4f9fc;

    color: #244352;
}


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

.site-header {
    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #dcebf2;
}

.header-top {
    position: relative;

    height: 70px;

    display: flex;
    align-items: center;

    padding: 0 20px;
}


/* Logo gauche */

.logo-main {
    display: flex;
    align-items: center;

    height: 100%;
}

.logo-main img {
    max-height: 55px;
    width: auto;

    display: block;
}


/* Logo central */

.logo-section {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
}

.logo-section img {
    max-height: 60px;
    max-width: 220px;

    width: auto;
}


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

.product-page {
    width: 100%;
}


/* =========================================
   HERO
========================================= */

.product-hero {
    padding: 70px 20px 80px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #dff5fc,
            #eef9fd
        );

    border-bottom: 1px solid #cce8f2;
}

.hero-content {
    max-width: 800px;

    margin: auto;
}

.hero-badge {
    display: inline-block;

    padding: 7px 15px;

    margin-bottom: 18px;

    border-radius: 20px;

    background: #ffd45a;

    color: #604900;

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

    letter-spacing: 1px;
}

.product-hero h1 {
    margin: 0 0 20px;

    font-size: clamp(34px, 5vw, 56px);

    line-height: 1.05;

    color: #174a63;
}

.hero-intro {
    max-width: 650px;

    margin: auto;

    font-size: 20px;

    line-height: 1.55;

    color: #4c6978;
}

.hero-button {
    display: inline-block;

    margin-top: 30px;

    padding: 14px 28px;

    border-radius: 10px;

    background: #219ebc;

    color: white;

    text-decoration: none;

    font-size: 17px;
    font-weight: 800;

    box-shadow:
        0 5px 12px rgba(33, 158, 188, .25);

    transition:
        transform .2s ease,
        background .2s ease;
}

.hero-button:hover {
    background: #1885a0;

    transform: translateY(-2px);
}


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

.product-section {
    max-width: 1100px;

    margin: auto;

    padding: 60px 20px;
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-heading > span {
    font-size: 40px;
}

.section-heading h2 {
    margin: 10px 0;

    font-size: 34px;

    color: #174a63;
}

.section-heading p {
    margin: 0;

    font-size: 17px;

    line-height: 1.6;

    color: #5c7480;
}


/* =========================================
   FEATURES
========================================= */

.feature-grid {
    display: grid;

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

    gap: 25px;

    margin-bottom: 65px;
}

.feature-card {
    overflow: hidden;

    background: white;

    border-radius: 18px;

    border: 1px solid #dcebf2;

    box-shadow:
        0 5px 20px rgba(45, 95, 115, .09);
}

.feature-image {
    height: 250px;

    background: #eef8fc;
}

.feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.feature-content {
    padding: 25px;
}

.feature-category {
    color: #219ebc;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;
}

.feature-content h3 {
    margin: 8px 0 10px;

    font-size: 23px;

    color: #174a63;
}

.feature-content p {
    margin: 0;

    line-height: 1.55;

    color: #5d727c;
}


/* =========================================
   BLOCS
========================================= */

.product-block {
    margin-top: 65px;
}

.block-heading {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 30px;
}

.block-icon {
    flex-shrink: 0;

    width: 58px;
    height: 58px;

    display: flex;

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

    border-radius: 15px;

    background: #e1f5fb;

    font-size: 30px;
}

.block-heading h2 {
    margin: 0 0 5px;

    color: #174a63;

    font-size: 28px;
}

.block-heading p {
    margin: 0;

    color: #637984;
}


/* =========================================
   PDF
========================================= */

.pdf-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 15px;
}

.pdf-card {
    overflow: hidden;

    background: white;

    border-radius: 12px;

    border: 1px solid #dcebf2;

    text-align: center;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .07);
}

.pdf-card img {
    display: block;

    width: 100%;

    aspect-ratio: 3 / 4;

    object-fit: cover;
}

.pdf-card h3 {
    margin: 12px 5px 15px;

    font-size: 15px;

    color: #315b6c;
}

.pages-badge {
    width: fit-content;

    margin: 25px auto 0;

    padding: 9px 18px;

    border-radius: 20px;

    background: #fff3c4;

    color: #705500;

    font-weight: 800;
}


/* =========================================
   JEUX
========================================= */

.games-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.game-card {
    overflow: hidden;

    background: white;

    border-radius: 16px;

    border: 1px solid #dcebf2;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .08);

    text-align: center;
}

.game-image {
    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #eaf7fb;
}

.game-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.game-card h3 {
    margin: 15px;

    color: #174a63;

    font-size: 21px;
}


/* =========================================
   RESUME
========================================= */

.pack-summary {
    margin-top: 70px;

    padding: 45px 30px;

    text-align: center;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #e4f7fc,
            #f7fcfe
        );

    border: 1px solid #c9e9f3;
}

.summary-icon {
    font-size: 45px;
}

.pack-summary h2 {
    margin: 12px 0;

    color: #174a63;

    font-size: 30px;
}

.pack-summary p {
    max-width: 650px;

    margin: auto;

    line-height: 1.6;

    color: #5d737d;
}


/* =========================================
   ACHAT
========================================= */

.purchase-section {
    margin-top: 70px;

    padding: 50px 30px;

    border-radius: 22px;

    background: white;

    border: 2px solid #cce8f2;

    box-shadow:
        0 8px 30px rgba(45, 95, 115, .10);
}

.purchase-heading {
    text-align: center;

    margin-bottom: 35px;
}

.purchase-badge {
    display: inline-block;

    padding: 7px 14px;

    border-radius: 20px;

    background: #ffd45a;

    color: #604900;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;
}

.purchase-heading h2 {
    margin: 15px 0 8px;

    color: #174a63;

    font-size: 34px;
}

.purchase-heading p {
    margin: 0;

    color: #657b85;
}


/* =========================================
   FORMULAIRE
========================================= */

.purchase-form {
    max-width: 700px;

    margin: auto;

    padding: 30px;

    border-radius: 16px;

    background: #f5fafc;

    border: 1px solid #d7eaf1;
}

.purchase-form h3 {
    margin: 0 0 25px;

    color: #174a63;

    font-size: 22px;
}

.form-grid {
    display: grid;

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

    gap: 18px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;

    font-weight: 700;

    color: #315b6c;
}

.form-group input {
    width: 100%;

    padding: 12px 14px;

    border-radius: 8px;

    border: 1px solid #bfd8e2;

    background: white;

    color: #243f4b;

    font-size: 16px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group input:focus {
    border-color: #219ebc;

    box-shadow:
        0 0 0 3px rgba(33, 158, 188, .12);
}


/* =========================================
   PAIEMENT
========================================= */

.payment-button {
    width: 100%;

    margin-top: 25px;

    padding: 14px;

    border: 0;

    border-radius: 9px;

    background: #219ebc;

    color: white;

    font-size: 17px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.payment-button:hover {
    background: #1885a0;

    transform: translateY(-2px);
}


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

.site-footer {
    margin-top: 50px;

    padding: 30px;

    text-align: center;

    background: #174a63;

    color: #d8edf5;
}


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

@media (max-width: 800px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .pdf-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 550px) {

    .header-top {
        height: 58px;

        padding: 0 10px;
    }

    .logo-main img {
        max-height: 42px;
        max-width: 120px;
    }

    .logo-section img {
        max-height: 45px;
        max-width: 150px;
    }

    .product-hero {
        padding: 45px 18px 55px;
    }

    .hero-intro {
        font-size: 17px;
    }

    .product-section {
        padding: 40px 12px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .pdf-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .block-heading {
        align-items: flex-start;
    }

    .block-heading h2 {
        font-size: 23px;
    }

    .purchase-section {
        padding: 30px 15px;
    }

    .purchase-form {
        padding: 22px 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

}
.launch-offer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    max-width: 600px;
    margin: 22px auto 12px;
    padding: 12px 20px;

    border-radius: 10px;

    background: #fff1c7;
    border: 2px solid #ffd45a;

    color: #604900;

    font-size: 16px;
    font-weight: 800;
}

.offer-label {
    color: #d87900;
    font-size: 13px;
    letter-spacing: .5px;
}

.offer-old-price {
    color: #8b8b8b;
    text-decoration: line-through;
    font-weight: 600;
}

.offer-arrow {
    color: #d87900;
}

.offer-price {
    color: #e4572e;
    font-size: 22px;
    font-weight: 900;
}

.pack-price {
    margin: 8px 0 12px;

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

    color: #219ebc;
}

@media (max-width: 550px) {
    .launch-offer {
        gap: 6px;
        padding: 10px 8px;
        font-size: 13px;
    }

    .offer-label {
        font-size: 11px;
    }

    .offer-price {
        font-size: 20px;
    }
}