:root {
    --navy: #031626;
    --navy2: #061f34;
    --ink: #0a1830;
    --red: #f01235;
    --blue: #0877ff;
    --paper: #f5f7fa;
    --line: #dfe5ec;
    --muted: #667085;
    --max: 1440px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff
}

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

img {
    max-width: 100%;
    display: block
}

.shell {
    width: min(var(--max), 94%);
    margin: auto
}

.topbar {
    background: #082239;
    color: #fff;
    font-size: 13px
}

.topbar-in {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.topbar-in i {
    display: inline-block;
    height: 16px;
    border-left: 1px solid #789;
    margin: 0 14px
}

.header {
    background: #021322;
    color: #fff;
    position: relative;
    z-index: 10
}

.header-main {
    min-height: 115px;
    display: flex;
    align-items: center;
    width: min(var(--max), 94%);
    margin: auto
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.brand img {
    width: 250px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    object-position: left center
}


.head-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px
}

.selection {
    font-weight: 700
}

.selection span {
    display: inline-grid;
    place-items: center;
    background: var(--red);
    border-radius: 99px;
    min-width: 20px;
    height: 20px;
    color: #fff;
    font-size: 11px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 3px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer
}

.btn.red {
    background: var(--red);
    color: #fff
}

.btn.dark {
    background: var(--navy);
    color: #fff
}

.btn.outline-light {
    border-color: #fff;
    color: #fff;
    background: transparent
}

.nav {
    border-top: 1px solid #173044;
    background: #031626
}

.nav .shell {
    display: flex;
    justify-content: center;
    gap: 58px
}

.nav a {
    padding: 18px 8px 15px;
    font-weight: 700;
    border-bottom: 3px solid transparent
}

.nav a.active,
.nav a:hover {
    color: #ff2144;
    border-bottom-color: #ff2144
}

.photo-slot {
    position: relative;
    background-color: #1a2a38;
    background-image: linear-gradient(135deg, #112536, #263c4e);
    overflow: hidden
}

.photo-slot::before {
    content: attr(data-photo);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .28);
    font-weight: 900;
    letter-spacing: 2px;
    font-size: clamp(18px, 2vw, 34px);
    z-index: 0
}

.hero {
    min-height: 510px;
    color: #fff
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 14, 26, .95) 0%, rgba(0, 14, 26, .72) 45%, rgba(0, 14, 26, .35) 72%, rgba(0, 14, 26, .78) 100%);
    z-index: 1
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 510px;
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 60px
}

.eyebrow,
.mini {
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 13px
}

.hero h1 {
    font-size: 64px;
    line-height: .95;
    margin: 12px 0 20px;
    letter-spacing: 1px
}

.hero-sub {
    font-size: 20px
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 18px;
    margin: 32px 0
}

.hero-benefits>div {
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center
}

.ico {
    grid-row: 1/3;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 20px
}

.hero-benefits b {
    font-size: 13px
}

.hero-benefits small {
    font-size: 12px
}

.hero-cta {
    display: flex;
    gap: 18px
}

.hero-proof {
    align-self: center
}

.script {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 25px;
    line-height: 1.25
}

.hero-proof ul,
.info-copy ul,
.pro-card ul {
    list-style: none;
    padding: 0
}

.hero-proof li,
.info-copy li,
.pro-card li {
    margin: 10px 0
}

.hero-proof li::before,
.info-copy li::before,
.pro-card li::before {
    content: '✓';
    font-weight: 900;
    margin-right: 10px
}

.brands {
    border-bottom: 1px solid var(--line);
    background: #fff
}

.brand-row {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: auto
}

.brand-row span {
    font-family: Georgia, serif;
    font-weight: 800;
    font-style: italic;
    font-size: 24px;
    white-space: nowrap
}

.universes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 18px 0 14px
}

.universe {
    height: 285px;
    border-radius: 4px
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 12, 24, .9), transparent 65%);
    z-index: 1
}

.card-copy {
    position: absolute;
    z-index: 2;
    left: 24px;
    right: 20px;
    bottom: 20px;
    color: #fff
}

.card-copy h2 {
    font-size: 28px;
    margin: 0 0 3px
}

.card-copy p {
    margin: 0 0 14px
}

.card-copy a {
    font-weight: 800
}

