/* ============================= */
/* RESET */
/* ============================= */

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

/* ============================= */
/* VARIABLES */
/* ============================= */

:root {
    --primary: #1f6fb2;
    --primary-dark: #155a92;
    --dark: #1e1e1e;
    --light: #ffffff;
    --gray: #f4f7fa;
}

/* ============================= */
/* GLOBAL */
/* ============================= */

html, body {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--gray);
    color: var(--dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
}

main {
    flex: 1;
}

/* ============================= */
/* HEADER OPTIMISÉ */
/* ============================= */

header {
    background: white;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Conteneur plus compact */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;   /* ← Hauteur contrôlée ici */
}

/* LOGO plus grand mais contenu dans la hauteur */
.logo {
    height: 80px;   /* ← plus grand */
    transform: translateY(10px); /* ajuste visuellement sans agrandir la bande */
    transition: 0.3s ease;
}

.logo:hover {
    transform: translateY(10px) scale(1.05);
}

/* NAVIGATION */

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.25rem;   /* encore un peu plus lisible */
    padding: 8px 16px;    /* réduit le padding vertical */
    border-radius: 8px;
    transition: 0.3s ease;
}

nav a:hover {
    background: var(--primary);
    color: white;
}

/* ============================= */
/* HERO (ACCUEIL) */
/* ============================= */

.hero {
    background: var(--light);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
}

/* ============================= */
/* BUTTON */
/* ============================= */

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 18px 0;
    font-size: 0.9rem;
}

/* ============================= */
/* SERVICES PAGE */
/* ============================= */

.services-hero {
    background: var(--light);
    padding: 100px 0;
}

.services-hero-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.services-hero-text {
    flex: 1;
}

.services-hero-text h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.services-hero-text p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.small-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
}

.services-hero-image {
    flex: 1;
}

.services-hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* GRID SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    padding: 100px 0;
}

.service-card {
    background: var(--light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

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

.service-card h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.service-card ul {
    padding-left: 20px;
}

.service-card li {
    margin-bottom: 8px;
}

/* SECTION BLEUE BAS */

.services-extra {
    background: var(--primary);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.services-extra h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

/* ============================= */
/* TARIFS */
/* ============================= */

.tarif-box {
    background: var(--light);
    padding: 50px;
    margin-bottom: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.tarif-box h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1000px) {

    .services-hero-inner {
        flex-direction: column;
    }

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

}

@media (max-width: 768px) {

    header .container {
        flex-direction: column;
    }

    nav {
        margin-top: 15px;
    }

    nav a {
        margin: 0 12px;
    }

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

}