/* Empêche Tailwind d'écraser vos styles de base */
@layer base {
  h1, h2, h3, p {
    all: revert;
  }
}



/* --- 1. Structure Globale --- */
body { 
    font-family: 'Georgia', serif; 
    /* Ajout d'une couleur de secours avant l'image */
    background-color: #f9f9f9; 
    /* Essayez de mettre le chemin complet si le fichier est à la racine */
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover; /* 'cover' est préférable pour un fond plein écran */
    
    color: #222; 
    margin: 0; 
    padding: 0; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* Ajoutez l'image ici pour la section HERO */
.hero-background {
    background: url('hymenos.webp') no-repeat center center;
    background-size: cover; /* L'image couvrira tout le bloc section */
    width: 100%;
}

/* --- 2. Typographie et Éléments --- */
h1 { font-size: 2.5rem; color: #111; text-align: center; margin-bottom: 30px; line-height: 1.2; }
h2 { font-size: 1.5rem; color: #555; margin: 40px 0 20px; text-transform: uppercase; letter-spacing: 1px; }
p { margin-bottom: 20px; font-size: 1.1rem; }

.main-img { width: 100%; border-radius: 8px; margin-bottom: 40px; }
.img-secondary { width: 100%; border-radius: 8px; margin: 30px 0; }

/* --- 3. Footer --- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: auto;
    background: rgba(255, 255, 255, 0.8);
}

/* --- 4. VOS RÈGLES MOBILE (À NE PAS SUPPRIMER) --- */
@media screen and (max-width: 600px) {
    .page-container { 
        width: 90%; 
        margin: 20px auto; 
        padding: 20px; 
    }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.2rem; }
    p { font-size: 1rem; }
}


