/* Page Accueil -> style de la première section */

/* Cette feuille n'est chargée que sur l'accueil : le header reste lisible au-dessus de la vidéo fixe */
body > header {
    position: relative;
    z-index: 10;
}

.section-hero {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hauteur d’un viewport : le hero étant sorti du flux, on garde la bonne distance de scroll */
.hero-scroll-spacer {
    height: 100vh;
    height: 100svh;
    min-height: 100svh;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

/* Le contenu du <main> et le footer défilent au-dessus de la vidéo */
main > :not(.section-hero) {
    position: relative;
    z-index: 1;
}

body > footer {
    position: relative;
    z-index: 1;
    background: var(--bleu-logo);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Overlay par dessus la vidéo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 26, 35, 0.45);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: min(960px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;

    .hero-title {
        font-family: var(--titre);
        text-transform: uppercase;
        color: var(--fond-blanc);
        font-weight: 900;
        font-size: 128px;
        margin: 0 0 12px;
        line-height: 0.95;
    }

    .hero-subtitle {
        font-family: var(--texte);
        color: var(--fond-blanc);
        font-weight: 900;
        font-size: 24px;
        margin: 24px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 12px;
        max-width: 36em;
    }
}

/* Desktop : vidéo plein écran (fixe) — cover sans scale pour limiter le zoom */
@media (min-width: 901px) {
    .hero-video {
        object-fit: cover;
        object-position: center center;
    }

    .section-hero .hero-overlay,
    .hero-container .hero-title,
    .hero-container .hero-subtitle,
    .hero-container .article-partner-cta-btn {
        display: none;
    }
}

/* Style du bouton de contact */
.article-partner-cta-btn {
    display: inline-flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 32px;
    font-family: var(--titre);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    margin: 24px 0 0;
}

.article-partner-cta-btn-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.article-partner-cta-btn-label {
    display: inline-block;
}

/* Style de la seconde section de la page d'accueil */
.section-2 {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    overflow: hidden;
    background: var(--fond-blanc);
    box-shadow: 0 -1px 0 var(--fond-blanc);
}

.section2-wrapper {
    width: calc(100% - 512px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.section2-highlight-card {
    background: #ffffff;
    position: relative;
    border: 1px solid #ddddeb;
    border-radius: 22px;
    padding: 52px 36px;
    text-align: center;
    overflow: hidden;
}

.section2-title {
    margin: 0;
    font-family: var(--titre);
    font-size: 34px;
    color: var(--bleu-logo);
}

.section2-description {
    max-width: 740px;
    margin: 16px auto 24px;
    color: var(--bleu);
    font-family: var(--texte);
    font-size: 16px;
    line-height: 1.6;
}

.section2-description strong {
    font-weight: 800;
    color: var(--bleu-logo);
}

.section2-cta {
    display: inline-block;
    background: var(--bleu-logo);
    color: var(--fond-blanc);
    text-decoration: none;
    font-family: var(--titre);
    font-weight: 800;
    border-radius: 12px;
    padding: 13px 26px;
}

.section2-cta.section2-cta--slide {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--bleu-logo);
    border-radius: 32px;
    padding: 12px 32px;
    background: transparent;
    color: var(--bleu);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.section2-cta.section2-cta--slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--bleu-logo);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.section2-cta.section2-cta--slide .section2-cta-inner {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: var(--bleu);
    transition: color 0.32s ease 0.08s;
}

.section2-cta.section2-cta--slide:hover {
    transform: translateY(-5px);
    border-color: var(--bleu-logo);
    box-shadow: 0 12px 28px rgba(7, 45, 7, 0.22);
}

.section2-cta.section2-cta--slide:hover::before {
    transform: scaleX(1);
}

.section2-cta.section2-cta--slide:hover .section2-cta-inner {
    color: var(--fond-blanc);
}

.section2-cta.section2-cta--slide:focus-visible {
    outline: 2px solid var(--vert-logo);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .section2-cta.section2-cta--slide {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .section2-cta.section2-cta--slide::before {
        transition: none;
    }

    .section2-cta.section2-cta--slide:hover {
        transform: none;
    }

    .section2-cta.section2-cta--slide:hover::before {
        transform: scaleX(1);
    }

    .section2-cta.section2-cta--slide .section2-cta-inner {
        transition: none;
    }
}

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

.section2-info-card {
    border: 1px solid var(--gris);
    border-radius: 16px;
    background: #ffffff;
    padding: 28px 20px;
    min-height: 180px;
}

.section2-info-card h3 {
    margin: 0 0 12px;
    font-family: var(--titre);
    font-size: 24px;
    color: var(--bleu-logo);
}

.section2-info-card p {
    margin: 0;
    font-family: var(--texte);
    color: var(--bleu);
    line-height: 1.6;
}

.section2-info-card-featured {
    background-image: linear-gradient(to right top, #333399, #0074e7, #00abee, #00daa6, #00ff00);
    border: none;
    overflow: hidden;
    background-clip: padding-box;
}

.section2-info-card-featured h3,
.section2-info-card-featured p {
    color: var(--fond-blanc);
    font-weight: 700;
}



/* Style de la troisième section de la page d'accueil */
.section-3 {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: var(--bleu-logo);
}

.section3-wrapper {
    width: calc(100% - 512px);
    margin: 0 auto;
}

.section3-title {
    margin: 0;
    text-align: center;
    font-family: var(--titre);
    font-size: 34px;
    color: var(--fond-blanc);
}

.section3-subtitle {
    max-width: 760px;
    margin: 12px auto 0;
    text-align: center;
    font-family: var(--texte);
    font-size: 18px;
    line-height: 1.6;
    color: var(--fond-blanc);
}

.section3-orbit {
    margin-top: 42px;
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 28px 36px;
}

.section3-card {
    border: 1px solid var(--gris);
    border-radius: 14px;
    background: var(--bleu);
    padding: 18px 16px;
}

.section3-card h3 {
    margin: 0 0 8px;
    font-family: var(--titre);
    color: var(--fond-blanc);
    font-size: 22px;
}

.section3-card p {
    margin: 0;
    font-family: var(--texte);
    color: var(--fond-blanc);
    line-height: 1.5;
    font-size: 16px;
}

.section3-card-top-left {
    grid-column: 1;
    grid-row: 1;
}

.section3-card-top-right {
    grid-column: 3;
    grid-row: 1;
}

.section3-card-bottom-left {
    grid-column: 1;
    grid-row: 2;
}

.section3-card-bottom-right {
    grid-column: 3;
    grid-row: 2;
}

.section3-center-badge {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 99px;
    height: 99px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--bleu-logo);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px var(--bleu);
    position: relative;

    img {
        width: 64px;
    }
}

.section3-center-badge::before,
.section3-center-badge::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 1px;
    background: var(--gris);
}

.section3-center-badge::before {
    right: calc(100% + 12px);
}

.section3-center-badge::after {
    left: calc(100% + 12px);
}

.section4-wrapper {
    width: 100%;
    margin: 72px 0 0;
}

/* Galerie photos parallaxe (défilement horizontal au scroll) */
.photo-parallax {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 12px 0;
    pointer-events: none;
}

.photo-parallax-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.photo-parallax-item {
    flex: 0 0 280px;
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bleu);
}

.photo-parallax-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Style de la section clients */
.section-clients {
    padding: 64px 0 64px;
    background: var(--fond-blanc);
}

/* Fond plein pour masquer la vidéo fixe sous la grille d’actus */
.section-actu {
    display: flow-root;
    background: var(--fond-blanc);
}

.clients-wrapper {
    width: calc(100% - 512px);
    margin: 0 auto;
}

.clients-title {
    margin: 0 0 14px;
    text-align: center;
    font-family: var(--titre);
    font-size: 34px;
    color: var(--bleu-logo);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 16px;
    padding: 8px 0;
    align-items: stretch;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 12px 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.client-item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 52px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

/* Ajustements visuels par logo (fichiers avec marges internes différentes) */
.client-item img[src*="antolin"] {
    max-width: 170px;
    height: 58px;
}

.client-item img[src*="satie"] {
    max-width: 165px;
    height: 56px;
}

/* Logos plus "carrés" : on augmente la hauteur pour mieux les voir */
.client-item img[src*="purple"],
.client-item img[src*="green"] {
    max-width: 120px;
    height: 62px;
}

.client-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--titre);
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
}


/* Style de la section 5 */
.section-5 {
    padding: 64px 0 64px;
    background-image: linear-gradient(to right top, var(--bleu-logo), var(--bleu));
    overflow: visible;
}

.section5-wrapper {
    width: calc(100% - 512px);
    margin: 0 auto;
}

.section5-title {
    margin: 0 0 36px;
    text-align: center;
    font-family: var(--titre);
    font-size: 34px;
    color: var(--fond-blanc);
}


.section5-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow: visible;
}

