:root {
    --ink: #1C2B2A;
    --bg: #EFE7D6;
    --card: #FFFFFF;
    --brass: #9C7A3F;
    --disponible: #3C6E52;
    --occupee: #9B4038;
    --gold:#C8A96A;
    --dark:#0F1720;
    --white:#ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
}

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    transition:.35s;
    background:transparent;
}

.header.scrolled{
    background:#ffffff;
    box-shadow:0 8px 30px rgba(0,0,0,.1);
}

.nav-container{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    text-decoration:none;
    display:flex;
    flex-direction:column;
}

.logo span{
    font-family:"Cormorant Garamond",serif;
    font-size:38px;
    font-weight:700;
    color:white;
    letter-spacing:3px;
    transition:.3s;
}

.logo small{
    color:var(--gold);
    letter-spacing:4px;
    text-transform:uppercase;
    font-size:11px;
}

.header.scrolled .logo span{
    color:var(--dark);
}

.navbar{
    display:flex;
    align-items:center;
    gap:35px;
}

.navbar a{
    color:white;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    transition:.3s;
}

.header.scrolled .navbar a{
    color:var(--dark);
}

.navbar a:hover{
    color:var(--gold);
}

.btn-login{
    padding:12px 24px;
    border:2px solid var(--gold);
    border-radius:40px;
}

.btn-login:hover{
    background:var(--gold);
    color:white !important;
}

.menu-btn{
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:34px;
    cursor:pointer;
}

.header.scrolled .menu-btn{
    color:var(--dark);
}

/*==========================
      RESPONSIVE
===========================*/

@media(max-width:992px){
    .navbar{
        position:fixed;
        top:90px;
        left:-100%;
        width:100%;
        background:white;
        display:flex;
        flex-direction:column;
        padding:35px;
        gap:25px;
        transition:.4s;
        box-shadow:0 12px 25px rgba(0,0,0,.1);
    }
    .navbar.active{
        left:0;
    }
    .navbar a{
        color:var(--dark);
    }
    .menu-btn{
        display:block;
    }
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
}

h1, h2, h3, .menu-logo {
    font-family: 'Fraunces', serif;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* En-tete : bouton rond façon plaque de porte + tiroir qui pousse le contenu */
.menu-toggle { display: none; }

.menu-burger {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brass);
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}
.menu-burger span {
    width: 22px;
    height: 2px;
    background: #fdfaf3;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle:checked ~ .menu-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle:checked ~ .menu-burger span:nth-child(2) { opacity: 0; }
.menu-toggle:checked ~ .menu-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.app-shell {
    display: flex;
    min-height: 100vh;
}
.page-content {
    flex: 1;
    min-width: 0;
}

.menu-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
    width: 0;
    min-width: 0;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
    transition: width 0.4s ease, min-width 0.4s ease, padding 0.4s ease;
}
.menu-toggle:checked ~ .app-shell .menu-panel {
    width: 25%;
    min-width: 280px;
    padding: 85px 30px 40px;
    overflow-y: auto;
}
.menu-logo {
    text-align: center;
    color: #fdfaf3;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1.3;
}
.menu-logo span {
    display: block;
    color: var(--brass);
    font-style: italic;
    font-size: 1.2rem;
    margin-top: 6px;
}
.menu-panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}
.menu-panel a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    color: #d9d4c4;
    text-decoration: none;
    font-size: 1.15rem;
    padding: 11px 16px;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}
.menu-panel a:hover {
    color: var(--brass);
    background-color: rgba(156, 122, 63, 0.15);
}
.menu-panel .btn-connexion {
    border: 1px solid var(--brass);
    border-radius: 2px;
    margin-top: 10px;
}
.menu-panel a.btn-connexion:hover {
    background-color: var(--brass);
    color: var(--ink);
}

/* Page Chambres */
.page-chambres {
    background: linear-gradient(rgba(0,0,0,.7), 
    rgba(0,0,0,.7)), url("../images/chambre.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 64px 24px 80px;
    margin: 0 auto;
}
.page-chambres h1 {
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 8px;
    color: white;
}
.page-chambres .intro {
    text-align: center;
    color: white;
    margin-bottom: 44px;
}

.grille-chambres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 32px;
}

