/* ============================================================
   TRANSPORTS DANGEREUX
   AVENIR COLLECTES
============================================================ */

:root {

    --black: #070809;
    --black-soft: #0d0f11;
    --black-card: #111315;

    --white: #f4f4f2;
    --grey: #989b9d;
    --grey-dark: #24272a;

    --yellow: #f4c430;
    --yellow-hover: #ffd84d;

    --border: rgba(255,255,255,.12);

    --max-width: 1320px;
}


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);

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

    overflow-x: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

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

    margin: 0 auto;
}

.section {
    padding: 130px 0;
}


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

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(7,8,9,.88);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);
}

.header-inner {

    height: 90px;

    display: flex;

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


/* BRAND */

.brand {

    display: flex;

    flex-direction: column;

    line-height: .9;

    font-weight: 900;

    letter-spacing: -.04em;
}

.brand-main {

    font-size: 20px;
}

.brand-accent {

    color: var(--yellow);

    font-size: 20px;
}

.brand small {

    margin-top: 8px;

    color: var(--grey);

    font-size: 8px;

    letter-spacing: .18em;

    font-weight: 500;
}


/* NAV */

.desktop-nav {

    display: flex;

    align-items: center;

    gap: 38px;
}

.desktop-nav a {

    color: #c8c8c8;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    transition: .2s;
}

.desktop-nav a:hover {
    color: white;
}

.desktop-nav .nav-cta {

    padding: 15px 22px;

    background: var(--yellow);

    color: #080808;
}

.desktop-nav .nav-cta:hover {

    color: #080808;

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


/* MOBILE */

.mobile-menu-button {

    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;
}

.mobile-nav {
    display: none;
}


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

.hero {

    position: relative;

    min-height: 820px;

    display: flex;

    align-items: center;

    padding-top: 90px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 75% 50%,
            rgba(244,196,48,.08),
            transparent 30%
        ),

        linear-gradient(
            120deg,
            #08090a,
            #050606
        );
}


/* grille discrète */

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: .13;

    background-image:

        linear-gradient(
            rgba(255,255,255,.1) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.1) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to right,
            transparent,
            black
        );
}


.hero-content {

    position: relative;

    z-index: 2;
}


/* STATUS */

.hero-status {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 35px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .15em;

    color: #c6c6c6;
}

.status-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--yellow);

    box-shadow:
        0 0 15px rgba(244,196,48,.8);
}


/* TITRE */

.hero h1 {

    margin: 0;

    max-width: 850px;

    font-size: clamp(
        75px,
        9vw,
        145px
    );

    line-height: .78;

    letter-spacing: -.075em;

    font-weight: 900;
}

.hero h1 span {
    color: var(--yellow);
}


/* TAGLINE */

.hero-tagline {

    margin:

        50px 0
        15px;

    font-size: 25px;

    color: #d6d6d6;
}

.hero-tagline strong {
    color: white;
}


/* DESCRIPTION */

.hero-description {

    max-width: 650px;

    margin-bottom: 35px;

    color: var(--grey);

    line-height: 1.8;

    font-size: 16px;
}

.hero-description strong {
    color: #d9d9d9;
}


/* CTA */

.hero-actions {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    min-width: 240px;

    padding: 20px 25px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .1em;

    transition: .25s;
}

.btn-primary {

    background: var(--yellow);

    color: #070707;
}

.btn-primary:hover {

    background: var(--yellow-hover);

    transform: translateY(-2px);
}

.btn-secondary {

    border: 1px solid var(--border);

    color: white;
}

.btn-secondary:hover {

    border-color: #777;

    background: rgba(255,255,255,.04);
}


/* 24/7 DECORATION */

.hero-number {

    position: absolute;

    right: -20px;

    bottom: -60px;

    color: rgba(255,255,255,.025);

    font-size: 300px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: -.08em;
}


/* ============================================================
   STATS
============================================================ */

.stats {

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    background: #090a0b;
}

