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

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

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
}

/* Section Héros */
.hero {
    height: 100vh;
    background: url('../img/bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.slogan {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #FFD700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
    background: #FFC107;
}

/* Section À propos */
.about {
    padding: 80px 20px;
    background: #f5f5f5;
    text-align: center;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.about h3 {
    font-size: 1.8rem;
    margin: 30px 0 10px;
}

.about p,
.about ul {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.about ul li {
    margin-bottom: 10px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stats div {
    text-align: center;
}

.stats h3 {
    font-size: 2rem;
    color: #FFD700;
}

.stats p {
    font-size: 1rem;
}

/* Section Notre histoire */
.history {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.history h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.history p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #FFD700;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 2;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    order: 1;
    text-align: right;
}

.timeline-content {
    width: 45%;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #FFD700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Section Notre philosophie */
.philosophy {
    padding: 80px 20px;
    background: url('https://source.unsplash.com/random/1920x1080/?team') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.philosophy-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.philosophy p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.philosophy h3 {
    font-size: 1.8rem;
    margin: 30px 0 10px;
}

.philosophy ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.philosophy ul li {
    margin-bottom: 10px;
}

.quote {
    font-style: italic;
    font-size: 1.3rem;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.2);
    border-left: 5px solid #FFD700;
}

/* Section Nos entreprises */
.companies {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.companies h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.company-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.company-card:hover {
    transform: translateY(-10px);
}

.company-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.company-card h3 {
    font-size: 1.8rem;
    margin: 20px;
}

.company-card p {
    font-size: 1rem;
    margin: 0 20px 20px;
}

.company-cta {
    display: inline-block;
    margin: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.company-card:nth-child(1) .company-cta {
    background: #87CEEB;
    color: #fff;
}

.company-card:nth-child(1) .company-cta:hover {
    background: #5DADE2;
}

.company-card:nth-child(2) .company-cta {
    background: #F8E1E9;
    color: #333;
}

.company-card:nth-child(2) .company-cta:hover {
    background: #FADADD;
}

.company-card:nth-child(3) .company-cta {
    background: #FF6200;
    color: #fff;
}

.company-card:nth-child(3) .company-cta:hover {
    background: #E55B00;
}

.company-card:nth-child(4) .company-cta {
    background: #FFD700;
    color: #000;
}

.company-card:nth-child(4) .company-cta:hover {
    background: #FFC107;
}

/* Section Contact */
.contact {
    padding: 80px 20px;
    background: #f5f5f5;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact input,
.contact textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #FFD700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    outline: none;
}

.contact textarea {
    resize: vertical;
    min-height: 150px;
}

.contact button {
    background: #FFD700;
    color: #000;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact button:hover {
    transform: scale(1.05);
    background: #FFC107;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: #333;
    color: #fff;
    text-align: center;
}

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

.footer p {
    margin-bottom: 10px;
}

.footer a {
    color: #FFD700;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon img {
    width: 30px;
    transition: transform 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

    .about h2,
    .history h2,
    .philosophy h2,
    .companies h2,
    .contact h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-item::before {
        left: 16px;
    }

    .timeline-content {
        width: 100%;
        text-align: left;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }
}