.carte-chambre {
    background: var(--card);
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(28,43,42,0.10);
    transform: scale(0.5);
    opacity: 0;
    transition: transform 2s ease, opacity 2s ease;
}

.carte-chambre.show{
    transform: scale(1);
    opacity: 1;
}

.carte-chambre .photo-wrap {
    position: relative;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}
.carte-chambre img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

/* Plaque de porte ronde façon hôtel, posée sur la photo */
.plaque-numero {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brass);
    color: #fdfaf3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    border: 2px solid #fdfaf3;
}

.carte-chambre .infos { padding: 20px; }
.carte-chambre .type {
    color: #8a8072;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.carte-chambre .prix {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.carte-chambre .prix span { font-size: 0.85rem; font-weight: 400; color: #8a8072; }

.statut {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 2px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.statut-disponible { background: rgba(60,110,82,0.12); color: var(--disponible); }
.statut-occupee { background: rgba(155,64,56,0.12); color: var(--occupee); }

/* Pied de page */
.site-footer {
    background: var(--ink);
    color: #b7b2a3;
    text-align: center;
    padding: 28px 24px;
    margin-top: 0px;
    font-size: 0.88rem;
}
.realisateurs { margin-top: 6px; color: var(--brass); }

/* Hero (Accueil) */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url("../images/hero.png");
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: white;
}
.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 40px solid var(--brass);
    opacity: 0.12;
}

/*Animation d'apparition*/
.hero-title, .hero-text, .hero-btn {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-text {
    animation-delay: 0.5s;
}

.hero-btn {
    animation-delay: 0.8s;
}

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

.hero .eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    color: var(--brass);
    margin-bottom: 18px;
    text-transform: uppercase;
    position: relative;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    max-width: 700px;
    margin: 0 auto 20px;
    position: relative;
}

.hero p {
    max-width: 520px;
    margin: 0 auto 32px;
    color: #d9d4c4;
    position: relative;
}
.btn-brass {
    display: inline-block;
    background: var(--brass);
    color: #fdfaf3;
    padding: 13px 30px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: opacity 0.2s;
}
.btn-brass:hover { opacity: 0.88; }

/* Bande de stats dynamiques */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 40px 24px;
    background: var(--card);
}
.stat { text-align: center; }
.stat .chiffre {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--ink);
}
.stat .label {
    font-size: 0.82rem;
    color: #8a8072;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Grille de valeurs (Accueil + A propos) */
.valeurs-section { 
    padding: 70px 24px; 
    max-width: 1100px; 
    margin: 0 auto; 
}
.valeurs-section h2 { 
    text-align: center; 
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 44px; 
}
.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.valeur-card {
    background: var(--card);
    padding: 28px;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(28,43,42,0.08);
    transform: scale(0.5);
    opacity: 0;
    transition: transform 2s ease, opacity 2s ease;
}
.valeur-card.show{
    transform: scale(1);
    opacity: 1;
}
.valeur-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--brass);
}
.valeur-card p { font-size: 0.94rem; color: #5c5449; }

/* Banniere CTA */
.cta-banner {
    background: var(--brass);
    color: #fdfaf3;
    text-align: center;
    padding: 56px 24px;
}
.cta-banner h2 { margin-bottom: 18px; font-size: 1.8rem; }
.cta-banner .btn-brass { background: var(--ink); }

/* Page A propos */
.apropos-hero{
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.0));
}
.page-apropos {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 20px;
    width: 100%;
}
.page-apropos h1 { 
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    text-align: center;
    margin-bottom: 24px; 
    color: white;
}
.page-apropos p { 
    margin-bottom: 18px; 
    color: #3a352d; 
}