.section5-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    padding: 32px 40px;
    box-shadow: 0 8px 28px rgba(16, 26, 35, 0.12);
}

.section5-card p {
    margin: 0;
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
    font-family: var(--texte);
    font-size: 17px;
    line-height: 1.65;
    color: var(--bleu);
}

.section5-partner-link {
    color: var(--vert-logo);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

.section5-partner-link:hover {
    color: var(--vert-logo);
    opacity: 0.85;
}

.section5-labels {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    overflow: visible;
    padding-top: 52px;
}

.section5-label-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 268px;
    background: rgba(255, 255, 255, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 38px 16px 22px;
    box-sizing: border-box;
    overflow: visible;
    backdrop-filter: blur(6px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.section5-label-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 10px 24px rgba(16, 26, 35, 0.14);
}

/* Logo en relief au-dessus de la carte, sans cadre blanc */
.section5-label-logo {
    position: relative;
    flex: 0 0 104px;
    width: 100%;
    height: 104px;
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    overflow: visible;
}

.section5-label-logo img {
    position: absolute;
    left: 50%;
    top: 0;
    z-index: 2;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 175px;
    object-fit: contain;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 8px 16px rgba(16, 26, 35, 0.22));
    box-shadow: none;
    transition: none;
    cursor: default;
}

.section5-label-logo--more img {
    max-height: 198px;
    transform: translate(-50%, -50%) scale(1.32);
}

.section5-label-logo--ffb img {
    max-height: 186px;
    transform: translate(-50%, -50%) scale(1.14);
}

.section5-label-card h3 {
    flex-shrink: 0;
    width: 100%;
    margin: 0 0 8px;
    font-family: var(--titre);
    font-size: 18px;
    font-weight: 800;
    color: var(--fond-blanc);
}

.section5-label-card p {
    flex-shrink: 0;
    width: 100%;
    margin: auto 0 0;
    padding-top: 4px;
    font-family: var(--texte);
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

/* Grille d'actualites (repris de la page actualites) */
.actu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: min(1180px, calc(100% - 6vw));
    margin: 44px auto 48px;
    align-items: stretch;
}

.aucun-resultat {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--bleu-logo);
    font-family: var(--titre);
    font-size: 24px;
    padding: 32px;
    margin: 0;
}