.info-grid {
    display: grid;
    grid-template-columns: 1.25fr .65fr 1fr;
    gap: 14px;
    padding-bottom: 34px
}

.info-photo,
.pro-card {
    min-height: 330px;
    border-radius: 4px
}

.info-copy {
    position: relative;
    z-index: 2;
    padding: 28px;
    color: #fff
}

.info-copy h2,
.pro-card h2 {
    font-size: 26px;
    margin: 0 0 20px
}

.pro-card {
    background: #f5f6f8;
    padding: 30px
}

.pro-card .mini {
    color: var(--blue)
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--blue);
    font-weight: 800
}

.best {
    padding: 10px 0 38px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 18px
}

.section-head h2 {
    font-size: 30px;
    margin: 4px 0 0
}

.section-head a {
    font-weight: 800;
    color: var(--blue)
}

.home-products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px
}

.mini-product {
    border: 1px solid var(--line);
    box-shadow: 0 5px 18px #0a18300c;
    padding: 12px;
    background: #fff
}

.mini-img {
    height: 165px;
    display: grid;
    place-items: center
}

.mini-img img {
    max-height: 150px;
    object-fit: contain
}

.mini-product h3 {
    font-size: 14px;
    margin: 10px 0 4px
}

.mini-product p {
    font-size: 12px;
    color: var(--muted);
    min-height: 28px
}

.mini-product a {
    display: block;
    background: #076df3;
    color: #fff;
    text-align: center;
    padding: 11px;
    font-weight: 800;
    font-size: 12px
}

.stats {
    background: #062139;
    color: #fff
}

.stats-row {
    min-height: 128px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center
}

.stats-row>div {
    padding: 0 24px;
    border-right: 1px solid #365064
}

.stats-row>div:last-child {
    border: 0
}

.stats strong,
.stats span {
    display: block
}

.stats strong {
    font-size: 18px
}

.stats span {
    font-size: 11px;
    margin-top: 5px
}

.footer {
    padding: 38px 0;
    background: #f7f8fa
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 45px
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px
}

.footer-grid b {
    margin-bottom: 6px
}

.footer-grid span {
    color: var(--muted)
}

.footer-brand img {
    width: 210px
}

.contact-main {
    background: #f5f7fa;
    min-height: 700px
}

.contact-hero {
    background: var(--navy);
    color: #fff;
    padding: 70px 0
}

.contact-hero h1 {
    font-size: 54px;
    margin: 10px 0
}

.contact-hero p:last-child {
    max-width: 700px;
    font-size: 18px;
    color: #c8d4df
}

.blue {
    color: #5ca5ff
}

.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 32px;
    padding: 42px 0 70px
}

.contact-side,
.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    padding: 34px
}

.contact-side h2,
.form-head h2 {
    font-size: 28px
}

.contact-fact {
    padding: 18px 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px
}

.contact-fact b {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 26px
}

.form-grid label {
    font-weight: 700;
    font-size: 13px
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    border: 1px solid #ccd4dd;
    border-radius: 3px;
    font: inherit;
    background: #fff
}

.full {
    grid-column: 1/-1
}

.hp {
    position: absolute !important;
    left: -9999px !important
}

.form-bottom {
    display: flex;
    align-items: center;
    gap: 20px
}

.success {
    color: #16834b;
    font-weight: 800
}

.error {
    color: #c5162f;
    font-weight: 800
}

/* catalogue */
.catalogue-main {
    background: #f3f6f9;
    min-height: 800px;
    padding-bottom: 60px
}

.catalogue-hero {
    background: var(--navy);
    color: #fff;
    padding: 46px 0
}

.catalogue-hero-in {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px
}

.catalogue-hero h1 {
    font-size: 46px;
    margin: 5px 0
}

.catalogue-hero p {
    color: #c8d4df
}

.catalogue-tools {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 5
}

.tools-in {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 12px;
    padding: 16px 0
}

.tools-in select,
.tools-in input {
    height: 46px;
    border: 1px solid #ccd4dd;
    padding: 0 14px;
    font: inherit
}

.catalogue-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 22px;
    padding-top: 24px
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px
}

.product-image {
    height: 220px;
    display: grid;
    place-items: center;
    background: #f8fafc
}

