/*
Theme Name: Maison des Aventuriers
Author: Sitelia
Description: Thème WordPress personnalisé pour le site Maison des Aventuriers.
Version: 1.0
*/

/* ================================
   BASE
================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #243126;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.section-container {
    width: min(1100px, 90%);
    margin: 0 auto;
}


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

.site-header {
    background: #ffffff;
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid #eeeeee;
}

.header-container {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo a {
    font-size: 22px;
    font-weight: 700;
    color: #24472c;
}

.custom-logo {
    max-height: 65px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-size: 15px;
    font-weight: 600;
    color: #243126;
    transition: 0.2s ease;
}

.main-navigation a:hover {
    color: #bc7b3c;
}


/* ================================
   HERO - PAGE D'ACCUEIL
================================ */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(20, 40, 25, 0.90) 0%,
            rgba(20, 40, 25, 0.70) 45%,
            rgba(20, 40, 25, 0.25) 100%
        ),
        #46634c;
}

.hero-content {
    width: min(1100px, 90%);
    margin: 0 auto;
    color: #ffffff;
    padding: 80px 0;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #e6c49d;
}

.hero h1 {
    max-width: 750px;
    margin: 0 0 20px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 700;
}

.hero-text {
    max-width: 600px;
    font-size: 19px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-button {
    display: inline-block;
    background: #bc7b3c;
    color: #ffffff;
    padding: 15px 27px;
    border-radius: 4px;
    font-weight: 700;
    transition: 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    background: #a96931;
}


/* ================================
   INTRODUCTION
================================ */

.intro-section {
    padding: 100px 0;
    text-align: center;
    background: #f7f5ef;
}

.intro-section h2 {
    color: #24472c;
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 20px;
}

.intro-section p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 18px;
    color: #5a635b;
}


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

.site-footer {
    background: #1f3525;
    color: #ffffff;
    padding: 35px 0;
}

.footer-container {
    width: min(1100px, 90%);
    margin: 0 auto;
    text-align: center;
}

.footer-container p {
    margin: 0;
    opacity: 0.85;
}


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

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #24472c;
    font-size: 32px;
    cursor: pointer;
    padding: 5px 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #24472c;
    margin: 5px 0;
    border-radius: 2px;
}

@media (max-width: 900px) {

    .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.site-logo a {
    font-size: 20px;
}

.menu-toggle {
    display: block;
}

.main-navigation {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 20px;
    right: 20px;
    background: #ffffff;
    padding: 20px;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 1000;
}
	

.main-navigation.active {
    display: block;
}

.main-navigation ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.main-navigation a {
    font-size: 17px;
}
    .hero {
        min-height: 550px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 17px;
    }

    .intro-section {
        padding: 70px 0;
    }

/* Menu mobile - finition */

.main-navigation {
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 22px;
    background: #ffffff;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.10);
    z-index: 1000;
}

.main-navigation ul {
    gap: 0;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    width: 100%;
    border-top: none;
    border-bottom: 1px solid #eeeeee;
}

.main-navigation li:last-child {
    border-bottom: none;
}

.main-navigation a {
    display: block;
    width: 100%;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 600;
}

/* Bouton hamburger */

.menu-toggle {
    width: 48px;
    height: 48px;
    padding: 9px;
    border-radius: 5px;
    outline: none;
}

.menu-toggle:focus {
    outline: none;
}

.menu-toggle span {
    width: 27px;
    height: 3px;
    margin: 5px auto;
    transition: transform 0.25s ease, opacity 0.2s ease;}
}
/* =========================================
   STRUCTURE GÉNÉRALE
========================================= */

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

.section-heading h2,
.presentation-content h2,
.practical-title h2,
.final-cta h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    color: #24472c;
    margin: 10px 0 20px;
}

.section-eyebrow {
    color: #bc7b3c;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px;
}

.section-intro {
    color: #667067;
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
}

.text-link {
    color: #24472c;
    font-weight: 700;
    transition: 0.2s ease;
}

.text-link:hover {
    color: #bc7b3c;
}

.main-button {
    display: inline-block;
    background: #24472c;
    color: #ffffff;
    padding: 15px 27px;
    border-radius: 4px;
    font-weight: 700;
    transition: 0.2s ease;
}

.main-button:hover {
    background: #bc7b3c;
    transform: translateY(-2px);
}


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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-button-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.hero-button-secondary:hover {
    background: #ffffff;
    color: #24472c;
}


/* =========================================
   3 BONNES RAISONS
========================================= */

.reasons-section {
    padding: 100px 0;
    background: #f7f5ef;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.reason-card {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 6px;
    min-height: 270px;
    box-shadow: 0 10px 35px rgba(25, 50, 30, 0.06);
}

