/* Réinitialisation des styles par défaut */
body, h1, h2, h3, p, ul, li, form, input, textarea, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header avec logo et menu */
header {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .logo {
    height: 60px;
}

header .logo img {
    height: 100%;
    width: auto;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: rgb(2, 2, 73);
    text-decoration: none;
    font-weight: bold;
}

nav ul li a.button {
    background-color: #efbb0f;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a.button:hover {
    background-color: #0056b3;
    color: white;
}

/* Section Hero */
.hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.hero-images {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-images img.active {
    opacity: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2rem;
}

/* Section solutions */
.solutions {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.solutions h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #032f5f;
}

.solution-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.solution {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.solution img {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
}

.solution h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #032f5f;
}

.solution p {
    font-size: 1rem;
    color: #666;
}

/* Section Questionnaire Orientation */
.orientation-quiz {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

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

.orientation-quiz h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.orientation-quiz p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.quiz-button {
    display: inline-block;
    background-color: #6e04b5;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quiz-button:hover {
    background-color: white;
    color: #6e04b5;
    border-color: #6e04b5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
}

/* Bannière bleue */
.banner {
    background-color: #2c3e50;
    padding: 25px 0;
    text-align: center;
    width: 100%;
    margin: 40px 0;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-link {
    color: white !important;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px 30px;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.banner-link:hover {
    transform: scale(1.05);
}

.banner-link::before,
.banner-link::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 2px;
    background: white;
    top: 50%;
    transform: translateY(-50%);
}

.banner-link::before {
    left: -15px;
}

.banner-link::after {
    right: -15px;
}

/* Section Team */
.team {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

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

.team-title {
    color: #2c3e50;
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.team-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: #4361ee;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.member {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.member::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4361ee, #3a0ca3);
}

.member-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 5px solid #f0f4f8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-name {
    color: #2c3e50;
    margin: 15px 0 5px;
    font-size: 1.5rem;
    font-weight: 700;
}

.member-position {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.member-linkedin {
    display: inline-block;
    background-color: #0077b5;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.member-linkedin:hover {
    background-color: #005582;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Section Contact */
.contact-form {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #032f5f;
}

.contact-form input, .contact-form textarea {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #023061;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.contact-form a {
    color: #021e3c;
    text-decoration: none;
    font-weight: bold;
}

.contact-form a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .solution, .member {
        width: 100%;
    }
}