/* =====================================================================
   NICLIB HÔTEL DE LUXE — Feuille de style principale
   Identité : Charcoal + Cuivre + Blanc brut / Police : Outfit
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   1. COULEURS
   ============================================================ */
:root {
    --charcoal: #161618;
    --ardoise: #26262A;
    --cuivre: #E85D3A;
    --cuivre-lumiere: #F28B6E;
    --blanc-brut: #FAF9F6;
    --gris-matiere: #ECEBE7;
    --gris-texte: #5A5A5E;
    --texte-fonce: #141414;
    --ombre-portee: 0 20px 60px rgba(0, 0, 0, 0.12);
    --ombre-douce: 0 8px 30px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   2. RÉINITIALISATION & TYPOGRAPHIE
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--texte-fonce);
    background: var(--blanc-brut);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

::selection {
    background: var(--cuivre);
    color: var(--blanc-brut);
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   3. UTILITAIRES
   ============================================================ */
.eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cuivre);
    background: rgba(232, 93, 58, 0.08);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.diviseur-or { display: none; }

.monogramme {
    width: 46px;
    height: 46px;
    margin: 0 auto 18px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(232, 93, 58, 0.3));
}

/* ============================================================
   4. EN-TÊTE / NAVIGATION
   ============================================================ */
.entete {
    background: rgba(22, 22, 24, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Logo : image + texte, alignés et centrés verticalement */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    color: var(--blanc-brut);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: 50px;
    object-fit: contain;
    flex-shrink: 0;
    background: var(--blanc-brut);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.logo small {
    display: block;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--cuivre);
    text-transform: uppercase;
}

nav.menu {
    display: flex;
    gap: 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

nav.menu a {
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cuivre);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav.menu a:hover {
    color: var(--blanc-brut);
}
nav.menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

nav.menu a.actif {
    color: var(--blanc-brut);
}
nav.menu a.actif::after {
    transform: scaleX(1);
    background: var(--cuivre);
}

.bouton-connexion {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: var(--cuivre);
    color: var(--blanc-brut) !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: background 0.25s, transform 0.25s, box-shadow 0.3s;
    border: none;
}

.bouton-connexion:hover {
    background: var(--cuivre-lumiere);
    transform: scale(1.04) translateY(-2px);
    box-shadow: 0 12px 30px rgba(232, 93, 58, 0.35);
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: var(--charcoal);
    color: var(--blanc-brut);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(232, 93, 58, 0.15) 0%, transparent 50%),
        linear-gradient(0deg, rgba(22, 22, 24, 0.9) 0%, rgba(22, 22, 24, 0.3) 100%);
}

.hero-contenu {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-contenu h1 {
    color: var(--blanc-brut);
    font-size: clamp(48px, 9vw, 96px);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 10px 0 18px;
    line-height: 1;
}

.hero-contenu h1 span {
    color: var(--cuivre);
    text-decoration: underline;
    text-decoration-thickness: 6px;
    text-underline-offset: 12px;
}

.hero-contenu p {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    margin: 0 auto 40px;
    letter-spacing: 0.02em;
}

/* Indicateur de scroll flottant en bas du hero */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.8s ease 1.2s;
}
.scroll-indicator.revealed {
    opacity: 1;
}
.scroll-icone {
    display: inline-block;
    font-size: 22px;
    animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Révélation des blocs au scroll (fade + slide up) */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fade-slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.anim-visible {
    animation: fade-slide-up 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* ============================================================
   6. BOUTONS
   ============================================================ */
.bouton-principal {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--cuivre);
    color: var(--blanc-brut);
    padding: 16px 40px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid var(--cuivre);
    position: relative;
    overflow: hidden;
}

.bouton-principal:hover {
    background: transparent;
    color: var(--cuivre);
    transform: scale(1.05) skewX(-4deg);
    box-shadow: var(--ombre-portee);
}

.bouton-secondaire {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: transparent;
    color: var(--blanc-brut);
    padding: 14px 34px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.bouton-secondaire:hover {
    border-color: var(--cuivre);
    background: var(--cuivre);
    color: var(--blanc-brut);
    transform: translateY(-3px);
}

.bouton-formulaire {
    width: 100%;
    background: var(--charcoal);
    color: var(--blanc-brut);
    border: none;
    padding: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.bouton-formulaire:hover {
    background: var(--cuivre);
    transform: scale(1.01);
}

/* Bouton "Réserver" sur les cartes chambres */
.bouton-container {
    margin-top: 16px;
    width: 100%;
}

.bouton-reserver {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    background: var(--cuivre);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.bouton-reserver::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.bouton-reserver:hover::before {
    left: 120%;
}

.bouton-reserver:hover {
    background: var(--cuivre-lumiere);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 93, 58, 0.35);
}

.bouton-reserver:active {
    transform: translateY(0px) scale(0.98);
}

.bouton-icone {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 18px;
    line-height: 1;
}

.bouton-reserver:hover .bouton-icone {
    transform: translateX(4px);
}

.bouton-reserver.bouton-indisponible {
    background: #e8e6e1;
    color: #9a9a96;
    cursor: not-allowed;
    opacity: 0.7;
}

.bouton-reserver.bouton-indisponible:hover {
    background: #e8e6e1;
    transform: none;
    box-shadow: none;
}

.bouton-reserver.bouton-indisponible .bouton-icone {
    color: #c74a2c;
}

.bouton-reserver.bouton-indisponible:hover .bouton-icone {
    transform: none;
}

.bouton-reserver.bouton-indisponible::before {
    display: none;
}

/* ============================================================
   7. SECTIONS
   ============================================================ */
.section { padding: 100px 6%; }
.section-sombre {
    background: var(--charcoal);
    color: var(--blanc-brut);
}
.section-sombre h2 { color: var(--blanc-brut); }
.section-sombre .eyebrow { background: rgba(232, 93, 58, 0.15); }

.section-titre {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.section-titre h2 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 8px;
}
.section-titre p {
    color: var(--gris-texte);
    font-size: 18px;
    font-weight: 400;
}

/* Cartes "valeurs" (section sombre) */
.carte-valeur {
    text-align: center;
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.carte-valeur:hover {
    transform: translateY(-8px);
    border-color: var(--cuivre);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.icone-valeur {
    font-size: 48px;
    display: inline-block;
    margin-bottom: 18px;
    animation: pulseIcon 3s ease-in-out infinite;
}
@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.10); }
}
.carte-valeur h3 {
    color: var(--blanc-brut);
    font-size: 22px;
    margin-bottom: 12px;
}
.carte-valeur p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================================
   8. GRILLE & CARTES CHAMBRES
   ============================================================ */
.grille-chambres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.carte-chambre {
    position: relative;
    background: var(--blanc-brut);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: var(--ombre-douce);
    border: 1px solid var(--gris-matiere);
}

.carte-chambre:hover {
    transform: translateY(-16px) scale(1.01);
    box-shadow: var(--ombre-portee), 0 0 0 2px var(--cuivre);
    border-color: var(--cuivre);
}

/* Spotlight cuivré qui suit la souris sur la carte */
.carte-chambre::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%),
                                rgba(232, 93, 58, 0.12) 0%,
                                transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}
.carte-chambre:hover::before {
    opacity: 1;
}

.carte-chambre .image-chambre {
    height: 230px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: var(--charcoal);
}
.carte-chambre .image-chambre img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
}
.carte-chambre:hover .image-chambre img {
    transform: scale(1.08);
    filter: saturate(1.1) contrast(1.05);
}

