/* --- RESET ET BASE --- */
:root {
    --bg-color: #fdfbf7; /* Blanc cassé crème "Papier aquarelle" */
    --text-color: #4a4a4a; /* Gris anthracite doux */
    --accent-color: #8c7b64; /* Une teinte terre/or sobre */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-weight: 300;
}

/* --- TOP LINKS --- */
.top-links {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.home-link {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.2);
}

.home-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

/* --- UTILITAIRES --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- HEADER --- */
/* --- HEADER BANDEAU (Style "Hero") --- */
header.banner {
    position: relative;
    /* L'image de fond issue de votre site précédent */
    background-image: url('https://lh3.googleusercontent.com/sitesv/APaQ0SR-nm0g5qfWrnmbGNcBaLJqaamRkHPw-DuQ0xaGPtJ6PmtcCZrBDbXcY0UypInxdL1ptyp7PshX3-OVG4Jq8lr5JX5_CKcqaMu0p-F4lq6Iep3WU2gUiyqPegCD8sexiRRbCAYBH4H-BFsCwwRxK1ESDUMgSYwGLJ5SjG5fCsW4z7gRIwuIX0ew68I=w16383');
    background-size: cover;       /* L'image couvre tout l'espace */
    background-position: center;  /* Centrée */
    height: 400px;                /* Hauteur du bandeau */
    display: flex;
    align-items: center;          /* Centre le texte verticalement */
    justify-content: center;      /* Centre le texte horizontalement */
    color: white;                 /* Texte en blanc */
    margin-bottom: 60px;
}

/* --- LANG SWITCH --- */
.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lang-switch select {
    appearance: none;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #2c2c2c;
    padding: 6px 10px;
    border-radius: 2px;
    font-size: 0.85rem;
}

.lang-switch label {
    font-family: var(--font-sans);
}

/* Le "voile" sombre pour garantir que le texte soit lisible sur n'importe quelle image */
.overlay-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Noir à 30% d'opacité : sobre */
    z-index: 1;
}

.banner .content {
    position: relative;
    z-index: 2; /* Pour passer au-dessus du voile */
    text-align: center;
}

header h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    margin: 0 0 15px;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Ombre portée douce sous le texte */
}

header .subtitle {
    font-size: 1.3rem;
    font-style: italic;
    color: #f0f0f0; /* Blanc légèrement cassé */
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Ajustement mobile pour le bandeau */
@media (max-width: 768px) {
    header.banner { height: 300px; }
    header h1 { font-size: 2.2rem; }
}


/* --- INTRO --- */
.intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.intro h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.intro p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify; /* Justifié pour un aspect livre/littéraire */
    text-justify: inter-word;
}

.separator {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    width: 150px;
    margin: 0 auto 60px;
}

/* --- GALERIES (CARTES) --- */
.galleries {
    margin-bottom: 100px;
}

.galleries h2 {
    text-align: center;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-intro {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.gallery-empty {
    text-align: center;
    font-size: 0.95rem;
    color: #888;
    margin-top: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Design de la Carte */
.card {
    display: block;
    text-align: center;
    group: hover; /* Pour future interactions */
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 4/3; /* Format rectangulaire classique aquarelle */
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* Ombre légère et douce */
    border-radius: 2px;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Effet au survol : Zoom lent et élégant */
.card:hover .image-wrapper img {
    transform: scale(1.05);
}

/* Effet "Overlay" texte au survol */
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #000;
}

.card:hover .overlay {
    opacity: 1;
}

.card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin: 10px 0 5px;
    font-weight: 400;
    color: #2c2c2c;
}

.gallery-card-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}

.card .date {
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid #eee;
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

footer a {
    color: var(--accent-color);
    border-bottom: 1px solid transparent;
}

footer a:hover {
    border-bottom: 1px solid var(--accent-color);
}

footer .copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #aaa;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    header h1 { font-size: 2.2rem; }
    .intro { padding: 0 10px; }
}
