/* ==========================================================
   FONTS
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght:300;400;500;600;700&display=swap');

@font-face {
    font-family: 'NewNickel';
    src: url('../fonts/FONT-NewNickel-1.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================
   ROOT VARIABLES
========================================================== */

:root {
    --orange: #ff6600;
    --dark-bg: #131c26;
    --text-main: #222222;
    --text-muted: #555555;
    --bg-page: #fafafa;
    --white: #ffffff;
    --radius-card: 18px;
    --max-width: 1120px;
}

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

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

body {
    margin: 0;
    background: var(--bg-page);
    font-family: 'Barlow', sans-serif;
    color: var(--text-main);
}

h1, h2, h3 {
    font-family: 'NewNickel';
    font-weight: normal;
}

/* ==========================================================
   BUTTONS
========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 999px;
    background: var(--orange);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

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

.hero {
    padding: 40px 20px 100px;
    background: #fdfdfd;
}

.hero-top {
    max-width: var(--max-width);
    margin: 0 auto 20px;
}

.hero-logo {
    height: 48px;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Image superhéros */
.hero-left img {
    width: 100%;
    max-width: 1100px;
}

/* Texte */
.hero-right {
    text-align: right;
}

.hero-kicker {
    font-family: 'NewNickel';
    font-size: 40px;
    color: #000;
    margin: 0 0 10px;
}

.hero-title {
    font-family: 'NewNickel';
    font-size: 40px;
    line-height: 1.15;
    color: var(--orange);
    margin: 0 0 30px;
}

/* Image bpost */
.hero-bpost {
    width: 220px;
    display: block;
    margin-left: auto;
}

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

.section {
    padding: 110px 20px;
}

.section-inner {
    max-width: var(--max-width);
    margin: auto;
}

.section-white {
    background: #ffffff;
}

.section-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ==========================================================
   SECTION 2 — C’EST QUOI ?
========================================================== */

.section-text h2 {
    font-size: 30px;
    margin-bottom: 24px;
    font-family: 'NewNickel';
}

.highlight {
    color: var(--orange);
}

.benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}

.benefits li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.45;
    color: #000;
    font-family: 'Barlow';
}

.benefits li::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url("../images/icon-check-orange.svg") no-repeat center / contain;
    position: absolute;
    left: 0;
    top: 3px;
}

.section-visual img {
    width: 100%;
    max-width: 520px;
    display: block;
    margin-left: auto;
}

/* ==========================================================
   SECTION 3 — COMMENT OUVRIR VOTRE COMPTE
========================================================== */

.section-dark {
    background: var(--dark-bg);
    color: white;
    padding: 120px 20px;
}

.section-title-dark {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    font-family: 'NewNickel';
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Cartes */
.step-card {
    background: white;
    color: var(--text-main);
    border-radius: var(--radius-card);
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    text-align: center;
}

/* Numéros */
.step-number {
    font-family: 'NewNickel';
    font-size: 40px;
    color: var(--orange);
    margin-bottom: 18px;
}

/* Titres */
.step-card h3 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Barlow';
}

/* Textes */
.step-card p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.45;
    font-family: 'Barlow';
    color: var(--text-main);
}

/* Images réduites */
.step-visual img {
    /* width: 75%;
    max-width: 380px;*/
    margin: 0 auto;
    display: block;
    border-radius: var(--radius-card);
}

/* ===============================
   SECTION BPAID — TEXTE
================================ */

.bpaid-main {
    font-size: 18px;
    line-height: 1.45;
    color: #000;
    font-family: 'Barlow', sans-serif;
    margin-bottom: 20px;
}

.bpaid-main strong {
    font-weight: 700; /* Barlow bold pour 5€ en bonus */
}

.bpaid-conditions {
    font-size: 14px;
    line-height: 1.45;
    color: #949494; /* Couleur Figma */
    font-family: 'Barlow', sans-serif;
    margin-bottom: 28px;
}

/* ==========================================================
   FOOTER
========================================================== */
.footer {
    background: var(--dark-bg);
    padding: 32px 20px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Nickel */
.footer-logo {
    height: 28px;
}

/* Icônes */
.footer-right {
    display: flex;
    align-items: center;
    gap: 32px; /* 🔥 gros espacement horizontal */
}

.footer-right img {
    width: 30px;
    height: 30px;
    display: block;
}



/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 980px) {

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right {
        text-align: center;
    }

    .hero-bpost {
        margin: 20px auto 0;
    }

    .section-two-cols,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 20px;
    }

    .section-dark {
        padding: 90px 20px;
    }
}

@media (max-width: 600px) {

    .hero-title,
    .hero-kicker {
        font-size: 28px;
    }

    .section {
        padding: 60px 16px;
    }

    .section-text h2 {
        font-size: 26px;
    }

    .benefits li {
        font-size: 16px;
    }

    .step-card h3 {
        font-size: 20px;
    }

    .step-card p {
        font-size: 16px;
    }
}