.carte-chambre .image-chambre::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(232, 93, 58, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.carte-chambre:hover .image-chambre::after {
    opacity: 1;
}

.carte-chambre .contenu-carte {
    position: relative;
    z-index: 3;
    padding: 26px 28px 32px;
}

.carte-chambre .type-chambre {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cuivre);
    background: rgba(232, 93, 58, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.carte-chambre h3 {
    font-size: 26px;
    margin: 12px 0 8px;
    font-weight: 700;
}

.prix-chambre {
    font-size: 28px;
    font-weight: 700;
    color: var(--charcoal);
}
.prix-chambre span {
    font-size: 14px;
    font-weight: 400;
    color: var(--gris-texte);
}

.etiquette {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-top: 14px;
}

.etiquette.disponible {
    background: #E6F7EC;
    color: #1F7B4D;
}
.etiquette.occupee {
    background: #FEF0EC;
    color: #C74A2C;
}

/* ============================================================
   9. FORMULAIRES
   ============================================================ */
.carte-formulaire {
    max-width: 520px;
    margin: 0 auto;
    background: var(--blanc-brut);
    border: 1px solid var(--gris-matiere);
    padding: 48px 44px;
    border-radius: 20px;
    box-shadow: var(--ombre-douce);
}

.champ { margin-bottom: 24px; text-align: left; }

.champ label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.champ input,
.champ select,
.champ textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gris-matiere);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    background: #fff;
    transition: all 0.3s ease;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
    outline: none;
    border-color: var(--cuivre);
    box-shadow: 0 0 0 6px rgba(232, 93, 58, 0.08);
}

