@charset "utf-8";
/* ==========================================================================
   Coin des Affaires — landing styles (cleaned)
   ==========================================================================
   Sommaire :
   1.  Design tokens
   2.  Utilitaires (uniquement ceux utilisés dans le HTML)
   3.  Base
   4.  Layout page
   5.  Header
   6.  Hero + bandeau « good deals »
   7.  Menu catégories (.menu-affaires / .cat-affaires)
   8.  Grille catégories (.categories) — peuplée par template différé
   9.  Titre (.title1) et conteneur .items
   10. Marques
   11. Mentions footer
   ========================================================================== */
/* ==========================================================================
   1. Design tokens
   ========================================================================== */ :root {
    /* Brand */
    --nuit: #1e2b50;
    --corail: #e27169;
    --lavande-deep: #a07fd1;
    --lagon: #0096c8;
    --poudre: #efc0bf;
    --lilas: #d5c6f4;
    --ciel-light: #aadbec;
    /* Neutrals */
    --white: #ffffff;
    --gray-dark: #505050;
    --gray-text: #828282;
    --gray-soft: #f0f0f0;
    --gray-mention: #afafaf;
    /* Typography */
    --font-serif: "Source Serif 4", "Georgia", "Times New Roman", serif;
    /* Layout */
    --page-max-width: 1500px;
    --page-padding: 20px;
    --radius-sm: 8px;
    --radius-hero: 70px;
    /* Motion */
    --transition-fast: 0.2s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.35s ease;
}
/* ==========================================================================
   2. Utilitaires
   ========================================================================== */
.txt-nuit {
    color: var(--nuit);
}
.txt-white {
    color: var(--white) !important;
}
.big-br-tl {
    border-radius: 70px 8px 8px 8px !important;
}
.big-br-br {
    border-radius: 8px 8px 70px 8px !important;
}
.ft-source-serif {
    font-family: var(--font-serif);
    font-variation-settings: "opsz"10;
}
/* ==========================================================================
   3. Base
   ========================================================================== */
a, a:hover {
    color: inherit;
}
/* ==========================================================================
   4. Layout page
   ========================================================================== */
.page-cda {
    width: 100%;
    padding-bottom: 50px;
    background: var(--gray-soft);
}
@media screen and (max-width: 1540px) {
    .page-cda > div, .page-cda > nav {
        padding: 0 var(--page-padding);
    }
    .page-cda > div.header {
        padding: 0;
    }
    .page-cda > div.marques {
        margin: 30px var(--page-padding);
        padding: 40px;
    }
}
/* ==========================================================================
   5. Header
   ========================================================================== */
.header {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/bg-header-para.jpg") no-repeat center / cover;
    background-attachment: fixed;
}
.header .txt-header {
    position: relative;
    top: 45%;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    color: var(--white);
    text-align: center;
    transform: translateY(-50%);
}
.header-title {
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-variation-settings: "opsz"10;
    font-size: 110px;
    font-weight: 800;
    line-height: 0.9;
}
.header-subtitle {
    color: var(--nuit);
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 32px;
}
.header .fore-pic, .header .back-pic {
    position: absolute;
    background-repeat: no-repeat;
}
.header .fore-pic {
    top: -140px;
    right: 0;
    z-index: -1;
    width: 699px;
    height: 641px;
    background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/header-product-back.png");
    background-position: right bottom;
    bac
}
.header .back-pic {
    top: 20px;
    width: 960px;
    height: 550px;
    background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/header-product-fore.png");
    background-position: top left;
}
@media screen and (min-width: 2301px) {
    .header .back-pic {
        left: 12%;
    }
}
@media screen and (max-width: 2300px) {
    .header .back-pic {
        left: 6%;
    }
}
@media screen and (max-width: 1800px) {
    .header .back-pic {
        left: 4%;
    }
}
@media screen and (max-width: 1600px) {
    .header .back-pic {
        left: -4%;
    }
    .header .fore-pic {
        display: none;
    }
}
@media (max-width: 768px) {
    .header {
        background-attachment: scroll;
        border-bottom-left-radius: var(--radius-sm);
        border-bottom-right-radius: var(--radius-hero);
    }
    .header .back-pic {
        top: 120px;
        left: -220px;
        opacity: 0.8;
    }

    .header .txt-header {
        top: 50px;
        width: 100%;
        padding: 0 var(--page-padding);
        transform: none;
    }
    .header-title {
        font-size: 64px;
        line-height: 68px;
        max-width: 500px;
    }
    .header-subtitle {
        font-size: 25px;
        margin-top: 10px;
    }
}


/* ==========================================================================
   6. Hero + bandeau « good deals »
   ========================================================================== */
.hero {
    max-width: var(--page-max-width);
    margin: 20px auto 0;
}
.hero img {
    display: inline-block;
    max-width: 100%;
}
.good-deals {
    max-width: 1300px;
    margin: 20px auto 30px;
    color: var(--gray-text);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}
