/*
=========================================================
LABOCOMPTA — INDEX.CSS
Page d'accueil — Design vitrine moderne
=========================================================

Structure :

1. Bienvenue
2. Navigation visuelle
3. Image principale
4. Pourquoi choisir LaboCompta ?
5. Compétences LaboCompta
6. Section finale
7. Responsive
=========================================================
*/


/* ======================================================
   1. SECTION — BIENVENUE
   ====================================================== */

.home-welcome {
    padding: 75px 0 100px;

    background:
        linear-gradient(
            180deg,
            var(--background-blue) 0%,
            var(--white) 100%
        );
}


/* ------------------------------------------------------
   TITRE CENTRAL
   ------------------------------------------------------ */

.welcome-heading {
    max-width: 900px;

    margin: 0 auto 58px;

    text-align: center;
}

.welcome-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--accent-dark);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.welcome-heading h1 {
    margin: 0 0 14px;

    color: var(--primary);

    font-size:
        clamp(2.5rem, 5vw, 4.2rem);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -0.025em;
}

.welcome-slogan {
    margin: 0;

    color: var(--text-light);

    font-size:
        clamp(1.05rem, 2vw, 1.3rem);

    font-weight: 500;

    letter-spacing: 0.02em;
}


/* ======================================================
   2. BLOC PRINCIPAL
   NAVIGATION + IMAGE
   ====================================================== */

.home-showcase {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 46px;

    max-width: 1180px;

    margin: 0 auto;
}


/* ======================================================
   3. NAVIGATION VISUELLE
   ====================================================== */

.home-navigation {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    width: 100%;

    padding: 0;

    background: transparent;

    border: none;

    border-radius: 0;

    box-shadow: none;

    position: relative;

    overflow: visible;
}


/* ------------------------------------------------------
   CARDS DE NAVIGATION
   ------------------------------------------------------ */

.home-nav-card {
    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-width: 0;

    min-height: 215px;

    padding: 25px 22px;

    background: var(--background-soft);

    /*
    ------------------------------------------------------
    CONTÔUR JÒN ABRIKO
    ------------------------------------------------------
    */

    border: 2px solid #f6c77a;

    border-radius: 22px;

    color: var(--text);

    text-decoration: none;

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* ------------------------------------------------------
   VARIATION DES CARDS
   ------------------------------------------------------ */

.home-nav-card:nth-child(1) {
    background: var(--primary);

    color: var(--white);
}

.home-nav-card:nth-child(2) {
    background: var(--white);
}

.home-nav-card:nth-child(3) {
    background: var(--white);
}

.home-nav-card:nth-child(4) {
    background: var(--accent-light);
}


/* ------------------------------------------------------
   PETIT EFFET DÉCORATIF
   ------------------------------------------------------ */

.home-nav-card::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -45px;
    top: -45px;

    background: rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    pointer-events: none;
}

.home-nav-card:nth-child(2)::before,
.home-nav-card:nth-child(3)::before {
    background: var(--primary-light);
}

.home-nav-card:nth-child(4)::before {
    background: rgba(255, 255, 255, 0.45);
}


/* ------------------------------------------------------
   EFFET HOVER
   ------------------------------------------------------ */

.home-nav-card:hover {
    transform: translateY(-7px);

    border-color: #e8a84e;

    box-shadow: var(--shadow-md);
}

.home-nav-card:nth-child(1):hover {
    background: var(--primary-dark);
}


/* ------------------------------------------------------
   FOCUS ACCESSIBLE
   ------------------------------------------------------ */

.home-nav-card:focus-visible {
    outline: 3px solid var(--accent);

    outline-offset: 4px;
}


/* ------------------------------------------------------
   ICÔNE
   ------------------------------------------------------ */

.home-nav-icon {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 25px;

    background: var(--white);

    border-radius: 14px;

    font-size: 1.35rem;

    box-shadow: var(--shadow-sm);
}

.home-nav-card:nth-child(1) .home-nav-icon {
    background: rgba(255, 255, 255, 0.15);
}


/* ------------------------------------------------------
   CONTENU CARD
   ------------------------------------------------------ */

.home-nav-content {
    position: relative;

    z-index: 2;
}

.home-nav-content h2 {
    margin: 0 0 7px;

    color: var(--primary);

    font-size: 1.3rem;

    font-weight: 800;

    line-height: 1.2;
}

.home-nav-card:nth-child(1) .home-nav-content h2 {
    color: var(--white);
}

.home-nav-content p {
    margin: 0;

    color: var(--text-light);

    font-size: 0.9rem;

    line-height: 1.55;
}