/* ============================================================
   10. TABLEAUX
   ============================================================ */
.tableau-donnees {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ombre-douce);
}

.tableau-donnees th,
.tableau-donnees td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gris-matiere);
    text-align: left;
    font-size: 16px;
}

.tableau-donnees th {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gris-texte);
    background: var(--gris-matiere);
}

.lien-action {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--cuivre);
    background: rgba(232, 93, 58, 0.06);
    padding: 6px 16px;
    border-radius: 30px;
    margin-right: 8px;
    transition: all 0.2s;
}
.lien-action:hover {
    background: var(--cuivre);
    color: #fff;
}

/* ============================================================
   11. TABLEAU DE BORD
   ============================================================ */
.grille-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.carte-stat {
    background: var(--blanc-brut);
    color: var(--charcoal);
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid var(--gris-matiere);
    transition: all 0.3s ease;
    box-shadow: var(--ombre-douce);
}
.carte-stat:hover {
    transform: translateY(-6px);
    border-color: var(--cuivre);
    box-shadow: var(--ombre-portee);
}

.carte-stat .chiffre {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--cuivre);
    letter-spacing: -0.03em;
}
.carte-stat .libelle {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--gris-texte);
    margin-top: 6px;
}

/* ============================================================
   12. GALERIE (mosaïque colonnes)
   ============================================================ */
.grille-galerie {
    columns: 3 260px;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grille-galerie img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 16px;
    transition: all 0.4s ease;
    filter: grayscale(0.2);
}
.grille-galerie img:hover {
    transform: scale(0.98);
    filter: grayscale(0) saturate(1.1);
    box-shadow: var(--ombre-portee);
}

/* ============================================================
   13. PERSONNEL / ÉQUIPE
   ============================================================ */
.grille-equipe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.carte-membre { text-align: center; }
.carte-membre img {
    border-radius: 50%;
    width: 160px;
    height: 160px;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid var(--gris-matiere);
    transition: all 0.4s ease;
}
.carte-membre img:hover {
    border-color: var(--cuivre);
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(232, 93, 58, 0.1);
}
.carte-membre h4 {
    font-size: 22px;
    font-weight: 700;
}
.carte-membre span {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--cuivre);
    letter-spacing: 0.05em;
}

/* ============================================================
   14. PIED DE PAGE
   ============================================================ */
footer {
    background: var(--charcoal);
    color: var(--blanc-brut);
    padding: 70px 6% 30px;
    border-top: 4px solid var(--cuivre);
}

.pied-grille {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

footer h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cuivre);
    margin-bottom: 18px;
}

footer p,
footer li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 300;
}
footer ul {
    list-style: none;
}
footer li {
    margin-bottom: 10px;
}
footer a {
    transition: color 0.2s;
}
footer a:hover {
    color: var(--cuivre);
}

.pied-bas {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 28px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
}

.pied-bas .realisateurs {
    color: var(--cuivre-lumiere);
    margin-top: 8px;
    font-weight: 500;
}

/* ============================================================
   15. DIVERS & ALERTES
   ============================================================ */
.conteneur-etroit { max-width: 780px; margin: 0 auto; }
.texte-centre { text-align: center; }

.message-alerte {
    padding: 16px 22px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 500;
}
.message-succes {
    background: #E6F7EC;
    color: #1F7B4D;
    border: 1px solid #B8E0CC;
}
.message-erreur {
    background: #FEF0EC;
    color: #C74A2C;
    border: 1px solid #F5D6CE;
}

