@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Patrick+Hand&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --wood-dark: #8B4513;
    --wood-medium: #D2691E;
    --wood-light: #DEB887;
    --wood-pale: #F5DEB3;
    --green-forest: #228B22;
    --green-leaf: #7CB342;
    --red-toy: #E53935;
    --yellow-sun: #FFC107;
    --blue-sky: #42A5F5;
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    --cream: #FFF8DC;
}

body {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--cream) 0%, var(--wood-pale) 100%);
    background-attachment: fixed;
}

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

nav {
    background: linear-gradient(to bottom, var(--wood-light) 0%, var(--wood-pale) 100%);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--wood-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.2em;
    font-weight: 700;
    color: var(--wood-dark);
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(139, 69, 19, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.3s;
}

.logo:hover {
    transform: rotate(2deg) scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255, 248, 220, 0.5);
    border: 2px solid transparent;
}

.nav-links a:hover {
    background: var(--yellow-sun);
    color: var(--wood-dark);
    border-color: var(--wood-medium);
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.hero {
    background: linear-gradient(135deg, var(--green-forest) 0%, var(--green-leaf) 50%, var(--wood-medium) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🌲 🎨 🧸 🎲 🌳 🎪 🚂 🎯';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    font-size: 3em;
    opacity: 0.1;
    animation: floatIcons 20s linear infinite;
}

@keyframes floatIcons {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.hero h1 {
    font-family: 'Patrick Hand', cursive;
    font-size: 4.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
}

.hero p {
    font-size: 1.8em;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--yellow-sun);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s;
    border: 4px solid var(--wood-dark);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: rotate(-1deg);
}

.cta-button:hover {
    transform: rotate(1deg) scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.5);
    background: var(--red-toy);
    color: white;
}

section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Patrick Hand', cursive;
    font-size: 3em;
    color: var(--wood-dark);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(139, 69, 19, 0.2);
}

.section-title::after {
    content: '🌿 🎨 🌿';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5em;
}

.histoire-content {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.2);
    border: 5px solid var(--wood-light);
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            var(--wood-dark),
            var(--wood-dark) 10px,
            var(--wood-medium) 10px,
            var(--wood-medium) 20px);
    border-radius: 4px;
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    padding-right: 52%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 52%;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--red-toy), var(--yellow-sun));
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
    border: 3px solid white;
    transform: rotate(-2deg);
}

.timeline-content {
    background: linear-gradient(135deg, var(--cream), white);
    padding: 25px;
    border-radius: 20px;
    line-height: 1.8;
    border: 3px solid var(--wood-light);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.15);
}

.timeline-content h3 {
    color: var(--wood-dark);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.team-member {
    background: white;
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    transition: all 0.3s;
    border: 4px solid var(--wood-pale);
    position: relative;
}

.team-member::before {
    content: '⭐';
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2em;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.team-member:hover {
    transform: translateY(-15px) rotate(-2deg);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.3);
    border-color: var(--yellow-sun);
}
/*
.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-sky), var(--green-leaf));
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5em;
    color: white;
    border: 6px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
*/
.team-name {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--wood-dark);
}

.team-role {
    color: var(--green-forest);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.team-description {
    color: var(--text-light);
    line-height: 1.8;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

.catalog-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
    transition: all 0.3s;
    border: 4px solid var(--wood-pale);
    cursor: pointer;
}

.catalog-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.3);
    border-color: var(--yellow-sun);
}

.catalog-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--wood-light), var(--wood-pale));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    position: relative;
    overflow: hidden;
}

.catalog-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.1) 20px);
}

.catalog-info {
    padding: 25px;
    background: linear-gradient(to bottom, white, var(--cream));
}

.catalog-title {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--wood-dark);
    text-align: center;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.event-card {
    background: white;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
    border-left: 8px solid var(--red-toy);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '🎉';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 5em;
    opacity: 0.1;
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(229, 57, 53, 0.3);
}

.event-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--red-toy), var(--yellow-sun));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 0.95em;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.event-title {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--wood-dark);
}

.event-description {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 20px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1em;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    background: var(--cream);
    padding: 8px 15px;
    border-radius: 15px;
}

.location-section {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.2);
    border: 5px solid var(--wood-light);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.location-info {
    background: linear-gradient(135deg, var(--cream), white);
    padding: 35px;
    border-radius: 20px;
    border-left: 6px solid var(--green-leaf);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.15);
}

.location-info h3 {
    font-family: 'Patrick Hand', cursive;
    color: var(--wood-dark);
    margin-bottom: 20px;
    font-size: 1.5em;
}

.location-info ul {
    list-style: none;
    padding: 0;
}

.location-info li {
    padding: 10px 0;
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
}

.location-info li::before {
    content: '🌿';
    position: absolute;
    left: 0;
}

.game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.game-category {
    background: linear-gradient(135deg, var(--cream), white);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--wood-pale);
    transition: all 0.3s;
    cursor: pointer;
}

.game-category:hover {
    transform: translateY(-8px) rotate(-2deg);
    border-color: var(--yellow-sun);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
}

.category-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    display: block;
}

.category-name {
    font-weight: 700;
    color: var(--wood-dark);
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--wood-dark);
    font-size: 1.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 3px solid var(--wood-pale);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-leaf);
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.2);
}