.actu-more-wrap {
    max-width: min(1180px, calc(100% - 6vw));
    margin: 0 auto;
    text-align: center;
}

.article-suggest-heading {
    font-family: var(--titre);
    font-size: 26px;
    font-weight: 900;
    color: var(--bleu-logo);
    margin: 64px 0 0 256px;
    line-height: 1.25;
}

.carte-actualite {
    position: relative;
    background: var(--bleu-logo);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    min-height: 465px;
    margin-top: 32px;
}

.carte-actualite-hitbox {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 12px;
}

.carte-actualite-img {
    height: 180px;
    background: var(--gris);
    flex-shrink: 0;
    overflow: hidden;
}

.carte-actualite-img img,
.carte-actualite-img-el {
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
}

.carte-actualite-img .placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: var(--gris);
}

.carte-actualite-contenu {
    position: relative;
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.carte-actualite-contenu-titre {
    font-family: var(--titre);
    font-size: 16px;
    font-weight: 900;
    color: var(--fond-blanc);
    margin: 0 0 6px;
    line-height: 1.25;
}

.carte-actualite-contenu-accroche {
    font-family: var(--texte);
    font-size: 14px;
    font-weight: 500;
    color: var(--fond-blanc);
    line-height: 1.45;
    margin: 0 0 12px;
    flex: 1;
}

.carte-actualite-contenu-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-family: var(--texte);
    font-size: 13px;
    font-weight: 700;
    color: var(--vert-logo);
}

.carte-actualite-contenu-infos svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    vertical-align: middle;
    stroke: currentColor;
}

.carte-actualite-lien {
    position: relative;
    z-index: 4;
    background: var(--vert-logo);
    padding: 6px 10px;
    border-radius: 10px;
    font-family: var(--texte);
    font-size: 14px;
    text-decoration: none;
    color: var(--bleu-logo);
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    display: inline-block;
}

/* CTA de bas de page (repris de la page propos) */
/* Padding (pas margin) horizontal : le fond couvre toute la largeur et masque la vidéo fixe sur les côtés */
.cta-section {
    margin: 0;
    padding: 64px 244px 80px;
    box-sizing: border-box;
    background: var(--fond-blanc);
}

.article-partner-cta {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--gris);
    border: 2px solid var(--bleu-logo);
    border-radius: 22px;
    padding: 36px 40px 40px;
    box-shadow: 0 10px 24px rgba(51, 51, 153, 0.12);
    color: var(--bleu-logo);
}

.article-partner-cta p {
    font-family: var(--texte);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 128px 12px;
    color: var(--bleu-logo);
}

