
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');


/* =====================================================
   DRIM PC — PAGE B : RÉPARATION ET DÉPANNAGE
   Responsive : 320px à 1920px et plus
   Optimisation laptop : 1366 x 768
   Optimisation mobile : cartes compactes et regroupées
===================================================== */


/* =====================================================
   1. BASE GÉNÉRALE
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-offset: 95px;
    --bleu: #2684FF;
    --bleu-clair: #55BFFF;
    --orange: #FF8A00;
    --orange-hover: #E67800;
    --fond-carte: #080808;
    --bordure-carte: #222222;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
}

body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Sora', sans-serif;
}

img {
    max-width: 100%;
}


/* =====================================================
   2. HEADER OFFICIEL DRIM PC
===================================================== */

.header {
    width: 100%;
    height: 95px;
    min-height: 95px;
    padding: 5px 4%;

    background-color: var(--bleu);

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 9999;
}

/* LOGO */

.header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header .logo img {
    display: block;
    width: 85px;
    height: auto;
}

/* NAVIGATION */

.header .navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(16px, 3vw, 45px);
    white-space: nowrap;
}

.header .navigation a {
    color: #FFFFFF;
    text-decoration: none;

    font-family: 'Sora', sans-serif;
    font-size: clamp(14px, 1.45vw, 21px);
    font-weight: 700;

    transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .header .navigation a:hover {
        color: var(--orange);
    }
}


/* =====================================================
   3. PAGE PRINCIPALE — HERO
===================================================== */

.reparation-hero {
    width: 100%;
    min-height: calc(100vh - 95px);
    min-height: calc(100svh - 95px);

    padding: 65px 5% 75px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 55px;
    text-align: center;
    background-color: #000000;
}

/* CONTENU DU HERO */

.hero-contenu {
    width: 100%;
    max-width: 1100px;
    color: #FFFFFF;
}

