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

html {
    font-size: 16px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f6f8fa;
    color: #333;
    line-height: 1.6;
}

/* =========================
   HEADER
   ========================= */
.site-header {
    background: linear-gradient(135deg, #3f6f99, #5e9c6f);
    padding: 30px 20px 25px;
    position: relative;
}

.site-logo {
    position: absolute;
    left: 10px;
    top: 20px;
    height: 55px;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.header-content h1 {
    font-size: 32px;
}

.header-content p {
    margin: 6px 0 15px;
    font-size: 18px;
}

/* =========================
   MENU
   ========================= */
.main-nav {
    margin-top: 10px;
}

.main-nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 4px;
}

.main-nav a.active {
    border-bottom: 3px solid #f4a261;
}

/* =========================
   HERO (IMAGE SEULE)
   ========================= */
.hero-full {
    height: 420px;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-full img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

/* =========================
   MAIN
   ========================= */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* =========================
   SECTIONS
   ========================= */
section:not(.hero-full) {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    margin-bottom: 40px;
}

h2 {
    color: #7fb685;
    font-size: 26px;
    margin-bottom: 15px;
}

/* =========================
   PRESTATIONS
   ========================= */
.cards {
    display: grid;
    gap: 30px;
}

.cards article {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.cards article img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* =========================
   PAGE A PROPOS
   ========================= */
body.a-propos {
    background-color: #f1f5f9;
}

body.a-propos main {
    background: #fff;
    padding: 40px 50px;
    border-radius: 16px;
}

@media (min-width: 768px) {
    body.a-propos main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    body.a-propos main > header,
    body.a-propos section:last-child {
        grid-column: 1 / -1;
    }
}

body.a-propos section:last-child {
    background-color: #fefce8;
    border-left: 5px solid #eab308;
}

/* =========================
   FOOTER
   ========================= */
.site-footer {
    background-color: #eaeaea;
    padding: 30px 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

.site-footer a {
    color: #3f6f99;
    text-decoration: none;
}

.site-footer .footer-copy {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {

    .site-logo {
        height: 40px;
        top: 15px;
    }

    .header-content h1 {
        font-size: 22px;
    }

    .header-content p {
        font-size: 14px;
    }

    .main-nav a {
        margin: 0 8px;
        font-size: 14px;
    }

    .hero-full {
        height: 300px;
    }

    main {
        margin-top: 20px;
    }

    section:not(.hero-full) {
        padding: 20px;
    }
}
/* =========================
   HERO ACCUEIL — VERSION PROPRE
   ========================= */

body.home .hero-full {
    background-image: url("../images/hero-accueil.jpg");
    background-size: cover;          /* plein largeur */
    background-position: center top; /* évite de couper les mains */
    background-repeat: no-repeat;
    background-color: transparent;  /* SUPPRIME bandes noires */
}

/* Bouton Prendre rendez-vous */
body.home .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;   /* CENTRÉ */
    text-align: center;
}

body.home .hero-content a {
    background-color: #4a90e2; /* BLEU */
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
}

/* =========================
   PRESTATIONS — IMAGE MOBILE (PROPRE ET UNIQUE)
   ========================= */

@media (max-width: 768px) {
    .cards article img {
        width: 100%;
        height: auto;
        display: block;
    }
}






