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

body {
    background: #f8f4eb;
    font-family: Arial, sans-serif;
    color: #3d2b1f;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 40px;

    background: rgba(248, 244, 235, 0.92);

    backdrop-filter: blur(10px);

    z-index: 1000;

    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo img {
    height: 70px;
    width: auto;

    display: block;
}

/* =========================
   NAVIGATION DESKTOP
========================= */

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: #5c4326;
    font-weight: 600;

    transition: 0.3s;
}

.desktop-nav a:hover {
    color: #c28b2c;
}

/* =========================
   MENU MOBILE
========================= */

.mobile-menu-button {
    display: none;

    border: none;
    background: none;

    font-size: 2rem;

    cursor: pointer;

    color: #5c4326;
}

/* =========================
   HERO SECTION
========================= */

.hero {
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px;

    background:
        linear-gradient(
            rgba(248,244,235,0.65),
            rgba(248,244,235,0.75)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;

    color: #4a351f;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    line-height: 1.7;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .site-header {
        padding: 15px 20px;
    }

    .logo img {
        height: 48px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

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

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

/* =========================
   SECTIONS COMMUNES
========================= */

.intro-section,
.content-section {
    padding: 100px 40px;
    background: #f8f4eb;
}

.intro-container,
.content-section {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-section h2,
.content-section h2 {
    font-size: 2.6rem;
    color: #4a351f;
    margin-bottom: 25px;
}

.intro-section p,
.content-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4c3a2a;
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
    min-height: 45vh;
    padding: 160px 40px 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(248,244,235,0.75),
            rgba(248,244,235,0.85)
        ),
        url("/images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    font-size: 4rem;
    color: #4a351f;
}

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

.site-footer {
    padding: 35px 20px;
    text-align: center;
    background: #3d2b1f;
    color: #f8f4eb;
    font-size: 0.95rem;
}

/* =========================
   MOBILE NAV
========================= */

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {

    .mobile-nav {
        position: fixed;
        top: 78px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;

        background: rgba(248, 244, 235, 0.98);

        transform: translateY(-120%);
        transition: transform 0.3s ease;

        border-bottom: 1px solid rgba(0,0,0,0.08);

        z-index: 999;
    }

    .mobile-nav.open {
        transform: translateY(0);
    }

    .mobile-nav a {
        padding: 18px 25px;

        text-decoration: none;
        color: #5c4326;
        font-weight: 600;

        border-top: 1px solid rgba(0,0,0,0.06);
    }

    .intro-section,
    .content-section {
        padding: 70px 22px;
    }

    .intro-section h2,
    .content-section h2 {
        font-size: 2rem;
    }

    .page-hero {
        min-height: 35vh;
        padding: 130px 22px 60px;
    }

    .page-hero h1 {
        font-size: 2.6rem;
    }
}

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

.hero-button,
.section-button {

    display: inline-block;

    margin-top: 35px;
    padding: 14px 28px;

    background: #c28b2c;
    color: white;

    text-decoration: none;
    font-weight: 600;

    border-radius: 10px;

    transition: 0.3s ease;
}

.hero-button:hover,
.section-button:hover {

    background: #a8741d;

    transform: translateY(-2px);
}

/* =========================
   INTRO SECTION
========================= */

.intro-section {

    padding: 120px 40px;

    background: #f8f4eb;
}

.intro-container {

    max-width: 950px;
    margin: 0 auto;
}

.intro-container h2 {

    font-size: 3rem;

    margin-bottom: 35px;

    color: #4a351f;
}

.intro-container p {

    font-size: 1.15rem;

    line-height: 1.9;

    margin-bottom: 25px;

    color: #4c3a2a;
}

/* =========================
   CARDS SECTION
========================= */

.cards-section {

    padding: 120px 40px;

    background: #efe7d7;

    text-align: center;
}

.cards-section h2 {

    font-size: 3rem;

    margin-bottom: 70px;

    color: #4a351f;
}

.cards-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 35px;

    max-width: 1300px;

    margin: 0 auto;
}

.home-card {

    background: white;

    padding: 40px 30px;

    border-radius: 18px;

    text-decoration: none;

    transition: 0.3s ease;

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

.home-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.home-card h3 {

    font-size: 1.6rem;

    margin-bottom: 18px;

    color: #5c4326;
}

.home-card p {

    line-height: 1.8;

    color: #4c3a2a;
}

/* =========================
   ENGAGEMENT SECTION
========================= */

.engagement-section {

    padding: 120px 40px;

    background: #f8f4eb;
}

.engagement-container {

    max-width: 950px;

    margin: 0 auto;

    text-align: center;
}

.engagement-container h2 {

    font-size: 3rem;

    margin-bottom: 35px;

    color: #4a351f;
}

.engagement-container p {

    font-size: 1.15rem;

    line-height: 1.9;

    margin-bottom: 25px;

    color: #4c3a2a;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .intro-section,
    .cards-section,
    .engagement-section {

        padding: 80px 22px;
    }

    .intro-container h2,
    .cards-section h2,
    .engagement-container h2 {

        font-size: 2.1rem;
    }

    .intro-container p,
    .engagement-container p,
    .home-card p {

        font-size: 1rem;
    }

    .cards-grid {

        gap: 25px;
    }

    .home-card {

        padding: 30px 24px;
    }
}

/* =========================
   SOCIAL LINKS
========================= */

.social-links {

    margin-top: 50px;

    display: flex;
    flex-direction: column;

    gap: 18px;
}

.social-links a {

    color: #5c4326;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}

.social-links a:hover {

    color: #c28b2c;

    transform: translateX(4px);
}

/* =========================
   LEGAL LINK
========================= */

.legal-link-section {

    padding: 20px;

    background: #f8f4eb;
}

.legal-link-container {

    text-align: center;
}

.legal-link {

    color: #3d2b1f;

    text-decoration: none;

    font-size: 0.95rem;

    transition: 0.3s ease;
}

.legal-link:hover {

    color: #c28b2c;
}

/* =========================
   IMAGE NOS MIELS
========================= */

.miels-hero {
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.miels-image {
    display: block;

    width: min(90vw, 520px);
    max-width: 100%;
    height: auto;

    margin: 0 auto;

    border-radius: 18px;

    object-fit: contain;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .miels-hero {
        gap: 22px;
        padding-left: 22px;
        padding-right: 22px;
    }

    .miels-image {
        width: 100%;
        max-width: 340px;
        border-radius: 14px;
    }
}

.miels-hero + .content-section {
    padding-top: 20px;
}

.miels-image-link {
    display: block;
    text-decoration: none;
}

/* Sur ordinateur : clic neutre */
@media (min-width: 769px) {
    .miels-image-link {
        pointer-events: none;
    }
}

/* Sur mobile : appui = ouverture plein écran */
@media (max-width: 768px) {
    .miels-image-link {
        cursor: zoom-in;
    }
}