/* RESET + STRUCTURE */
body {
    font-family: Arial, sans-serif;
    margin: 0;

    background:
        radial-gradient(circle at 90% 90%, rgba(108,99,255,0.5), transparent 45%),
        linear-gradient(180deg, #eef1ff 0%, #ffffff 50%);

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* HEADER */
.nav {
    display: flex;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    background: linear-gradient(90deg, #2f3ebc, #6c63ff);
}

.logo { flex: 1; }
.logo img { height: 60px; }

/* MENU */
.menu {
    flex: 2;
    display: flex;
    justify-content: center;
}

.menu a {
    color: white;
    margin: 0 18px;
    text-decoration: none;
    transition: 0.3s;
}

.menu a:hover {
    opacity: 0.7;
}

/* BTN NAV */
.btn-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn-nav a {
    background: linear-gradient(90deg, #6c63ff, #3f51b5);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-nav a:hover {
    transform: translateY(-2px);
}

/* SECTION */
.section {
    width: 90%;
    max-width: 1150px;
    margin: 70px auto;
}

/* HERO */
.hero-card {
    display: flex;
    gap: 60px;
    padding: 60px;
    border-radius: 25px;
    background: linear-gradient(135deg, #ffffff, #e8ebff);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    animation: fadeUp 0.8s ease;
}

/* TEXT */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.localisation {
    margin-bottom: 8px;
    color: #666;
}

.description {
    margin-bottom: 20px;
    color: #444;
}

/* BOUTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

/* IMAGE */
.hero-image {
    flex: 1;
    min-width: 450px;
}

.hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.7s ease;
}

/* BUTTONS */
.btn {
    background: #3f51b5;
    color: white;
    padding: 13px 22px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn.secondary {
    background: #e8ebff;
    color: #3f51b5;
}

/* STATS */
.stats {
    display: flex;
    gap: 25px;
}

.stat-box {
    flex: 1;
    background: white;
    padding: 22px;
    border-radius: 18px;
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover {
    transform: translateY(-6px);
}

.stat-box img {
    width: 45px;
    margin-bottom: 12px;
}

/* LOCATION */
.location-wrapper {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.location-header {
    background: linear-gradient(90deg, #2f3ebc, #6c63ff);
    padding: 12px 25px;
}

.location-header h2 {
    margin: 0;
    color: white;
    font-size: 17px;
}

.location-card {
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, #eef1ff);
}

.location-address {
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: normal;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.map iframe,
.location-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

/* FOOTER */
.footer {
    border-top: 1px solid #ddd;
    margin-top: auto;
    padding: 25px;
    text-align: center;
    background: white;
}

/* ANIMATION */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================= */
/* 🔥 CONTACT */
/* ========================= */

.contact-layout {
    display: flex;
    gap: 60px;
}

.contact-left {
    flex: 1;
    max-width: 600px;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form {
    margin-top: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 140px;
    resize: none;
    overflow-y: auto;
    margin-bottom: 20px;
}

.contact-form button {
    align-self: flex-start;
}

/* INFO BOX */
.info-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.info-box:hover {
    transform: translateY(-4px);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-header img {
    width: 20px;
    height: 20px;
    padding: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c63ff, #3f51b5);
}

/* ========================= */
/* 🔥 SERVICES (FIX PRO) */
/* ========================= */

.services-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.services-left {
    flex: 1;
}

.services-left h1 {
    margin-bottom: 25px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 15px;

    background: white;
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 15px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon img {
    width: 22px;
    height: 22px;
    padding: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c63ff, #3f51b5);
}

.service-card h3 {
    margin: 0;
}

.service-card p {
    margin: 5px 0 0;
    color: #555;
}

.services-right {
    flex: 1;
}

.services-right img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

/* ========================= */
/* 🔥 A PROPOS (AJOUT UNIQUEMENT) */
/* ========================= */

.apropos-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.apropos-left {
    flex: 1;
}

.apropos-left h1 {
    margin-bottom: 20px;
}

.apropos-left p {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.6;
}

.apropos-right {
    flex: 1;
}

.apropos-right img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-card,
    .location-grid,
    .contact-layout,
    .services-layout,
    .apropos-layout {
        flex-direction: column;
    }

    .stats {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }
    
}