
:root {
    --gym-vert: #69cbb5;
    --gym-vert-fonce: #46ad96;
    --gym-texte: #202020;
    --gym-gris: #666;
}


h2,h1{
    color: var(--gym-vert-fonce);
}
/*------------------------------------- a la une ----------------------------------- */

.go-home-a-la-une{
    border:2px solid var(--gym-vert-fonce);
    border-radius:15px;
    padding:25px;

    display:flex;
    align-items:center;
    gap:40px;
}

.go-home-a-la-une .wf-columns{
    align-items:center;
}

.container-header .navbar-toggler {
	color: gray;
	cursor: pointer;
	border: 1px solid #666161;
}




/*------------------------------------- banner ------------------------------------ */
/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    overflow: hidden;
    border-radius: 0;
}

/*
L’image définit automatiquement la hauteur du hero.
Il ne faut mettre ni height fixe, ni min-height,
ni aspect-ratio sur .hero.
*/
.hero-image {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}

/* =========================================================
   BOUTONS SUPERPOSÉS À L’IMAGE
   ========================================================= */

.hero-buttons {
    position: absolute;
    z-index: 2;

    left: clamp(20px, 7%, 90px);
    bottom: clamp(20px, 8%, 70px);

    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

/* Bouton générique du hero */
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 14px 32px;

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    border: 1px solid transparent;
    border-radius: 999px;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Bouton vert */
.hero-btn-primary {
    color: #fff;
    background-color: #63c7b5;
    border-color: #63c7b5;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    color: #fff;
    background-color: #4bb29f;
    border-color: #4bb29f;

    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Bouton blanc */
.hero-btn-secondary {
    color: #222;
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.15);
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
    color: #222;
    background-color: #f2f2f2;
    border-color: rgba(0, 0, 0, 0.2);

    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .hero-buttons {
        left: 5%;
        bottom: 7%;
        gap: 12px;
    }

    .hero-btn {
        min-height: 48px;
        padding: 11px 22px;

        font-size: 0.9rem;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .hero-buttons {
        right: 15px;
        bottom: 15px;
        left: 15px;

        gap: 10px;
    }

    .hero-btn {
        flex: 1 1 0;

        min-width: 0;
        min-height: 44px;
        padding: 10px 14px;

        font-size: 0.82rem;
    }
}

/* Mobile très étroit */
@media (max-width: 390px) {

    .hero {
        height: 220px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }
}
/* ------------------------------------------------------ home-cards-icons ----------------------------- */



/* Conteneur général */
.raccourcis-gym {
    position: relative;
    z-index: 10;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;

    width: min(1180px, calc(100% - 40px));
    margin: -30px auto 50px;
}

/* Carte entièrement cliquable */
.raccourci-card {
    min-height: 245px;
    padding: 28px 24px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    color: var(--gym-texte);
    text-align: center;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);

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

.raccourci-card:hover,
.raccourci-card:focus {
    color: var(--gym-texte);
    text-decoration: none;
    transform: translateY(-8px);

    border-color: rgba(105, 203, 181, 0.35);

    box-shadow:
        0 20px 42px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Icône */
.raccourci-icone {

     color: var(--gym-vert);
    min-height: 58px;
    margin-bottom: 12px;

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

    color: var(--gym-vert);
    font-size: 46px;
    line-height: 1;
}

.raccourci-icone i {
    display: block;
}

/* Titre */
.raccourci-card h3 {
    margin: 0 0 10px;

    color: var(--gym-texte);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Description */
.raccourci-card p {
    margin: 0 0 20px;

    color: var(--gym-gris);
    font-size: 0.98rem;
    line-height: 1.55;
}

/* Flèche */
.raccourci-fleche {
    margin-top: auto;

    color: var(--gym-vert);
    font-size: 25px;
    line-height: 1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.raccourci-card:hover .raccourci-fleche {
    color: var(--gym-vert-fonce);
    transform: translateX(6px);
}

.go-home-cards-icons{
    border:none;
    z-index: 1;
}

/* Tablette */
@media (max-width: 900px) {
    .raccourcis-gym {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 30px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .raccourcis-gym {
        grid-template-columns: 1fr;
        gap: 16px;

        width: calc(100% - 30px);
        margin-top: 25px;
    }

    .raccourci-card {
        min-height: 210px;
        padding: 24px 20px;
    }
}


/* -------------------------------------------------------- image slider -----*/

.tns-bloc-outer img {
    border-radius: 10px;
    overflow: hidden;
}


/* -------------------------------------------------------- bouton perso ----------- */ 



/* =========================================================
   BOUTONS GENERIQUES
   ========================================================= */


/* Bouton générique du hero */
.gosoft-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 14px 32px;

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;

    border: 1px solid transparent;
    border-radius: 10px;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.15);

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

    color: #ffffff;
    background-color: #63c7b5;
    border-color: #63c7b5;
}

.gosoft-btn:hover,
.gosoft-btn:focus {
    color: #fff;
    background-color: #4bb29f;
    border-color: #4bb29f;

    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gosoft-bouton-center{
    display: block;
    width: fit-content;
    margin-inline: auto;
}

