
/* ==========================================
   PRESTIGE LOGISTICS
   FEUILLE DE STYLE PRINCIPALE
========================================== */


/* ==========================================
   1. VARIABLES ET COULEURS
========================================== */

:root {
    --dark: #101418;
    --dark2: #1c242b;
    --gold: #c5a77b;
    --cream: #f4f1eb;
    --muted: #b5bdc3;
}


/* ==========================================
   2. RÉINITIALISATION
========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--dark);
    background: var(--cream);
}

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

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

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}

.section {
    padding: 105px 0;
}

.light {
    background: var(--cream);
}

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


/* ==========================================
   3. TYPOGRAPHIE
========================================== */

h1,
h2,
h3 {
    font-family: "Manrope", sans-serif;
    letter-spacing: -0.045em;
}

h1 {
    font-size: clamp(3rem, 6.3vw, 6.3rem);
    line-height: 1.08;
    margin: 20px 0 30px;
}

h2 {
    font-size: clamp(2.2rem, 4.2vw, 4rem);
    line-height: 1.17;
    margin: 0 0 35px;
}

h3 {
    font-size: 1.4rem;
}

h1 em,
h2 em {
    color: var(--gold);
    font-style: normal;
}

p {
    line-height: 1.8;
}

.eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.light .eyebrow {
    color: #94754d;
}


/* ==========================================
   4. HEADER ET NAVIGATION
========================================== */

.header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;

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

    gap: 25px;
    padding: 23px 5%;

    color: white;

    transition:
        background 0.25s ease,
        padding 0.25s ease;
}

.header.scrolled {
    background: rgba(16, 20, 24, 0.97);

    padding-top: 15px;
    padding-bottom: 15px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}


/* LOGO */

.logo {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.logo span {
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-top: 7px;
}


/* MENU PRINCIPAL */

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current] {
    color: var(--gold);
}

.nav-cta {
    padding: 13px 17px;
    border: 1px solid var(--gold);
}


/* BOUTON MENU MOBILE */

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 27px;
}


/* ==========================================
   5. BANNIÈRE PRINCIPALE
========================================== */

.hero,
.subhero {
    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(7, 13, 19, 0.94),
            rgba(7, 13, 19, 0.28)
        ),
        url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=2000&q=85");

    background-position: center;
    background-size: cover;
}

.hero {
    min-height: 100svh;

    display: flex;
    align-items: center;

    position: relative;

    padding: 150px 0 110px;
}

.hero-inner {
    position: relative;
}

.lead {
    max-width: 630px;
    color: #d8dde0;
    font-size: 16px;
}


/* BOUTONS */

.actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

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

    padding: 17px 25px;

    border: 1px solid transparent;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

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

.btn-gold {
    background: var(--gold);
    color: #151515;
}

.btn-gold:hover {
    background: #e4c89d;
}

.btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: white;
    color: #111;
}


/* BAS DE BANNIÈRE */

.hero-foot {
    position: absolute;

    bottom: 30px;
    left: 5%;
    right: 5%;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    font-size: 10px;
    letter-spacing: 1.8px;
    color: #ddd;
}


/* ==========================================
   6. PRÉSENTATION ENTREPRISE
========================================== */

.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 85px;
}

.body-copy {
    color: #60676d;
}

.contact .body-copy {
    color: var(--muted);
}

.text-link {
    display: inline-block;

    margin-top: 12px;
    padding-bottom: 7px;

    color: #957650;
    border-bottom: 1px solid;

    font-weight: 700;
}


/* ==========================================
   7. GRILLES GÉNÉRALES
========================================== */

.three-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.four-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.two-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}


/* ==========================================
   8. NOS EXPERTISES
========================================== */

.services,
.sectors {
    margin-top: 45px;
}

.service {
    background: var(--dark2);
    overflow: hidden;
}

.photo {
    height: 250px;
    background-position: center;
    background-size: cover;
}


/* TRANSPORT EXPRESS */

.photo-express {
    background-image: url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=900&q=85");
}


/* TRANSPORT FRIGORIFIQUE */

.photo-cold {
    background-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=900&q=85");
}


/* TRANSPORT SEC */

.photo-dry {
    background-image: url("https://images.unsplash.com/photo-1566576912321-d58ddd7a6088?auto=format&fit=crop&w=900&q=85");
}