@media screen and (max-width: 1023px) {
    .good-deals {
        margin: 20px 23px 30px 24px;
    }
}
@media screen and (max-width: 768px) {
    .good-deals {
        max-width: 100%;
        line-height: 18px;
    }
}
@media screen and (max-width: 375px) {
    .good-deals {
        font-size: 10px;
    }
}
/* ==========================================================================
   7. Menu catégories (.menu-affaires / .cat-affaires)
   ========================================================================== */
/* Structure de base */
.cat-affaires {
    float: left;
    width: calc(99.99% / 7);
    box-sizing: border-box;
    margin: 0 auto;
    font-weight: 500;
    line-height: 185px;
    text-align: center;
}
.cat-affaires a {
    display: block;
    width: 100%;
    height: 140px;
    box-sizing: border-box;
    color: var(--white);
    text-decoration: none;
}

@media screen and (max-width: 1500px) {
    .cat-affaires {
        font-size: 12px;
    }
}
/* Toggle mobile */
#menu-mobile, .menu-mobile {
    display: none;
}
.menu-responsive {
    max-width: var(--page-max-width);
    margin: 0 auto;
}
.menu-responsive input[type=checkbox]:checked ~ ul {
    display: flex;
}
/* --- Desktop ≥ 1024px --- */
@media screen and (min-width: 1024px) {
    .menu-affaires {
        display: flex;
        gap: 10px;
        height: 140px;
        padding: 0;
        list-style: none;
        background-color: transparent;
    }
    .cat-affaires {
        position: relative;
        flex: 1;
        float: none;
        width: auto;
        height: 140px;
        margin: 0;
        overflow: hidden;
        background-color: var(--white);
        border-radius: var(--radius-sm);
        font-weight: 700;
        line-height: normal;
        transition: box-shadow var(--transition-fast);
    }
    .cat-affaires:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }
    .cat-affaires a {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 100%;
        padding-top: 18px;
        overflow: hidden;
        color: var(--nuit);
        line-height: normal;
        text-decoration: none;
        transition: color var(--transition-base);
    }
    .cat-affaires a:hover {
        background-color: transparent;
    }
    .cat-affaires a span {
        position: relative;
        z-index: 2;
        padding: 0 8px;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
    }
    .cat-affaires a::after {
        content: "";
        position: absolute;
        bottom: -20px;
        left: 50%;
        z-index: 1;
        width: 100px;
        height: 100px;
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: contain;
        transform: translateX(-50%);
        transition: bottom 0.3s ease;
    }
    .cat-affaires a:hover::after {
        bottom: 0;
    }
}
/* Pictogrammes (uniques par position) ≥ 1023px */
@media screen and (min-width: 1023px) {
    .cat-affaires:nth-of-type(1) a::after {
        background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/picto-1.png");
    }
    .cat-affaires:nth-of-type(2) a::after {
        background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/picto-2.png");
    }
    .cat-affaires:nth-of-type(3) a::after {
        background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/picto-3.png");
    }
    .cat-affaires:nth-of-type(4) a::after {
        background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/picto-4.png");
    }
    .cat-affaires:nth-of-type(5) a::after {
        background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/picto-5.png");
    }
    .cat-affaires:nth-of-type(6) a::after {
        background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/picto-6.png");
    }
    .cat-affaires:nth-of-type(7) a::after {
        background-image: url("https://media.ldlc.com/mkt/ldlc/fr/coin-des-affaires/landing/picto-7.png");
    }
    /* Couleurs cycliques (ciel → lilas → poudre) */
    .cat-affaires:nth-of-type(3n+1) a {
        background-color: var(--ciel-light);
        color: var(--lagon);
    }
    .cat-affaires:nth-of-type(3n+2) a {
        background-color: var(--lilas);
        color: var(--lavande-deep);
    }
    .cat-affaires:nth-of-type(3n) a {
        background-color: var(--poudre);
        color: var(--corail);
    }
    .cat-affaires a:hover {
        background-color: var(--white);
        color: var(--nuit);
    }
}
/* --- Tablette / mobile < 1024px --- */
@media screen and (max-width: 1023px) {
    .menu-affaires {
        display: none;
        flex-direction: column;
        float: left;
        gap: 0;
        width: 100%;
        height: auto;
        background-color: var(--nuit);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    .menu-affaires .cat-affaires {
        flex: none;
        height: 50px;
        background-color: transparent;
        border-radius: 0 !important;
    }
    .menu-affaires .cat-affaires:hover {
        box-shadow: none;
    }
    .menu-responsive input[type=checkbox]:checked ~ ul {
        display: flex;
        flex-direction: column;
        max-width: 1023px;
        margin-bottom: 20px;
    }
    .menu-responsive input[type=checkbox]:checked + label, .menu-mobile:active {
        display: block;
        margin-bottom: 0;
        padding: 25px 0;
        color: var(--white);
        text-align: center;
        text-transform: uppercase;
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }
    .menu-responsive input[type=checkbox]:checked + .menu-mobile span {
        cursor: pointer;
        transform: rotate(-180deg);
    }
    .menu-mobile {
        position: relative;
        display: block;
        padding: 25px 35px;
        background: var(--nuit);
        border-radius: var(--radius-sm);
        color: var(--white);
        font-size: 21px;
        font-weight: bold;
        text-align: center;
        text-transform: uppercase;
    }
    .menu-mobile span {
        position: absolute;
        top: 26px;
        right: 30px;
        float: right;
        font-size: 18px;
    }
    .menu-responsive li:hover .menu-affaires {
        position: static;
        display: flex;
    }
    .cat-affaires, .cat-affaires a {
        width: 100% !important;
        height: 50px !important;
        line-height: 50px;
    }
    .cat-affaires a {
        justify-content: center;
        background-image: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 16px;
    }
    .cat-affaires a::after {
        content: "›";
        display: inline-block;
        margin-left: 5px;
        background-image: none;
    }
}
@media screen and (max-width: 768px) {
    .menu-responsive input[type=checkbox]:checked ~ ul {
        max-width: 100%;
    }
}
/* ==========================================================================
   8. Grille catégories (.categories)
   --------------------------------------------------------------------------
   La div .categories est peuplée côté client par un template différé
   (deferredAction="most-popular-categories"). Les sélecteurs .dsp-cell,
   .pic-bloc et .cat-bloc sont conservés car typiquement utilisés par ce
   rendu. À retirer si un audit confirme qu'ils ne sont pas générés.
   ========================================================================== */
.categories {
    display: grid;
    grid-gap: 1.1rem;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    text-align: center;
}
.categories a {
    text-decoration: none;
}
.categories .dsp-cell {
    display: block;
    padding: 5px 5px 20px;
    background-color: var(--white);
    border-radius: var(--radius-sm);
    text-align: center;
}

.categories .dsp-cell:nth-child(6n+3) {
    border-radius: 70px 8px 8px 8px;
}

.categories .dsp-cell:nth-child(6n+6) {
    border-radius: 8px 8px 70px 8px;
}


.pic-bloc {
    margin: 10px auto;
    overflow: hidden;
}
.pic-bloc img {
    width: auto;
    max-width: 100%;
    height: auto !important;
    transform: scale(1);
    transition: transform var(--transition-slow);
}
@media (hover: hover) and (pointer: fine) {
    .dsp-cell:hover .pic-bloc img {
        transform: scale(1.06);
    }
}
.cat-bloc {
    padding-top: 20px;
    color: var(--gray-dark);
    font-size: 16px;
    text-align: center;
}
.bloc-jaune {
    display: inline-block;
    width: auto;
    padding: 10px 25px;
    background: var(--nuit);
    border-radius: var(--radius-pill);
    color: var(--white);
    font-size: 14px;
    border-radius: 20px;
}
@media screen and (max-width: 1024px) {
    .categories {
        grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    }
}
@media screen and (max-width: 530px) {
    .categories {
        grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    }
}
/* ==========================================================================
   9. Titre (.title1) et conteneur .items
   ========================================================================== */
.title1 {
    margin: 0 auto 30px;
    padding-top: 50px;
    font-size: 48px;
    font-weight: 800;
    line-height: 52px;
    text-align: center;
}
.items {
    max-width: var(--page-max-width);
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .items {
        max-width: 100%;
        margin: 18px auto 30px;
    }
    .title1 {
        margin-left: 0;
        font-size: 38px;
    }
}
@media screen and (max-width: 414px) {
    .items {
        max-width: 98%;
        margin-bottom: 30px;
    }
    .title1 {
        padding-top: 0;
        font-size: 38px;
    }
}
/* ==========================================================================
   10. Marques
   ========================================================================== */
.marques {
    max-width: var(--page-max-width);
    margin: 30px auto 0;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-sm);
}
.marques .title1 {
    padding-top: 0;
}
.marque {
    text-align: center;
}
.marque .images img {
    max-width: 190px;
}
.images {
    display: inline-block;
    margin: 0 20px;
}
@media screen and (max-width: 1023px) {
    .images {
        margin-right: 23px;
    }
}
@media screen and (max-width: 768px) {
    .images {
        margin: 10px 50px;
    }
    .marque {
        margin-left: 7px;
    }
}
@media screen and (max-width: 414px) {
    .images {
        margin: 10px 5px;
    }
    .marque {
        margin-left: -10px;
    }
}
@media screen and (max-width: 320px) {
    .marque {
        margin-left: 10px;
    }
}
/* ==========================================================================
   11. Mentions footer
   ========================================================================== */
.mentions-footer p {
    width: 100%;
    max-width: 1048px;
    margin: 25px auto;
    color: var(--gray-mention);
    font-size: 11px;
    line-height: 14px;
    text-align: center;
}
@media screen and (max-width: 1023px) {
    .mentions-footer p {
        padding: 0 35px;
    }
}
@media screen and (max-width: 768px) {
    .mentions-footer p {
        max-width: 100%;
        margin-top: 0;
        padding: 15px;
    }
}