/* Palette : Forêt, Granit, Terre */
:root {
    --primary: #2d5a27;
    --secondary: #8c6239;
    --dark: #2c2c2c;
    --light: #f4f1ea;
    --accent: #d4a373;
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Crimson Text', serif;
    background-color: var(--light);
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* HEADER & HERO */
.main-header nav {
    background: white;
    display: flex;
    justify-content: space-between;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo { font-weight: bold; font-family: 'Montserrat'; color: var(--primary); font-size: 1.5rem; }
nav ul { display: flex; list-style: none; margin: 0; }
nav ul li a { text-decoration: none; color: var(--dark); margin-left: 20px; font-family: 'Montserrat'; font-size: 0.9rem; }

.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://www.gr-infos.com/divers/photos/grp-margeride/6x-min.jpg'); /* NOUVELLE PHOTO DES CÉVENNES */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 { font-family: 'Montserrat'; font-size: 3rem; margin: 0; }

/* TABLEAU DES ÉTAPES */
.table-container { overflow-x: auto; margin: 30px 0; }
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

th { background: var(--primary); color: white; padding: 15px; text-align: left; }
td { padding: 12px 15px; border-bottom: 1px solid #eee; font-size: 0.95rem; }
tr:hover { background-color: #f9f9f9; }

/* BOUTON LIEN EXTERNE */
.external-link-box {
    text-align: center;
    background: #fff;
    padding: 30px;
    border: 2px dashed var(--accent);
    margin: 40px 0;
}

.btn-link {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Montserrat';
    font-weight: bold;
    transition: background 0.3s;
}

.btn-link:hover { background: var(--primary); }

/* GRID NATURE PATRIMOINE */
.grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary);
}

.card h3 { font-family: 'Montserrat'; margin-top: 0; color: var(--secondary); }

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

/* MOBILE */
@media (max-width: 768px) {
    .grid-section { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
}
.stevenson-bio {
    background-color: #fff;
    padding: 40px;
    border: 1px solid #d4a373;
    border-radius: 8px;
    margin: 40px 0;
}

.bio-header h2 {
    color: #8c6239;
    border-bottom: 2px solid #d4a373;
    display: inline-block;
    margin-bottom: 5px;
}

.bio-tagline {
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
}

.bio-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.bio-text {
    flex: 2;
    min-width: 300px;
}

.bio-list {
    list-style: none;
    padding-left: 0;
}

.bio-list li::before {
    content: "? ";
    color: #2d5a27;
}

.bio-quote-box {
    flex: 1;
    min-width: 250px;
    background: #fdfaf5;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.accent-quote p {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    color: #2d5a27;
    line-height: 1.4;
}

.bio-status {
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}