/* CONTENU DES CARTES */

.service-body {
    padding: 28px;
}

.service-body small,
.commitments small,
.coverage-card small,
.sector small {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
}

.service-body p {
    color: var(--muted);
    font-size: 13px;
    min-height: 95px;
}

.service-body a {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
}


/* ==========================================
   9. SECTEURS D'ACTIVITÉ
========================================== */

.sector {
    min-height: 430px;

    background-position: center;
    background-size: cover;

    display: flex;
    align-items: flex-end;

    color: white;
}


/* AVIATION PRIVÉE */

.sector-aviation {
    background-image: url("https://images.unsplash.com/photo-1540962351504-03099e0a754b?auto=format&fit=crop&w=900&q=85");
}


/* PALACES ET HÔTELS */

.sector-hotel {
    background-image: url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=900&q=85");
}


/* LIVRAISON VIP */

.sector-vip {
    background-image: url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?auto=format&fit=crop&w=900&q=85");
}


/* TEXTE DES SECTEURS */

.sector > div {
    padding: 30px;
    width: 100%;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.92)
    );
}

.sector h3 {
    font-size: 26px;
    margin: 14px 0;
}

.sector p {
    font-size: 13px;
}


/* ==========================================
   10. NOS ENGAGEMENTS
========================================== */

.commitments {
    margin-top: 55px;
}

.commitments article {
    border-top: 1px solid #59616a;
    padding-top: 25px;
}

.commitments h3 {
    margin-top: 32px;
}

.commitments p {
    font-size: 13px;
    color: var(--muted);
}


/* ==========================================
   11. CONTACT ET DEVIS
========================================== */

.contact {
    background: #151b20;
    color: white;
}

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

.contact-points {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-top: 45px;

    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
}


/* FORMULAIRE */

.quote-form {
    background: #f5f3ef;
    color: var(--dark);
    padding: 35px;
}

.quote-form h3 {
    margin-top: 0;
    font-size: 26px;
}

.quote-form > p {
    font-size: 13px;
    color: #777;
}

.quote-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 17px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


/* CHAMPS DU FORMULAIRE */

.quote-form input:not([type="checkbox"]),
.quote-form select,
.quote-form textarea {
    width: 100%;

    border: 1px solid #d4d4d4;
    border-radius: 0;

    background: white;

    padding: 12px;
    color: #222;

    outline: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: var(--gold);
}


/* CONSENTEMENT */

.quote-form .consent {
    flex-direction: row;
    align-items: flex-start;

    line-height: 1.6;
    font-weight: 400;
}

.consent input {
    margin-top: 4px;
}


/* BOUTON ENVOYER */

.submit {
    width: 100%;
    margin-top: 10px;
}

.form-status,
.fineprint {
    font-size: 11px !important;
}


/* ==========================================
   12. FOOTER
========================================== */

.footer {
    background: #0b0f12;
    color: white;

    padding: 65px 0 25px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 35px;
}

.footer-grid p {
    color: #aaa;
    font-size: 12px;
}

.footer-grid nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-content: flex-start;
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid #343a40;

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

    display: flex;
    justify-content: space-between;
    gap: 20px;

    font-size: 11px;
    color: #999;
}


/* ==========================================
   13. PAGE PARTENAIRES - BANNIÈRE
========================================== */

.subhero {
    min-height: 75vh;

    display: flex;
    align-items: center;

    padding: 150px 0 90px;

    background-image:
        linear-gradient(
            90deg,
            rgba(7, 13, 19, 0.96),
            rgba(7, 13, 19, 0.45)
        ),
        url("https://images.unsplash.com/photo-1494412519320-aa613dfb7738?auto=format&fit=crop&w=1800&q=85");
}

.subhero .btn {
    margin-top: 25px;
}


/* ==========================================
   14. PAGE PARTENAIRES - DESCRIPTION
========================================== */

.section-desc {
    max-width: 680px;
    color: #687078;
    margin: 0 0 45px;
}

.dark .section-desc {
    color: var(--muted);
}


/* ==========================================
   15. LOGOS DES PARTENAIRES
========================================== */

.partner-grid {
    margin-top: 40px;
}

.partner {
    background: white;
    border: 1px solid #e3dfd8;

    text-align: center;
    padding: 20px;
}