/* ============================================================
   16. CARROUSEL PRINCIPAL
   ============================================================ */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: var(--charcoal);
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 550px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 50px 35px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
}

.carousel-slide .carousel-caption h3 {
    color: var(--blanc-brut);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
}

.carousel-slide .carousel-caption p {
    color: rgba(255,255,255,0.8);
    font-size: 17px;
    font-weight: 300;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 18px 22px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--cuivre);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev { left: 20px; }
.carousel-btn-next { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--cuivre);
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* ============================================================
   17. GALERIE EN CARTES
   ============================================================ */
.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.galerie-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--blanc-brut);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid var(--gris-matiere);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.galerie-card:nth-child(1) { animation-delay: 0.1s; }
.galerie-card:nth-child(2) { animation-delay: 0.2s; }
.galerie-card:nth-child(3) { animation-delay: 0.3s; }
.galerie-card:nth-child(4) { animation-delay: 0.4s; }
.galerie-card:nth-child(5) { animation-delay: 0.5s; }
.galerie-card:nth-child(6) { animation-delay: 0.6s; }
.galerie-card:nth-child(7) { animation-delay: 0.7s; }
.galerie-card:nth-child(8) { animation-delay: 0.8s; }
.galerie-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.galerie-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-color: var(--cuivre);
}

.galerie-card-image {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: var(--charcoal);
}

.galerie-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.galerie-card:hover .galerie-card-image img {
    transform: scale(1.08);
}

.galerie-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

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

.galerie-card-info {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: #fff;
    width: 100%;
}

.galerie-card:hover .galerie-card-info {
    transform: translateY(0);
}

.galerie-card-info h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}

.galerie-card-info p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    font-weight: 300;
    margin: 0;
}

/* ============================================================
   18. RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .carousel-slide { height: 400px; }
    .carousel-slide .carousel-caption h3 { font-size: 24px; }
    .carousel-slide .carousel-caption p { font-size: 15px; }
    .galerie-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 900px) {
    nav.menu { display: none; }
    .pied-grille { grid-template-columns: 1fr; text-align: center; }
    .grille-galerie { columns: 2 200px; }
    .hero { min-height: 70vh; }
    .carte-formulaire { padding: 30px 20px; }
    .entete { flex-wrap: wrap; gap: 10px; }
    .bouton-connexion { margin-left: auto; }
}

@media (max-width: 768px) {
    .scroll-indicator { display: none; }
    .bouton-reserver {
        opacity: 1;
        transform: translateY(0);
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 13px;
    }
    .bouton-icone { font-size: 16px; }

    .carousel-slide { height: 300px; }
    .carousel-slide .carousel-caption { padding: 25px 30px 20px; }
    .carousel-slide .carousel-caption h3 { font-size: 20px; }
    .carousel-slide .carousel-caption p { font-size: 14px; }
    .carousel-btn { font-size: 24px; padding: 12px 16px; }
    .carousel-btn-prev { left: 10px; }
    .carousel-btn-next { right: 10px; }

    .galerie-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    .galerie-card-image { height: 200px; }
}

@media (max-width: 480px) {
    .grille-chambres { grid-template-columns: 1fr; }
    .grille-stats { grid-template-columns: 1fr; }
    .grille-equipe { grid-template-columns: 1fr; }
    .grille-galerie { columns: 1; }
    .hero-contenu h1 { font-size: 38px; }
    .section { padding: 60px 5%; }
    .hero-contenu h1 span { text-decoration-thickness: 4px; text-underline-offset: 6px; }

    .bouton-reserver { padding: 16px 18px; font-size: 14px; border-radius: 10px; }

    .carousel-slide { height: 250px; }
    .carousel-slide .carousel-caption { padding: 20px 20px 16px; }
    .carousel-slide .carousel-caption h3 { font-size: 17px; }
    .carousel-slide .carousel-caption p { font-size: 13px; }
    .carousel-btn { font-size: 20px; padding: 10px 14px; }
    .carousel-dots { bottom: 12px; gap: 6px; }
    .carousel-dot { width: 8px; height: 8px; }

    .galerie-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    .galerie-card-image { height: 220px; }
}


/*RESPONSIVE

/* ============================================================
   HEADER - ACTIONS (Connexion + Hamburger)
   ============================================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ============================================================
   LOGO IMAGE
   ============================================================ */
