
/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    /* Couleurs */
    --color-black: #070808;
    --color-dark: #101213;
    --color-yellow: #ffd500;
    --color-green: #48d51c;
    --color-paper: #f5f5f1;
    --color-white: #ffffff;
    --color-text: #101214;
    --color-muted: #697074;

    /* Dimensions */
    --container-max: 1180px;

    /* Espacements */
    --container-padding: 42px;
}


/* =========================================================
   2. RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-paper);
    color: var(--color-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

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


/* =========================================================
   3. CONTENEUR
   ========================================================= */

.container {
    width: min(
        calc(100% - var(--container-padding)),
        var(--container-max)
    );

    margin-inline: auto;
}


/* =========================================================
   4. TOP BAR
   ========================================================= */

.top {
    height: 30px;
    background: #030404;
    color: #9da1a3;

    font-size: 9px;
    letter-spacing: 0.16em;
}

.top .container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top a {
    color: var(--color-white);
}


/* =========================================================
   5. HEADER / NAVIGATION
   ========================================================= */

.header {
    height: 80px;

    position: sticky;
    top: 0;
    z-index: 10;

    background: #080909;
    border-bottom: 1px solid #282b2c;
}

.nav {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--color-white);
}

.logo > span {
    color: var(--color-green);
    font-size: 31px;
}

.logo div {
    font-style: italic;
    line-height: 0.78;
}

.logo b,
.logo strong,
.logo small {
    display: block;
}

.logo b {
    font-size: 13px;
}

.logo strong {
    color: var(--color-yellow);
    font-size: 21px;
}

.logo small {
    font-size: 9px;
    letter-spacing: 0.2em;
}


/* Navigation */

nav {
    display: flex;
    align-items: center;
    gap: 27px;

    color: #000;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--color-yellow);
}

nav .cta {
    padding: 12px 15px;

    background: var(--color-yellow);
    color: #000;
}


/* Mobile menu */

.menu {
    display: none;

    background: none;
    border: 0;

    color: var(--color-white);
    font-size: 24px;
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 100px 0 85px;

    background: #080909;
    color: var(--color-white);
}


/* Texture */

.texture {
    position: absolute;
    inset: 0;

    opacity: 0.08;

    background: repeating-linear-gradient(
        115deg,
        #fff 0 1px,
        transparent 1px 9px
    );
}


/* Hero layout */

.hero-grid {
    position: relative;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 90px;

    align-items: center;
}


/* Hero text */

.eyebrow {
    color: var(--color-yellow);

    font-size: 10px;
    font-weight: 1000;
    letter-spacing: 0.2em;
}

.hero h1 {
    margin: 20px 0;

    font-size: clamp(52px, 7vw, 88px);
    line-height: 0.88;
    letter-spacing: -0.065em;

    text-transform: uppercase;
}

.hero h1 em {
    color: var(--color-yellow);
    font-style: normal;
}

.lead {
    max-width: 650px;

    color: #c7ccce;
    font-size: 18px;
}


/* Hero actions */

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;

    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 21px;

    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.06em;
}

.btn.yellow {
    background: var(--color-yellow);
    color: #000;
}

.phone {
    font-size: 22px;
    font-weight: 1000;
}


/* Hero statistics */

.hero-meta {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 28px;
}

.hero-meta b {
    font-size: 11px;
}

.hero-meta strong {
    color: var(--color-yellow);
    font-size: 24px;
}

.hero-meta small {
    display: block;

    margin-top: 2px;

    color: #777;
    font-size: 8px;
}

.hero-meta i {
    width: 1px;
    height: 38px;

    background: #444;
}


/* Hero card */

.hero-card {
    padding: 42px;

    border: 1px solid #444;

    background: linear-gradient(
        145deg,
        #151819,
        #090a0a
    );

    box-shadow: 12px 12px 0 var(--color-yellow);
}

.recycle {
    margin-bottom: 15px;

    color: var(--color-green);
    font-size: 55px;
}

.hero-card > span {
    color: #aaa;

    font-size: 9px;
    letter-spacing: 0.16em;
}

.hero-card h2 {
    margin: 12px 0;

    font-size: 44px;
    line-height: 0.92;
    letter-spacing: -0.05em;

    text-transform: uppercase;
}

.hero-card h2 em {
    color: var(--color-yellow);
    font-style: normal;
}

.line {
    width: 50px;
    height: 2px;

    margin: 22px 0;

    background: var(--color-yellow);
}

