@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange-gv: #FF5500;
    --orange-gv-light: #ff7b40;
    --blue-gv: #00298F;
    --blue-background: #000B27;
    --dark-text: #2C2C2C;
    --gray-light: #E8E8E8;
    --gray-medium: #D4D4D4;
    --beige-light: #F5F5F0;
    --white: #FFFFFF;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background: linear-gradient(180deg, var(--blue-background) 0%, #E8E8E8 50%);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
    opacity: 0;
}

.navbar.scrolled {
    top: 0;
    padding: 10px 0;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 60px;
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--orange-gv);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-gv);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--orange-gv);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 0;
    background: linear-gradient(180deg,
        var(--blue-background) 0%,
        #5A6A8A 15%,
        #6A7A9A 30%,
        #8A9AB5 45%,
        #AABACF 60%,
        #C5D0E0 72%,
        #D8E0EA 82%,
        #E8ECF0 90%,
        var(--beige-light) 100%
    );
    margin: 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.logo-image {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

.mascot-placeholder {
    margin-bottom: 15px;
}

.mascot-circle {
    width: 150px;
    height: 150px;
    background: var(--orange-primary);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.brand {
    font-size: 2.5rem;
    font-family: 'Anton', sans-serif;
    font-weight: 400; /* Anton is a single weight font */
    color: var(--blue-gv);
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin: 20px 0 10px;
    font-weight: 400;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--orange-gv);
    font-weight: 500;
    margin-top: 10px;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-entreprises {
    background: linear-gradient(var(--white), var(--gray-light));
}

.section-enfants {
    background: linear-gradient(var(--gray-light), var(--beige-light));
}

.section-centres {
    background: linear-gradient(var(--beige-light), var(--white));
}

.section-mascottes {
    background: linear-gradient(var(--white), var(--gray-light));
}

.section-personnel {
    background: linear-gradient(var(--gray-light), var(--white));
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 50px;
    background: var(--gray-medium);
    padding: 0;
    border-radius: 15px;
    overflow: visible;
    position: relative;
}

.section-header.reverse {
    flex-direction: row-reverse;
}

.section-image {
    width: 50%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.section-intro {
    flex: 1;
    position: relative;
    padding: 40px;
}

.category-label {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-text);
    font-weight: 400;
    transform: rotate(-90deg);
    transform-origin: left top;
    position: absolute;
    left: 50px;
    top: 50%;
    white-space: nowrap;
}

.section-title {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: var(--blue-gv);
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    display: table;
    font-size: 1.5rem;
    color: var(--dark-text);
    text-align: center;
    margin: 80px auto;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    padding: 0 3rem; /* Space for quotes */
}

.section-subtitle::before,
.section-subtitle::after {
    font-family: 'Georgia', serif; /* A classic font for quotes */
    font-size: 4rem;
    color: var(--blue-gv);
    position: absolute;
    line-height: 0;
}

.section-subtitle::before {
    content: '“';
    left: 0;
    top: 0.5em;
}

.section-subtitle::after {
    content: '”';
    right: 0;
    bottom: -0.1em;
}

/* --- Nouveaux styles pour les bannières de section --- */
.section-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effet parallaxe */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

/* Surcouche sombre pour la lisibilité du texte */
.section-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.section-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.section-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 60px 0;
}

.activities-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 570px; /* Ajusté pour correspondre à la taille des autres cartes */
    margin-left: auto;
    margin-right: auto;
}

.activity-card {
    perspective: 1000px;
    aspect-ratio: 3 / 4; /* Assure un format portrait */
}

/* Effet sourire : cartes du centre plus basses */
.activity-card:nth-child(2),
.activity-card:nth-child(3) {
    transform: translateY(30px);
}

.activity-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.activity-card:hover .activity-card-inner {
    transform: rotateY(180deg);
}

.activity-card-front,
.activity-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.activity-card-front {
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.activity-card-front img {
    width: 100%;
    flex: 1; /* Laisse l'image remplir l'espace disponible */
    object-fit: cover;
    min-height: 0; /* Permet à l'image de rétrécir dans un conteneur flex */
}

.activity-card-front .activity-name {
    height: 60px; /* Hauteur fixe pour toutes les barres de titre */
    padding: 15px;
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 600;
    background: var(--white);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* '+' icon inside the title bar */
.activity-card-front .activity-name::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--orange-gv);
    transition: transform 0.4s ease;
}

