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

:root {
    --black: #0b0b0b;
    --yellow: #f5b800;
    --text: #202020;
    --muted: #666666;
    --line: #e5e5e5;
}


/* ==================================================
   BASE
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text);
    font-family: "Google Sans", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1370px, calc(100% - 48px));
    margin: 0 auto;
}


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

.site-header {
    background: var(--black);
    color: #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.brand {
    display: flex;
    flex-direction: column;
}

.brand b {
    font-size: 38px;
    line-height: .9;
    letter-spacing: -1px;
}

.brand small {
    margin-top: 9px;
    color: #cccccc;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.header-trust {
    display: flex;
    align-items: center;
}

.trust {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 27px;
}

.trust + .trust {
    border-left: 1px solid #333333;
}

.trust svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--yellow);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust span {
    display: flex;
    flex-direction: column;
}

.trust b {
    font-size: 12px;
}

.trust small {
    margin-top: 3px;
    color: #bbbbbb;
    font-size: 11px;
}


/* ==================================================
   BANDEAU ARRIVÉE LEBONCOIN / EBAY
================================================== */

.arrival {
    display: grid;
    grid-template-columns: 1.35fr .95fr .9fr;
    margin-top: 25px;
    overflow: hidden;
    border: 1px solid #e7c25c;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.arrival-zone {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 146px;
    padding: 24px 28px;
}

.arrival-zone + .arrival-zone {
    border-left: 1px solid #dddddd;
}

.arrival-ok {
    background: linear-gradient(110deg, #fffdf6, #ffffff);
}

.round-icon {
    display: grid;
    flex: 0 0 52px;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--yellow);
}

.round-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #111111;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arrival p {
    margin: 0;
    color: #626262;
    font-size: 14px;
    line-height: 1.45;
}

.arrival h1 {
    margin: 5px 0 0;
    font-size: 30px;
    line-height: 1.05;
}

.arrival-price {
    background: #fffaf0;
}

.percent {
    display: grid;
    flex: 0 0 50px;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 2px solid var(--yellow);
    border-radius: 13px;
    font-size: 26px;
    font-weight: 700;
}

.arrival-price h2 {
    margin: 0 0 7px;
    font-size: 17px;
}

.arrival-source {
    display: block;
}

.marketplaces {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 3px 0 10px;
}

.lbc {
    color: #ff5a19;
    font-size: 23px;
}

.ebay {
    color: #2864c7;
    font-size: 23px;
}

.arrival-source strong {
    display: block;
    margin-top: 9px;
    font-size: 12px;
}


/* ==================================================
   TITRE DE SECTION
================================================== */

.chooser {
    padding: 27px 0 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.section-title i {
    flex: 1;
    height: 1px;
    background: var(--yellow);
}

.section-title h2 {
    margin: 0;
    font-size: 24px;
    text-align: center;
}


/* ==================================================
   CARTES UNIVERS
================================================== */

.cards {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 30px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 514px;
    overflow: hidden;
    border-radius: 17px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 58%;
    padding: 40px 40px 150px;
}


/* ==================================================
   CARTE ÉCHELLES
================================================== */

.card-ladder {
    color: #ffffff;
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .05) 0%,
            rgba(0, 0, 0, .15) 30%,
            rgba(0, 0, 0, .72) 50%,
            rgba(0, 0, 0, .96) 67%,
            rgba(0, 0, 0, 1) 100%
        ),
        url("../images/assets/echelle.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #080808;
}

.card-ladder .card-body {
    margin-left: auto;
}


/* ==================================================
   CARTE CACHE CLIM
================================================== */

.card-clim {
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .98) 0%,
            rgba(255, 255, 255, .92) 42%,
            rgba(255, 255, 255, .35) 65%,
            rgba(255, 255, 255, .05) 100%
        ),
        url("../images/assets/cache-clim.jpg");
    background-size: auto 110%;
    background-position: right 20% center;
    background-repeat: no-repeat;
    background-color: #f4f1eb;
}

.card-clim .card-body {
    width: 57%;
}


