/* Importation des polices Google :
   Merriweather pour les titres (classique, chaleureux)
   Source Sans Pro pour le corps du texte (moderne, lisible) */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+Pro:wght@300;400;600&display=swap');

/* --- Réinitialisation de base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.7;
    color: #4A4A4A; /* Gris chaud */
    background-color: #FAFAF7; /* Fond très clair */
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: #8B4513; /* Marron foncé/Terre de Sienne */
    margin-bottom: 15px;
}

/* --- En-tête (Header) et Navigation --- */
header {
    background-color: #F7E7CD; /* Couleur miel/papier */
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #D2B48C; /* Sépia clair */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2.2em;
    color: #B8860B; /* Or/Moutarde pour l'accent */
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: #8B4513;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
}

nav ul li a:hover {
    color: #CD853F; /* Brun plus clair */
    border-bottom: 2px solid #CD853F;
}

/* --- Sections Générales --- */
main {
    padding: 20px 5%;
    max-width: 1100px;
    margin: 0 auto;
}

section {
    padding: 50px 0;
    margin-bottom: 30px;
    border-bottom: 1px dotted #D2B48C;
}

.intro-text-warre {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #555;
}

.alternate-bg-warre {
    background-color: #FFF8E1; /* Fond très clair couleur crème */
    margin: 0 -5% 30px;
    padding: 50px 5%;
    border-top: 1px solid #D2B48C;
    border-bottom: 1px solid #D2B48C;
}

/* --- Section Hero --- */
.hero-warre {
    text-align: center;
    background-color: #ffffff;
    padding: 70px 20px;
    margin-bottom: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-warre h2 {
    font-size: 3em;
    color: #B8860B;
}

.cta-button-warre {
    display: inline-block;
    background-color: #CD853F;
    color: white;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button-warre:hover {
    background-color: #B8860B;
    transform: translateY(-2px);
}

/* --- Blocs d'Avantage --- */
.advantage-blocks {
    display: flex;
    justify-content: space-around;
    gap: 25px;
    margin-top: 30px;
}

.advantage-blocks article {
    background-color: #ffffff;
    padding: 25px;
    border-left: 4px solid #CD853F;
    flex: 1;
    min-width: 250px;
    transition: box-shadow 0.3s;
}

.advantage-blocks article:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.advantage-blocks h3 {
    color: #8B4513;
    font-size: 1.6em;
}

/* --- Matériaux et Photos --- */
.materials-details {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}

.materials-list {
    flex: 1;
}

.materials-list ul {
    list-style: none;
    padding: 0;
}

.materials-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%23CD853F" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat left 8px;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 12px;
}

/* Style pour les emplacements de photos */
.image-placeholder {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #EFEFEF;
    border: 1px solid #D2B48C;
    border-radius: 4px;
}

.image-placeholder.wide {
    flex: 2; /* Prendre plus de place pour la photo finale */
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.caption {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}

/* --- Étapes de Construction --- */
.steps-list-warre {
    list-style: none;
    counter-reset: step-counter;
    max-width: 900px;
    margin: 40px auto;
}

.steps-list-warre li {
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    position: relative;
    border-left: 5px solid #B8860B;
}

.steps-list-warre li::before {
    counter-increment: step-counter;
    content: "Étape " counter(step-counter);
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #B8860B;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9em;
}

/* --- Pied de Page (Footer) --- */
footer {
    text-align: center;
    padding: 25px;
    background-color: #F7E7CD;
    color: #8B4513;
    font-size: 0.9em;
    border-top: 1px solid #D2B48C;
    margin-top: 50px;
}

footer a {
    color: #CD853F;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* --- Media Queries pour la réactivité --- */
@media (max-width: 900px) {
    .advantage-blocks, .materials-details {
        flex-direction: column;
    }

    .image-placeholder, .image-placeholder.wide {
        flex: auto;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }
    
    header h1 {
        margin-bottom: 15px;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    nav ul li a {
        margin: 5px 10px;
    }
}