* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8F8F8;
}

.header {
    background: linear-gradient(135deg, #4E9667 0%, #5C77B9 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, rgba(78, 150, 103, 0.9) 0%, rgba(92, 119, 185, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%234E9667" width="1200" height="600"/><circle fill="%23D8B25E" opacity="0.1" cx="200" cy="100" r="150"/><circle fill="%23DF7841" opacity="0.1" cx="900" cy="400" r="200"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #D8B25E;
    color: white;
}

.btn-primary:hover {
    background: #c79f4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: white;
    color: #4E9667;
}

.btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #4E9667;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #D8B25E;
    margin: 1rem auto;
    border-radius: 2px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-icon.green {
    color: #4E9667;
}

.card-icon.blue {
    color: #5C77B9;
}

.card-icon.yellow {
    color: #D8B25E;
}

.card-icon.orange {
    color: #DF7841;
}

.card h3 {
    color: #4E9667;
    margin-bottom: 1rem;
}

.permanences {
    background: linear-gradient(135deg, #4E9667 0%, #5C77B9 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.permanences h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.permanences-time {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4E9667, #5C77B9);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

.team-member h4 {
    color: #4E9667;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
    font-size: 0.9rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
}

/* Section Contact */
.contact-section {
    background-color: #fff;
    padding: 5rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3,
.contact-info h3,
.map-container h3 {
    color: #4E9667;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4E9667;
    box-shadow: 0 0 0 2px rgba(78, 150, 103, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.2rem;
    color: #4E9667;
    margin-top: 0.3rem;
}

.info-item h4 {
    color: #4E9667;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #666;
    line-height: 1.5;
}

.map-container {
    grid-column: 1 / -1;
    margin-top: 3rem;
    text-align: center;
}

.map-wrapper {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .map-container {
        margin-top: 2rem;
    }
}

.value-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 2.5rem;
    color: #4E9667;
    margin-bottom: 1rem;
}

.contact-item h4 {
    color: #4E9667;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #5C77B9;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #A0D2DB, #D8B25E);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.footer {
    background: linear-gradient(135deg, #4E9667 0%, #5C77B9 100%);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    margin-bottom: 1rem;
}

.footer a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #4E9667 0%, #5C77B9 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Styles pour les boutons d'authentification */
.auth-buttons {
    display: flex;
    gap: 0.8rem;
    margin-left: 2rem;
    align-items: center;
}

.btn-login {
    background-color: #4E9667;
    color: white;
    border: 2px solid #4E9667;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-login:hover {
    background-color: #3a7a4e;
    border-color: #3a7a4e;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-register {
    background-color: white;
    color: #4E9667;
    border: 2px solid #4E9667;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-register:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .auth-buttons {
        margin-left: 1rem;
    }
}

@media (max-width: 992px) {
    .auth-buttons {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-auth-buttons {
        width: 100%;
    }
}

@media (min-width: 993px) {
    .hero-auth-buttons {
        display: none;
    }
}

/* Styles pour les boutons de la section Nous rejoindre */
.rejoindre-auth-buttons {
    text-align: center;
    margin-top: 1.5rem;
}

.rejoindre-auth-buttons p {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.rejoindre-auth-buttons .btn-login {
    background-color: transparent;
    border: 2px solid #4E9667;
    color: #4E9667;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0.3rem;
}

.rejoindre-auth-buttons .btn-login:hover {
    background-color: rgba(78, 150, 103, 0.1);
    color: #3a7a4e;
    border-color: #3a7a4e;
}

.rejoindre-auth-buttons .btn-register {
    background-color: #4E9667;
    color: white;
    border: 2px solid #4E9667;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0.3rem;
}

.rejoindre-auth-buttons .btn-register:hover {
    background-color: #3a7a4e;
    border-color: #3a7a4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}