.product-image img {
    max-height: 200px;
    object-fit: contain
}

.product-card h3 {
    font-size: 16px;
    margin: 14px 0 6px
}

.product-card .ref {
    font-size: 11px;
    color: #8892a0;
    min-height: 28px
}

.qty-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0
}

.qty-row label {
    font-size: 11px;
    font-weight: 800
}

.qty-row input {
    width: 100%;
    padding: 9px;
    border: 1px solid #ccd4dd;
    margin-top: 5px
}

.add-btn {
    width: 100%;
    border: 0;
    background: #0877ff;
    color: #fff;
    padding: 12px;
    font-weight: 800;
    cursor: pointer
}

.cart-panel {
    background: #fff;
    border: 1px solid var(--line);
    padding: 20px;
    align-self: start;
    position: sticky;
    top: 82px
}

.cart-panel h2 {
    margin-top: 0
}

.cart-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px
}

.cart-item button {
    float: right;
    border: 0;
    background: none;
    color: var(--red);
    cursor: pointer
}

.cart-empty {
    color: var(--muted)
}

.devis-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

.devis-form input,
.devis-form textarea {
    width: 100%;
    padding: 11px;
    margin: 6px 0;
    border: 1px solid #ccd4dd;
    font: inherit
}

.devis-form button {
    width: 100%;
    margin-top: 8px
}

.load-more {
    display: block;
    margin: 24px auto 0
}

.notice {
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px
}