.stats-grid {

    display: grid;

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

.stat {

    padding: 42px 35px;

    border-right:
        1px solid var(--border);

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.stat:first-child {

    border-left:
        1px solid var(--border);
}

.stat strong {

    color: var(--yellow);

    font-size: 27px;

    letter-spacing: -.04em;
}

.stat span {

    color: var(--grey);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .12em;
}


/* ============================================================
   TITRES DE SECTION
============================================================ */

.section-index {

    display: block;

    margin-bottom: 30px;

    color: var(--yellow);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .2em;
}

.section h2 {

    margin: 0;

    font-size: clamp(
        45px,
        5vw,
        75px
    );

    line-height: .95;

    letter-spacing: -.055em;
}

.section h2 span {
    color: var(--yellow);
}


/* ============================================================
   INTRO
============================================================ */

.intro {

    background: #f1f1ef;

    color: #101112;
}

.intro-grid {

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 100px;

    align-items: center;
}

.intro-text {

    padding-top: 40px;
}

.intro-text p {

    margin:

        0 0
        25px;

    color: #555;

    font-size: 18px;

    line-height: 1.8;
}

.intro-text strong {
    color: #111;
}


/* ============================================================
   SERVICES
============================================================ */

.services {

    background: var(--black);
}

.services > .container > h2 {

    max-width: 800px;

    margin-bottom: 70px;
}

.services-grid {

    display: grid;

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

    border:

        1px solid
        var(--border);
}

.service-card {

    position: relative;

    min-height: 440px;

    padding: 45px;

    border-right:
        1px solid var(--border);

    transition: .3s;
}

.service-card:last-child {
    border-right: 0;
}

.service-card:hover {

    background:
        rgba(255,255,255,.025);
}

.service-card.highlighted {

    background: var(--yellow);

    color: #090909;
}

.service-number {

    display: block;

    margin-bottom: 65px;

    color: var(--grey);

    font-size: 11px;

    font-weight: 700;
}

.highlighted .service-number {
    color: #65520f;
}

.service-label {

    position: absolute;

    top: 40px;
    right: 40px;

    padding: 7px 10px;

    border: 1px solid #111;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .15em;
}

.service-card h3 {

    margin:

        0 0
        30px;

    font-size: 35px;

    line-height: 1;

    letter-spacing: -.04em;
}

.service-card p {

    max-width: 320px;

    color: var(--grey);

    font-size: 14px;

    line-height: 1.8;
}

.highlighted p {
    color: #3b3213;
}

.service-note {

    font-size: 11px !important;

    font-weight: 700;
}

.service-line {

    position: absolute;

    bottom: 40px;
    left: 45px;
    right: 45px;

    height: 2px;

    background: var(--yellow);
}

.highlighted .service-line {
    background: #111;
}
.emergency-track strong {
    white-space: nowrap;
}

/* ============================================================
   ENGAGEMENTS
============================================================ */

.commitment {

    background: var(--black-soft);
}

.commitment-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 120px;
}

.commitment-title {

    position: sticky;

    top: 150px;

    align-self: start;
}

.commitment-item {

    display: grid;

    grid-template-columns:
        60px 1fr;

    gap: 20px;

    padding: 35px 0;

    border-bottom:
        1px solid var(--border);
}

.commitment-item > span {

    color: var(--yellow);

    font-size: 11px;
}

.commitment-item h3 {

    margin:

        0 0
        12px;

    font-size: 20px;
}

.commitment-item p {

    margin: 0;

    max-width: 500px;

    color: var(--grey);

    line-height: 1.7;
}


/* ============================================================
   BANDEAU
============================================================ */

.emergency {

    overflow: hidden;

    background: var(--yellow);

    color: #090909;

    padding: 20px 0;
}

.emergency-track {

    white-space: nowrap;

    text-align: center;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: .1em;
}

.emergency-track span {

    margin: 0 35px;

    font-size: 8px;
}


/* ============================================================
   CONTACT
============================================================ */

.contact {

    background: #08090a;
}

.contact-grid {

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 100px;
}

.contact-intro p {

    max-width: 430px;

    margin-top: 35px;

    color: var(--grey);

    line-height: 1.8;
}

.contact-info {

    margin-top: 70px;

    padding-top: 25px;

    border-top:
        1px solid var(--border);

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.contact-info span {

    color: var(--grey);

    font-size: 9px;

    letter-spacing: .2em;
}

.contact-info strong {

    color: var(--yellow);

    font-size: 22px;
}


/* FORM */

.form-wrapper {

    padding: 50px;

    background: var(--black-card);

    border:
        1px solid var(--border);
}

.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 25px;
}

.field {

    margin-bottom: 25px;
}

.field label {

    display: block;

    margin-bottom: 10px;

    color: #b7b7b7;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .13em;
}

.field label small {

    color: #666;

    font-weight: normal;
}

.field input,
.field textarea,
.field select {

    width: 100%;

    border: 0;

    border-bottom:
        1px solid #3a3c3e;

    border-radius: 0;

    outline: none;

    background: transparent;

    color: white;

    padding: 14px 0;

    transition: .2s;
}

.field select {

    background: #111315;
}

.field input:focus,
.field textarea:focus,
.field select:focus {

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

.field textarea {

    resize: vertical;

    min-height: 120px;
}

.form-submit {

    width: 100%;

    margin-top: 15px;

    padding: 22px 25px;

    display: flex;

    justify-content: space-between;

    border: 0;

    background: var(--yellow);

    color: #080808;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: .12em;

    cursor: pointer;

    transition: .2s;
}

.form-submit:hover {

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

.hp-field {

    position: absolute;

    left: -9999px;
}

.form-message {

    margin-bottom: 30px;

    padding: 20px;

    font-size: 13px;

    line-height: 1.6;
}

.form-message.success {

    border:
        1px solid var(--yellow);

    color: var(--yellow);
}

.form-message.error {

    border:
        1px solid #d15353;

    color: #e26a6a;
}


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

.footer {

    padding:

        80px 0
        30px;

    background: #050606;

    border-top:
        1px solid var(--border);
}

.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 70px;
}

.footer-grid > div:not(.footer-brand) {

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-brand {

    display: flex;

    flex-direction: column;
}

.footer-brand strong {

    font-size: 20px;

    letter-spacing: -.04em;
}

.footer-brand strong span {
    color: var(--yellow);
}

.footer-brand small {

    margin-top: 8px;

    color: var(--grey);

    font-size: 9px;

    letter-spacing: .15em;
}

.footer-title {

    margin-bottom: 10px;

    color: var(--grey);

    font-size: 9px;

    letter-spacing: .15em;
}

.footer a {

    color: #c4c4c4;

    font-size: 12px;
}

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

.footer-247 {

    color: var(--yellow);

    font-size: 30px;
}

.footer-bottom {

    padding-top: 25px;

    border-top:
        1px solid var(--border);

    display: flex;

    justify-content: space-between;

    color: #606366;

    font-size: 9px;

    letter-spacing: .12em;
}


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

@media (max-width: 900px) {

    .container {

        width:
            min(
                calc(100% - 40px),
                var(--max-width)
            );
    }

    .section {
        padding: 90px 0;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-nav {

        padding: 20px;

        flex-direction: column;

        gap: 20px;

        border-top:
            1px solid var(--border);
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav a {

        padding: 10px;

        font-size: 12px;

        font-weight: 700;

        letter-spacing: .1em;
    }


    /* HERO */

    .hero {

        min-height: 720px;
    }

    .hero h1 {

        font-size:
            clamp(
                62px,
                18vw,
                100px
            );
    }

    .hero-number {

        font-size: 160px;
    }


    /* STATS */

    .stats-grid {

        grid-template-columns:
            1fr 1fr;
    }

    .stat {

        border-bottom:
            1px solid var(--border);
    }


    /* SECTIONS */

    .intro-grid,
    .commitment-grid,
    .contact-grid {

        grid-template-columns:
            1fr;

        gap: 60px;
    }

    .commitment-title {

        position: static;
    }


    /* SERVICES */

    .services-grid {

        grid-template-columns:
            1fr;
    }

    .service-card {

        min-height: 360px;

        border-right: 0;

        border-bottom:
            1px solid var(--border);
    }
    /* COVERAGE / CARTE */

    .coverage {
        padding: 85px 0;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .coverage-content {
        max-width: 650px;
    }

    .coverage-intro {
        max-width: 600px;
    }

    .coverage-map {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }

    .coverage-map img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* CONTACT */

    .form-wrapper {

        padding: 30px;
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 600px) {
    /* ============================================================
       CORRECTIONS MOBILE
    ============================================================ */
    
    /* HERO : évite que TRANSPORT soit coupé */
    .hero h1 {
        font-size: clamp(48px, 17vw, 72px);
        line-height: .82;
        letter-spacing: -.065em;
    
        max-width: 100%;
        overflow: visible;
    }
    
    /* un peu plus de sécurité sur très petit écran */
    .hero-content {
        width: 100%;
        min-width: 0;
    }
    
    
    /* ============================================================
       BANDEAU JAUNE
    ============================================================ */
    
    .emergency {
        padding: 0;
        overflow: visible;
    }
    
    .emergency-track {
        white-space: normal;
    
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    
        gap: 10px 14px;
    
        padding: 18px 15px;
    
        text-align: center;
    
        font-size: 10px;
        line-height: 1.5;
    
        letter-spacing: .07em;
    }
    
    .emergency-track span {
        margin: 0;
    
        font-size: 6px;
    }
        /* COVERAGE MOBILE */

    .coverage {
        padding: 70px 0;
    }

    .coverage-grid {
        gap: 40px;
    }

    .coverage-content h2 {
        margin-bottom: 25px;
        font-size: 43px;
        line-height: .95;
    }

    .coverage-intro {
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 1.7;
    }

    .coverage-features {
        margin-bottom: 30px;
    }

    .coverage-feature {
        grid-template-columns: 32px 1fr;
        padding: 17px 0;
    }

    .coverage-feature strong {
        font-size: 11px;
    }

    .coverage-feature p {
        font-size: 12px;
    }


    /* CARTE */

    .coverage-map {
        position: relative;

        width: calc(100% + 30px);
        margin-left: -15px;

        border-left: 0;
        border-right: 0;

        overflow: hidden;
        background: #050606;
    }

    .coverage-map img {
        display: block;

        width: 100%;
        height: 430px;

        object-fit: cover;
        object-position: 52% center;

        opacity: 1;

        transform: scale(1.05);
    }

    .coverage-map:hover img {
        transform: scale(1.05);
    }


    /* On cache le label sur mobile */

    .coverage-map-label {
        display: none;
    }


    /* FOOTER CARTE */

    .coverage-map-footer {
        position: relative;
        z-index: 5;

        grid-template-columns: 1fr 1fr;
    }

    .coverage-map-footer > span {
        padding: 14px 15px;

        font-size: 7px;
        letter-spacing: .12em;
    }

    .coverage-map-footer strong {
        font-size: 10px;
    }

    .container {

        width:
            calc(100% - 30px);
    }

    .header-inner {
        height: 75px;
    }

    .hero {

        min-height: 700px;

        padding-top: 75px;
    }

    .hero-tagline {

        font-size: 20px;
    }

    .hero-actions {

        flex-direction: column;
    }

    .btn {

        width: 100%;
    }

    .stats-grid {

        grid-template-columns:
            1fr 1fr;
    }

    .stat {

        padding: 30px 20px;
    }

    .stat strong {

        font-size: 22px;
    }

    .section h2 {

        font-size: 45px;
    }

    .form-row {

        grid-template-columns:
            1fr;

        gap: 0;
    }

    .form-wrapper {

        padding: 25px 20px;
    }

    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 40px;
    }

    .footer-bottom {

        flex-direction: column;

        gap: 10px;
    }
}
/* ============================================================
   PAGES LÉGALES
============================================================ */

.legal-page {
    background: var(--black);
}


/* HERO */

.legal-hero {
    padding: 190px 0 100px;
    border-bottom: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(244,196,48,.07),
            transparent 30%
        ),
        #08090a;
}

.legal-hero h1 {
    margin: 0;

    font-size: clamp(
        60px,
        8vw,
        120px
    );

    line-height: .85;

    letter-spacing: -.07em;
}

.legal-hero h1 span {
    color: var(--yellow);
}

.legal-hero > .container > p {
    max-width: 600px;

    margin-top: 35px;

    color: var(--grey);

    line-height: 1.7;
}


/* LAYOUT */

.legal-content {
    padding: 100px 0 140px;
}

.legal-layout {
    display: grid;

    grid-template-columns:
        250px 1fr;

    gap: 100px;
}


/* SIDEBAR */

.legal-sidebar {
    position: sticky;

    top: 140px;

    align-self: start;

    display: flex;

    flex-direction: column;

    padding-top: 20px;

    border-top:
        1px solid var(--yellow);
}

.legal-sidebar > span {
    color: var(--grey);

    font-size: 9px;

    letter-spacing: .18em;
}

.legal-sidebar > strong {
    margin: 10px 0 30px;

    font-size: 18px;
}

.legal-sidebar a {
    color: var(--yellow);

    font-size: 11px;

    line-height: 1.5;
}


/* INTRODUCTION */

.legal-introduction {
    padding-bottom: 60px;

    border-bottom:
        1px solid var(--border);
}

.legal-introduction p {
    max-width: 800px;

    color: #b8b8b8;

    font-size: 18px;

    line-height: 1.8;
}


/* SECTIONS */

.legal-section {
    display: grid;

    grid-template-columns:
        60px 1fr;

    gap: 25px;

    padding: 60px 0;

    border-bottom:
        1px solid var(--border);
}

.legal-number {
    color: var(--yellow);

    font-size: 10px;

    font-weight: 800;
}

.legal-section h2 {
    margin:
        0 0
        30px;

    font-size: 28px;

    letter-spacing: -.03em;
}

.legal-section p {
    max-width: 800px;

    color: #aaa;

    font-size: 15px;

    line-height: 1.8;
}

.legal-section p strong {
    color: white;
}


/* DONNÉES ENTREPRISE */

.legal-data {
    margin-top: 35px;

    border-top:
        1px solid var(--border);
}

.legal-data > div {
    display: grid;

    grid-template-columns:
        200px 1fr;

    gap: 30px;

    padding: 20px 0;

    border-bottom:
        1px solid var(--border);
}

.legal-data span {
    color: var(--grey);

    font-size: 10px;

    letter-spacing: .1em;

    text-transform: uppercase;
}

.legal-data strong {
    font-size: 14px;

    line-height: 1.6;
}


/* LISTES */

.legal-list {
    max-width: 760px;

    margin: 30px 0;

    padding: 0;

    list-style: none;
}

.legal-list li {
    position: relative;

    padding:
        12px 0
        12px 25px;

    color: #aaa;

    line-height: 1.6;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

.legal-list li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 20px;

    width: 6px;
    height: 6px;

    background: var(--yellow);
}


/* HIGHLIGHT */

.legal-highlight {
    max-width: 650px;

    margin: 30px 0;

    padding: 25px 30px;

    border-left:
        3px solid var(--yellow);

    background:
        rgba(255,255,255,.025);
}

.legal-highlight strong {
    color: var(--yellow);
}

.legal-highlight p {
    margin-bottom: 0;
}


/* LIENS */

.legal-link {
    display: inline-block;

    margin-top: 20px;

    padding-bottom: 5px;

    color: var(--yellow);

    border-bottom:
        1px solid var(--yellow);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .05em;
}

