 /* =========================================================
   PETROCI HEADER
   Header + Navigation + Hero dynamique + Partenaires
========================================================= */


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

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    background: #ffffff;
}

body.menu-open {
    overflow: hidden;
}


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

.petroci-header {
    position: relative;

    width: 100%;
    min-height: auto;

    background: #ffffff;

    color: #1a1a1a;

    overflow: visible;
}


/* =========================================================
   SHELL — navbar blanche + hero carte (style Aramco)
========================================================= */

.petroci-nav-shell {
    width: 100%;
    background: #ffffff;
}

.petroci-header--home .petroci-header-content {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.petroci-header--home .petroci-nav-shell {
    padding-left: clamp(20px, 4vw, 70px);
    padding-right: clamp(20px, 4vw, 70px);
}

.petroci-hero-shell {
    --hero-inset: clamp(32px, 4.5vw, 56px);

    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: clamp(460px, 54vh, 580px);

    margin-top: 8px;

    border-radius: 20px;
    overflow: hidden;

    background-color: #0f2a36;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #ffffff;
}

.petroci-hero-shell--fullwidth {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0;
    border-radius: 0;
    min-height: clamp(520px, 62vh, 680px);
    background-position: center 35%;
}

.petroci-hero-shell .petroci-overlay {
    border-radius: inherit;
}

.petroci-hero-shell .petroci-hero,
.petroci-hero-shell .desktop-partners {
    position: relative;
    z-index: 2;
}

.petroci-hero-shell .petroci-hero {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.petroci-hero-shell:not(:has(.desktop-partners)) .petroci-hero {
    align-items: flex-end;
}

.petroci-hero-shell .petroci-hero-content {
    width: 100%;
    padding:
        var(--hero-inset)
        var(--hero-inset)
        28px;
}

.petroci-hero-shell:not(:has(.desktop-partners)) .petroci-hero-content {
    padding: var(--hero-inset);
}

.petroci-hero-shell .petroci-hero h1 {
    margin: 0;
    max-width: 920px;
}

.petroci-hero-shell .petroci-hero p {
    margin: 20px 0 0;
    max-width: 640px;
}

.petroci-hero-shell .petroci-buttons {
    margin-top: 28px;
    gap: 16px;
}

.petroci-hero-shell .desktop-partners {
    flex-shrink: 0;
    width: 100%;
    padding:
        20px
        var(--hero-inset)
        26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.petroci-hero-shell .desktop-partners.petroci-partners {
    padding:
        20px
        var(--hero-inset)
        26px;
}


/* =========================================================
   OVERLAY
========================================================= */

.petroci-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            rgba(7, 22, 31, 0.42) 0%,
            rgba(8, 25, 35, 0.28) 42%,
            rgba(7, 18, 25, 0.48) 100%
        );

    z-index: 0;

    pointer-events: none;
}


/* =========================================================
   CONTENEUR PRINCIPAL
========================================================= */

.petroci-header-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1700px;

    margin: 0 auto;

    padding:
        15px
        clamp(20px, 4vw, 70px)
        clamp(20px, 3vw, 32px);
}


/* =========================================================
   TOP BAR
========================================================= */

.petroci-topbar {
    width: 100%;
    min-height: 72px;

    display: flex;

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

    gap: 30px;
}


/* =========================================================
   LOGO PRINCIPAL
========================================================= */

.petroci-logo {
    width: 76px;
    height: 76px;

    display: flex;

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

    flex-shrink: 0;

    text-decoration: none;

    overflow: hidden;
}

.petroci-logo img {
    display: block;

    width: 76px;
    height: auto;

    max-width: 100%;
    max-height: 76px;

    object-fit: contain;
}


/* =========================================================
   LOGO MOBILE
   Caché sur desktop
========================================================= */



/* =========================================================
   CONTACT DESKTOP — coordonnées masquées (header épuré)
========================================================= */

.petroci-contact-item,
.petroci-contact a.social,
.mobile-menu-contact > a:not(.language),
.mobile-menu-contact .mobile-socials {
    display: none !important;
}

.petroci-contact {
    display: flex;

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

    gap: 8px;

    margin-left: auto;

    flex-wrap: nowrap;
}


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

.petroci-contact-item {
    height: 38px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 14px;

    border:
        1px solid
        #dddddd;

    border-radius: 25px;

    color: #333333;

    font-size: 12px;
    line-height: 1;

    white-space: nowrap;

    background: #fafafa;

    text-decoration: none;
}