.reparation-hero .hero-contenu h1 {
    color: #FFFFFF;
    font-family: 'Sora', sans-serif;
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.reparation-hero .hero-contenu p {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1.6;
}


/* =====================================================
   4. GRILLE DES TROIS CATÉGORIES
===================================================== */

.reparation-categories {
    width: 100%;
    max-width: 1350px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;

    align-items: stretch;
}

/* CARTES PRINCIPALES */

.reparation-categorie {
    min-width: 0;
    min-height: 370px;

    padding: 38px 28px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    background-color: var(--fond-carte);
    border: 1px solid var(--bordure-carte);
    border-radius: 15px;

    color: #FFFFFF;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* ICÔNES */

.categorie-icone {
    width: 100px;
    height: 100px;

    object-fit: contain;
    margin-bottom: 25px;

    filter:
        brightness(0)
        saturate(100%)
        invert(40%)
        sepia(98%)
        saturate(2500%)
        hue-rotate(195deg)
        brightness(100%);
}

/* TITRES */

.reparation-categorie h3 {
    color: #FFFFFF;
    font-family: 'Sora', sans-serif;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 18px;
}

/* DESCRIPTION */

.reparation-categorie p {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* LIEN EN SAVOIR PLUS */

.service-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 20px;

    color: var(--orange) !important;

    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;

    text-decoration: none;
    transition: color 0.3s ease;
}

.fleche-orange {
    display: inline-block;
    color: var(--orange) !important;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

/* SURVOL DES CARTES */

@media (hover: hover) and (pointer: fine) {

    .reparation-categorie:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(38, 132, 255, 0.20);
        border-color: var(--bleu);
    }

    .reparation-categorie:hover .service-link,
    .reparation-categorie:hover .fleche-orange {
        color: var(--bleu-clair) !important;
    }

    .reparation-categorie:hover .fleche-orange {
        transform: translateX(5px);
    }
}

.reparation-categorie:active {
    border-color: var(--bleu);
}

.reparation-categorie:focus-visible {
    outline: 2px solid var(--bleu);
    outline-offset: 5px;
}


/* =====================================================
   5. SECTIONS DES OFFRES
===================================================== */

.offres-section {
    width: 100%;
    min-height: calc(100vh - var(--header-offset));
    min-height: calc(100svh - var(--header-offset));

    padding: 90px 5% 100px;

    background-color: #000000;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;

    scroll-margin-top: 0;
}

/* TITRES DES SECTIONS */

.offres-section > h2 {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 60px;

    color: #FFFFFF;
    font-family: 'Sora', sans-serif;
    font-size: clamp(25px, 2.6vw, 36px);
    font-weight: 800;
    line-height: 1.3;
}

/* GRILLE DES OFFRES */

.offres-grille {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;

    align-items: stretch;
}

/* GRILLE AVEC UNE CARTE CENTRÉE */

.offres-grille-centree {
    grid-template-columns: minmax(280px, 430px);
    justify-content: center;
}


/* =====================================================
   6. CARTES DES OFFRES
===================================================== */

.offre-carte {
    width: 100%;
    min-width: 0;
    min-height: 500px;

    padding: 38px 28px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: var(--fond-carte);
    border: 1px solid var(--bordure-carte);
    border-radius: 15px;

    color: #FFFFFF;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* ICÔNES */

.offre-icone {
    width: 90px;
    height: 90px;

    object-fit: contain;
    margin-bottom: 22px;

    filter:
        brightness(0)
        saturate(100%)
        invert(40%)
        sepia(98%)
        saturate(2500%)
        hue-rotate(195deg)
        brightness(100%);
}

/* CATÉGORIE */

.offre-categorie {
    color: var(--bleu);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* TITRE */

.offre-carte h3 {
    color: #FFFFFF;
    font-family: 'Sora', sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 18px;
}

/* DESCRIPTION */

.offre-description {
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* PRIX */

.offre-a-partir {
    color: #FFFFFF;
    font-size: 15px;
    margin-top: auto;
    margin-bottom: 5px;
}

.offre-prix {
    color: var(--orange);
    font-family: 'Sora', sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 25px;
}

/* BOUTON CHOISIR L'OFFRE */

.offre-bouton {
    display: inline-block;
    width: 100%;
    max-width: 240px;

    padding: 14px 24px;

    background-color: var(--orange);
    border: 2px solid var(--orange);
    border-radius: 6px;

    color: #FFFFFF;
    text-decoration: none;

    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .offre-bouton:hover {
        background-color: var(--bleu);
        border-color: var(--bleu);
        color: #FFFFFF;
    }
}

.offre-bouton:active {
    background-color: var(--orange-hover);
    border-color: var(--orange-hover);
}


/* =====================================================
   7. CENTRAGE DE LA SECTION GESTION DES DONNÉES
===================================================== */

#gestion-des-donnees .offres-grille {
    grid-template-columns: repeat(2, minmax(280px, 430px));
    justify-content: center;
    align-items: stretch;
}

#gestion-des-donnees .offre-carte {
    width: 100%;
}


/* =====================================================
   8. RETOUR AUX SERVICES
===================================================== */

.retour-services {
    width: 100%;
    padding: 50px 5%;

    background-color: #000000;
    text-align: center;
}

.retour-bouton {
    display: inline-block;

    color: var(--orange);
    text-decoration: none;

    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;

    transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .retour-bouton:hover {
        color: var(--orange-hover);
    }
}


/* =====================================================
   9. RETOUR EN HAUT DE PAGE
===================================================== */

.back-to-top {
    position: fixed;
    left: 30px;
    bottom: 25px;
    z-index: 999;

    color: var(--orange);

    font-size: 55px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .back-to-top:hover {
        color: var(--orange-hover);
        transform: translateY(-6px);
    }
}


/* =====================================================
   10. LAPTOPS ET ÉCRANS MOYENS
===================================================== */

@media screen and (max-width: 1200px) {

    .header .navigation {
        gap: 22px;
    }

    .header .navigation a {
        font-size: 17px;
    }

    .reparation-hero {
        gap: 40px;
        padding: 55px 4% 65px;
    }

    .reparation-categories {
        gap: 22px;
    }

    .reparation-categorie {
        padding: 32px 22px;
        min-height: 350px;
    }

    .offres-grille {
        gap: 22px;
    }

    .offre-carte {
        padding: 32px 22px;
    }
}


/* =====================================================
   11. PETITS LAPTOPS ET TABLETTES
===================================================== */

@media screen and (max-width: 1000px) {

    .header {
        padding-left: 3%;
        padding-right: 3%;
    }

    .header .logo img {
        width: 70px;
    }

    .header .navigation {
        gap: 16px;
    }

    .header .navigation a {
        font-size: 14px;
    }

    .reparation-hero {
        min-height: auto;
        padding: 65px 5%;
    }

    .reparation-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 800px;
    }

    .reparation-categorie:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        justify-self: center;
    }

    .offres-grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 900px;
    }

    .offres-grille-centree {
        grid-template-columns: minmax(280px, 430px);
    }

    #gestion-des-donnees .offres-grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offre-carte {
        min-height: 480px;
    }
}


