/* ===== VARIABLES ===== */
:root {
    --primary: #2856a6;
    --primary-dark: #1a3d7a;
    --primary-light: #3a6ec0;
    --black: #2a2a2a;
    --white: #ffffff;
    --gray: #f4f5f8;
    --text: #2a2a2a;
    --text-light: #7a7a7a;
    --border: #e2e4ea;
    --radius: 10px;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 50px 0;
}

.section__title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--black);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn--primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    border-color: var(--white);
    color: var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--black);
}

.btn--full { width: 100%; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.header--scrolled {
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo-img {
    height: 56px;
    width: auto;
}

.logo-img--footer {
    height: 44px;
    margin: 0 auto 12px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 6px;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link--cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
}

.nav__link--cta:hover {
    background: var(--primary-light) !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    width: 22px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}


.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 68px;
}

.hero__title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__title .highlight {
    color: #a8b4e0;
}

.hero__description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== SERVICES ===== */
.services {
    background: var(--gray);
}

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

.service-card {
    padding: 24px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 94, 158, 0.1);
    border-radius: 8px;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-card__icon svg {
    width: 22px;
    height: 22px;
}

.service-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.service-card__text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact__item {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
}

.contact__item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 94, 158, 0.1);
    border-radius: 8px;
    color: var(--primary);
}

.contact__item-icon svg {
    width: 18px;
    height: 18px;
}

.contact__item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--black);
}

.contact__item p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
}

.contact__item a {
    color: var(--primary);
    font-weight: 600;
}

.horaires {
    border-collapse: collapse;
    font-size: 0.88rem;
    color: var(--text-light);
}

.horaires td {
    padding: 3px 14px 3px 0;
}

.horaires .closed td {
    color: #d32f2f;
}

/* ===== FORM ===== */
.contact__form-wrapper {
    background: var(--gray);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form__group {
    margin-bottom: 16px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact__form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text);
}

.contact__form input,
.contact__form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
}

.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78, 94, 158, 0.12);
}

.contact__form textarea {
    resize: vertical;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.6);
    padding: 36px 0;
    text-align: center;
}


.footer p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer a {
    color: rgba(255,255,255,0.8);
}

.footer__copy {
    margin-top: 12px;
    opacity: 0.5;
    font-size: 0.8rem !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 28px 28px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1001;
    }

    .nav__list.active {
        right: 0;
    }

    .nav__toggle {
        z-index: 1002;
    }

    .nav__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1000;
    }

    .nav__overlay.active {
        display: block;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        min-height: 70vh;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__actions {
        flex-direction: column;
    }

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

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

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

    .contact__form-wrapper {
        padding: 20px;
    }

    .section {
        padding: 40px 0;
    }
}
