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

body {
    background-color: #CFD6D2;
    background-image: url('assets/orchidee.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    background-attachment: fixed;
    font-family: 'Cormorant Garamond', serif;
    overflow-x: hidden;
    color: #333;
    line-height: 1.6;
}

a { color: inherit; }

/* Voile clair pour adoucir l'image et améliorer la lisibilité */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-color: rgba(207, 214, 210, 0.55);
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   HEADER
========================================= */
header.site-header {
    text-align: center;
    color: #FFFFFF;
    padding: 25px 0;
    font-size: 28px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

header.site-header svg.header-icon {
    width: 38px;
    height: 28px;
    fill: currentColor;
    flex-shrink: 0;
}

/* =========================================
   STRUCTURE PRINCIPALE
========================================= */
.wix-box {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    min-height: 80vh;
}

/* =========================================
   NAVIGATION
========================================= */
nav.main-nav {
    background-color: #799564;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 11px;
    position: relative;
    z-index: 50;
}

.menu-toggle { display: none; }

nav.main-nav ul.main-menu {
    list-style: none;
    display: flex;
    width: 100%;
}

nav.main-nav ul.main-menu > li {
    flex: 1;
    text-align: center;
    position: relative;
}

nav.main-nav a {
    display: block;
    padding: 16px 10px;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s;
}

nav.main-nav a.active { background-color: #a6d080; }
nav.main-nav a:hover:not(.active) { background-color: rgba(255, 255, 255, 0.2); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

@media (min-width: 981px) {
    nav.main-nav ul.main-menu > li:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

nav.main-nav .dropdown a {
    color: #556b5a;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-transform: none;
    background-color: transparent;
}

nav.main-nav .dropdown a:hover,
nav.main-nav .dropdown a.active {
    background-color: #a6d080;
    color: #FFFFFF;
}

/* =========================================
   ZONE DE CONTENU
========================================= */
.content-area {
    padding: 50px 80px;
    position: relative;
    background-color: #FFFFFF;
    flex-grow: 1;
}

/* Hero page d'accueil — orchidée en fond, texte centré par-dessus */
.hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-image: url('assets/orchidee.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(60, 80, 70, 0.45);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    text-align: center;
    font-size: 30px;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    max-width: 720px;
}

.hero-text strong { font-weight: 500; }

/* Variante "article" (pages internes) */
.page-title {
    color: #556b5a;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 25px;
    text-align: center;
}

.intro-block {
    background-color: #A3B2A6;
    color: #FFFFFF;
    padding: 30px 40px;
    margin-bottom: 35px;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 300;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.intro-block strong { font-weight: 500; }

.article h2,
.article h3,
.article h4 {
    color: #556b5a;
    margin-top: 28px;
    margin-bottom: 12px;
    font-weight: 500;
}

.article h2 { font-size: 26px; }
.article h3 { font-size: 22px; }
.article h4 { font-size: 19px; font-style: italic; }

.article p {
    margin-bottom: 14px;
    font-size: 18px;
    color: #333;
}

.article ul {
    margin: 10px 0 18px 25px;
    font-size: 18px;
}

.article ul li { margin-bottom: 6px; }

.article a {
    color: #799564;
    text-decoration: underline;
}

.article a:hover { color: #556b5a; }

/* Images dans les articles */
.figure-hero {
    width: 100%;
    margin: 0 0 30px 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.figure-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 0 0 30px 0;
}

.figure-pair figure {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.figure-pair figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* YouTube / embed vidéo responsive 16:9, calé sur la taille source (640×360) */
.video-embed {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    margin: 0 0 30px 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: #000;
}

.video-embed iframe,
.video-embed video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.figure-inline {
    float: right;
    width: 45%;
    max-width: 320px;
    margin: 0 0 20px 25px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.figure-inline.left {
    float: left;
    margin: 0 25px 20px 0;
}

.figure-inline img {
    width: 100%;
    height: auto;
    display: block;
}

.figure-caption {
    font-size: 14px;
    color: #777;
    padding: 8px 12px;
    background-color: #f4f6f4;
    text-align: center;
    font-style: italic;
}

.article::after {
    content: "";
    display: table;
    clear: both;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    margin: 30px 0;
}

.gallery figure {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.gallery figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery figcaption {
    font-size: 13px;
    color: #556b5a;
    padding: 8px 10px;
    text-align: center;
    background-color: #f4f6f4;
    font-style: italic;
}

/* Encadré tarif */
.tarif-box {
    background-color: #f4f6f4;
    border-left: 5px solid #799564;
    padding: 28px 32px;
    margin: 35px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.tarif-box h3 {
    color: #799564;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 18px;
    margin-top: 0;
}

.tarif-box p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 12px;
    font-style: italic;
    color: #444;
}

.tarif-box p:last-child { margin-bottom: 0; }

.tarif-box .price-line {
    margin-top: 18px;
    font-weight: 500;
    font-style: normal;
    color: #556b5a;
    font-size: 20px;
}

/* Tableau / liste de presse */
.press-list {
    list-style: none;
    padding-left: 0;
}

.press-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #d6dcd5;
    font-size: 17px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.contact-grid h3 {
    color: #799564;
    font-size: 22px;
    margin-bottom: 12px;
}

.contact-grid p {
    margin-bottom: 8px;
    font-size: 17px;
}

/* =========================================
   BAS DE PAGE
========================================= */
.bottom-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.bottom-links a,
.bottom-links span { color: #556b5a; }

.bottom-links a { text-decoration: underline; }

footer.site-footer {
    background-color: #799564;
    color: #FFFFFF;
    text-align: center;
    padding: 30px;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 300;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 980px) {
    body {
        background-position: center top;
    }

    .menu-toggle {
        display: block;
        background-color: #799564;
        color: white;
        text-align: center;
        padding: 18px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav.main-nav ul.main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav.main-nav ul.main-menu.active { display: flex; }

    nav.main-nav ul.main-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown {
        position: static;
        box-shadow: none;
        width: 100%;
        background-color: #f4f6f4;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown.mobile-open { display: flex; }

    .wix-box { min-height: auto; }
    .content-area { padding: 30px 20px; }
    .hero { padding: 40px 20px; min-height: 360px; }
    .hero-text { font-size: 22px; }
    .bottom-links { flex-direction: column; text-align: center; gap: 15px; }
    footer.site-footer { font-size: 18px; padding: 20px; }

    .page-title { font-size: 26px; }
    .intro-block { padding: 22px 20px; font-size: 17px; }
    .article h2 { font-size: 22px; }
    .article h3 { font-size: 20px; }
    .article p,
    .article ul { font-size: 17px; }
    .tarif-box { padding: 22px 20px; }
    .tarif-box h3 { font-size: 21px; }
    .tarif-box p { font-size: 17px; }
    .tarif-box .price-line { font-size: 18px; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .figure-inline,
    .figure-inline.left {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 18px 0;
    }

    .figure-pair {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    header.site-header { font-size: 22px; padding: 18px 10px; gap: 12px; }
    header.site-header svg.header-icon { width: 30px; height: 22px; }
    .page-title { font-size: 22px; }
}