@media(max-width:1000px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero-proof {
        display: none
    }

    .hero-benefits {
        grid-template-columns: repeat(3, 1fr)
    }

    .universes {
        grid-template-columns: 1fr 1fr
    }

    .info-grid {
        grid-template-columns: 1fr
    }

    .home-products {
        grid-template-columns: repeat(3, 1fr)
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 24px 0
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .catalogue-layout {
        grid-template-columns: 1fr
    }

    .cart-panel {
        position: static
    }

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

@media(max-width:650px) {

    .header-main {
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        padding: 14px 0;
    }

    .header-main .brand img {
        width: 190px;
    }

    .header-main .head-actions {
        width: 100%;
        margin-left: 0;
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .header-main .selection {
        font-size: 13px;
    }

    .header-main .head-actions .btn {
        min-height: 42px;
        padding: 0 16px;
        font-size: 12px;
    }

    .catalogue-head {
        justify-content: flex-start;
    }

    .section-head .catalogue-link {
        font-size: 15px;
    }

}

/* ← FIN DU RESPONSIVE MOBILE */

/* =====================================================
   PHOTOS ACCUEIL — FX BOISSONS
   Toutes les images sont servies depuis /images/accueil/
===================================================== */

/* Réglages communs */
.hero.photo-slot,
.universe.photo-slot,
.info-photo.photo-slot {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

/* HERO */
.hero.photo-slot {
    background-image: url("/images/accueil/hero.jpg") !important;
    background-position: center 55% !important;
}

/* CATÉGORIES */
.universe[data-photo="PHOTO SODAS"] {
    background-image: url("/images/accueil/sodas.jpg") !important;
}

.universe[data-photo="PHOTO JUS"] {
    background-image: url("/images/accueil/jus.jpg") !important;
}

.universe[data-photo="PHOTO EAUX"] {
    background-image: url("/images/accueil/eaux.jpg") !important;
}

.universe[data-photo="PHOTO ÉNERGISANTS"] {
    background-image: url("/images/accueil/energisants.jpg") !important;
}

/* BLOCS LIVRAISON / STOCK */
.info-photo[data-photo="PHOTO LIVRAISON / CAMION"] {
    background-image: url("/images/accueil/livraison.jpg") !important;
    background-position: center center !important;
}

.info-photo[data-photo="PHOTO STOCK / ENTREPÔT"] {
    background-image: url("/images/accueil/stock.jpg") !important;
    background-position: center center !important;
}

/* Masque tous les anciens textes PHOTO ... */
.hero.photo-slot::before,
.universe.photo-slot::before,
.info-photo.photo-slot::before {
    content: none !important;
    display: none !important;
}

/* Lisibilité du texte sur les photos */
.universe .card-overlay {
    background: linear-gradient(0deg, rgba(0, 12, 24, .88) 0%, rgba(0, 12, 24, .28) 58%, rgba(0, 12, 24, .04) 100%);
}

.info-photo .card-overlay {
    background: linear-gradient(90deg, rgba(0, 12, 24, .90) 0%, rgba(0, 12, 24, .58) 52%, rgba(0, 12, 24, .18) 100%);
}

@media(max-width:650px) {
    .hero.photo-slot {
        background-position: center center !important;
    }

    .universe.photo-slot,
    .info-photo.photo-slot {
        background-position: center center !important;
    }
}

/* ============================================================
   FX BOISSONS — CATALOGUE FINAL
============================================================ */


/* ---------- HERO ---------- */

.catalogue-hero {
    background:
        linear-gradient(115deg, #031626 0%, #06243c 100%);
    color: #fff;
    padding: 55px 0 50px;
}

.catalogue-hero-in {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.catalogue-hero .eyebrow {
    margin: 0 0 10px;
    color: #58a9ff;
}

.catalogue-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .95;
    letter-spacing: -2px;
}

.catalogue-hero p:not(.eyebrow) {
    max-width: 650px;
    margin: 18px 0 0;
    color: #cbd7e1;
    font-size: 17px;
    line-height: 1.6;
}

.catalogue-count {
    min-width: 220px;
    padding-left: 25px;
    border-left: 3px solid var(--red);
}

.catalogue-count span {
    display: block;
    color: #a9bac8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.catalogue-count strong {
    font-size: 16px;
}


/* ============================================================
   ZONE RECHERCHE
============================================================ */

.catalogue-search-zone {
    background: #fff;
    border-bottom: 1px solid #dfe5ec;
    box-shadow: 0 8px 25px rgba(3, 22, 38, .06);
    padding: 24px 0 20px;
    position: relative;
    z-index: 4;
}


/* GRANDE BARRE */

.catalogue-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 62px;
    background: #fff;
    border: 2px solid #d9e0e7;
    border-radius: 4px;
    transition: .2s ease;
}

.catalogue-search-box:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(8, 119, 255, .08);
}

.catalogue-search-icon {
    width: 62px;
    text-align: center;
    font-size: 27px;
    color: #5d6a77;
}

.catalogue-search-box input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
}

.catalogue-search-box input::placeholder {
    color: #98a2ad;
}

.catalogue-search-box button {
    width: 60px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #8b96a1;
    font-size: 26px;
    cursor: pointer;
}


/* ---------- FILTRES ---------- */

.catalogue-filter-row {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin-top: 16px;
}

.catalogue-category {
    width: 250px;
}

.catalogue-category label {
    display: block;
    margin-bottom: 7px;
    color: #697583;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.catalogue-category select {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 1px solid #ccd5de;
    background: #fff;
    font: inherit;
    font-weight: 700;
    color: var(--ink);
    outline: 0;
}

.catalogue-category select:focus {
    border-color: var(--blue);
}

.catalogue-delivery-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 45px;
    color: #526170;
    font-size: 12px;
    font-weight: 700;
}

.catalogue-delivery-info span::first-letter {
    color: var(--blue);
}

.catalogue-selection-btn {
    min-height: 45px;
    white-space: nowrap;
}

.catalogue-selection-btn span {
    margin-left: 7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: inline-grid;
    place-items: center;
    background: #fff;
    color: var(--red);
    border-radius: 20px;
    font-size: 11px;
}


/* ============================================================
   FOND CATALOGUE
============================================================ */

.catalogue-main {
    background: #f4f6f8;
}

.catalogue-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 70px;
}

.catalogue-products {
    min-width: 0;
}