.reason-number {
    display: block;
    color: #bc7b3c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.reason-card h3 {
    color: #24472c;
    font-size: 27px;
    margin: 0 0 12px;
}

.reason-card p {
    color: #626b63;
    margin: 0;
}


/* =========================================
   PRÉSENTATION
========================================= */

.presentation-section {
    padding: 110px 0;
    background: #ffffff;
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 80px;
}

.image-placeholder {
    min-height: 520px;
    background:
        linear-gradient(
            135deg,
            #294e33,
            #52715a
        );
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.image-placeholder span {
    color: rgba(255,255,255,0.7);
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.presentation-content p:not(.section-eyebrow) {
    color: #626b63;
    font-size: 17px;
    margin-bottom: 20px;
}

.presentation-content .text-link {
    display: inline-block;
    margin-top: 15px;
}


/* =========================================
   LES 6 ESPACES
========================================= */

.spaces-section {
    padding: 110px 0;
    background: #f7f5ef;
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.space-card {
    background: #ffffff;
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.space-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(20, 50, 25, 0.10);
}

.space-image {
    height: 230px;
    background:
        linear-gradient(
            135deg,
            #31573a,
            #78907d
        );
}

.space-content {
    padding: 28px;
}

.space-content span {
    color: #bc7b3c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.space-content h3 {
    color: #24472c;
    font-size: 23px;
    margin: 8px 0 10px;
}

.space-content p {
    color: #697069;
    margin: 0;
}

.section-action {
    text-align: center;
    margin-top: 50px;
}


/* =========================================
   ACTUALITÉS
========================================= */

.news-section {
    padding: 110px 0;
    background: #ffffff;
}

.heading-with-link {
    max-width: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.heading-with-link h2 {
    margin-bottom: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: #f7f5ef;
    border-radius: 6px;
    overflow: hidden;
}

.news-image {
    display: block;
    height: 230px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder {
    background:
        linear-gradient(
            135deg,
            #31573a,
            #78907d
        );
}

.news-content {
    padding: 28px;
}

.news-date {
    color: #bc7b3c !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
}

.news-content h3 {
    color: #24472c;
    font-size: 22px;
    line-height: 1.25;
    margin: 10px 0;
}

.news-content p {
    color: #697069;
}

.no-news {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    background: #f7f5ef;
}


/* =========================================
   INFORMATIONS PRATIQUES
========================================= */

.practical-section {
    padding: 110px 0;
    background: #24472c;
    color: #ffffff;
}

.practical-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.practical-title h2 {
    color: #ffffff;
}

.practical-title .section-eyebrow {
    color: #e5bc8b;
}

.practical-title .main-button {
    background: #bc7b3c;
    margin-top: 15px;
}

.practical-title .main-button:hover {
    background: #ffffff;
    color: #24472c;
}

.practical-items {
    border-top: 1px solid rgba(255,255,255,0.2);
}

.practical-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.practical-item > span {
    color: #e5bc8b;
    font-size: 12px;
    font-weight: 700;
}

.practical-item h3 {
    font-size: 22px;
    margin: 0 0 5px;
}

.practical-item p {
    margin: 0;
    color: rgba(255,255,255,0.75);
}


/* =========================================
   CTA FINAL
========================================= */

.final-cta {
    padding: 110px 0;
    background: #eee8dc;
    text-align: center;
}

.final-cta .section-container {
    max-width: 850px;
}

.final-cta h2 {
    font-size: clamp(38px, 5vw, 60px);
}

.final-cta .hero-button {
    margin-top: 15px;
}


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

@media (max-width: 900px) {

    .reasons-grid,
    .spaces-grid,
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .presentation-grid,
    .practical-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .image-placeholder {
        min-height: 400px;
    }
}


@media (max-width: 650px) {

    .reasons-section,
    .presentation-section,
    .spaces-section,
    .news-section,
    .practical-section,
    .final-cta {
        padding: 70px 0;
    }

    .reasons-grid,
    .spaces-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .heading-with-link {
        display: block;
    }

    .heading-with-link > .text-link {
        display: inline-block;
        margin-top: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-button {
        text-align: center;
    }
}

/* Photo présentation Maison des Aventuriers */
.presentation-image {
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    max-width: 560px;
}

.presentation-photo {
    width: 100%;
    height: 380px;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Images des cartes - 6 espaces */
.space-image {
    height: 240px;
    overflow: hidden;
}

.space-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Footer */
.site-footer {
    background: #173b2a;
    color: #ffffff;
    padding: 60px 0 28px;
}

.footer-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 35px;
}

.footer-info h3,
.footer-navigation h4 {
    margin: 0 0 16px;
    color: #ffffff;
}

.footer-info p {
    margin: 0;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-navigation a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-navigation a:hover {
    color: #d08a3b;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 24px;
    padding-left: 20px;
padding-right: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