.partner-image {
    height: 130px;

    background: #f5f5f5;

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

.partner-image img {
    max-width: 80%;
    max-height: 90px;
    object-fit: contain;
}

.partner h3 {
    font-size: 16px;
}

.partner p {
    font-size: 12px;
    color: #777;
}


/* ==========================================
   16. DESTINATIONS FRANCE ET EUROPE
========================================== */

.coverage-card {
    padding: 38px;

    background: var(--dark2);
    border: 1px solid #36414a;
}

.coverage-card p {
    color: var(--muted);
    font-size: 13px;
}


/* ÉTIQUETTES DES VILLES ET PAYS */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 25px;
}

.tags span {
    border: 1px solid #58616a;

    padding: 9px 12px;

    color: #ddd;
    font-size: 12px;
}


/* INFORMATIONS SUR LA FLOTTE */

.coverage-foot {
    border-top: 1px solid #45505a;

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

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


/* ==========================================
   17. APPEL À L'ACTION
========================================== */

.cta {
    text-align: center;
    background: #1b242b;
    color: white;
}

.cta p:not(.eyebrow) {
    color: var(--muted);
    margin: 0 0 30px;
}


/* ==========================================
   18. RESPONSIVE - TABLETTES
========================================== */

@media (max-width: 1000px) {

    .nav {
        gap: 14px;
    }

    .nav a {
        font-size: 11px;
    }

    .split,
    .contact-grid {
        gap: 40px;
    }

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

}


/* ==========================================
   19. RESPONSIVE - MENU MOBILE
========================================== */

@media (max-width: 800px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: var(--dark);
        padding: 25px 5%;

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

    .nav.open {
        display: flex;
    }

    .split,
    .contact-grid,
    .two-grid {
        grid-template-columns: 1fr;
    }

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

}


/* ==========================================
   20. RESPONSIVE - SMARTPHONES
========================================== */

@media (max-width: 600px) {

    .section {
        padding: 75px 0;
    }

    .hero {
        padding: 135px 0 95px;
    }

    .hero-foot {
        font-size: 9px;
    }

    .hero-foot a {
        white-space: nowrap;
    }

    .three-grid,
    .four-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }

    .sector {
        min-height: 350px;
    }

    .quote-form {
        padding: 22px;
    }

    .footer-grid,
    .footer-bottom {
        flex-direction: column;
    }

    .subhero {
        min-height: 65vh;
    }

}


/* ==========================================
   21. ACCESSIBILITÉ
========================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

}

/* =====================================
   GRILLE DES PARTENAIRES
===================================== */

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

/* CARTES DES PARTENAIRES */

.partner {
    background: white;
    border: 1px solid #e3dfd8;
    padding: 25px;
    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.partner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* LOGOS */

.partner-image {
    height: 150px;
    padding: 20px;

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

    background: #ffffff;
}

.partner-image img {
    width: 100%;
    max-width: 190px;
    max-height: 100px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.partner:hover .partner-image img {
    transform: scale(1.08);
}

/* TABLETTES */

@media (max-width: 900px) {

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

}

/* TÉLÉPHONES */

@media (max-width: 600px) {

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

}

/* ACCESSIBILITÉ */

@media (prefers-reduced-motion: reduce) {

    .partner,
    .partner-image img {
        transition: none;
    }

}


/* =====================================
   IMAGE DE FOND ACCUEIL - FORD
===================================== */

.hero {
    background-image:
        linear-gradient(
            90deg,
            rgba(7, 13, 19, 0.85) 0%,
            rgba(7, 13, 19, 0.55) 50%,
            rgba(7, 13, 19, 0.15) 100%
        ),
        url("images/acceuil3.png");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

/* ADAPTATION MOBILE */

@media (max-width: 600px) {

    .hero {
        background-position: 55% center;
    }

}


/* =====================================
   NOUVELLE IMAGE - LIVRAISON PREMIUM VIP
===================================== */

.sector-vip {
    background-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.35) 100%
        ),
        url("./images/vip.png");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* =====================================
   FORMULAIRE - ENVOI AU SERVEUR
===================================== */

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.quote-form {
    position: relative;
}

.form-status[data-kind="ok"] {
    color: #2f6b3a;
    font-weight: 700;
}

.form-status[data-kind="error"] {
    color: #9a3324;
    font-weight: 700;
}

.submit:disabled {
    opacity: 0.6;
    cursor: wait;
}