.products-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.products-kicker {
    color: var(--red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.products-title-row h2 {
    margin: 4px 0 0;
    font-size: 27px;
}


/* ============================================================
   GRILLE PRODUITS
============================================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}


/* ---------- CARTE ---------- */

.product-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;

    background: #fff;
    border: 1px solid #e0e5eb;
    border-radius: 4px;

    padding: 13px;

    box-shadow:
        0 3px 12px rgba(3, 22, 38, .035);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: #cbd4dd;

    box-shadow:
        0 12px 28px rgba(3, 22, 38, .09);
}


/* ---------- IMAGE PRODUIT ---------- */

.product-image {
    width: 100%;
    height: 190px;

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

    padding: 12px;

    background: #fafbfc;
    border-radius: 3px;

    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;

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

    object-fit: contain;
    object-position: center;
}


/* ---------- NOM ---------- */

.product-card h3 {
    margin: 14px 0 5px;

    min-height: 38px;

    color: #0a1830;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}


/* ---------- RÉFÉRENCE ---------- */

.product-card .ref {
    min-height: 30px;
    margin-bottom: 4px;

    color: #7d8995;

    font-size: 10px;
    line-height: 1.4;
}


/* ============================================================
   QUANTITÉS
============================================================ */

.qty-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;

    margin-top: auto;
    padding-top: 10px;
}

.qty-row label {
    display: block;

    color: #53606d;

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .6px;
}

.qty-row input {
    width: 100%;
    height: 38px;

    margin-top: 5px;
    padding: 0 9px;

    border: 1px solid #d3dbe3;
    border-radius: 2px;

    background: #fff;

    font: inherit;
    font-size: 13px;

    outline: none;
}

.qty-row input:focus {
    border-color: var(--blue);
}


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

.add-btn {
    width: 100%;
    min-height: 42px;

    margin-top: 9px;

    border: 0;
    border-radius: 2px;

    background: var(--blue);
    color: #fff;

    font-size: 11px;
    font-weight: 900;

    cursor: pointer;

    transition: .18s ease;
}

.add-btn:hover {
    background: #0565d8;
}


/* ============================================================
   AFFICHER PLUS
============================================================ */

.load-more {
    margin: 28px auto 0;
    min-width: 230px;
}


/* ============================================================
   PANIER / SÉLECTION
============================================================ */

.cart-panel {
    position: sticky;
    top: 20px;

    align-self: start;

    background: #fff;

    border: 1px solid #dce2e8;
    border-top: 4px solid var(--red);

    padding: 22px;

    box-shadow:
        0 10px 30px rgba(3, 22, 38, .07);
}

.cart-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding-bottom: 17px;
    border-bottom: 1px solid #e3e7eb;
}