.logo-image {
    height: 46px;
    width: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================================================
   BOUTON HAMBURGER
   ============================================================ */
.menu-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-hamburger:hover {
    transform: scale(1.05);
}

.menu-hamburger .hamburger-line {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--ivoire, #f5f0e8);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

/* Animation de rotation en "X" quand le menu est ouvert */
.menu-hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   MENU OVERLAY (Fond sombre)
   ============================================================ */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: hidden;
}

.menu-overlay.active {
    opacity: 1;
    width: 100%;
}

/* ============================================================
   MENU MOBILE (Slide depuis la droite)
   ============================================================ */
.menu-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--bleu-minuit, #0a1628);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.menu-overlay.active .menu-mobile {
    right: 0;
}

/* --- En-tête du menu mobile --- */
.menu-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-mobile-titre {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--or, #c9a961);
}

.menu-mobile-close {
    background: none;
    border: none;
    color: var(--ivoire, #f5f0e8);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.menu-mobile-close:hover {
    color: var(--or, #c9a961);
    transform: rotate(90deg);
}

/* --- Liste des liens --- */
.menu-mobile-list {
    list-style: none;
    padding: 20px 28px;
    margin: 0;
    flex: 1;
}

.menu-mobile-list li {
    margin-bottom: 4px;
}

.menu-mobile-list a {
    display: block;
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.menu-mobile-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.menu-mobile-list a.actif {
    color: var(--or, #c9a961);
    background: rgba(201, 169, 97, 0.10);
}

.menu-mobile-list a.actif::before {
    content: '— ';
    color: var(--or, #c9a961);
}

/* --- Séparateur --- */
.menu-mobile-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 16px 16px 12px;
}

/* --- Lien Connexion (mis en valeur) --- */
.menu-mobile-connexion {
    display: block;
    padding: 12px 16px !important;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 600 !important;
    letter-spacing: 0.05em;
    color: var(--bleu-minuit, #0a1628) !important;
    background: var(--or, #c9a961) !important;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.menu-mobile-connexion:hover {
    background: var(--or-clair, #e4cd93) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.25);
}

/* ============================================================
   RESPONSIVE - AFFICHAGE DU MENU HAMBURGER
   ============================================================ */
@media (max-width: 900px) {
    /* Cacher le menu desktop */
    .entete .menu {
        display: none;
    }
    
    /* Afficher le hamburger */
    .menu-hamburger {
        display: flex;
    }
    
    /* Ajuster le header pour mobile */
    .entete {
        padding: 14px 5%;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo small {
        font-size: 9px;
    }
    
    .logo-image {
        height: 38px;
    }
}

@media (max-width: 480px) {
    .menu-mobile {
        width: 100%;
        max-width: 100%;
    }
    
    .menu-mobile-header {
        padding: 20px 20px 14px;
    }
    
    .menu-mobile-list {
        padding: 16px 20px;
    }
    
    .menu-mobile-list a {
        font-size: 16px;
        padding: 14px 16px;
    }
}

/* ============================================================
   ANIMATION D'ENTRÉE DES LIENS (Stagger)
   ============================================================ */
.menu-overlay.active .menu-mobile-list li {
    opacity: 0;
    transform: translateX(20px);
    animation: menuSlideIn 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.menu-overlay.active .menu-mobile-list li:nth-child(1) { animation-delay: 0.05s; }
.menu-overlay.active .menu-mobile-list li:nth-child(2) { animation-delay: 0.10s; }
.menu-overlay.active .menu-mobile-list li:nth-child(3) { animation-delay: 0.15s; }
.menu-overlay.active .menu-mobile-list li:nth-child(4) { animation-delay: 0.20s; }
.menu-overlay.active .menu-mobile-list li:nth-child(5) { animation-delay: 0.25s; }
.menu-overlay.active .menu-mobile-list li:nth-child(6) { animation-delay: 0.30s; }
.menu-overlay.active .menu-mobile-list li:nth-child(7) { animation-delay: 0.35s; }
.menu-overlay.active .menu-mobile-list li:nth-child(8) { animation-delay: 0.40s; }

@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}