a.petroci-contact-item:hover {
    color: #ffffff;
    border-color: #f06408;
    background: #f06408;
}

.petroci-contact-item .icon {
    display: flex;

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

    color: #047834;

    font-size: 13px;
}

.petroci-contact-item .icon i {
    font-size: 13px;
}


/* =========================================================
   SOCIAL / LANGUAGE / SEARCH
========================================================= */

.social,
.language,
.search-button {
    width: 38px;
    height: 38px;

    display: flex;

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

    flex-shrink: 0;

    border:
        1px solid
        #dddddd;

    border-radius: 50%;

    color: #333333;

    text-decoration: none;

    background: #fafafa;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.social i,
.language i,
.search-button i {
    font-size: 13px;
}

.social:hover,
.language:hover,
.search-button:hover {
    background: #f06408;

    color: #ffffff;

    border-color: #f06408;

    transform: translateY(-2px);
}


/* =========================================================
   LANGUAGE
========================================================= */

.language {
    font-size: 11px;

    font-weight: 600;
}


/* =========================================================
   TOPBAR ACTIONS
========================================================= */

.petroci-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}


/* =========================================================
   DRAWER PLEIN ÉCRAN — style Trafigura / PETROCI
========================================================= */

.petroci-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.015);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1005;
}

.petroci-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.petroci-drawer-bg {
    position: absolute;
    inset: 0;
    background: #ffffff;
}

.petroci-drawer-decor {
    position: absolute;
    inset: 0;
    opacity: 1;
    background:
        radial-gradient(circle at 8% 88%, rgba(4, 120, 52, 0.06) 0 200px, transparent 201px),
        radial-gradient(circle at 92% 12%, rgba(240, 100, 8, 0.07) 0 240px, transparent 241px),
        radial-gradient(circle at 50% 50%, rgba(246, 189, 2, 0.04) 0 360px, transparent 361px);
    pointer-events: none;
}

.petroci-drawer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding:
        clamp(20px, 3vw, 36px)
        clamp(20px, 4vw, 56px)
        clamp(24px, 3vw, 40px);
    box-sizing: border-box;
}

.petroci-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}

.petroci-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a1a1a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.petroci-drawer-close:hover {
    color: #f06408;
    transform: scale(1.05);
}

.petroci-drawer-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.petroci-drawer-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.petroci-drawer-pill:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
}

.petroci-drawer-pill .fa-chevron-down {
    font-size: 10px;
    opacity: 0.85;
}

.petroci-drawer-lang,
.petroci-drawer-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dddddd;
    border-radius: 50%;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.petroci-drawer-search {
    font-size: 15px;
}

.petroci-drawer-lang:hover,
.petroci-drawer-search:hover {
    background: #f06408;
    border-color: #f06408;
    color: #ffffff;
    text-decoration: none;
}

.petroci-drawer-body {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 6vw, 80px);
    padding: clamp(24px, 5vh, 56px) 0;
    min-height: 0;
}

.petroci-drawer-brand-link {
    display: inline-flex;
    align-items: flex-start;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.petroci-drawer-brand-link:hover {
    text-decoration: none;
    opacity: 0.88;
}

.petroci-drawer-brand-logo {
    display: block;
    width: clamp(140px, 22vw, 260px);
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.petroci-drawer-menu {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.4vh, 16px);
}

.petroci-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 500;
    line-height: 1.15;
    text-align: left;
    cursor: pointer;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

a.petroci-drawer-link:hover,
button.petroci-drawer-link:hover {
    transform: translateX(6px);
    color: #f06408;
    text-decoration: none;
}

.petroci-drawer-link.is-active {
    color: #f06408;
    font-weight: 600;
}

.petroci-drawer-menu .petroci-dropdown {
    display: block;
}

.petroci-drawer-menu .petroci-dropdown-toggle {
    width: 100%;
}

.petroci-drawer-menu .dropdown-arrow {
    font-size: 14px;
    opacity: 0.85;
    transition: transform 0.25s ease;
}

.petroci-drawer-menu .petroci-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.petroci-drawer-menu .petroci-dropdown-menu {
    display: none;
    margin: 8px 0 0 4px;
    padding-left: 12px;
    border-left: 2px solid rgba(26, 26, 26, 0.15);
}

.petroci-drawer-menu .petroci-dropdown.open .petroci-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.petroci-drawer-menu .petroci-dropdown-menu a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 400;
    line-height: 1.4;
    padding: 4px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.petroci-drawer-menu .petroci-dropdown-menu a::before {
    display: none;
}

.petroci-drawer-menu .petroci-dropdown-menu a:hover {
    color: #f06408;
    transform: translateX(4px);
    background: transparent;
    padding-left: 0;
}

.petroci-drawer-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-shrink: 0;
    padding-top: 12px;
    border-top: 1px solid #e8e8e8;
}