.article-partner-cta-title {
    font-family: var(--titre);
    font-size: 28px;
    font-weight: 900;
    color: var(--bleu-logo);
    margin: 0 0 16px;
    line-height: 1.2;
}

.cta-section .article-partner-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 22px;
    margin: 22px 522px 0;
    font-family: var(--texte);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.cta-section .article-partner-cta-btn-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

/* ——— Responsive page d'accueil ——— */

@media (max-width: 1100px) {
    .hero-container .hero-title {
        font-size: 88px;
    }

    .section2-wrapper,
    .section3-wrapper,
    .clients-wrapper,
    .section5-wrapper {
        width: calc(100% - 48px);
    }

    .section5-labels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 48px;
    }

    .section5-label-card {
        min-height: 260px;
        padding: 36px 14px 20px;
    }

    .section5-label-logo {
        flex: 0 0 100px;
        height: 100px;
    }

    .section5-label-logo img {
        max-height: 168px;
        transform: translate(-50%, -48%);
    }

    .section5-label-logo--more img {
        max-height: 190px;
        transform: translate(-50%, -48%) scale(1.3);
    }

    .section5-label-logo--ffb img {
        max-height: 178px;
        transform: translate(-50%, -48%) scale(1.12);
    }

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

    .clients-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 12px 10px;
    }

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

    .article-suggest-heading {
        margin-left: 24px;
        margin-right: 24px;
    }
}