.home-nav-card:nth-child(1) .home-nav-content p {
    color: rgba(255, 255, 255, 0.82);
}


/* ------------------------------------------------------
   FLÈCHE
   ------------------------------------------------------ */

.home-nav-arrow {
    position: absolute;

    right: 18px;
    bottom: 16px;

    z-index: 3;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: var(--white);

    color: var(--primary);

    border-radius: 50%;

    font-size: 1rem;
    font-weight: 700;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}

.home-nav-card:hover .home-nav-arrow {
    transform: translate(4px, -4px);

    background: var(--accent);

    color: var(--white);
}

.home-nav-card:nth-child(1) .home-nav-arrow {
    background: var(--accent);

    color: var(--white);
}


/* ======================================================
   3. IMAGE PRINCIPALE — DROITE
   ====================================================== */

.home-showcase-image {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-width: 0;

    min-height: 540px;

    padding: 10px 0 10px 10px;
}


/* ------------------------------------------------------
   LAYER DÉCORATIF
   ------------------------------------------------------ */

.home-showcase-image::before {
    content: "";

    position: absolute;

    top: 28px;
    right: -12px;
    bottom: 4px;
    left: 22px;

    background: var(--accent-light);

    border-radius: 38px;

    transform: rotate(2deg);

    z-index: 0;

    pointer-events: none;
}


/* ------------------------------------------------------
   IMAGE CARD
   ------------------------------------------------------ */

.image-card {
    position: relative;

    z-index: 1;

    width: 100%;

    height: 520px;

    padding: 10px;

    background: var(--white);

    border: 1px solid var(--border-light);

    border-radius: 32px;

    box-shadow:
        0 24px 55px rgba(10, 42, 94, 0.15);

    overflow: hidden;

    transform: translateY(-8px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.image-card:hover {
    transform: translateY(-13px);

    box-shadow:
        0 30px 65px rgba(10, 42, 94, 0.19);
}


/* ------------------------------------------------------
   IMAGE
   ------------------------------------------------------ */

.image-card img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 0;

    object-fit: cover;

    border-radius: 25px;
}


/* ------------------------------------------------------
   EFFET DÉCORATIF
   ------------------------------------------------------ */

.image-card::after {
    content: "";

    position: absolute;

    right: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

    background: var(--accent);

    border-radius: 50%;

    opacity: 0.9;

    pointer-events: none;
}


/* ======================================================
   4. POURQUOI CHOISIR LABOCOMPTA ?
   ====================================================== */

.why-labocompta {
    padding: 95px 0;

    background: var(--white);
}


/* ------------------------------------------------------
   TITRE
   ------------------------------------------------------ */

.why-heading > p:last-child {
    max-width: 800px;

    margin-left: auto;
    margin-right: auto;

    text-align: left;
}

.why-heading .section-label {
    margin-bottom: 12px;

    color: var(--accent-dark);
}

.why-heading h2 {
    margin-bottom: 15px;

    color: var(--primary);

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height: 1.15;

    text-align: center;
}

.why-heading > p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--text-light);

    font-size: 1rem;

    line-height: 1.7;

    text-align: center;
}


/* ------------------------------------------------------
   CARTES — POURQUOI CHOISIR
   ------------------------------------------------------ */

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    max-width: 1180px;

    margin: 0 auto;
}

.why-card {
    padding: 28px 23px;

    background: var(--background-soft);

    border: 1px solid var(--border-light);

    border-radius: var(--radius-lg);

    text-align: center;

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.why-card:hover {
    transform: translateY(-5px);

    border-color: var(--accent);

    box-shadow: var(--shadow-md);
}


/* ------------------------------------------------------
   ICÔNES
   ------------------------------------------------------ */

.why-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin: 0 auto 18px;

    background: var(--primary-light);

    color: var(--primary);

    border-radius: 50%;

    font-size: 1.15rem;
    font-weight: 800;
}

.why-card:nth-child(2) .why-icon {
    background: var(--accent-light);

    color: var(--accent-dark);
}

.why-card:nth-child(3) .why-icon {
    background: var(--primary-light);

    color: var(--primary);
}

.why-card:nth-child(4) .why-icon {
    background: var(--accent-light);

    color: var(--accent-dark);
}


/* ------------------------------------------------------
   TITRES
   ------------------------------------------------------ */

.why-card h3 {
    margin-bottom: 10px;

    color: var(--primary);

    font-size: 1.08rem;

    font-weight: 800;
}


/* ------------------------------------------------------
   PARAGRAPHES
   ------------------------------------------------------ */

.why-card p {
    margin: 0;

    color: var(--text-light);

    font-size: 0.9rem;

    line-height: 1.65;

    text-align: left;
}


