/* Variables de base */
:root {
    --couleur-fond: #1c1c1c;
    --couleur-texte: #f0f0f0;
    --couleur-accent: #c4993a; /* Couleur or/jaune pour les accents */
    --couleur-input-fond: #333;
}

/* Styles de base pour réinitialisation */
body {
    font-family: Arial, sans-serif;
    background-color: var(--couleur-fond);
    color: var(--couleur-texte);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Liens */
a {
    color: var(--couleur-accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #e0b45d;
}

/* Header et Navigation */
header {
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

header img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.nav a {
    margin: 0 10px;
    font-size: 1.1em;
    font-weight: bold;
}

/* Contenu Principal */
main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Styles des Sections */
section {
    padding: 30px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    text-align: center;
}

section:last-child {
    border-bottom: none;
}

/* Typographie (Taille de police augmentée pour la lisibilité) */
h1 {
    color: var(--couleur-accent);
    font-size: 2.2em; /* Taille H1 */
    margin-bottom: 5px;
}

h2 {
    color: var(--couleur-accent);
    font-size: 1.8em; /* Taille H2 */
    margin-top: 0;
    margin-bottom: 20px;
}

h3 {
    color: var(--couleur-texte);
    font-size: 1.4em; /* Taille H3 */
    margin-top: 25px;
}

p, ul, li {
    font-size: 1.1em; /* Taille de base du texte augmentée */
    text-align: center;
    margin: 10px 0;
}

/* Images (pour les rendre responsives) */
.photo-seal {
    width: 90%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* RÈGLE COMMUNE POUR LA PHOTO DE L'INTÉRIEUR ET LES PHOTOS LOCALES */
.photo-confort, .photo-locale { 
    width: 90%; /* Prend 90% de l'espace */
    max-width: 500px; /* Ne grandit pas trop sur écran large */
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 8px; 
}


/* Bouton principal (Réserver) */
.bouton-reserver {
    display: inline-block;
    background-color: var(--couleur-accent);
    color: var(--couleur-fond);
    padding: 12px 25px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.bouton-reserver:hover {
    background-color: #e0b45d;
}

/* Styles pour le Calculateur */
.calculateur label, .calculateur select, .calculateur input {
    display: block;
    margin: 15px auto 5px auto;
    max-width: 300px;
    width: 90%;
    text-align: left;
    font-size: 1.1em;
}

.calculateur input[type="number"], 
.calculateur input[type="time"],
.calculateur select {
    background-color: var(--couleur-input-fond);
    color: var(--couleur-texte);
    border: 1px solid var(--couleur-accent);
    padding: 10px;
    border-radius: 5px;
    font-size: 1.1em; /* Taille du texte dans les inputs */
}

.bouton-calculer {
    background-color: var(--couleur-accent);
    color: var(--couleur-fond);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.bouton-calculer:hover {
    background-color: #e0b45d;
}

.resultat {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--couleur-accent);
    margin-top: 20px;
}

.disclaimer {
    font-size: 0.9em;
    color: #aaa;
    margin-top: 20px;
}

/* Styles Tarifs/Contact Rapide */
.tarifs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

.tarif-item {
    flex: 1 1 300px;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
    text-align: left;
}

.tarif-item h3 {
    text-align: center;
    color: var(--couleur-accent);
    font-size: 1.3em;
    margin-top: 0;
}

.tarif-item ul {
    list-style: none;
    padding: 0;
}

.tarif-item li {
    text-align: left;
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 0.9em;
    margin-top: 40px;
}

/* Assurer la cohérence du texte (pour le cas où .section-seal n'est pas ciblé) */
.section-seal p {
    text-align: justify;
    padding: 0 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Media Query pour les petits écrans (s'assurer de la responsivité) */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }
    
    .nav a {
        font-size: 1em;
    }
    
    p, ul, li, .calculateur label {
        font-size: 1em; 
    }
    
    /* FIX SPÉCIFIQUE POUR LES PHOTOS LOCALES SUR MOBILE */
    .photo-locale {
        max-height: 250px; /* Limite la hauteur de la photo de la Place Royale */
        object-fit: cover; /* Assure que l'image couvre la zone sans déformation */
    }
}