.activity-card:hover .activity-card-front .activity-name::after {
    transform: rotate(225deg);
}

.activity-card-back {
    position: relative;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    overflow: hidden;
}

/* Image floue en arrière-plan */
.activity-card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    opacity: 1;
    z-index: 0;
}

/* Images spécifiques pour chaque carte - Section Entreprises */
.section-entreprises .activity-card:nth-child(1) .activity-card-back::before {
    background-image: url('images/olympiade.png');
}

.section-entreprises .activity-card:nth-child(2) .activity-card-back::before {
    background-image: url('images/jeuxdepiste.png');
}

.section-entreprises .activity-card:nth-child(3) .activity-card-back::before {
    background-image: url('images/jeuxorientations.png');
}

.section-entreprises .activity-card:nth-child(4) .activity-card-back::before {
    background-image: url('images/enqu%C3%AAtes.png');
}

/* Images spécifiques pour chaque carte - Section Enfants */
.section-enfants .activity-card:nth-child(1) .activity-card-back::before {
    background-image: url('images/CréationsImaginations.png');
}

.section-enfants .activity-card:nth-child(2) .activity-card-back::before {
    background-image: url('images/JeuxAventure.jpeg');
}

.section-enfants .activity-card:nth-child(3) .activity-card-back::before {
    background-image: url('images/deficreativite.jpeg');
}

.section-enfants .activity-card:nth-child(4) .activity-card-back::before {
    background-image: url('images/memoire.jpeg');
}

/* Images spécifiques pour chaque carte - Section Centres */
.section-centres .activity-card:nth-child(1) .activity-card-back::before {
    background-image: url('images/gourmande.jpeg');
}



.section-centres .activity-card:nth-child(2) .activity-card-back::before {
    background-image: url('images/quizz.jpeg');
}

.section-centres .activity-card:nth-child(3) .activity-card-back::before {
    background-image: url('images/jeuxEnBois.jpeg');
}

.section-centres .activity-card:nth-child(4) .activity-card-back::before {
    background-image: url('images/karaoke.jpeg');
}

/* Images spécifiques pour chaque carte - Section Mascottes */
.section-mascottes .activity-card:nth-child(1) .activity-card-back::before {
    background-image: url('images/perenoel.jpg');
}

.section-mascottes .activity-card:nth-child(2) .activity-card-back::before {
    background-image: url('images/valenticoeur.jpg');
}

.section-mascottes .activity-card:nth-child(3) .activity-card-back::before {
    background-image: url('images/endenarthurlola.jpg');
}

.section-mascottes .activity-card:nth-child(4) .activity-card-back::before {
    background-image: url('images/savantfou.jpg');
}

/* Images spécifiques pour chaque carte - Section Personnel */
.section-personnel .activity-card:nth-child(1) .activity-card-back::before {
    background-image: url('images/hotesse.jpg');
}

.section-personnel .activity-card:nth-child(2) .activity-card-back::before {
    background-image: url('images/hote.jpg');
}