.petroci-drawer-utilities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(14px, 2.5vw, 28px);
}

.petroci-drawer-utilities a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.petroci-drawer-utilities a:hover {
    color: #f06408;
    text-decoration: none;
}

.petroci-drawer-utilities i {
    font-size: 14px;
    color: #f06408;
}

.petroci-drawer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: #1a1a1a;
    font-size: 13px;
}

.petroci-drawer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.petroci-drawer-socials a:hover {
    transform: translateY(-2px);
    color: #f06408;
    text-decoration: none;
}

.petroci-nav.open .petroci-drawer-menu > * {
    animation: petroci-drawer-link-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.petroci-nav.open .petroci-drawer-menu > *:nth-child(1) { animation-delay: 0.04s; }
.petroci-nav.open .petroci-drawer-menu > *:nth-child(2) { animation-delay: 0.08s; }
.petroci-nav.open .petroci-drawer-menu > *:nth-child(3) { animation-delay: 0.12s; }
.petroci-nav.open .petroci-drawer-menu > *:nth-child(4) { animation-delay: 0.16s; }
.petroci-nav.open .petroci-drawer-menu > *:nth-child(5) { animation-delay: 0.20s; }
.petroci-nav.open .petroci-drawer-menu > *:nth-child(6) { animation-delay: 0.24s; }
.petroci-nav.open .petroci-drawer-menu > *:nth-child(7) { animation-delay: 0.28s; }

@keyframes petroci-drawer-link-in {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .petroci-nav {
        transform: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .petroci-nav.open .petroci-drawer-menu > * {
        animation: none;
    }
}


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

.petroci-hero {
    position: relative;

    width: 100%;

    min-height: 440px;

    display: flex;

    align-items: center;
}


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

.petroci-hero-content {
    width: 100%;

    padding:
        70px 0 55px;
}


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

.petroci-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(38px, 4vw, 64px);

    font-weight: 700;

    line-height: 1.15;

    letter-spacing:
        -1.5px;

    text-shadow:
        0 3px 20px
        rgba(0, 0, 0, 0.25);
}


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

.petroci-hero p {
    max-width: 700px;

    margin:
        25px 0 0;

    color:
        rgba(255, 255, 255, 0.90);

    font-size: 15px;

    font-weight: 400;

    line-height: 1.75;
}


/* =========================================================
   HERO ALIGNEMENT CENTER
========================================================= */

.petroci-hero-center .petroci-hero-content {
    text-align: center;
}

.petroci-hero-center .petroci-hero-content h1 {
    margin-left: auto;
    margin-right: auto;
}

.petroci-hero-center .petroci-hero-content p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO ALIGNEMENT LEFT
========================================================= */

.petroci-hero-left .petroci-hero-content {
    text-align: left;
}

.petroci-hero-left .petroci-hero-content h1 {
    margin-left: 0;
    margin-right: auto;
}

.petroci-hero-left .petroci-hero-content p {
    margin-left: 0;
    margin-right: auto;
}


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

.petroci-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 32px;
}


/* =========================================================
   BOUTONS CENTER
========================================================= */

.petroci-hero-center .petroci-buttons {
    justify-content: center;
}


/* =========================================================
   BOUTONS LEFT
========================================================= */

.petroci-hero-left .petroci-buttons {
    justify-content: flex-start;
}


/* =========================================================
   BOUTON
========================================================= */

.petroci-btn {
    min-height: 48px;

    display: inline-flex;

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

    padding:
        0 24px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   BOUTON OUTLINE
========================================================= */

.petroci-btn-outline {
    border:
        1px solid
        rgba(255, 255, 255, 0.80);

    background:
        rgba(255, 255, 255, 0.02);

    color: #ffffff;
}

.petroci-btn-outline:hover {
    background: #ffffff;

    color: #17252d;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.18);
}


/* =========================================================
   BOUTON BLANC
========================================================= */

.petroci-btn-white {
    border:
        1px solid
        #ffffff;

    background: #ffffff;

    color: #17252d;
}

.petroci-btn-white:hover {
    background:
        transparent;

    color: #ffffff;

    transform:
        translateY(-2px);
}


/* =========================================================
   PARTENAIRES
========================================================= */

.petroci-partners {
    width: 100%;

    padding:
        20px 0 35px;
}


/* =========================================================
   TITRE PARTENAIRES
========================================================= */

.petroci-partners .partners-title h2,
.partners-title h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
}