/* =====================================================
   12. TABLETTES
===================================================== */

@media screen and (max-width: 768px) {

    :root {
        --header-offset: 150px;
    }

    /* HEADER */

    .header {
        height: auto;
        min-height: 0;

        padding: 10px 15px 14px;

        flex-direction: column;
        justify-content: center;
        gap: 9px;
    }

    .header .logo img {
        width: 62px;
    }

    .header .navigation {
        position: static;
        transform: none;

        width: 100%;

        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

        gap: 10px 18px;
        white-space: normal;
    }

    .header .navigation a {
        font-size: 13px;
        text-align: center;
    }

    /* HERO */

    .reparation-hero {
        min-height: calc(100svh - var(--header-offset));
        padding: 40px 5% 45px;
        gap: 30px;
    }

    .reparation-hero .hero-contenu h1 {
        font-size: clamp(27px, 5vw, 35px);
        margin-bottom: 18px;
    }

    .reparation-hero .hero-contenu p {
        font-size: 16px;
        line-height: 1.5;
    }

    /* TROIS CARTES PRINCIPALES : 2 + 1 */

    .reparation-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        max-width: 700px;
    }

    .reparation-categorie {
        min-height: 0;
        padding: 24px 16px;
        border-radius: 12px;
    }

    .reparation-categorie:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 7px);
    }

    .categorie-icone {
        width: 68px;
        height: 68px;
        margin-bottom: 15px;
    }

    .reparation-categorie h3 {
        font-size: 17px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .reparation-categorie p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .service-link {
        font-size: 13px;
        padding-top: 12px;
    }

    /* SECTIONS DES OFFRES */

    .offres-section {
        min-height: calc(100vh - var(--header-offset));
        min-height: calc(100svh - var(--header-offset));

        padding: 40px 5% 50px;

        justify-content: safe center;
        scroll-margin-top: 0;
    }

    .offres-section > h2 {
        font-size: clamp(23px, 4vw, 28px);
        margin-bottom: 28px;
    }

    /* CARTES D'OFFRES */

    .offres-grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .offres-grille-centree {
        grid-template-columns: minmax(0, 430px);
    }

    #gestion-des-donnees .offres-grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offre-carte {
        min-height: 0;
        padding: 24px 15px;
        border-radius: 12px;
    }

    .offre-icone {
        width: 65px;
        height: 65px;
        margin-bottom: 14px;
    }

    .offre-categorie {
        font-size: 13px;
        margin-bottom: 11px;
    }

    .offre-carte h3 {
        font-size: 17px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .offre-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .offre-a-partir {
        font-size: 12px;
    }

    .offre-prix {
        font-size: 29px;
        margin-bottom: 16px;
    }

    .offre-bouton {
        padding: 11px 12px;
        font-size: 13px;
    }

    /* RETOUR */

    .retour-services {
        padding: 30px 5%;
    }

    .retour-bouton {
        font-size: 15px;
    }

    .back-to-top {
        left: 12px;
        bottom: 12px;
        font-size: 38px;
    }
}


/* =====================================================
   13. SMARTPHONES
   600px et moins
===================================================== */

