/* Variables globales */
:root {
    --primary-color: #9FE870;
    --dark-bg: #1A1D21;
    --text-color: #FFFFFF;
    --font-thin: 100;
    --font-extralight: 200;
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: var(--font-regular);
}

/* Sélecteur de langue */
.lang-switcher {
    position: fixed;
    top: 1rem;
    right: 2rem;
    background-color: rgba(15, 17, 19, 0.8);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 0.2rem 0.5rem;
}

.lang-switcher a:hover {
    opacity: 1;
}

.lang-switcher a.active {
    color: var(--primary-color);
    opacity: 1;
    font-weight: var(--font-bold);
}

.lang-switcher .separator {
    color: var(--text-color);
    opacity: 0.3;
}

/* Header */
header {
    padding: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    margin-bottom: 2rem;
}

.logo img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Hero section avec superposition d'images */
.hero {
    margin-bottom: 4rem;
    position: relative;
    height: 50vh;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-image {
    position: absolute;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.header-image {
    position: relative;
    z-index: 1;
    max-width: 90%;
    height: auto;
    object-fit: contain;
}

.vision {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.vision h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: var(--font-extrabold);
    letter-spacing: -0.05em;
}

.vision p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.2;
    font-weight: var(--font-light);
}

/* Bouton CTA */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #FFFFFF;
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: var(--font-bold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.button:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #0f1113;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: var(--font-medium);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Section CTA / Apps */
.cta {
    margin-bottom: 4rem;
    padding: 2rem;
}

.cta h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: var(--font-extrabold);
    letter-spacing: -0.05em;
}

.cta h5 {
    margin-top: 0.2rem;
    font-size: 1.2rem;
    font-weight: var(--font-extrabold);
    color: var(--text-color);
}

.cta .button {
    padding: 0;
    background: none;
    border-radius: 20px;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cta .Apps {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.cta .button:hover .Apps {
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .lang-switcher {
        position: relative;
        top: 0;
        right: 0;
        justify-content: center;
        margin: 1rem auto 0;
        width: fit-content;
    }

    header {
        padding-top: 1rem;
    }

    .hero {
        height: 30vh;
        min-height: 400px;
    }

    .header-image {
        max-width: 95%;
    }

    .vision p {
        font-size: 1rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta .Apps {
        width: 160px;
        height: 160px;
    }

    .cta h5 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 140px;
    }

    .hero {
        height: 20vh;
        min-height: 180px;
    }

    .vision h2 {
        font-size: 1.5rem;
    }

    .cta .Apps {
        width: 100px;
        height: 100px;
    }

    .cta h2 {
        font-size: 1.5rem;
    }
    .lang-switcher a {
        font-size: 0.6rem;
    }
    .lang-switcher {
        padding: 0.2rem 0.3rem;
        gap: 0.1rem;
    }
}

/* Pages de contenu légal */
.legal-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: var(--font-extrabold);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.05em;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: var(--font-light);
}

.legal-content ul {
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-weight: var(--font-light);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }
}

/* Formulaire de contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-medium);
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: var(--font-bold);
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1rem;
    }
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: var(--font-medium);
}

.social-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Messages du formulaire */
.form-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    text-align: center;
}

.form-message.success {
    background-color: rgba(159, 232, 112, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.form-message.error {
    background-color: rgba(255, 87, 87, 0.1);
    color: #ff5757;
    border: 1px solid #ff5757;
}

/* Page de confirmation */
.confirmation-message {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(159, 232, 112, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(159, 232, 112, 0.1);
}

.confirmation-message h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: var(--font-extrabold);
    letter-spacing: -0.05em;
    animation: fadeInDown 0.6s ease-out;
}

.confirmation-message p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: var(--font-light);
    animation: fadeIn 0.8s ease-out;
}

.button-container {
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out;
}

.button-container .submit-button {
    display: inline-block;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 12px;
    font-weight: var(--font-bold);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(159, 232, 112, 0.2);
}

.button-container .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(159, 232, 112, 0.3);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .confirmation-message {
        padding: 4rem 1.5rem;
    }

    .confirmation-message h1 {
        font-size: 2.5rem;
    }

    .confirmation-message p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .confirmation-message {
        padding: 3rem 1rem;
    }

    .confirmation-message h1 {
        font-size: 2rem;
    }

    .confirmation-message p {
        font-size: 1rem;
    }

    .button-container .submit-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
} 