/* Overlay semi-transparent sur image floutée */
.activity-card-back::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.activity-card-back h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.activity-card-back p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--white);
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Tap Hint - mobile only */
.tap-hint {
    display: none;
    text-align: center;
    color: var(--orange-gv);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 15px;
    opacity: 0.8;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.cta-buttons.center {
    justify-content: center;
}

.cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mascot-circle-small {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mascot-circle-small:hover {
    transform: scale(1.1);
}

.btn-secondary {
    padding: 15px 40px;
    font-size: 1.1rem;
    color: var(--dark-text);
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    color: var(--orange-gv);
}

/* Section About (Qui sommes-nous) */
.section-about {
    background: linear-gradient(var(--beige-light), var(--white));
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 0 0 350px;
    width: 350px;
    height: 350px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.about-content p {
    margin-bottom: 1.5em;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-content ul {
    list-style: none;
    padding-left: 20px;
    margin: 1.5em 0;
}

.about-content ul li {
    margin-bottom: 0.8em;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
}

.about-content ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--orange-gv);
    font-weight: bold;
}

.about-content .about-conclusion {
    font-weight: 500;
    text-align: center;
    font-style: italic;
    color: var(--blue-gv);
    margin-top: 30px;
    font-size: 1.2rem;
}

.about-more-content {
    display: none;
}

.btn-toggle-about {
    background: none;
    border: none;
    color: var(--orange-gv);
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    font-size: 1rem;
    margin-top: 15px;
    text-decoration: underline;
    display: inline-block;
}

.btn-toggle-about:hover {
    color: var(--blue-gv);
    text-decoration: none;
}

/* Section On parle de nous */
.section-on-parle {
    background: linear-gradient(var(--white), var(--gray-light));
    padding: 80px 20px;
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    height: 400px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--white);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
}

.carousel-btn:hover {
    background: var(--orange-gv);
    color: var(--white);
}

.carousel-prev {
    left: -22px;
}

.carousel-next {
    right: -22px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: var(--orange-gv);
}

/* Section Contact */
.section-contact {
    background: linear-gradient(var(--gray-light), var(--white));
    padding: 80px 20px 60px;
}

.contact-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: var(--blue-gv);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 300;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-gv);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    background: var(--orange-gv);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
}

.btn-submit:hover {
    background: var(--orange-gv-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.4);
}

/* Footer */
.footer-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg,
        #FFFFFF 0%,
        #FFF5F0 15%,
        #FFE8D9 30%,
        #FFD4B8 45%,
        #FFBE96 60%,
        #FFA875 75%,
        var(--orange-gv-light) 90%,
        var(--orange-gv) 100%
    );
}

.footer-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-logo {
        height: 50px;
    }

    .navbar.scrolled .nav-logo {
        height: 35px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        flex-basis: 280px;
        width: 280px;
        height: 280px;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .navbar.scrolled .nav-menu {
        top: 60px;
    }

    .brand {
        font-size: 2rem;
    }

    .section-banner-content h2 {
        font-size: 1.8rem;
    }

    /* Disable parallax on mobile for performance and to avoid visual bugs */
    .section-banner {
        background-attachment: scroll;
    }

    .section-header {
        flex-direction: column;
        padding: 20px;
    }

    .section-header.reverse {
        flex-direction: column;
    }

    .section-image {
        width: 100%;
    }

    .category-label {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }

    .tap-hint {
        display: block;
    }

    .section-header-inner {
        height: 350px;
    }

    .section-header-front {
        flex-direction: column;
    }

    .section-header-front .section-image {
        width: 100%;
        height: 50%;
    }

    .section-header-back-content {
        padding: 20px;
    }

    .section-header-back-content h2 {
        font-size: 1.4rem;
    }

    .section-header-back-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
        margin: 60px auto;
    }

    .section-subtitle::before,
    .section-subtitle::after {
        font-size: 3rem;
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .activities-grid.grid-2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    /* Désactiver l'effet sourire sur tablette */
    .activity-card:nth-child(2),
    .activity-card:nth-child(3) {
        transform: none;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 30px;
    }

    .valeurs-title {
        font-size: 1.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar.scrolled {
        padding: 5px 0;
    }

    .nav-logo {
        height: 40px;
    }

    .navbar.scrolled .nav-logo {
        height: 30px;
    }

    .nav-menu {
        top: 60px;
    }

    .navbar.scrolled .nav-menu {
        top: 50px;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .hero {
        padding: 0;
    }

    .logo-image {
        max-width: 200px;
    }

    .mascot-circle {
        width: 100px;
        height: 100px;
    }

    .brand {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-banner {
        height: 50vh;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid.grid-2 {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 15px;
    }

    /* Réduire la taille du texte pour les cartes Homme/Femme sur mobile */
    .section-personnel .activity-card-back {
        padding: 20px;
    }
    .section-personnel .activity-card-back h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .section-personnel .activity-card-back p {
        font-size: 0.9rem;
    }
}