.cart-mini {
    color: var(--red);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.cart-panel h2 {
    margin: 4px 0 0;

    font-size: 21px;
}

.side-cart-count {
    min-width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    background: var(--red);
    color: #fff;

    border-radius: 50%;

    font-size: 12px;
    font-weight: 900;
}

.cart-empty {
    margin: 20px 0;

    color: #7b8793;

    font-size: 12px;
    line-height: 1.6;
}

.cart-item {
    padding: 14px 0;

    border-bottom: 1px solid #e5e9ed;

    font-size: 12px;
    line-height: 1.5;
}

.cart-item button {
    color: var(--red);
}


/* ---------- VIDER ---------- */

.clear-cart-btn {
    margin-top: 15px;

    padding: 0;

    border: 0;

    background: transparent;
    color: #7d8995;

    font: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.clear-cart-btn:hover {
    color: var(--red);
}


/* ============================================================
   FORMULAIRE DEVIS
============================================================ */

.devis-form {
    margin-top: 25px;
    padding-top: 22px;

    border-top: 1px solid #e1e6eb;
}

.devis-title {
    margin-bottom: 16px;
}

.devis-title span {
    color: var(--blue);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.devis-title h3 {
    margin: 4px 0 0;

    font-size: 18px;
}

.devis-form label {
    display: block;

    margin-bottom: 11px;

    color: #44515e;

    font-size: 10px;
    font-weight: 800;
}

.devis-form input,
.devis-form textarea {
    width: 100%;

    margin: 6px 0 0;

    padding: 11px 12px;

    border: 1px solid #d1d9e1;
    border-radius: 2px;

    background: #fff;

    font: inherit;
    font-size: 12px;

    outline: none;
}

.devis-form input:focus,
.devis-form textarea:focus {
    border-color: var(--blue);
}

.devis-form textarea {
    resize: vertical;
}

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

.devis-help {
    margin: 12px 0 0;

    color: #8a949e;

    font-size: 10px;
    line-height: 1.5;
}


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

@media (max-width: 1250px) {

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

}


@media (max-width: 1000px) {

    .catalogue-layout {
        grid-template-columns: 1fr;
    }

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

    .cart-panel {
        position: static;
    }

    .catalogue-delivery-info {
        display: none;
    }

}


@media (max-width: 760px) {

    .catalogue-hero-in {
        display: block;
    }

    .catalogue-count {
        margin-top: 30px;
    }

    .catalogue-filter-row {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .catalogue-category {
        width: 100%;
    }

    .catalogue-selection-btn {
        width: 100%;
    }

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

}


@media (max-width: 520px) {

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

    .catalogue-search-box {
        height: 54px;
    }

    .product-image {
        height: 230px;
    }

}


/* ============================================================
   FX BOISSONS — RESPONSIVE MOBILE FINAL
   Ajouté en fin de fichier pour ne pas modifier la version PC.
============================================================ */

@media (max-width: 760px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 14px;
    }

    .shell,
    .header-main {
        width: min(100% - 28px, var(--max));
    }

    /* ---------- TOPBAR ---------- */

    .topbar {
        font-size: 10px;
    }

    .topbar-in {
        height: 30px;
        justify-content: center;
        text-align: center;
        gap: 0;
    }

    .topbar-in>span:not(:first-child),
    .topbar-in>a {
        display: none;
    }

    /* ---------- HEADER ---------- */

    .header-main {
        min-height: 68px;
        padding: 8px 0;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .header-main .brand {
        flex: 0 1 auto;
        min-width: 0;
    }

    .header-main .brand img {
        width: 145px;
        max-height: 58px;
    }

    .head-actions,
    .header-main .head-actions {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
        gap: 7px;
        flex-wrap: nowrap;
    }

    .header-main .head-actions .btn,
    .head-actions .btn {
        min-height: 36px;
        padding: 0 11px;
        font-size: 10px;
        white-space: nowrap;
    }

    .head-actions .selection {
        font-size: 10px;
        white-space: nowrap;
    }

    .selection span {
        min-width: 18px;
        height: 18px;
        font-size: 9px;
    }

    /* Sur la page contact, on masque le bouton "Nos produits"
       du header : la navigation reste juste en dessous. */
    .contact-main~* {
        max-width: 100%;
    }

    /* ---------- NAVIGATION ---------- */

    .nav .shell {
        width: 100%;
        gap: 0;
        justify-content: stretch;
    }

    .nav a {
        flex: 1;
        padding: 11px 4px 9px;
        text-align: center;
        font-size: 11px;
        border-bottom-width: 2px;
    }

    /* ========================================================
       ACCUEIL
    ======================================================== */

    .hero,
    .hero-grid {
        min-height: auto;
    }

    .hero {
        padding: 34px 0 30px;
    }

    .hero-shade {
        background:
            linear-gradient(90deg,
                rgba(0, 14, 26, .93) 0%,
                rgba(0, 14, 26, .77) 70%,
                rgba(0, 14, 26, .62) 100%);
    }

    .hero-grid {
        display: block;
    }

    .hero-copy {
        max-width: 100%;
    }

    .eyebrow,
    .mini {
        font-size: 9px;
        letter-spacing: 2.2px;
    }

    .hero h1 {
        font-size: clamp(38px, 12vw, 48px);
        line-height: .94;
        margin: 8px 0 12px;
        letter-spacing: 0;
    }

    .hero-sub {
        margin: 0;
        font-size: 13px;
        line-height: 1.45;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px 14px;
        margin: 22px 0;
    }

    .hero-benefits>div {
        grid-template-columns: 30px 1fr;
        column-gap: 8px;
    }

    .ico {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

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

    .hero-benefits small {
        font-size: 9px;
    }

    .hero-cta {
        gap: 8px;
        flex-wrap: wrap;
    }

    .hero-cta .btn {
        min-height: 40px;
        padding: 0 14px;
        font-size: 10px;
    }

    .hero-proof {
        display: none;
    }

    /* Catégories */

    .universes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 0 8px;
    }

    .universe {
        height: 190px;
    }

    .card-copy {
        left: 14px;
        right: 12px;
        bottom: 13px;
    }

    .card-copy h2 {
        font-size: 19px;
        margin-bottom: 2px;
    }

    .card-copy p {
        margin: 0 0 8px;
        font-size: 10px;
        line-height: 1.35;
    }

    .card-copy a {
        font-size: 10px;
    }

    /* Blocs infos */

    .info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 20px;
    }

    .info-photo,
    .pro-card {
        min-height: 250px;
    }

    .info-copy,
    .pro-card {
        padding: 20px;
    }

    .info-copy h2,
    .pro-card h2 {
        margin-bottom: 12px;
        font-size: 21px;
        line-height: 1.05;
    }

    .info-copy ul,
    .pro-card ul {
        margin: 12px 0;
    }

    .info-copy li,
    .pro-card li {
        margin: 7px 0;
        font-size: 11px;
    }

    .info-copy .btn {
        min-height: 38px;
        padding: 0 14px;
        font-size: 10px;
    }

    .text-link {
        margin-top: 10px;
        font-size: 11px;
    }

    /* Produits accueil */

    .best {
        padding: 8px 0 22px;
    }

    .section-head {
        margin-bottom: 10px;
    }

    .section-head .catalogue-link {
        font-size: 12px;
    }

    .home-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mini-product {
        padding: 8px;
    }

    .mini-img {
        height: 115px;
    }

    .mini-img img {
        max-height: 105px;
    }

    .mini-product h3 {
        min-height: 32px;
        margin: 7px 0 3px;
        font-size: 11px;
        line-height: 1.3;
    }

    .mini-product p {
        min-height: 24px;
        margin: 3px 0 7px;
        font-size: 9px;
    }

    .mini-product a {
        padding: 8px 5px;
        font-size: 9px;
    }

    /* Chiffres */

    .stats-row {
        min-height: auto;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 12px 0;
    }

    .stats-row>div {
        min-height: 66px;
        padding: 12px 10px;
        border-right: 1px solid #365064;
        border-bottom: 1px solid #365064;
    }

    .stats-row>div:nth-child(2n) {
        border-right: 0;
    }

    .stats-row>div:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

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

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

    /* ========================================================
       CATALOGUE
    ======================================================== */

    .catalogue-main {
        padding-bottom: 25px;
    }

    .catalogue-hero {
        padding: 25px 0 22px;
    }

    .catalogue-hero-in {
        display: block;
    }

    .catalogue-hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .catalogue-hero p:not(.eyebrow) {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.4;
    }

    .catalogue-count {
        display: none;
    }

    .catalogue-search-zone {
        padding: 12px 0;
    }

    .catalogue-search-box {
        height: 46px;
        border-width: 1px;
    }

    .catalogue-search-icon {
        width: 42px;
        font-size: 20px;
    }

    .catalogue-search-box input {
        min-width: 0;
        font-size: 12px;
    }

    .catalogue-search-box button {
        width: 42px;
        font-size: 20px;
    }

    .catalogue-filter-row {
        margin-top: 9px;
        gap: 8px;
        flex-direction: row;
        align-items: flex-end;
    }

    .catalogue-category {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .catalogue-category label {
        margin-bottom: 4px;
        font-size: 8px;
    }

    .catalogue-category select {
        height: 38px;
        padding: 0 8px;
        font-size: 10px;
    }

    .catalogue-delivery-info {
        display: none;
    }

    .catalogue-selection-btn {
        width: auto;
        min-height: 38px;
        padding: 0 10px;
        font-size: 9px;
        white-space: nowrap;
    }

    .catalogue-layout {
        display: block;
        padding-top: 17px;
        padding-bottom: 28px;
    }

    .products-title-row {
        margin-bottom: 10px;
    }

    .products-kicker {
        font-size: 8px;
    }

    .products-title-row h2 {
        font-size: 21px;
    }

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

    .product-card {
        padding: 8px;
    }

    .product-card:hover {
        transform: none;
    }

    .product-image {
        height: 128px;
        padding: 6px;
    }

    .product-image img {
        max-width: 120px;
        max-height: 116px;
    }

    .product-card h3 {
        min-height: 34px;
        margin: 8px 0 3px;
        font-size: 11px;
        line-height: 1.3;
    }

    .product-card .ref {
        min-height: 22px;
        margin-bottom: 0;
        font-size: 8px;
        line-height: 1.3;
    }

    .qty-row {
        gap: 5px;
        padding-top: 7px;
    }

    .qty-row label {
        font-size: 7px;
        letter-spacing: .2px;
    }

    .qty-row input {
        height: 34px;
        margin-top: 3px;
        padding: 0 6px;
        font-size: 12px;
    }

    .add-btn {
        min-height: 35px;
        margin-top: 6px;
        font-size: 9px;
    }

    .load-more {
        min-width: 0;
        width: 100%;
        min-height: 40px;
        margin-top: 15px;
        font-size: 10px;
    }

    /* Sélection / devis */

    .cart-panel {
        position: static;
        margin-top: 20px;
        padding: 16px;
        border-top-width: 3px;
    }

    .cart-panel-head {
        padding-bottom: 12px;
    }

    .cart-panel h2 {
        font-size: 18px;
    }

    .side-cart-count {
        min-width: 27px;
        height: 27px;
        font-size: 10px;
    }

    .cart-empty,
    .cart-item {
        font-size: 11px;
    }

    .devis-form {
        margin-top: 18px;
        padding-top: 16px;
    }

    .devis-title h3 {
        font-size: 17px;
    }

    .devis-form label {
        margin-bottom: 9px;
        font-size: 9px;
    }

    .devis-form input,
    .devis-form textarea {
        padding: 10px;
        font-size: 12px;
    }

    .devis-submit {
        min-height: 40px;
        font-size: 10px;
    }

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

    .contact-main {
        min-height: 0;
    }

    .contact-hero {
        padding: 28px 0 26px;
    }

    .contact-hero h1 {
        margin: 7px 0 8px;
        font-size: 32px;
        line-height: 1;
        letter-spacing: -.5px;
    }

    .contact-hero p:last-child {
        margin: 0;
        max-width: 100%;
        font-size: 12px;
        line-height: 1.5;
    }

    .contact-layout {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px 0 28px;
    }

    .contact-side,
    .contact-form {
        padding: 18px;
    }

    .contact-side h2,
    .form-head h2 {
        margin: 5px 0 14px;
        font-size: 20px;
        line-height: 1.1;
    }

    .contact-fact {
        padding: 11px 0;
        gap: 3px;
    }

    .contact-fact b {
        font-size: 9px;
    }

    .contact-fact a,
    .contact-fact span {
        font-size: 11px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 15px;
    }

    .form-grid label,
    .form-grid .full {
        grid-column: 1;
        font-size: 10px;
    }

    .form-grid input,
    .form-grid select,
    .form-grid textarea {
        margin-top: 5px;
        padding: 10px;
        font-size: 12px;
    }

    .form-grid textarea {
        min-height: 120px;
        rows: 5;
    }

    .form-bottom {
        display: block;
    }

    .form-bottom .btn {
        width: 100%;
        min-height: 40px;
        padding: 0 14px;
        font-size: 10px;
    }

    #contact-result {
        display: block;
        margin-top: 10px;
        font-size: 11px;
    }

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

    .footer {
        padding: 24px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 16px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand img {
        width: 150px;
    }

    .footer-brand span {
        font-size: 10px;
    }

    .footer-grid>div {
        gap: 6px;
        font-size: 10px;
    }

    .footer-grid b {
        margin-bottom: 3px;
        font-size: 11px;
    }

    .footer-grid .btn {
        min-height: 35px;
        padding: 0 10px;
        font-size: 9px;
    }
}


/* Téléphones étroits : on garde les produits sur 2 colonnes,
   mais on compacte encore légèrement au lieu de créer
   d'énormes cartes sur une seule colonne. */
@media (max-width: 390px) {

    .shell,
    .header-main {
        width: min(100% - 20px, var(--max));
    }

    .header-main .brand img {
        width: 125px;
    }

    .header-main .head-actions .btn,
    .head-actions .btn {
        padding: 0 8px;
        font-size: 9px;
    }

    .head-actions .selection {
        font-size: 9px;
    }

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

    .hero-benefits {
        gap: 9px 8px;
    }

    .universes {
        gap: 6px;
    }

    .universe {
        height: 175px;
    }

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

    .product-card {
        padding: 6px;
    }

    .product-image {
        height: 112px;
    }

    .product-image img {
        max-height: 102px;
    }

    .product-card h3 {
        font-size: 10px;
    }

    .qty-row label {
        font-size: 6.5px;
    }

    .catalogue-selection-btn {
        padding: 0 8px;
        font-size: 8px;
    }

    .contact-hero h1 {
        font-size: 29px;
    }
}