/* Page Galerie */
.galerie-hero{
    background: linear-gradient(rgba(0,0,0,.7), 
    rgba(0,0,0,.7)), url("../images/galerie.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 64px 24px 80px;
    margin: 0 auto;
}
.page-galerie h1 {
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 8px;
    color: white;
}
.page-galerie .intro {
    text-align: center;
    color: white;
    margin-bottom: 44px;
}
/* =========================================
   CAROUSEL GALERIE
========================================= */
.galerie-carousel {
    width: 100%;
    max-width: 900px;
    margin: 30px auto 50px;
}
/* Conteneur principal */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
    background: #ddd;
}
/* Piste qui contient les images */
.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}
/* Chaque slide */
.carousel-slide {
    min-width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}
/* Image */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
/* Zoom lorsqu'on passe la souris */
.carousel-slide:hover img {
    transform: scale(1.06);
}
/* Texte sur l'image */
.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 25px 25px;
    color: white;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.75)
    );
}
/* =========================================
   BOUTONS PRECEDENT / SUIVANT
========================================= */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    color: #333;
    font-size: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}
/* Bouton gauche */
.carousel-prev {
    left: 20px;
}
/* Bouton droite */
.carousel-next {
    right: 20px;
}
/* Hover boutons */
.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.08);
}
/* =========================================
   INDICATEURS
========================================= */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    transition:
        width 0.3s ease,
        background 0.3s ease;
}
/* Point actif */
.carousel-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #8a7a45;
}
/* =========================================
   PLACEHOLDER
========================================= */
.galerie-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #555;
    font-size: 20px;
}
/* =========================================
   RESPONSIVE TABLETTE
========================================= */
@media (max-width: 768px) {
    .galerie-carousel {
        max-width: 100%;
        margin: 25px auto 40px;
    }
    .carousel-slide {
        height: 300px;
    }
}
/* =========================================
   RESPONSIVE TELEPHONE
========================================= */
@media (max-width: 480px) {
    .carousel-slide {
        height: 240px;
    }
    .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
}