.submit-button {
    background: linear-gradient(135deg, var(--green-forest), var(--green-leaf));
    color: white;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.4);
}

.contact-info {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.2);
    border: 5px solid var(--wood-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    padding: 25px;
    background: linear-gradient(135deg, var(--cream), white);
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--wood-pale);
    transition: all 0.3s;
}

.info-item:hover {
    transform: translateY(-8px);
    border-color: var(--blue-sky);
    box-shadow: 0 10px 30px rgba(66, 165, 245, 0.3);
}

.info-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.info-title {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--wood-dark);
    font-size: 1.2em;
}

.info-content {
    color: var(--text-light);
    line-height: 1.8;
}

footer {
    background: linear-gradient(135deg, var(--wood-dark), var(--wood-medium));
    color: white;
    padding: 50px 0 25px;
    margin-top: 80px;
    box-shadow: 0 -5px 30px rgba(139, 69, 19, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-family: 'Patrick Hand', cursive;
    margin-bottom: 20px;
    color: var(--yellow-sun);
    font-size: 1.4em;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--yellow-sun);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3em;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        padding-left: 30px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .section-title {
        font-size: 2.2em;
    }
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.tarif-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.2);
}

.tarif-table th,
.tarif-table td {
    padding: 18px;
    text-align: left;
}

.tarif-table th {
    background: linear-gradient(135deg, var(--wood-dark), var(--wood-medium));
    color: white;
    font-weight: 700;
    font-size: 1.1em;
}

.tarif-table tr {
    background: white;
}

.tarif-table tr:nth-child(even) {
    background: var(--cream);
}

.tarif-table tr:hover {
    background: var(--wood-pale);
    transform: scale(1.02);
}

/* Modale mentions légales */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: block;
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 6px solid var(--wood-light);
    position: relative;
    animation: slideDown 0.4s;
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--wood-dark), var(--wood-medium));
    color: white;
    padding: 30px;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.modal-header h2 {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.5em;
    margin: 0;
    color: white;
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 3em;
    font-weight: bold;
    color: var(--yellow-sun);
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.2);
    background: var(--red-toy);
    color: white;
}

.modal-body {
    padding: 40px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 12px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--cream);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--wood-medium);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--wood-dark);
}

.modal-section {
    background: linear-gradient(135deg, var(--cream), white);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 5px solid var(--green-leaf);
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.1);
}

.modal-section h3 {
    font-family: 'Patrick Hand', cursive;
    color: var(--wood-dark);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.modal-section p {
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* Modale produits */
.modal-produits {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    animation: fadeIn 0.3s;
}

.modal-produits.active {
    display: block;
}

.modal-produits-content {
    background: white;
    margin: 50px auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 6px solid var(--wood-light);
    position: relative;
    animation: slideDown 0.4s;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.modal-produits-header {
    background: linear-gradient(135deg, var(--green-forest), var(--green-leaf));
    color: white;
    padding: 20px;
    border-radius: 24px 24px 0 0;
    position: relative;
    flex-shrink: 0;
}

.modal-produits-header h2 {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.5em;
    margin: 0;
    color: white;
}

.modal-produits-header .category-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.modal-produits-close {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 3em;
    font-weight: bold;
    color: var(--yellow-sun);
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.modal-produits-close:hover {
    transform: rotate(90deg) scale(1.2);
    background: var(--red-toy);
    color: white;
}

.modal-produits-body {
    padding: 40px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-produits-body::-webkit-scrollbar {
    width: 12px;
}

.modal-produits-body::-webkit-scrollbar-track {
    background: var(--cream);
    border-radius: 10px;
}

.modal-produits-body::-webkit-scrollbar-thumb {
    background: var(--wood-medium);
    border-radius: 10px;
}

.modal-produits-body::-webkit-scrollbar-thumb:hover {
    background: var(--wood-dark);
}

.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.produit-item {
    background: linear-gradient(135deg, var(--cream), white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 3px solid var(--wood-pale);
    transition: all 0.3s;
}

.produit-item:hover {
    transform: translateY(-5px);
    border-color: var(--green-leaf);
    box-shadow: 0 8px 20px rgba(124, 179, 66, 0.3);
}

.produit-nom {
    font-weight: 600;
    color: var(--wood-dark);
    font-size: 0.95em;
    line-height: 1.4;
}

.modal-produits-footer {
    background: linear-gradient(135deg, var(--wood-pale), var(--cream));
    padding: 25px 40px;
    border-radius: 0 0 24px 24px;
    text-align: center;
    border-top: 3px solid var(--wood-light);
    flex-shrink: 0;
}

.modal-produits-footer p {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.4em;
    color: var(--wood-dark);
    margin: 0;
}

.team-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 25px;
    /* Rendre l'espace relatif pour le positionnement de l'image si besoin */
    position: relative; 
    /* Les lignes ci-dessous sont retirées car elles affichaient les initiales */
    /* display: flex; 
    align-items: center;
    justify-content: center;
    font-size: 3.5em;
    color: white; */
    border: 6px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    /* Ajout pour masquer le débordement de l'image */
    overflow: hidden; 
    /* Ajout du dégradé en fallback, mais l'image le couvrira */
    background: linear-gradient(135deg, var(--blue-sky), var(--green-leaf));
}

/* Nouveau style pour l'image à l'intérieur de l'avatar */
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre l'espace sans être déformée */
    display: block;
}