:root {
    --zen-green: #2d5a27;
    --zen-brown: #5d4037;
    --zen-beige: #f5f5dc;
    --zen-white: #ffffff;
    --zen-ink: #212121;
}

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

body {
    min-height: 100vh;
    font-family: Georgia, 'Times New Roman', serif;
    background-image: url('../images/Chene.jpeg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: var(--zen-ink);
    line-height: 1.6;
    background-color: var(--zen-beige);
}

header {
    position: relative; z-index: 100;
    background: #2d5a27;
    color: #fff; padding: 1.2rem 2rem;
    display: flex; align-items: center; gap: 1.2rem;
    backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

header img {
    width: 56px; height: 56px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
}

.header-titles span { font-size: 0.9rem; opacity: 1; display: block; font-family: 'KaiTi', serif; }
.header-titles h1 { font-size: 1.3rem; font-weight: 600; margin: 0; }

nav {
    position: sticky; top: 0; z-index: 1000;
    background: #5d4037;
    padding: .8rem 2rem; display: flex; gap: 1.8rem; flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav a {
    color: var(--zen-beige);
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    transition: all 0.3s ease;
}

nav a:hover {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

main {
    max-width: 900px; margin: 2rem auto; padding: 0 1.5rem 4rem;
}

.card, section {
    background: #ffffff;
    border-radius: 12px; padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h1, h2, h3 { color: var(--zen-green); margin-bottom: 1rem; }

footer {
    text-align: center; padding: 3rem;
    background: #fff; color: #888;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    header { padding: 1rem; }
    nav { gap: 1rem; padding: .8rem 1rem; }
    nav a { font-size: 0.85rem; }
}

/* ====== REFACTORING V5 PLATINUM ====== */
/* Header Sémantique */
.site-header {
    background: var(--zen-green);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.4rem;
    min-height: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--zen-brown);
}
.site-header__logo-link {
    position: absolute;
    left: 3rem;
}
.site-header__logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.5);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.site-header__titles {
    text-align: center;
}
.site-header__subtitle {
    font-family: "KaiTi", "STKaiti", serif;
    font-size: 1.05rem;
    display: block;
    color: rgba(255,255,255,0.95);
    margin-bottom: 0;
    letter-spacing: 0.1em;
}
.site-header__title {
    font-family: Georgia, serif;
    font-size: 1.875rem;
    font-weight: 600;
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}
.page-indicator {
    color: #f5f5dc;
    font-weight: 300;
    font-size: 0.7em;
    background: rgba(0,0,0,0.2);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nav Sémantique */
.main-nav {
    background: var(--zen-brown);
    display: flex;
    justify-content: center;
    padding: 0.3rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.main-nav__list {
    list-style: none;
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.main-nav__list a {
    font-family: Georgia, serif;
    font-size: 0.825rem;
    color: var(--zen-beige);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
    transition: 0.3s;
}
.main-nav__list a:hover, .main-nav__list a[aria-current="page"] {
    opacity: 1;
    text-decoration: underline;
    color: white;
}

/* Hero Card (Index) */
.page-home {
    padding: 2rem;
}
.hero-card {
    text-align: center;
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    border: 4px double var(--zen-green);
    background: rgba(255,255,255,0.98);
}
.hero-card__title {
    color: var(--zen-brown);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.hero-card__lead {
    font-size: 1.1rem;
    color: #444;
    max-width: 650px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.hero-card__about {
    margin-top: 3rem;
    text-align: left;
    background: #f9f6f1;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--zen-green);
}
.hero-card__about-title {
    color: var(--zen-green);
    margin-top: 0;
}

/* Piliers Grid */
.pilier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}
.pilier-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border-bottom: 5px solid var(--zen-green);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pilier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.pilier-card__title {
    color: var(--zen-green);
    margin-bottom: 1rem;
}
.pilier-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Weather Card */
.weather-card {
    background: #f9f6f1;
    padding: 2rem;
    border-radius: 15px;
    border: 1px dashed var(--zen-brown);
}
.weather-card__title {
    color: var(--zen-green);
}
.weather-card__forecast {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

/* Utils */
.badge {
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
.badge--success {
    background: var(--zen-green);
    color: white;
}
.btn {
    padding: 0.8rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.btn--primary {
    background: var(--zen-brown);
    color: white;
}
.btn--rounded {
    border-radius: 30px;
}

@media (max-width: 900px) {
    .site-header { flex-direction: column; padding: 1rem; }
    .site-header__logo-link { position: static; margin-bottom: 0.5rem; display: block; text-align: center; }
    .site-header__title { font-size: 1.4rem; flex-direction: column; gap: 0.5rem; }
    .main-nav__list { gap: 1rem; justify-content: center; }
}

/* ====== COMPOSANTS DE CONTENU (Phase 2 — 2026-05-05) ====== */

/* Citation philosophique */
.quote {
    font-style: italic;
    color: var(--zen-brown);
    border-left: 3px solid var(--zen-green);
    padding-left: 1rem;
    margin: 1.5rem 0;
}
/* Mise en valeur d'un terme clé */
.highlight {
    color: var(--zen-green);
    font-weight: bold;
}
/* Encadré d'avertissement/attention */
.warning {
    background: #fff8e8;
    border-left: 3px solid var(--zen-brown);
    padding: .8rem 1rem;
    border-radius: 4px;
    margin-top: .8rem;
}
/* Titre de section */
.section-title {
    color: var(--zen-brown);
    border-bottom: 2px solid var(--zen-green);
    padding-bottom: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* ====== HUB ENSEIGNEMENTS ====== */
.fiches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}
.fiche-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--zen-green);
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
}
.fiche-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.fiche-item h2 {
    color: var(--zen-green);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}
.fiche-item p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* ====== FOOTER SÉMANTIQUE ====== */
.site-footer {
    text-align: center;
    padding: 3rem;
    background: #fff;
    color: #888;
    border-top: 1px solid #eee;
}
.site-footer__motto {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* ====== BANDEAU TITRE DE PAGE — fond clair sur background-image ====== */
/* Couvre : echauffement, fiche_arbre, marche_wudang, treize_mouvements, six_harmonies... */
article > h2 {
    background: rgba(255,255,255,0.95);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
article > p.quote {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    padding-right: 2rem;
    margin-bottom: 1.5rem;
}