/* ======================================================
   5. COMPÉTENCES AU CŒUR DE LABOCOMPTA
   ====================================================== */

.skills-labocompta {
    padding: 95px 0;

    background: var(--background-soft);
}

.skills-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 50px;

    align-items: stretch;

    max-width: 1180px;

    margin: 0 auto;
}


/* ------------------------------------------------------
   IMAGE COMPÉTENCES
   ------------------------------------------------------ */

.skills-image {
    display: flex;

    align-items: stretch;

    width: 100%;

    min-width: 0;

    min-height: 0;
}

.skills-image img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 0;

    object-fit: cover;

    object-position: center;

    padding: 0;

    background: var(--white);

    border: 1px solid var(--border-light);

    border-radius: 28px;

    box-shadow: none;
}


/* ------------------------------------------------------
   CONTENU
   ------------------------------------------------------ */

.skills-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;
}

.skills-heading {
    margin-bottom: 28px;
}

.skills-heading .section-label {
    margin-bottom: 12px;

    color: var(--accent-dark);
}

.skills-heading h2 {
    margin: 0 0 15px;

    color: var(--primary);

    font-size:
        clamp(2rem, 4vw, 3rem);

    line-height: 1.15;
}

.skills-heading p {
    max-width: 700px;

    margin: 0;

    color: var(--text-light);

    line-height: 1.7;

    text-align: left;
}


/* ------------------------------------------------------
   GRID DES DOMAINES
   ------------------------------------------------------ */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* ------------------------------------------------------
   CARDS COMPÉTENCES
   ------------------------------------------------------ */

.skill-card {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    min-width: 0;

    padding: 21px;

    background: var(--white);

    border: 1px solid var(--border-light);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.skill-card:hover {
    transform: translateY(-5px);

    border-color: var(--accent);

    box-shadow: var(--shadow-md);
}


/* ------------------------------------------------------
   NUMÉROS
   ------------------------------------------------------ */

.skill-icon {
    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: var(--primary-light);

    color: var(--primary);

    border-radius: 50%;

    font-size: 0.9rem;

    font-weight: 800;
}

.skill-card:nth-child(2) .skill-icon,
.skill-card:nth-child(4) .skill-icon {
    background: var(--accent-light);

    color: var(--accent-dark);
}


/* ------------------------------------------------------
   TITRES
   ------------------------------------------------------ */

.skill-card h3 {
    margin: 0 0 8px;

    color: var(--primary);

    font-size: 1.05rem;

    font-weight: 800;

    line-height: 1.25;
}


/* ------------------------------------------------------
   PARAGRAPHES
   ------------------------------------------------------ */

.skill-card p {
    margin: 0;

    color: var(--text-light);

    font-size: 0.88rem;

    line-height: 1.6;

    text-align: left;
}


/* ======================================================
   6. SECTION FINALE — CONTACT & FORMATION
   ====================================================== */

.home-contact-content {
    max-width: 760px;

    margin: 0 auto;

    padding: 50px 35px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border-light);

    border-radius: 28px;

    box-shadow: var(--shadow-md);
}


/* ======================================================
   7. TABLETTE
   ====================================================== */

@media (max-width: 1000px) {

    .home-welcome {
        padding: 65px 0 80px;
    }

    .welcome-heading {
        margin-bottom: 45px;
    }

    .home-showcase {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 30px;
    }

    .home-navigation {
        gap: 13px;
    }

    .home-nav-card {
        min-height: 200px;
    }

    .home-showcase-image {
        min-height: 460px;
    }

    .image-card {
        height: 460px;
    }

    .why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* --------------------------------------------------
       COMPÉTENCES
       -------------------------------------------------- */

    .skills-layout {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(0, 1.1fr);

        gap: 30px;
    }

    .skills-grid {
        gap: 14px;
    }

    .skill-card {
        padding: 18px;
    }

}


/* ======================================================
   8. MOBILE
   ====================================================== */