.hero-card p {
    color: #aaa;

    font-size: 11px;
    text-transform: uppercase;
}


/* =========================================================
   7. FACTS / STATISTIQUES
   ========================================================= */

.facts {
    background: var(--color-yellow);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.facts-grid > div {
    display: flex;
    gap: 11px;

    padding: 21px 15px;

    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.facts-grid b {
    font-size: 9px;
}

.facts-grid span {
    font-size: 10px;
    line-height: 1.25;
}

.facts-grid strong {
    display: block;

    font-size: 12px;
}


/* =========================================================
   8. AVANT / APRÈS
   ========================================================= */

.before-after {
    padding: 82px 0;
    background: #0b0c0c;
    color: var(--color-white);
}

.before-after-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 38px;
}

.before-after-head small {
    color: var(--color-yellow);
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: 0.16em;
}

.before-after-head h2 {
    margin: 8px 0 0;
    font-size: clamp(40px, 5vw, 63px);
    line-height: 0.9;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.before-after-head h2 em {
    color: var(--color-yellow);
    font-style: normal;
}

.before-after-head p {
    margin: 0;
    color: #aeb3b5;
    font-size: 15px;
}

.before-after-visual {
    margin: 0;
    padding: 8px;
    background: #171919;
    border: 1px solid #343738;
    box-shadow: 10px 10px 0 var(--color-yellow);
}

.before-after-visual img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   9. SECTIONS
   ========================================================= */

.section {
    padding: 105px 0;
}


/* Section header */

.head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: end;

    margin-bottom: 50px;
}

.head small,
.split small {
    color: #9c7100;

    font-size: 10px;
    font-weight: 1000;
    letter-spacing: 0.16em;
}

.head h2,
.split h2,
.contact h2 {
    margin: 8px 0 0;

    font-size: clamp(40px, 5vw, 63px);
    line-height: 0.9;
    letter-spacing: -0.06em;

    text-transform: uppercase;
}

.head h2 em,
.split h2 em,
.contact h2 em {
    color: #b37f00;
    font-style: normal;
}

.head p {
    margin: 0;

    color: var(--color-muted);
    font-size: 15px;
}


/* =========================================================
   11. CARDS
   ========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;

    background: #d7d9d5;
}

.cards article {
    min-height: 285px;

    padding: 30px 25px;

    background: var(--color-white);
}

.cards article > b {
    color: #aaa;
    font-size: 10px;
}

.cards article > span {
    display: block;

    margin: 28px 0 20px;

    color: #d1a000;
    font-size: 34px;
}

.cards article > span.green {
    color: var(--color-green);
}

.cards h3 {
    margin: 0;

    font-size: 19px;
    text-transform: uppercase;
}

.cards p {
    color: var(--color-muted);
    font-size: 12px;
}


/* =========================================================
   10. DARK SECTION
   ========================================================= */

.dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    align-items: center;
}

.two h2 {
    margin: 10px 0 25px;

    font-size: clamp(42px, 5vw, 65px);
    line-height: 0.9;
    letter-spacing: -0.06em;

    text-transform: uppercase;
}

.two h2 em {
    color: var(--color-yellow);
    font-style: normal;
}

.two > div > p {
    max-width: 560px;

    color: #a4aaad;
}

.yellow-text {
    color: var(--color-yellow) !important;
}


/* =========================================================
   11. CHECKLIST
   ========================================================= */

.checks > div {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;

    padding: 17px 0;

    border-top: 1px solid #303335;
}

.checks b {
    color: var(--color-yellow);
}

.checks strong {
    display: block;

    font-size: 13px;
    text-transform: uppercase;
}

.checks span {
    color: #999;
    font-size: 11px;
}


/* =========================================================
   12. SPLIT CONTENT
   ========================================================= */

.split {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
}

.number {
    color: #ddd;

    font-size: 65px;
    font-weight: 1000;
    line-height: 0.8;
}

.split p {
    max-width: 650px;

    color: var(--color-muted);
    font-size: 16px;
}


/* =========================================================
   13. PILLS
   ========================================================= */

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 25px;
}

.pill-row span {
    padding: 8px 12px;

    border: 1px solid #c8c9c5;

    font-size: 9px;
    font-weight: 1000;
}


/* =========================================================
   14. YELLOW BANNER
   ========================================================= */

.banner {
    padding: 42px 0;

    background: var(--color-yellow);
}

.banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.banner small,
.banner strong {
    display: block;
}

.banner small {
    font-size: 9px;
    letter-spacing: 0.16em;
}

.banner strong {
    font-size: 45px;
    line-height: 1;
}

.banner p {
    margin: 5px 0 0;

    font-size: 10px;
}


/* =========================================================
   15. CONTACT
   ========================================================= */

.black {
    background: #050505;
    color: var(--color-white);
}

.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.dark-label {
    color: #9c7100 !important;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact p {
    max-width: 550px;

    color: var(--color-muted);
}

.bigphone {
    display: block;

    margin-top: 30px;

    font-size: 44px;
    font-weight: 1000;
    letter-spacing: -0.05em;
}

.mail {
    font-size: 13px;
    font-weight: 900;
}


/* =========================================================
   16. RECAPTCHA
   ========================================================= */

.rbq {
    display: flex;
    align-items: center;
    gap: 9px;

    width: max-content;

    margin-top: 25px;
    padding: 7px;

    border: 2px solid #111;
}

.rbq b {
    padding: 6px;

    background: #1b70b3;
    color: var(--color-white);
}

.rbq span {
    font-size: 8px;
}

.rbq strong {
    font-size: 13px;
}


/* =========================================================
   17. FORMULAIRE
   ========================================================= */

form {
    display: grid;
    gap: 15px;

    padding: 30px;

    background: #f0f0ec;
}

.form-title {
    font-size: 20px;
    font-weight: 1000;
}

label {
    font-size: 9px;
    font-weight: 1000;
    text-transform: uppercase;
}

input,
textarea {
    display: block;

    width: 100%;

    margin-top: 5px;
    padding: 12px;

    border: 1px solid #d0d2ce;

    background: var(--color-white);

    font: inherit;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #c79b00;
}

.hp {
    display: none !important;
}

form small {
    color: #777;
    font-size: 9px;
}


/* =========================================================
   18. FOOTER
   ========================================================= */

footer {
    padding: 32px 0 14px;

    border-top: 4px solid var(--color-yellow);

    background: #050505;
    color: #999;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;

    align-items: center;
}

.footer-grid p {
    font-size: 9px;
    letter-spacing: 0.15em;
}

.footer-grid > div:last-child {
    color: #ddd;
    font-size: 11px;
    text-align: right;
}

.footer-grid > div:last-child a {
    display: block;
    margin: 3px;
}

.copy {
    margin-top: 25px;
    padding-top: 13px;

    border-top: 1px solid #202224;

    color: #555;
    font-size: 9px;
    text-align: center;
}


/* =========================================================
   19. TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    /* Navigation mobile */
    nav {
        display: none;
    }

    nav.open {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        padding: 20px;

        background: #080909;
    }

    .menu {
        display: block;
    }


    /* Layouts */
    .hero-grid,
    .two,
    .contact-grid,
    .head,
    .before-after-head {
        grid-template-columns: 1fr;
        gap: 45px;
    }


    /* Hero */
    .hero-card {
        max-width: 620px;
    }


    /* Cards */
    .cards {
        grid-template-columns: 1fr 1fr;
    }


    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:last-child {
        text-align: left;
    }
}


/* =========================================================
   20. MOBILE
   ========================================================= */

@media (max-width: 560px) {

    :root {
        --container-padding: 28px;
    }


    /* Header */
    .top {
        display: none;
    }

    .header {
        height: 74px;
    }


    /* Hero */
    .hero {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-card {
        padding: 30px;

        box-shadow: 7px 7px 0 var(--color-yellow);
    }

    .hero-card h2 {
        font-size: 36px;
    }

    /* Avant / après */
    .before-after {
        padding: 65px 0;
    }

    .before-after-visual {
        padding: 5px;
        box-shadow: 6px 6px 0 var(--color-yellow);
    }


    /* Facts */
    .facts-grid {
        grid-template-columns: 1fr 1fr;
    }

    .facts-grid > div {
        padding: 14px 9px;
    }


    /* Cards */
    .cards {
        grid-template-columns: 1fr;
    }


    /* Sections */
    .section {
        padding: 75px 0;
    }


    /* Banner */
    .banner .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .banner strong {
        font-size: 37px;
    }


    /* Contact */
    .bigphone {
        font-size: 34px;
    }


    /* Split */
    .split {
        grid-template-columns: 1fr;
    }

    .number {
        font-size: 45px;
    }
}