/* Bloc de remplacement local (aucune dependance a un service externe) */
.galerie-placeholder {
    width: 100%;
    height: 220px;
    background: var(--ink);
    color: var(--brass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
.photo-placeholder {
    width: 100%;
    height: 200px;
    background: var(--ink);
    color: var(--brass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
}

/* Espace Admin - mise en page */
.admin-header {
    background: var(--ink);
    height: 64px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.admin-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.admin-logo {
    font-family: 'Fraunces', serif;
    color: #fdfaf3;
    font-size: 1.3rem;
}
.admin-logo em { color: var(--brass); font-style: italic; }
.admin-nav a {
    color: #d9d4c4;
    text-decoration: none;
    margin-left: 22px;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.admin-nav a:hover { color: var(--brass); }

.admin-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 108px 24px 80px;
}
.admin-main h1 { font-size: 2rem; margin-bottom: 28px; }

.admin-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.admin-stat {
    background: var(--card);
    padding: 20px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(28,43,42,0.08);
}
.admin-stat .chiffre { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 600; color: var(--ink); }
.admin-stat .label { font-size: 0.82rem; color: #8a8072; text-transform: uppercase; letter-spacing: 0.05em; }

/* Barre laterale admin (dashboard uniquement pour l'instant) */
.admin-layout {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 250px;
    background: var(--ink);
    color: #fdfaf3;
    padding: 26px 18px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 1000;
}
.sidebar-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    margin-bottom: 28px;
    padding: 0 8px;
}
.sidebar-logo em { color: var(--brass); font-style: italic; }

.sidebar-profil {
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(253,250,243,0.12);
}
.sidebar-avatar, .sidebar-avatar-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px;
    object-fit: cover;
}
.sidebar-avatar {
    background: var(--brass);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
}
.sidebar-nom { font-weight: 600; font-size: 0.92rem; }
.sidebar-role { font-size: 0.75rem; color: #b7b2a3; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.sidebar-nav a {
    color: #d9d4c4;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}
.sidebar-nav a:hover { background: rgba(156,122,63,0.15); color: var(--brass); }

.sidebar-deconnexion {
    color: #d9d4c4;
    text-decoration: none;
    font-size: 0.82rem;
    padding: 12px;
    border-top: 1px solid rgba(253,250,243,0.12);
    margin-top: 10px;
}
.sidebar-deconnexion:hover { color: var(--brass); }

.admin-content {
    flex: 1;
    margin-left: 250px;
    min-width: 0;
}
.admin-layout .admin-main {
    padding: 40px 32px 80px;
}

/* Cartes KPI (dashboard admin) */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}
.kpi-card {
    background: var(--card);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(28,43,42,0.08);
    display: flex;
    align-items: center;
    gap: 14px;
}
.kpi-icone {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.kpi-texte .chiffre { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.kpi-texte .label { font-size: 0.75rem; color: #8a8072; text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 860px) {
    .admin-sidebar { position: relative; width: 100%; height: auto; }
    .admin-content { margin-left: 0; }
    .admin-layout { flex-direction: column; }
}

.admin-bloc {
    background: var(--card);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 18px rgba(28,43,42,0.08);
}
.admin-bloc h2 { font-size: 1.3rem; margin-bottom: 18px; }

.admin-form-centre {
    max-width: 480px;
    margin: 0 auto 32px;
}
.admin-form-centre h2 { text-align: center; }

.form-admin {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 420px;
    margin: 0 auto;
}
.form-admin label { font-size: 0.85rem; font-weight: 600; color: #5c5449; margin-top: 12px; }
.form-admin input, .form-admin select, .form-admin textarea {
    padding: 10px 12px;
    border: 1px solid #d8d0bd;
    border-radius: 4px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
}
.form-admin input:focus, .form-admin select:focus, .form-admin textarea:focus {
    outline: none;
    border-color: var(--brass);
}
.form-admin button {
    margin-top: 20px;
    border: none;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    align-self: center;
}

.table-admin {
    width: 100%;
    border-collapse: collapse;
}
.table-admin th, .table-admin td {
    text-align: center;
    padding: 12px 10px;
    border-bottom: 1px solid #ece6d8;
    font-size: 0.92rem;
}
.table-admin th { color: #8a8072; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; }
.table-admin select, .table-admin input[type="number"], .table-admin input[type="password"] {
    padding: 6px 8px;
    border: 1px solid #d8d0bd;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Work Sans', sans-serif;
}
.table-admin input[type="number"] { width: 80px; }
.table-admin input[type="password"] { width: 160px; }

.form-inline-prix { display: flex; gap: 6px; align-items: center; }
.form-inline-prix input { width: 90px; padding: 6px 8px; border: 1px solid #d8d0bd; border-radius: 4px; }
.btn-modif {
    background: var(--ink);
    color: #fdfaf3;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.msg-succes { background: rgba(60,110,82,0.12); color: var(--disponible); padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; }
.msg-erreur { background: rgba(155,64,56,0.1); color: var(--occupee); padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; }

.btn-supprimer {
    background: none;
    border: 1px solid var(--occupee);
    color: var(--occupee);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: 'Work Sans', sans-serif;
    transition: background 0.2s, color 0.2s;
}
.btn-supprimer:hover { background: var(--occupee); color: #fff; }

/* Page Personnel */
.personnel-hero{
    background: linear-gradient(rgba(0,0,0,.7), 
    rgba(0,0,0,.7)), url("../images/personnel.jpg")
    center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.page-personnel { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 64px 24px 80px; 
    width: 100%;
}
.page-personnel h1 { 
    text-align: center; 
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 8px; 
    color: white;
}
.page-personnel .intro { 
    text-align: center; 
    color: white; 
    margin-bottom: 44px; 
    margin-top: -10px;
}

.grille-personnel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.carte-personnel {
    overflow: hidden;
    background: var(--card);
    border-radius: 8px;
    padding: 28px 22px;
    text-align: center;
    transform: scale(0.5);
    opacity: 0;
    transition: transform 2s ease, opacity 2s ease;
}
.carte-personnel.show {
    transform: scale(1);
    opacity: 1;
}
.carte-personnel img{
    transition: transform 0.5s ease;
}
.carte-personnel:hover img{
    transform: scale(1.08);
}
.carte-personnel img, .photo-placeholder-rond {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
}
.photo-placeholder-rond {
    background: var(--ink);
    color: var(--brass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 2rem;
}
.carte-personnel h3 { font-size: 1.15rem; margin-bottom: 4px; }
.carte-personnel .poste {
    color: var(--brass);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.carte-personnel .description {
    font-size: 0.9rem;
    color: #5c5449;
    line-height: 1.5;
}

/* Page Contact */
/* =========================================
   PAGE CONTACT
========================================= */
.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    background: linear-gradient(rgba(0,0,0,.7), 
    rgba(0,0,0,.7)), url("../images/contact1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Voile sombre */
.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}
/* =========================================
   CARTE CONTACT — EFFET VERRE
========================================= */
.contact-card {
    margin-top: 50px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    padding: 40px;
    background: rgba(95, 95, 65, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: white;
    text-align: center;
}
/* =========================================
   TITRE
========================================= */
.contact-card h1 {
    margin: 0 0 10px;
    font-size: 38px;
    color: white;
}
.contact-card .intro {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}
/* =========================================
   FORMULAIRE
========================================= */
.form-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* Champs */
.input-box {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.90);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: 0.3s ease;
}
.input-box:focus-within {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}
.input-box span {
    margin-right: 10px;
    font-size: 18px;
}
.input-box input,
.input-box textarea {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 0;
    font-family: inherit;
    font-size: 15px;
    color: white;
}
.input-box input::placeholder,
.input-box textarea::placeholder {
    color: white;
}
/* =========================================
   TEXTAREA
========================================= */
.textarea-box {
    align-items: flex-start;
}
.textarea-box span {
    padding-top: 14px;
}
.input-box textarea {
    resize: vertical;
    min-height: 110px;
}
/* =========================================
   MESSAGES
========================================= */
.msg-succes,
.msg-erreur {
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.msg-succes {
    background: rgba(40, 150, 80, 0.80);
    color: white;
}
.msg-erreur {
    background: rgba(180, 50, 50, 0.80);
    color: white;
}
/* =========================================
   BOUTON
========================================= */
.contact-card .btn-brass {
    width: 100%;
    margin-top: 5px;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
/* =========================================
   MOBILE
========================================= */
@media (max-width: 600px) {
    .contact-section {
        padding: 90px 15px 40px;
    }
    .contact-card {
        padding: 30px 20px;
        border-radius: 18px;
    }
    .contact-card h1 {
        font-size: 30px;
    }
    .contact-card .intro {
        font-size: 14px;
    }
}
.login-section{
    position: relative;
    min-height:100vh;
    display: flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(rgba(0,0,0,.7), 
    rgba(0,0,0,.7)), url("../images/hall.png") 
    center/cover no-repeat;;
    background-size: cover;
    background-position: center;
    
}

.login-card{
    position: relative;
    z-index: 2;
    width:90%;
    max-width: 450px;
    padding:45px 40px;
    background:rgba(95, 95, 65, 0.01);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border:1px solid rgba(255,255,255, 0.45);
    border-radius:22px;
    box-shadow:0 8px 32px rgba(0,0,0,.25);
    margin-top: 70px;
    animation:fadeUp .8s;
}

.login-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20);
}

.login-card h1{
    color:#fff;
    text-align:center;
    font-size:3rem;
    margin-bottom:12px;
}

.login-card p{
    color:#ddd;
    text-align:center;
    margin-bottom:35px;
}

.input-box{
    display:flex;
    align-items:center;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.20);
    border-radius:12px;
    padding:0 18px;
    margin-bottom:22px;
}

.input-box span{
    font-size:20px;
    margin-right:12px;
}

.input-box input{
    width:100%;
    border:none;
    background:none;
    color:#fff;
    padding:16px 0;
    font-size:15px;
}

.input-box input::placeholder{
    color:#ddd;
}

.input-box input:focus{
    outline:none;
}

.login-card .btn-brass{
    width:100%;
    padding:15px;
    border-radius:12px;
    font-size:16px;
    transition:.35s;
}

.login-card .btn-brass:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(200,169,106,.45);
}

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