@media (max-width: 700px) {

    .home-welcome {
        padding: 50px 0 65px;
    }


    /* --------------------------------------------------
       TITRE
       -------------------------------------------------- */

    .welcome-heading {
        margin-bottom: 35px;
    }

    .welcome-heading h1 {
        font-size: 2.35rem;

        letter-spacing: -0.02em;
    }

    .welcome-slogan {
        font-size: 1rem;
    }


    /* --------------------------------------------------
       BLOC PRINCIPAL
       -------------------------------------------------- */

    .home-showcase {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* --------------------------------------------------
       NAVIGATION
       -------------------------------------------------- */

    .home-navigation {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .home-nav-card {
        min-height: 180px;

        padding: 20px 18px;

        border-radius: 19px;
    }

    .home-nav-icon {
        width: 42px;
        height: 42px;

        margin-bottom: 18px;
    }

    .home-nav-content h2 {
        font-size: 1.1rem;
    }

    .home-nav-content p {
        font-size: 0.82rem;
    }

    .home-nav-arrow {
        right: 13px;
        bottom: 13px;

        width: 30px;
        height: 30px;
    }


    /* --------------------------------------------------
       IMAGE PRINCIPALE
       -------------------------------------------------- */

    .home-showcase-image {
        min-height: auto;

        padding: 8px 5px 12px;
    }

    .home-showcase-image::before {
        top: 20px;
        right: -5px;
        bottom: 0;
        left: 15px;

        border-radius: 30px;
    }

    .image-card {
        width: 100%;

        height: auto;

        min-height: 360px;

        padding: 8px;

        border-radius: 25px;

        transform: none;
    }

    .image-card:hover {
        transform: translateY(-5px);
    }

    .image-card img {
        width: 100%;
        height: 344px;

        min-height: 0;

        border-radius: 19px;

        object-fit: cover;
    }

    .image-card::after {
        right: 20px;
        bottom: 20px;

        width: 50px;
        height: 50px;
    }


    /* --------------------------------------------------
       POURQUOI
       -------------------------------------------------- */

    .why-labocompta {
        padding: 70px 0;
    }

    .why-heading {
        margin-bottom: 35px;
    }

    .why-heading h2 {
        font-size: 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .why-card {
        padding: 24px 20px;

        text-align: left;
    }

    .why-icon {
        margin-left: 0;
        margin-right: 0;
    }

    .why-card p {
        text-align: left;
    }


    /* --------------------------------------------------
       COMPÉTENCES
       -------------------------------------------------- */

    .skills-labocompta {
        padding: 70px 0;
    }

    .skills-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .skills-image {
        order: 1;

        width: 100%;

        height: 360px;

        min-height: 0;
    }

    .skills-image img {
        width: 100%;
        height: 100%;

        min-height: 0;

        padding: 0;

        object-fit: cover;

        object-position: center;

        border-radius: 22px;

        box-shadow: none;
    }

    .skills-content {
        order: 2;
    }

    .skills-heading {
        margin-bottom: 28px;
    }

    .skills-heading h2 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .skill-card {
        padding: 20px;
    }

}


/* ======================================================
   9. PETITS ÉCRANS
   ====================================================== */

@media (max-width: 480px) {

    .home-welcome {
        padding: 42px 0 55px;
    }

    .welcome-label {
        font-size: 0.75rem;
    }

    .welcome-heading h1 {
        font-size: 2rem;
    }

    .welcome-slogan {
        font-size: 0.95rem;
    }


    /* --------------------------------------------------
       NAVIGATION
       -------------------------------------------------- */

    .home-navigation {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .home-nav-card {
        min-height: 145px;

        padding: 19px;
    }

    .home-nav-icon {
        margin-bottom: 14px;
    }

    .home-showcase {
        gap: 30px;
    }


    /* --------------------------------------------------
       IMAGE PRINCIPALE
       -------------------------------------------------- */

    .home-showcase-image {
        padding: 7px 4px 10px;
    }

    .image-card {
        min-height: 290px;

        padding: 7px;

        border-radius: 22px;
    }

    .image-card img {
        height: 276px;

        border-radius: 17px;
    }

    .image-card::after {
        right: 15px;
        bottom: 15px;

        width: 42px;
        height: 42px;
    }


    /* --------------------------------------------------
       POURQUOI
       -------------------------------------------------- */

    .why-labocompta {
        padding: 60px 0;
    }

    .why-heading h2 {
        font-size: 1.75rem;
    }


    /* --------------------------------------------------
       COMPÉTENCES
       -------------------------------------------------- */

    .skills-labocompta {
        padding: 60px 0;
    }

    .skills-image {
        height: 300px;

        min-height: 0;
    }

    .skills-image img {
        width: 100%;
        height: 100%;

        padding: 0;

        object-fit: cover;

        object-position: center;

        border-radius: 20px;

        box-shadow: none;
    }

}


/* ======================================================
   10. ACCESSIBILITÉ
   ====================================================== */

@media (prefers-reduced-motion: reduce) {

    .home-nav-card,
    .why-card,
    .skill-card,
    .home-nav-arrow,
    .image-card {
        transition: none;
    }

}

/* =====================================================
   SECTION — ÉVÉNEMENTS LABOCOMPTA
   ===================================================== */

.home-events {
    position: relative;
    padding: 110px 0;
    background: #f7f9fc;
    overflow: hidden;
}


/* Décoration arrière */

.home-events::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -180px;
    right: -120px;
    background: rgba(244, 162, 97, 0.08);
    border-radius: 50%;
}

.home-events::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -80px;
    left: -60px;
    border-radius: 50%;
    background: rgba(15, 63, 140, 0.05);
}


/* Container */

.home-events-container {
    position: relative;
    z-index: 2;

    width: min(1180px, 90%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 75px;
}


/* =====================================================
   CONTENU
   ===================================================== */

.home-events-content {
    max-width: 570px;
}


/* Badge */

.home-events-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 17px;

    background: #fff1e7;
    color: #e88932;

    border-radius: 30px;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.home-events-badge span {
    font-size: 1rem;
}


/* Titre */

.home-events h2 {
    margin: 22px 0 0;

    color: #102a43;

    font-size: clamp(2.3rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.home-events h2 span {
    display: block;
    color: #e88932;
}


/* Ligne */

.home-events-line {
    width: 75px;
    height: 4px;

    margin: 27px 0 24px;

    background: #e88932;
    border-radius: 10px;
}


/* Introduction */

.home-events-intro {
    max-width: 530px;

    margin: 0;

    color: #536579;

    font-size: 1.04rem;
    line-height: 1.75;
}


/* =====================================================
   TYPES D'ÉVÉNEMENTS
   ===================================================== */

.home-events-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 32px;
}

.home-event-type {
    padding: 18px 14px;

    background: rgba(255, 255, 255, 0.8);

    border: 1px solid rgba(15, 63, 140, 0.08);

    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-event-type:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(16, 42, 67, 0.08);
}


/* Icône */

.home-event-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    background: #fff1e7;

    border-radius: 13px;

    font-size: 1.3rem;
}


/* Texte */

.home-event-type h3 {
    margin: 0 0 6px;

    color: #102a43;

    font-size: 0.98rem;
    font-weight: 800;
}

.home-event-type p {
    margin: 0;

    color: #657589;

    font-size: 0.82rem;
    line-height: 1.55;
}


/* =====================================================
   BOUTON
   ===================================================== */

.home-events-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    margin-top: 34px;
    padding: 14px 22px;

    background: #e88932;
    color: #ffffff;

    border-radius: 10px;

    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 750;

    box-shadow:
        0 10px 25px rgba(232, 137, 50, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-events-btn span {
    font-size: 1.15rem;
    transition: transform 0.25s ease;
}

.home-events-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 32px rgba(232, 137, 50, 0.30);
}

.home-events-btn:hover span {
    transform: translateX(4px);
}


/* =====================================================
   IMAGE
   ===================================================== */

.home-events-visual {
    position: relative;
}

.home-events-image-wrapper {
    position: relative;

    width: 100%;

    border-radius: 28px;

    padding: 10px;

    background: #ffffff;

    box-shadow:
        0 25px 65px rgba(16, 42, 67, 0.13);
}

.home-events-image {
    display: block;

    width: 100%;
    height: 510px;

    object-fit: cover;

    border-radius: 21px;
}


/* =====================================================
   FLOATING CARD
   ===================================================== */

.home-events-floating-card {
    position: absolute;

    left: -28px;
    bottom: 30px;

    display: flex;
    flex-direction: column;

    min-width: 205px;

    padding: 16px 20px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 15px;

    box-shadow:
        0 18px 40px rgba(16, 42, 67, 0.16);

    backdrop-filter: blur(12px);
}

.home-events-floating-card strong {
    color: #102a43;

    font-size: 0.95rem;
}

.home-events-floating-card span {
    margin-top: 4px;

    color: #718096;

    font-size: 0.75rem;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1000px) {

    .home-events-container {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .home-events-content {
        max-width: 700px;
    }

    .home-events-visual {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

}


@media (max-width: 650px) {

    .home-events {
        padding: 75px 0;
    }

    .home-events-container {
        width: 92%;
    }

    .home-events h2 {
        font-size: 2.25rem;
    }

    .home-events-types {
        grid-template-columns: 1fr;
    }

    .home-event-type {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .home-event-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .home-events-image {
        height: 360px;
    }

    .home-events-floating-card {
        left: 15px;
        bottom: 18px;
    }

}

/* ======================================================
   LÉGENDE SOUS L'IMAGE — ÉVÉNEMENTS
   ====================================================== */

.home-events-caption {
    margin-top: 16px;
    padding: 0 8px;
}

.home-events-caption strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.home-events-caption p {
    margin: 0;
    max-width: 520px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}