:root {
    --rouge-monts: #B73225; 
    --fond-sepia: #eaddc5;
    --texte-sepia: #3b2f25;
    --bordure-sepia: #c7bca5;
}

body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    color: var(--texte-sepia); 
    background-color: var(--fond-sepia); 
    line-height: 1.6;
}

/* En-tête avec Parallax */
header {
    position: relative;
    background-color: #111;
    color: #f4f1ea;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh; 
    padding: 80px 20px;
    background-image: url('images/mr-couleurs-montage.jpg'); 
    background-attachment: fixed; 
    background-size: cover;
    background-position: center; 
}

header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 20, 10, 0.7);
    z-index: 1;
}

.logo-container {
    position: relative;
    z-index: 2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    overflow: hidden;
}

.logo-container img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

header h1, header p {
    position: relative;
    z-index: 2;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5em;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rouge-monts);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.4em;
    font-style: italic;
    opacity: 0.9;
}

/* --- RÉSEAUX SOCIAUX FLOTTANTS --- */
.sticky-social-wrapper {
    position: sticky;
    top: 25px;
    margin-top: 20px;
    height: 0; 
    z-index: 100;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.sticky-social-icons {
    position: absolute;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--rouge-monts);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-icon:hover {
    background-color: var(--texte-sepia);
    transform: scale(1.1);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* --- COMPORTEMENT SUR MOBILE --- */
@media (max-width: 768px) {
    body {
        padding-bottom: 30px;
    }

    .sticky-social-wrapper {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        margin: 0;
        background-color: rgba(234, 221, 197, 0.95);
        border-top: 1px solid var(--bordure-sepia);
        z-index: 9999;
    }

    .sticky-social-icons {
        position: relative;
        right: auto;
        flex-direction: row; 
        justify-content: space-evenly; 
        align-items: center;
        height: 100%;
        padding: 0;
        gap: 0;
    }

    .social-icon {
        width: 40px; 
        height: 40px;
        box-shadow: none; 
    }
}

/* Sections standard */
section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    text-align: center;
    border-bottom: 1px solid var(--bordure-sepia);
    padding-bottom: 8px;
    margin-bottom: 20px;
    color: var(--rouge-monts);
}

/* Onglets */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--texte-sepia);
    color: var(--texte-sepia);
    padding: 5px 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--texte-sepia);
    color: var(--fond-sepia);
}

.tab-content {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid var(--bordure-sepia);
}

.tab-content.active {
    display: block;
}

.hidden-text {
    display: none;
    margin-top: 8px;
}

/* Liens */
.link-tree {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.btn {
    display: block;
    text-align: center;
    padding: 8px 10px;
    background-color: transparent;
    color: var(--texte-sepia);
    text-decoration: none;
    border: 1px solid var(--texte-sepia);
    border-radius: 2px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--texte-sepia);
    color: var(--fond-sepia);
}

.btn-highlight {
    background-color: var(--rouge-monts);
    color: #fff;
    border-color: var(--rouge-monts);
}
.btn-highlight:hover {
    background-color: #8c2319;
}

/* Nouveau Carrousel (Slider) */
.carousel-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #000; 
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-track img {
    width: 100%;
    flex-shrink: 0;
    object-fit: contain; 
    max-height: 500px; 
    cursor: pointer;
    filter: sepia(0.5) contrast(1.1);
    transition: filter 0.3s;
}

.carousel-track img:hover {
    filter: sepia(0) contrast(1);
}

/* Flèches du carrousel */
.car-prev, .car-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 8px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    border-radius: 3px;
}
.car-prev { left: 5px; }
.car-next { right: 5px; }
.car-prev:hover, .car-next:hover { background-color: rgba(0,0,0,0.8); }

/* Points du carrousel */
.carousel-dots {
    text-align: center;
    padding: 8px 0;
}
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 3px;
    background-color: #c7bca5;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.dot.active, .dot:hover {
    background-color: var(--rouge-monts);
}

/* Styles de la Lightbox */
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 25px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

#lightbox-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border: 8px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    object-fit: contain;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover { color: #bbb; }

.lb-prev, .lb-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 8px;
    margin-top: -25px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    user-select: none;
}

.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-prev:hover, .lb-next:hover { color: #bbb; }

/* Formulaires */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, textarea {
    padding: 8px;
    font-size: 1em;
    font-family: 'Lora', serif;
    border: 1px solid var(--bordure-sepia);
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--texte-sepia);
    border-radius: 2px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--rouge-monts);
    background-color: #fff;
}

/* Design Spécifique Bandeau Newsletter */
#newsletter {
    max-width: 100%;
    background-color: var(--rouge-monts);
    margin: 0;
    padding: 40px 0;
}

#newsletter-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

#newsletter h2 {
    color: var(--fond-sepia);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

#newsletter p {
    color: var(--fond-sepia);
}

#newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    opacity: 1; 
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #1a1815;
    color: #8c8881;
    font-size: 0.9em;
}