@media screen and (max-width: 600px) {

    :root {
        --header-offset: 145px;
    }

    /* HEADER */

    .header {
        padding: 8px 10px 12px;
        gap: 8px;
    }

    .header .logo img {
        width: 55px;
    }

    .header .navigation {
        gap: 8px 13px;
    }

    .header .navigation a {
        font-size: 12px;
    }

    /* HERO */

    .reparation-hero {
        padding: 30px 4% 38px;
        gap: 24px;
    }

    .reparation-hero .hero-contenu h1 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .reparation-hero .hero-contenu p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* CARTES PRINCIPALES : 2 + 1 */

    .reparation-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .reparation-categorie {
        padding: 20px 11px;
    }

    .reparation-categorie:last-child {
        width: calc(50% - 5px);
    }

    .categorie-icone {
        width: 56px;
        height: 56px;
        margin-bottom: 11px;
    }

    .reparation-categorie h3 {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 9px;
    }

    .reparation-categorie p {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .service-link {
        font-size: 12px;
        padding-top: 10px;
    }

    /* SECTIONS */

    .offres-section {
        padding: 30px 4% 38px;
    }

    .offres-section > h2 {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 22px;
    }

    /* DEUX CARTES CÔTE À CÔTE,
       TROISIÈME CARTE CENTRÉE EN DESSOUS */

    .offres-grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .offres-grille-centree {
        grid-template-columns: minmax(0, 1fr);
        max-width: 430px;
    }

    /* Pour les groupes de trois offres :
       la troisième carte est centrée sous les deux premières */

    .offres-grille:not(.offres-grille-centree) > .offre-carte:last-child:nth-child(3) {
        grid-column: 1 / -1;
        width: calc(50% - 5px);
        justify-self: center;
    }

    #gestion-des-donnees .offres-grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #gestion-des-donnees .offres-grille > .offre-carte:last-child:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }

    .offre-carte {
        padding: 19px 10px;
        min-height: 0;
    }

    .offre-icone {
        width: 54px;
        height: 54px;
        margin-bottom: 10px;
    }

    .offre-categorie {
        font-size: 11px;
        margin-bottom: 9px;
    }

    .offre-carte h3 {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .offre-description {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .offre-a-partir {
        font-size: 11px;
    }

    .offre-prix {
        font-size: 25px;
        margin-bottom: 12px;
    }

    .offre-bouton {
        padding: 9px 7px;
        font-size: 11px;
        line-height: 1.3;
    }

    .retour-services {
        padding: 25px 4%;
    }

    .retour-bouton {
        font-size: 14px;
    }
}


/* =====================================================
   14. TRÈS PETITS TÉLÉPHONES
   380px et moins
===================================================== */

@media screen and (max-width: 380px) {

    :root {
        --header-offset: 155px;
    }

    /* HEADER */

    .header {
        padding: 8px 8px 11px;
    }

    .header .logo img {
        width: 52px;
    }

    .header .navigation {
        gap: 7px 10px;
    }

    .header .navigation a {
        font-size: 11px;
    }

    /* HERO */

    .reparation-hero {
        padding: 28px 4% 35px;
        gap: 22px;
    }

    .reparation-hero .hero-contenu h1 {
        font-size: 24px;
    }

    .reparation-hero .hero-contenu p {
        font-size: 13px;
    }

    /* CATÉGORIES : UNE COLONNE */

    .reparation-categories {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 12px;
    }

    .reparation-categorie,
    .reparation-categorie:last-child {
        grid-column: auto;
        width: 100%;
        padding: 19px 16px;
    }

    .categorie-icone {
        width: 52px;
        height: 52px;
        margin-bottom: 10px;
    }

    .reparation-categorie h3 {
        font-size: 16px;
    }

    .reparation-categorie p {
        font-size: 13px;
    }

    /* OFFRES : UNE COLONNE POUR LA LISIBILITÉ */

    .offres-section {
        padding: 28px 4% 35px;
    }

    .offres-section > h2 {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .offres-grille,
    #gestion-des-donnees .offres-grille {
        grid-template-columns: 1fr;
        max-width: 340px;
        gap: 12px;
    }

    .offres-grille-centree {
        grid-template-columns: 1fr;
    }

    .offres-grille:not(.offres-grille-centree) > .offre-carte:last-child:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }

    #gestion-des-donnees .offres-grille > .offre-carte:last-child:nth-child(3) {
        grid-column: auto;
        width: 100%;
    }

    .offre-carte {
        padding: 20px 16px;
    }

    .offre-icone {
        width: 55px;
        height: 55px;
    }

    .offre-carte h3 {
        font-size: 16px;
    }

    .offre-description {
        font-size: 13px;
    }

    .offre-prix {
        font-size: 27px;
    }

    .offre-bouton {
        max-width: 240px;
        padding: 10px 12px;
        font-size: 12px;
    }

    .back-to-top {
        left: 10px;
        bottom: 12px;
        font-size: 35px;
    }
}


/* =====================================================
   15. LAPTOPS À HAUTEUR RÉDUITE
   Notamment 1366 x 768
===================================================== */

@media screen and (min-width: 769px) and (max-height: 800px) {

    .reparation-hero {
        padding-top: 40px;
        padding-bottom: 45px;
        gap: 35px;
    }

    .reparation-categorie {
        min-height: 320px;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .categorie-icone {
        width: 80px;
        height: 80px;
        margin-bottom: 18px;
    }

    .offres-section {
        min-height: calc(100vh - var(--header-offset));
        min-height: calc(100svh - var(--header-offset));
        padding: 45px 5%;
    }

    .offres-section > h2 {
        margin-bottom: 30px;
    }

    .offre-carte {
        min-height: 420px;
    }
}


/* =====================================================
   16. ÉCRANS TRÈS BAS — LAPTOPS
===================================================== */

@media screen and (min-width: 769px) and (max-height: 650px) {

    .reparation-hero {
        padding-top: 25px;
        padding-bottom: 30px;
        gap: 25px;
    }

    .reparation-hero .hero-contenu h1 {
        font-size: clamp(27px, 3vw, 38px);
        margin-bottom: 15px;
    }

    .reparation-hero .hero-contenu p {
        font-size: 16px;
    }

    .reparation-categorie {
        min-height: 290px;
        padding: 22px 18px;
    }

    .categorie-icone {
        width: 65px;
        height: 65px;
        margin-bottom: 12px;
    }

    .reparation-categorie h3 {
        font-size: 19px;
        margin-bottom: 12px;
    }

    .reparation-categorie p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .offres-section {
        padding: 25px 4%;
    }

    .offres-section > h2 {
        font-size: clamp(23px, 2.3vw, 30px);
        margin-bottom: 20px;
    }

    .offre-carte {
        min-height: 360px;
        padding: 24px 18px;
    }

    .offre-icone {
        width: 65px;
        height: 65px;
        margin-bottom: 14px;
    }

    .offre-carte h3 {
        margin-bottom: 12px;
    }

    .offre-description {
        margin-bottom: 15px;
    }

    .offre-prix {
        margin-bottom: 18px;
    }
}


/* =====================================================
   17. ACCESSIBILITÉ — ANIMATIONS RÉDUITES
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* =====================================================
   18. SUPPRESSION DU HOVER SUR LES CARTES DES OFFRES
===================================================== */

.offre-carte {
    transform: none;
    box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {

    .offre-carte:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--bordure-carte);
    }
}


/* =====================================================
   19. POSITIONNEMENT DES SECTIONS AU CLIC DES CARTES
   Le contenu occupe l'espace disponible sans débordement
===================================================== */

:root {
    --header-offset: 95px;
}

html {
    scroll-padding-top: var(--header-offset);
    scroll-behavior: smooth;
}

.offres-section {
    min-height: calc(100vh - var(--header-offset));
    min-height: calc(100svh - var(--header-offset));

    display: flex;
    flex-direction: column;
    justify-content: safe center;

    padding: clamp(40px, 7vh, 90px) 5%;

    scroll-margin-top: 0;
}

.offres-section > h2 {
    margin-bottom: clamp(30px, 5vh, 60px);
}

.offres-section .offres-grille {
    margin-top: 0;
    margin-bottom: 0;
}


/* =====================================================
   20. POSITIONNEMENT SUR TABLETTES ET MOBILES
===================================================== */

@media screen and (max-width: 768px) {

    :root {
        --header-offset: 150px;
    }

    .offres-section {
        min-height: calc(100vh - var(--header-offset));
        min-height: calc(100svh - var(--header-offset));

        padding: 40px 5% 50px;

        justify-content: safe center;
    }

    .offres-section > h2 {
        margin-bottom: 28px;
    }
}


/* =====================================================
   21. POSITIONNEMENT SUR PETITS TÉLÉPHONES
===================================================== */

@media screen and (max-width: 600px) {

    :root {
        --header-offset: 145px;
    }

    .offres-section {
        padding: 30px 4% 38px;
    }

    .offres-section > h2 {
        margin-bottom: 22px;
    }
}

@media screen and (max-width: 380px) {

    :root {
        --header-offset: 155px;
    }

    .offres-section {
        padding: 28px 4% 35px;
    }

    .offres-section > h2 {
        margin-bottom: 20px;
    }
}