@media (max-width: 900px) {
    /* Mobile : photo + overlay + texte (la vidéo ne convient pas au format portrait) */
    .hero-video {
        display: none;
    }

    .section-hero {
        position: relative;
        inset: auto;
        height: auto;
        min-height: max(520px, 100svh);
        background: url("../images/robot.jpg") center / cover no-repeat;
    }

    .section-hero .hero-overlay {
        background: rgba(16, 26, 35, 0.68);
    }

    /* Vidéo dans le flux : plus de trait blanc ni de saut au scroll */

    .hero-scroll-spacer {
        display: none;
        height: 0;
        min-height: 0;
    }

    .hero-container {
        margin: 0 auto;
        padding: 0 20px 40px;
        max-width: 100%;
        min-height: max(520px, 100svh);
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-container .hero-title {
        font-size: clamp(52px, 16vw, 80px);
        margin: 0 0 10px;
        line-height: 0.95;
    }

    .hero-container .hero-subtitle {
        font-size: 18px;
        margin: 16px 0;
        line-height: 1.35;
    }

    .article-partner-cta-btn {
        width: 100%;
        max-width: 320px;
        margin: 20px 0 0;
        padding: 14px 24px;
        font-size: 16px;
        box-sizing: border-box;
        justify-content: center;
    }

    .section-2 {
        margin-top: 0;
        z-index: 1;
    }

    .section-2,
    .section-3,
    .section-clients,
    .section-5 {
        padding: 48px 0;
    }

    .section2-wrapper,
    .section3-wrapper,
    .clients-wrapper,
    .section5-wrapper {
        width: calc(100% - 32px);
        max-width: 100%;
    }

    .section2-highlight-card {
        padding: 32px 20px;
    }

    .section2-title,
    .section3-title,
    .clients-title,
    .section5-title {
        font-size: 26px;
    }

    .section2-description,
    .section3-subtitle {
        font-size: 15px;
    }

    .section2-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .section2-info-card {
        min-height: 0;
        padding: 22px 18px;
    }

    .section2-info-card h3 {
        font-size: 20px;
    }

    .section2-cta.section2-cta--slide {
        display: flex;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        box-sizing: border-box;
        justify-content: center;
    }

    .section3-orbit {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 14px;
        margin-top: 28px;
    }

    .section3-card-top-left,
    .section3-card-top-right,
    .section3-card-bottom-left,
    .section3-card-bottom-right {
        grid-column: 1;
        grid-row: auto;
    }

    .section3-center-badge {
        grid-column: 1;
        grid-row: auto;
        order: -1;
        margin-bottom: 8px;
    }

    .section3-center-badge::before,
    .section3-center-badge::after {
        display: none;
    }

    .section3-card h3 {
        font-size: 18px;
    }

    .section3-card p {
        font-size: 15px;
    }

    .section4-wrapper {
        margin-top: 40px;
    }

    .photo-parallax-item {
        flex: 0 0 220px;
        width: 220px;
        height: 220px;
    }

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

    .client-item {
        min-height: 76px;
        padding: 10px 8px;
    }

    .client-item img {
        height: 48px;
    }

    .section5-card {
        padding: 24px 20px;
    }

    .section5-card p {
        font-size: 15px;
    }

    .section5-labels {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 40px;
    }

    .section5-label-card {
        height: auto;
        min-height: 252px;
        padding: 36px 18px 20px;
    }

    .section5-label-logo {
        flex: 0 0 96px;
        height: 96px;
    }

    .section5-label-logo img {
        max-height: 158px;
        transform: translate(-50%, -50%);
    }

    .section5-label-logo--more img {
        max-height: 178px;
        transform: translate(-50%, -50%) scale(1.28);
    }

    .section5-label-logo--ffb img {
        max-height: 168px;
        transform: translate(-50%, -50%) scale(1.1);
    }

    .article-suggest-heading {
        font-size: 22px;
        margin: 40px 16px 0;
        text-align: center;
    }

    .actu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: calc(100% - 32px);
        margin: 24px auto 32px;
    }

    .aucun-resultat {
        font-size: 20px;
        padding: 24px 16px;
    }

    .actu-more-wrap {
        max-width: calc(100% - 32px);
        padding: 0 16px;
        box-sizing: border-box;
    }

    .carte-actualite {
        min-height: 0;
        margin-top: 0;
    }

    .carte-actualite-contenu {
        padding: 24px 20px;
    }

    .cta-section {
        margin: 0;
        padding: 40px 16px 48px;
    }

    .article-partner-cta {
        padding: 28px 20px 32px;
        border-radius: 16px;
    }

    .article-partner-cta-title {
        font-size: 22px;
    }

    .article-partner-cta p {
        margin: 0 0 10px;
        font-size: 15px;
    }

    .cta-section .article-partner-cta-btn {
        width: 100%;
        max-width: 320px;
        margin: 16px auto 0;
        box-sizing: border-box;
        justify-content: center;
    }

    /* Mobile : pas d’effet au survol / au tap prolongé */
    main .btn-hover:hover,
    main .btn-hover:active,
    .section2-cta.section2-cta--slide:hover,
    .section2-cta.section2-cta--slide:hover::before,
    .section2-cta.section2-cta--slide:hover .section2-cta-inner,
    .section5-partner-link:hover,
    .section5-label-card:hover,
    .section-actu .section2-cta.btn-hover:hover,
    .section-actu .section2-cta.btn-hover:active,
    .section-hero .article-partner-cta-btn.btn-contact-slide:hover,
    .section-hero .article-partner-cta-btn.btn-contact-slide:active,
    .section-hero .article-partner-cta-btn.btn-contact-slide:hover::before,
    .cta-section .article-partner-cta-btn.btn-contact-slide:hover,
    .cta-section .article-partner-cta-btn.btn-contact-slide:active,
    .cta-section .article-partner-cta-btn.btn-contact-slide:hover::before {
        transform: none !important;
        box-shadow: none !important;
    }

    .section2-cta.section2-cta--slide:hover::before,
    .section-hero .article-partner-cta-btn.btn-contact-slide:hover::before,
    .cta-section .article-partner-cta-btn.btn-contact-slide:hover::before {
        transform: scaleX(0) !important;
    }

    .section2-cta.section2-cta--slide:hover .section2-cta-inner {
        color: var(--bleu) !important;
    }

    .section-hero .article-partner-cta-btn.btn-contact-slide:hover,
    .cta-section .article-partner-cta-btn.btn-contact-slide:hover {
        color: var(--noir) !important;
        border-color: var(--vert-logo) !important;
    }

    .section5-partner-link:hover {
        color: var(--vert-logo) !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 16px 24px;
    }

    .hero-container .hero-title {
        font-size: 48px;
    }

    .hero-container .hero-subtitle {
        font-size: 16px;
    }

    .section-2,
    .section-3,
    .section-clients,
    .section-5 {
        padding: 36px 0;
    }

    .section2-wrapper,
    .section3-wrapper,
    .clients-wrapper,
    .section5-wrapper {
        width: calc(100% - 24px);
    }

    .section2-highlight-card {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .section2-title,
    .section3-title,
    .clients-title,
    .section5-title {
        font-size: 22px;
    }

    .photo-parallax-item {
        flex: 0 0 180px;
        width: 180px;
        height: 180px;
        border-radius: 14px;
    }

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

    .client-item {
        min-height: 72px;
    }

    .article-suggest-heading {
        font-size: 20px;
        margin-top: 32px;
    }

    .actu-grid {
        max-width: calc(100% - 24px);
    }

    .cta-section {
        padding: 32px 12px 40px;
    }

    .article-partner-cta {
        padding: 24px 16px 28px;
    }

    .article-partner-cta-title {
        font-size: 20px;
    }
}

