/* --- RESET ET AMBIANCE --- */
:root {
    --bg-color: #0f1210;
    --text-color: #dcdfdc;
    --gold: #c5a059;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    line-height: 1.9;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    margin: 0;
    letter-spacing: 1px;
}

a { color: inherit; transition: 0.3s; text-decoration: none; }
a:hover { color: var(--gold); }

/* --- BOUTON SON --- */
.sound-control {
    position: fixed; top: 20px; right: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-color);
    padding: 10px 20px; cursor: pointer;
    z-index: 1000; border-radius: 30px;
    font-family: var(--font-sans); font-size: 0.8rem;
    transition: 0.5s;
    backdrop-filter: blur(5px);
}
.sound-control:hover { background: rgba(255,255,255,0.2); }

/* --- SPHERES FLOTTANTES --- */
.background-spheres {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none; opacity: 0.4;
}
.sphere {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    animation: float 30s infinite ease-in-out;
}
.s1 { width: 60vh; height: 60vh; top: -10%; left: -10%; }
.s2 { width: 40vh; height: 40vh; bottom: 10%; right: -5%; animation-delay: -10s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-40px); } }

/* --- HERO (Titre Sphèora Augmenté) --- */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 20px;
}
.hero h1 { 
    font-size: 7rem; /* BEAUCOUP PLUS GROS */
    margin-bottom: 20px; 
    text-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}
.slogan { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--gold); }

.intro-text {
    max-width: 600px; margin: 40px auto;
    font-size: 1.1rem; opacity: 0.8; font-weight: 300;
}

.scroll-indicator {
    margin-top: 60px; opacity: 0.6; font-size: 0.9rem;
    animation: float 3s infinite;
}

/* --- CHAPITRES --- */
.story-block {
    min-height: 90vh;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 10%; gap: 80px;
}
.story-block.reverse { flex-direction: row-reverse; }

.image-container img {
    max-width: 450px; width: 100%;
    border-radius: 250px 250px 0 0;
    opacity: 0.9;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.text-content { max-width: 450px; }
.text-content h2 { font-size: 2.5rem; margin-bottom: 30px; color: var(--gold); }
.text-content p { font-size: 1.1rem; text-align: justify; font-weight: 200; }

/* --- LE CŒUR (MODIFIÉ : Gros titres + Image entière) --- */
.showcase { padding: 150px 0; background: linear-gradient(to bottom, var(--bg-color), #050505); }
.showcase-intro { text-align: center; max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* Styles spécifiques demandés par Dylan */
.big-title {
    font-size: 4rem; /* TITRE CHAPITRE PLUS GROS */
    color: var(--gold);
    margin-bottom: 30px;
}
.big-text {
    font-size: 1.5rem; /* TEXTE INTRO PLUS GROS */
    font-family: var(--font-serif);
    line-height: 1.4;
    margin-bottom: 50px;
}

/* La sphère principale : ENTIÈRE et non coupée */
.main-piece {
    width: auto; /* Largeur auto */
    max-width: 100%; /* Ne dépasse pas l'écran */
    max-height: 80vh; /* Ne dépasse pas la hauteur de l'écran */
    object-fit: contain; /* Affiche toute l'image sans rogner */
    border-radius: 20px; /* Bords légèrement arrondis (plus de rond strict) */
    margin: 40px auto; display: block;
    box-shadow: 0 0 80px rgba(197, 160, 89, 0.1);
    transition: transform 1.5s ease;
}
.main-piece:hover { transform: scale(1.02); }

/* --- GALERIE AVEC SCROLLBAR VISIBLE --- */
.gallery-scroll {
    display: flex; overflow-x: auto; gap: 50px;
    padding: 50px 10%; scroll-snap-type: x mandatory;
    padding-bottom: 40px; 
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 3px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.gallery-item {
    flex: 0 0 320px; scroll-snap-align: center;
    text-align: center; cursor: pointer;
    transition: transform 0.5s ease;
}
.gallery-item:hover { transform: translateY(-10px); }
.gallery-item img {
    width: 100%; height: 350px; object-fit: cover;
    border-radius: 5px; opacity: 0.8; transition: opacity 0.5s;
}
.gallery-item:hover img { opacity: 1; }
.caption { margin-top: 15px; font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); opacity: 0; transition: 0.5s; }
.gallery-item:hover .caption { opacity: 1; }

/* --- ACQUISITION & CONCLUSION (Ordre inversé dans HTML) --- */
.acquisition { text-align: center; padding: 100px 20px; }
.conclusion { text-align: center; padding-bottom: 100px; padding-top: 0; font-family: var(--font-serif); font-size: 1.5rem; max-width: 600px; margin: 0 auto; opacity: 0.7; }

.btn-gold {
    display: inline-block; padding: 25px 60px;
    background: transparent; border: 1px solid var(--gold);
    color: var(--gold); text-decoration: none;
    font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: 2px;
    transition: all 0.8s ease;
}
.btn-gold:hover { background: var(--gold); color: #000; }

.substack { text-align: center; padding: 80px 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.btn-outline { color: var(--text-color); text-decoration: none; border-bottom: 1px solid var(--text-color); padding-bottom: 5px; }

footer { text-align: center; padding: 80px 20px; font-size: 0.9rem; opacity: 0.8; background: #050505; }
.contact-info h4 { font-size: 1.2rem; color: var(--gold); margin-bottom: 15px; }
.contact-info p { margin: 5px 0; }
.legal { margin-top: 40px; font-size: 0.8rem; opacity: 0.5; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .story-block, .story-block.reverse { flex-direction: column; text-align: center; padding: 80px 5%; }
    .hero h1 { font-size: 4.5rem; }
    .big-title { font-size: 2.5rem; }
}

/* --- ANIMATIONS LENTES (3s) --- */
.fade-in { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 3s ease-out, transform 3s ease-out; 
}
.visible { opacity: 1; transform: translateY(0); }
/* --- AJOUTS FINAUX V5 --- */
.btn-gold {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    padding: 15px 50px;
}

.btn-subtext {
    display: block;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Ajustement du nouveau titre long */
.hero h1 {
    font-size: 4.5rem;
    max-width: 90%;
    margin: 0 auto 20px auto;
}
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
}