/* ==================================================
   CONTENU DES CARTES
================================================== */

.card-icon {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    margin-bottom: 17px;
    border: 1px solid var(--yellow);
    border-radius: 50%;
}

.card-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--yellow);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card h3 {
    margin: 0 0 18px;
    font-size: 43px;
    line-height: .98;
}

.card h3 span {
    display: block;
    white-space: nowrap;
}

.card h3 em {
    display: block;
    color: var(--yellow);
    font-style: normal;
    white-space: nowrap;
}

.intro {
    min-height: 68px;
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.5;
}

.card ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.card li {
    margin: 8px 0;
    font-size: 14px;
}

.card li::before {
    margin-right: 9px;
    color: var(--yellow);
    content: "✓";
    font-weight: 700;
}


/* ==================================================
   CTA
================================================== */

/* Le CTA est désormais calé en bas de CHAQUE carte,
   juste au-dessus du bandeau domaine, et non plus dans
   la petite colonne de texte. */
.cta-zone {
    position: absolute;
    right: 32px;
    bottom: 74px;
    left: 32px;
    z-index: 5;
    display: flex;
    margin: 0;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease;
}

.cta.yellow {
    background: var(--yellow);
    color: #111111;
}

.cta.dark {
    background: #111111;
    color: #ffffff;
}

.cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, .16);
}


/* ==================================================
   NOM DE DOMAINE EN BAS DES CARTES
================================================== */

.domain {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    background: #090909;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}


/* ==================================================
   "OU" CENTRAL
================================================== */

.or {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.or span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #202020;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}


/* ==================================================
   AVANTAGES
================================================== */

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 13px;
}

.benefits div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 28px;
}

.benefits div + div {
    border-left: 1px solid var(--line);
}

.benefits strong {
    font-size: 12px;
}

.benefits span {
    color: #666666;
    font-size: 13px;
}


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

.site-footer {
    background: var(--black);
    color: #dddddd;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 72px;
    font-size: 13px;
}

.footer-inner a:hover {
    color: var(--yellow);
}


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

@media (max-width: 1050px) {

    .header-trust {
        display: none;
    }

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

    .arrival-zone + .arrival-zone {
        border-top: 1px solid #dddddd;
        border-left: 0;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .card-body {
        width: 62%;
        padding-bottom: 150px;
    }

    .card-ladder .card-body {
        width: 62%;
    }

    .card-clim .card-body {
        width: 62%;
    }

    .or {
        top: 50%;
    }

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

    .benefits div:nth-child(3) {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .benefits div:nth-child(4) {
        border-top: 1px solid var(--line);
    }
}


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

@media (max-width: 700px) {

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

    .header-inner {
        justify-content: center;
        height: 78px;
    }

    .brand b {
        font-size: 32px;
    }

    .arrival-zone {
        padding: 20px;
    }

    .arrival h1 {
        font-size: 25px;
    }

    .section-title i {
        display: none;
    }

    .section-title h2 {
        width: 100%;
        font-size: 21px;
    }

    .card {
        min-height: 530px;
    }

    .card-body {
        width: 100%;
        margin: 0;
        padding: 30px 24px 150px;
    }

    .card-ladder .card-body {
        width: 100%;
        margin: 0;
        background: rgba(0, 0, 0, .35);
    }

    .card-clim .card-body {
        width: 100%;
        background: rgba(255, 255, 255, .75);
    }

    .card h3 {
        font-size: 36px;
    }

    .card h3 span {
        white-space: normal;
    }

    .card h3 em {
        white-space: normal;
    }

    .intro {
        min-height: 0;
    }

    .cta-zone {
        right: 18px;
        bottom: 70px;
        left: 18px;
    }

    .cta {
        min-height: 54px;
        padding: 0 16px;
        font-size: 12px;
        white-space: normal;
    }

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

    .benefits div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        padding: 18px 0;
    }
}


/* ==================================================
   CARTES ENTIEREMENT CLIQUABLES
================================================== */

.card-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.card-link:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

.card-link:hover .cta {
    transform: translateY(-1px);
}
