
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f4fa;
    color: #333;
}

header {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 90px;
}

nav a {
    margin-left: 2em;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

main {
    padding: 3em 2em;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 3em;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: 3em;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-text {
    flex: 1 1 400px;
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.hero-text p {
    font-size: 1.1em;
    line-height: 1.5em;
}

.buttons {
    margin-top: 1.5em;
}

.btn {
    padding: 0.8em 1.6em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 1em;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-outline {
    border: 2px solid #007bff;
    color: #007bff;
    background: white;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

.hero-img img {
    max-width: 300px;
    height: auto;
}

.video-section {
    text-align: center;
    margin-top: 3em;
}

.btn-youtube {
    border: 2px solid #0056b3;
    color: #0056b3;
    padding: 0.8em 1.4em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2em;
    color: #777;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.lang-selector {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}

.lang-selector img {
  height: 24px;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}

.lang-selector img:hover {
  transform: scale(1.1);
}

/* Pour les petits écrans */
@media screen and (max-width: 768px) {
    header, section, footer {
        padding: 10px;
    }

    header img {
        max-width: 80%;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    form input, form textarea {
        width: 100%;
    }

    .lang-switcher {
        flex-direction: column;
        align-items: flex-start;
    }
}