/* =========================================================
   LISTE PARTENAIRES
========================================================= */

.petroci-partners .partners-list,
.partners-list {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}

.petroci-partners .partners-title,
.partners-title {
    flex: 0 0 auto;
    max-width: 220px;
}

.petroci-partners .partners-marquee,
.partners-marquee {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.petroci-partners .partners-track,
.partners-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    animation: partners-marquee 28s linear infinite;
    will-change: transform;
}

.petroci-partners .partners-track:hover,
.partners-track:hover {
    animation-play-state: paused;
}

.petroci-partners .partners-set,
.partners-set {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    flex: 0 0 auto;
    gap: 64px;
    padding-right: 64px;
}

@keyframes partners-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
    }
}


/* =========================================================
   LOGO PARTENAIRE
========================================================= */

.partner-logo {
    flex: 0 0 auto;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    display: block;

    max-width: 180px;
    max-height: 100px;

    width: auto;
    height: auto;

    object-fit: contain;

    opacity: 0.95;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.partner-logo:hover img {
    opacity: 1;

    transform:
        scale(1.06);
}

.partner-name {
    display: block;
    max-width: 260px;
    padding: 0 10px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    white-space: normal;
}


/* =========================================================
   PARTENAIRES
   DESKTOP / MOBILE
========================================================= */

/*
   Par défaut :
   - desktop-partners = visible
   - mobile-partners = caché
*/

.desktop-partners {
    display: block;
}

.mobile-partners {
    display: none;
}


/* =========================================================
   BOUTON MENU MOBILE
========================================================= */

.petroci-menu-toggle {
    position: relative;
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid #dddddd;
    border-radius: 50%;
    background: #ffffff;
    color: #1a1a1a;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1002;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.petroci-menu-toggle:hover {
    border-color: #f06408;
    color: #f06408;
}

.petroci-menu-toggle.active {
    background: #047834;
    border-color: #047834;
    color: #ffffff;
}

.petroci-menu-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 17px;
    line-height: 1;
    transform: translate(-50%, -50%);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.petroci-menu-icon--open {
    opacity: 1;
}

.petroci-menu-icon--close {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    pointer-events: none;
}

.petroci-menu-toggle.active .petroci-menu-icon--open {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    pointer-events: none;
}

.petroci-menu-toggle.active .petroci-menu-icon--close {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}


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

.mobile-menu-contact {
    display: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

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

    .petroci-header {
        min-height: auto;

        overflow: visible;
    }

    .petroci-hero-shell {
        --hero-inset: 24px;
        min-height: auto;
        margin-top: 12px;
        border-radius: 16px;
    }

    .petroci-hero-shell--fullwidth {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-top: 0;
        border-radius: 0;
        min-height: clamp(420px, 58vh, 560px);
    }

    .petroci-header--home .petroci-header-content {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    .petroci-header--home .petroci-nav-shell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .petroci-hero-shell .petroci-hero {
        align-items: flex-start;
        min-height: auto;
    }

    .petroci-hero-shell .petroci-hero-content {
        padding:
            36px
            var(--hero-inset)
            32px;
    }

    .petroci-hero-shell .petroci-hero p {
        margin-top: 16px;
    }

    .petroci-hero-shell .petroci-buttons {
        margin-top: 22px;
        gap: 12px;
    }

    /* =====================================================
       CONTENEUR
    ===================================================== */

    .petroci-header-content {
        width: 100%;

        padding:
            14px 20px 30px;
    }


    /* =====================================================
       TOPBAR
    ===================================================== */

    .petroci-topbar {
        width: 100%;

        min-height: 62px;

        display: flex;

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


    /* =====================================================
       LOGO MOBILE
    ===================================================== */

    .petroci-logo {
        width: 105px;
        height: 58px;

        display: flex;

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

        flex-shrink: 0;

        overflow: hidden;
    }

    .petroci-logo img {
        display: block;

        width: 105px;

        max-width: 105px;

        height: auto;

        max-height: 58px;

        object-fit: contain;

        object-position: left center;
    }


    /* =====================================================
       CONTACT DESKTOP CACHÉ
    ===================================================== */

    .petroci-contact {
        display: none;
    }


    .petroci-drawer-inner {
        padding:
            16px 18px 22px;
    }

    .petroci-drawer-pill span {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .petroci-drawer-body {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
        padding: 20px 0 24px;
        overflow-y: auto;
    }

    .petroci-drawer-brand-logo {
        width: clamp(120px, 42vw, 180px);
    }

    .petroci-drawer-link {
        font-size: clamp(22px, 6vw, 28px);
    }

    .petroci-drawer-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .petroci-drawer-utilities {
        gap: 14px 18px;
    }

    /* =====================================================
       PARTENAIRES DESKTOP CACHÉS
    ===================================================== */

    .desktop-partners {
        display: none;
    }


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

    .petroci-hero {
        min-height: auto;

        display: flex;

        align-items: center;

        padding: 0;
    }

    .petroci-hero-shell .petroci-hero {
        padding: 0;
    }


    .petroci-hero-content {
        width: 100%;

        padding: 0;
    }


    /* =====================================================
       HERO TITRE MOBILE
    ===================================================== */

    .petroci-hero h1 {
        margin: 0;

        font-size:
            clamp(28px, 8vw, 38px);

        line-height: 1.25;

        letter-spacing:
            -0.5px;
    }


    /* =====================================================
       HERO DESCRIPTION MOBILE
    ===================================================== */

    .petroci-hero p {
        max-width: 700px;

        margin:
            20px auto 0;

        font-size: 14px;

        line-height: 1.65;
    }


    /* =====================================================
       ALIGNEMENT LEFT MOBILE
    ===================================================== */

    .petroci-hero-left .petroci-hero-content {
        text-align: left;
    }

    .petroci-hero-left .petroci-hero-content p {
        margin-left: 0;

        margin-right: auto;
    }


    /* =====================================================
       BOUTONS MOBILE
    ===================================================== */

    .petroci-buttons {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 12px;

        margin-top: 28px;
    }


    .petroci-btn {
        width: 100%;

        min-height: 50px;

        padding:
            0 20px;
    }

}


/* =========================================================
   PETITS ÉCRANS
========================================================= */

@media (max-width: 480px) {

    /* =====================================================
       CONTENEUR
    ===================================================== */

    .petroci-header-content {
        padding:
            13px 16px 25px;
    }


    /* =====================================================
       TOPBAR
    ===================================================== */

    .petroci-topbar {
        min-height: 58px;
    }


    /* =====================================================
       LOGO
    ===================================================== */

    .petroci-logo {
        width: 95px;
        height: 52px;
    }


    .petroci-logo img {
        width: 95px;

        max-width: 95px;

        max-height: 52px;
    }


    /* =====================================================
       HAMBURGER
    ===================================================== */

    .petroci-menu-toggle {
        width: 43px;
        height: 43px;
    }


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

    .petroci-hero {
        padding:
            45px 0 50px;
    }


    .petroci-hero h1 {
        font-size: 28px;

        line-height: 1.28;
    }


    .petroci-hero p {
        max-width: 100%;

        margin-top: 18px;

        font-size: 13px;

        line-height: 1.65;
    }


    /* =====================================================
       BOUTONS
    ===================================================== */

    .petroci-btn {
        font-size: 12px;
    }

}


/* =========================================================
   TRÈS PETITS ÉCRANS
========================================================= */

@media (max-width: 360px) {

    /* =====================================================
       CONTENEUR
    ===================================================== */

    .petroci-header-content {
        padding-left: 14px;

        padding-right: 14px;
    }


    /* =====================================================
       LOGO TOPBAR
    ===================================================== */

    .petroci-logo {
        width: 88px;

        height: 50px;
    }


    .petroci-logo img {
        width: 88px;

        max-width: 88px;

        max-height: 50px;
    }


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

    .petroci-hero {
        padding:
            40px 0 45px;
    }


    .petroci-hero h1 {
        font-size: 25px;

        line-height: 1.28;
    }


    .petroci-hero p {
        font-size: 12.5px;

        line-height: 1.65;
    }


    /* =====================================================
       BOUTONS
    ===================================================== */

    .petroci-btn {
        font-size: 12px;
    }

}
