:root {
    --color-terre-cuite: #af4126;
    --color-beige: #af4126;
    --color-text: #333333;
    --color-bg: #FFF7F0;
}

html, body {
    height: 100%;
}

/* le contenu pousse le footer en bas */
.site-main{
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}



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


body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh; 
    display:flex; 
    flex-direction:column;
}


a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =========================
   HEADER / LOGO (PROPRE)
========================= */

.site-header{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
  position: sticky;
  top:0;
  z-index:10;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 0; /* réduit la hauteur */
}

/* logo: on bloque la largeur max pour éviter qu'il prenne tout */
/* LOGO plus grand */
.logo{
  flex: 0 0 auto;
  max-width: 520px;          /* augmente la place dispo */
}

.logo-link{
  display:flex;
  align-items:center;
  max-width: 520px;
}

.site-logo{
  height: 64px;              /* <-- augmente ici */
  width: auto;
  max-width: 100%;
  display:block;
  object-fit: contain;
}

@media (max-width: 600px){
  .site-logo{ height: 44px; }
  .logo, .logo-link{ max-width: 260px; }
}


/* nav */
.main-nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex: 1 1 auto;
  justify-content:center;
  flex-wrap: wrap;      /* évite de casser le layout */
}

.main-nav a{
  font-size:0.95rem;
  white-space: nowrap;
}

.main-nav a:hover{ color: var(--color-terre-cuite); }

.lang-switch{
  flex: 0 0 auto;
  white-space: nowrap;
}

.lang-switch a{ font-size:0.85rem; }

/* Responsive */
@media (max-width: 900px){
  .header-inner{ flex-wrap: wrap; }
  .main-nav{ justify-content:flex-start; }
}

@media (max-width: 600px){
  .site-logo{ height: 38px; }
  .main-nav{ gap:10px; }
}

/* HERO */

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-terre-cuite), #e89a72);
    color: #ffffff;
    text-align: left;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
}

/* FOOTER */

.site-footer {
    padding: 1rem 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    text-align: center;
    flex: 0 0 auto;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .main-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        text-align: center;
    }

    .hero p {
        margin: 0 auto;
    }
}

.page-404 {
    padding: 4rem 0;
    text-align: center;
}

.page-404 h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--color-terre-cuite);
}

.page-404 h2 {
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    background: var(--color-terre-cuite);
    color: #fff;
    font-size: 0.95rem;
}

.hero {
    position: relative;
    padding: 6rem 0;
    color: #ffffff;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    height: 350px;
    width: 100%;
}

/* Voile légèrement sombre pour rendre le texte lisible */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
}


/* section ils nous ont fais confiance */
.trusted-section {
    padding: 3rem 0 3.5rem;
    background: var(--color-beige);
}

.trusted-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.trusted-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    color: var(--color-bg);
}

.trusted-header p {
    font-size: 0.95rem;
    color: #ffffff;
}

/* Wrapper slider */
.trusted-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: none;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Carte logo : dimensions fixes pour tout le monde */
.trusted-logo-item {
    flex: 0 0 190px;     /* largeur fixe */
    height: 100px;       /* hauteur fixe */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
}

.trusted-logo-item img {
    max-width: 80%;
    max-height: 70%;
    object-fit: contain;
    /* logos affichés en couleur normalement */
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.trusted-logo-item:hover img {
    /* simple zoom si tu veux un effet */
    transform: scale(1.03);
}

.trusted-empty {
    text-align: center;
    font-size: 0.95rem;
    color: #777;
}

/* Responsive léger */
@media (max-width: 768px) {
    .trusted-logo-item {
        flex: 0 0 150px;
        height: 90px;
    }

    .trusted-header h2 {
        font-size: 1.4rem;
    }
}

.trusted-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

/* Buttons HERO */
.hero-buttons {
    margin-top: 1.8rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Bouton principal */
.btn-hero-primary {
    background: var(--color-terre-cuite);
    color: #ffffff;
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero-primary:hover {
    background: #b65f3f;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

/* Bouton secondaire */
.btn-hero-secondary {
    background: #ffffff;
    color: var(--color-terre-cuite);
    padding: 0.85rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1rem;
    border: 2px solid var(--color-terre-cuite);
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-hero-secondary:hover {
    background: var(--color-terre-cuite);
    color: #ffffff;
}


/* page a propos */
/* ========================= */
/* PAGE A PROPOS             */
/* ========================= */

.section-page.about-page {
    padding: 3rem 0 3rem;
    background: #ffffff;
}

.about-text-block {
    max-width: 900px;
    margin: 0 auto;
}

.about-text-block h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-terre-cuite);
}

.about-text-block h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.about-text-block p {
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: #444;
}

.about-text-block ul {
    padding-left: 1.2rem;
    margin: 0 0 0.8rem;
}

.about-text-block li {
    margin-bottom: 0.35rem;
}

/* Bande "Nos valeurs" */
.about-values {
    margin: 25px;
}

.about-values h2 {
    font-size: 1.6rem;
    color: var(--color-terre-cuite);
    margin-bottom: 0.6rem;
}

.values-intro {
    width: auto;
    color: #555;
    margin-bottom: 2rem;
}

/* Cartes de valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem 1.4rem 1.6rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #333;
}

.value-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .section-page.about-page {
        padding: 2.5rem 0 2.5rem;
    }

    .about-text-block h1 {
        font-size: 1.6rem;
    }

    .about-values {
        padding: 2.5rem 0 3rem;
    }
}

/* CTA button in About page */
.about-cta {
    margin-top: 1.3rem;
}

.btn-about-primary {
    display: inline-block;
    background: var(--color-terre-cuite);
    color: #fff;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.btn-about-primary:hover {
    background: #b65f3f;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}


/* PAGE SERVICES */

.section-page.services-page {
    padding: 3rem 0 3.5rem;
    background: var(--color-terre-cuite);
}

.services-header {
    max-width: 900px;
    margin: 0 auto 2.3rem;
    text-align: center;
}

.services-header h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--color-terre-cuite);
}

.services-header .lead {
    font-size: 1.02rem;
    color: #444;
    line-height: 1.7;
}

/* Liste des services (cartes) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.6rem;
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.5rem 1.8rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-card-img {
    margin-bottom: 0.6rem;
    border-radius: 14px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-card h2 {
    font-size: 1.2rem;
    color: #333;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.service-card-footer {
    margin-top: 0.8rem;
}

.btn-service-secondary {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 2px solid var(--color-terre-cuite);
    color: var(--color-terre-cuite);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    background-color: #ffffff;
}

.btn-service-secondary:hover {
    background: #ffffff;
    color: var(--color-terre-cuite);
}

/* Galerie sur la vue détail */
.service-gallery {
    margin-bottom: 2rem;
}

.service-main-image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);
    margin-bottom: 0.8rem;
}

.service-main-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.service-thumbs {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.service-thumb {
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0.6;
    outline: none;
}

.service-thumb.is-active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--color-terre-cuite);
}

.service-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

/* Cartes des sous-éléments */
.service-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.service-item-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.7rem 1.7rem 2rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
}

.service-item-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: #333;
}

.service-item-capacity {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-terre-cuite);
    margin-bottom: 0.6rem;
}

.service-item-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.service-item-cta {
    margin-top: 1rem;
}

.btn-service-primary {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    background: var(--color-terre-cuite);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.btn-service-primary:hover {
    background: #b65f3f;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.services-back {
    margin-top: 2rem;
    text-align: center;
}

.services-back a {
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--color-terre-cuite);
}

/* Responsive */
@media (max-width: 768px) {
    .section-page.services-page {
        padding: 2.5rem 0 3rem;
    }

    .services-header h1 {
        font-size: 1.7rem;
    }

    .service-main-image img {
        max-height: 240px;
    }
}


.admin-body {
    background: #f5f5f5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-container {
    max-width: 1100px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.admin-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    font-size: 1.4rem;
    margin: 0;
}

.admin-header p {
    font-size: 0.85rem;
    color: #777;
}

.btn-admin-primary,
.btn-admin-secondary {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
}

.btn-admin-primary {
    background: var(--color-terre-cuite);
    color: #fff;
}

.btn-admin-secondary {
    background: #eee;
    color: #333;
}

.admin-flash {
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.admin-flash.success {
    background: #e2f7e2;
    color: #205b20;
}

.admin-flash.danger {
    background: #fde2e2;
    color: #8a1f1f;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0.4rem;
    text-align: left;
}

.admin-table th {
    font-weight: 600;
    color: #555;
}

.admin-actions {
    white-space: nowrap;
    font-size: 0.85rem;
}

.admin-actions a,
.link-danger {
    font-size: 0.85rem;
}

.link-danger {
    background: none;
    border: none;
    padding: 0;
    color: #b3261e;
    cursor: pointer;
}

/* Formulaire admin */
.admin-form .form-row {
    margin-bottom: 0.9rem;
}

.admin-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form textarea {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.admin-form small {
    font-size: 0.8rem;
    color: #777;
}

.form-row-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 768px) {
    .admin-container {
        margin: 0.5rem;
        padding: 1rem;
    }

    .admin-header {
        align-items: flex-start;
    }
}


.rooms-by-building {
    margin-top: 2.5rem;
}

.rooms-by-building h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.buildings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.building-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.3rem 1.4rem 1.6rem;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}

.building-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #333;
}

.rooms-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rooms-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    padding: 0.25rem 0.2rem;
    border-bottom: 1px solid #f3ece4;
}

.rooms-list li:last-child {
    border-bottom: none;
}

.room-code {
    font-weight: 600;
}

.room-tag,
.room-status {
    font-size: 0.8rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #f6efe7;
    color: #a4512f;
}

.room-period {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    color: #666;
    white-space: nowrap;
}

.building-actions {
    margin-bottom: 15px;
}

.building-summary {
    margin-bottom: 15px;
}

.reservation-page {
    padding: 3rem 0;
    background: var(--color-beige);
}

.reservation-header h1 {
    font-size: 2rem;
    color: var(--color-terre-cuite);
    margin-bottom: 0.5rem;
}

.reservation-room-info,
.reservation-status {
    font-size: 0.95rem;
    color: #555;
}

.reservation-status {
    margin-bottom: 1.5rem;
}

.reservation-errors {
    background: #ffe1e1;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    color: #b00020;
    font-size: 0.9rem;
}

.reservation-errors ul {
    margin: 0;
    padding-left: 1.2rem;
}

.reservation-success {
    background: #e6ffef;
    border: 1px solid #b4f0c5;
    border-radius: 10px;
    padding: 1.5rem 1.8rem;
    margin-bottom: 2rem;
}

.reservation-form .form-row {
    margin-bottom: 1rem;
}

.reservation-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #444;
}

.reservation-form input,
.reservation-form textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
}

.form-row-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-row-submit {
    text-align: right;
}

.reservation-back-link {
    margin-top: 2rem;
    font-size: 0.9rem;
}

.room-period {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    color: #666;
    white-space: nowrap;
}

/* Pastille de base */
.room-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Libre = vert */
.status-free {
    background-color: #d4f8d4;
    color: #0a7a0a;
    border: 1px solid #8fdb8f;
}

/* Occupée = rouge */
.status-booked {
    background-color: #fde0e0;
    color: #b30000;
    border: 1px solid #ff9d9d;
}

/* Maintenance = jaune */
.status-maintenance {
    background-color: #fff4c2;
    color: #8a6d00;
    border: 1px solid #ffe68a;
}

/* fallback si jamais */
.status-default {
    background-color: #e6e6e6;
    color: #444;
}

.tag-res-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* En attente */
.tag-res-pending {
    background: #fff4c2;
    color: #8a6d00;
    border: 1px solid #ffe68a;
}

/* Confirmée */
.tag-res-confirmed {
    background: #d4f8d4;
    color: #0a7a0a;
    border: 1px solid #8fdb8f;
}

/* Annulée */
.tag-res-cancelled {
    background: #fde0e0;
    color: #b30000;
    border: 1px solid #ff9d9d;
}

.tag-res-default {
    background: #e6e6e6;
    color: #444;
}

.admin-filters {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.filter-pill {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #ddd;
    text-decoration: none;
    font-size: 0.85rem;
}

.filter-pill.is-active {
    background: var(--color-terre-cuite);
    color: #fff;
    border-color: var(--color-terre-cuite);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.dashboard-card {
    display: block;
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-card h2 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
    color: var(--color-terre-cuite);
}

.dashboard-card p {
    font-size: 0.9rem;
    color: #555;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
}

.dashboard-card-disabled {
    opacity: 0.6;
    cursor: default;
}

/* =========================== */
/* Page réservation */
/* =========================== */

.reservation-page {
    background: var(--color-beige);
    padding-top: 3rem;
    padding-bottom: 4rem;
}

/* Cas "pas de chambre sélectionnée" */
.reservation-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.reservation-empty-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 2.5rem 3rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.reservation-empty-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.reservation-empty-card h1 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.reservation-empty-text {
    font-size: 0.98rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Layout principal */
.reservation-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

/* Colonne résumé chambre */
.reservation-summary {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem 1.75rem 2rem;
    box-shadow: 0 10px 26px rgba(0,0,0,0.05);
    position: sticky;
    top: 5rem;
    width: 450px;
}

.reservation-summary-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #444;
}

.reservation-service {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-terre-cuite);
    margin-bottom: 0.75rem;
}

.reservation-room,
.reservation-room-building,
.reservation-room-type,
.reservation-current {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.35rem;
}

.reservation-room-type {
    font-style: italic;
}

.reservation-current {
    margin-top: 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: #fff7e4;
    color: #8a5a1f;
    font-size: 0.9rem;
}

.reservation-change-room {
    display: inline-block;
    margin-top: 1.25rem;
}

/* Colonne formulaire */
.reservation-form-wrapper {
    background: #fff;
    border-radius: 18px;
    padding: 2.25rem 2.5rem 2.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    width: -webkit-fill-available;
}

.reservation-title {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.reservation-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Flash messages */
.flash-success,
.flash-error {
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.flash-success {
    background: #e3f6ea;
    color: #1b7a3a;
}

.flash-error {
    background: #fde8ea;
    color: #b3261e;
}

.flash-error ul {
    padding-left: 1.2rem;
    margin: 0;
}

/* Formulaire */
.reservation-form .form-row {
    margin-bottom: 1rem;
}

.reservation-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #444;
}

.reservation-form input,
.reservation-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fcfcfc;
}

.reservation-form input:focus,
.reservation-form textarea:focus {
    border-color: var(--color-terre-cuite);
    outline: none;
    box-shadow: 0 0 0 3px rgba(198, 109, 63, 0.15);
    background: #fff;
}

.reservation-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Inline rows */
.form-row-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .reservation-layout {
        grid-template-columns: 1fr;
    }
    .reservation-summary {
        position: static;
    }
    .reservation-form-wrapper {
        padding: 1.75rem 1.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .form-row-inline {
        grid-template-columns: 1fr;
    }
    .reservation-empty-card {
        padding: 2rem 1.5rem 2.5rem;
    }
}

/* Formulaires réservation – style des selects */
.reservation-form select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border-radius: 6px;
    border: 1px solid #e0d6cd; /* adapte si tu as une variable */
    font: inherit;
    background-color: #fff;
    box-sizing: border-box;
}

/* Lignes masquées dynamiquement */
.form-row-inline-persons.is-hidden,
.form-row-notes.is-hidden {
    display: none;
}

.is-hidden { display: none; }

/* ===========================
   Layout normal réservation
=========================== */
.reservation-layout {
    display: flex;
    gap: 40px;
}

/* ===========================
   Layout après succès
=========================== */
.reservation-layout-success {
    justify-content: center;          /* centre le bloc */
}

.reservation-layout-success .reservation-form-wrapper {
    width: 980px;                     /* comme tu veux */
    max-width: 100%;                  /* ne dépasse pas l'écran */
    margin: 0 auto;                   /* centré */
}

/* On peut enlever la largeur fixe si tu en avais une avant */
.reservation-form-wrapper {
    /* pas de width forcée ici en mode normal */
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 992px) {
    .reservation-layout,
    .reservation-layout-success {
        flex-direction: column;
        align-items: stretch;
    }

    .reservation-layout-success .reservation-form-wrapper {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .reservation-layout,
    .reservation-layout-success {
        gap: 24px;
    }

    .reservation-form-wrapper,
    .reservation-layout-success .reservation-form-wrapper {
        padding-inline: 16px;
    }
}

/* =============================== */
/* MODAL GROUPE — OVERLAY */
/* =============================== */
.group-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn .2s ease-out;
}

/* =============================== */
/* MODAL BOX */
/* =============================== */
.group-modal {
    background: #fff;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
    animation: slideUp .25s ease-out;
    position: relative;
    font-family: inherit;
}

/* =============================== */
/* TITRE */
/* =============================== */
.group-modal-title {
    font-size: 1.35rem;
    margin: 0 0 12px;
    font-weight: 700;
    color: #C55A2F; /* couleur AGORA */
    text-align: center;
}

/* =============================== */
/* CONTENU */
/* =============================== */
.group-modal-body {
    font-size: 1rem;
    line-height: 1.55;
    color: #444;
    margin-bottom: 24px;
}

/* =============================== */
/* FOOTER BOUTONS */
/* =============================== */
.group-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

/* BOUTON ANNULER */
.group-modal-footer .btn-cancel {
    padding: 10px 18px;
    border-radius: 8px;
    background: #ddd;
    color: #444;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.2s;
}

.group-modal-footer .btn-cancel:hover {
    background: #cfcfcf;
}

/* BOUTON CONFIRMER */
.group-modal-footer .btn-confirm {
    padding: 10px 20px;
    border-radius: 8px;
    background: #C55A2F; /* Couleur AGORA */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.2s;
}

.group-modal-footer .btn-confirm:hover {
    background: #a54a26;
}

/* =============================== */
/* ANIMATIONS */
/* =============================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

/* =============================== */
/* RESPONSIVE */
/* =============================== */
@media (max-width: 480px) {
    .group-modal {
        padding: 22px 20px;
    }

    .group-modal-title {
        font-size: 1.25rem;
    }
}

/* ====== Bloc de répartition des chambres (groupe) ====== */

.group-allocation-box {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    animation: fadeIn 0.4s ease;
}

.group-allocation-box h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.2rem;
    text-align: left;
}

.group-allocation-list {
    margin: 0;
    padding-left: 1.2rem;
    list-style: disc;
}

.group-allocation-list li {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: #444;
}

.group-allocation-list strong {
    color: #c0693a; /* couleur identité Agora d’Ettore */
}

.group-allocation-note {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Animation légère d’apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === Bloc "Avec petit déjeuner ?" === */
.breakfast-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.4rem;
}

.breakfast-choice label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    color: #3b3b3b;
}

.breakfast-choice input[type="radio"] {
    width: 18px;
    height: 18px;
}

/* === Carte récapitulatif / mini-facture === */
.booking-summary-card {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.booking-summary-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #265d3b;
}

.booking-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.booking-label {
    color: #666;
}

.booking-value {
    font-weight: 600;
    color: #333;
    text-align: right;
}

.booking-summary-amounts {
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 0.8rem;
    margin-top: 0.4rem;
    font-size: 0.95rem;
}

.booking-amount-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.15rem;
}

.booking-amount-total {
    margin-top: 0.4rem;
    font-weight: 700;
    font-size: 1rem;
}

.booking-amount-total span:last-child {
    font-weight: 800;
}

.booking-summary-note {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #777;
}

/* ==============================
   PAGE CONTACT – LAYOUT GLOBAL
============================== */

.contact-page.contact-page-full {
    background: #fdf3ea; /* fond doux, comme les autres pages */
    padding: 3rem 0 4rem;
}

.contact-container-full {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #3b2a1a;
}

.contact-intro {
    max-width: 820px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #5f4f3f;
    margin-bottom: 2rem;
}

/* ==============================
   CARTES / BLOCS
============================== */

.contact-form-modern {
    margin-top: 1rem;
}

.contact-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.8rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3e1d4;
}

.contact-card:first-of-type {
    background: #342e2c;
    border-color: #f1d1a8;
}

.contact-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #cc6e4a;
}

/* ==============================
   LIGNES DE FORMULAIRE
============================== */

.form-row {
    margin-bottom: 1.25rem;
}

.form-row-inline {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-col {
    flex: 1 1 0;
    min-width: 220px;
}

.form-col-auto {
    flex: 0 0 auto;
    padding-bottom: 20px;
}

/* Aligner le bouton "Rechercher la réservation" en bas */
.align-end {
    align-items: flex-end;
}

/* Libellés & champs */
.contact-form-modern label {
    display: block;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: #8d857d;
}

.contact-form-modern input[type="text"],
.contact-form-modern input[type="email"],
.contact-form-modern input[type="tel"],
.contact-form-modern textarea,
.contact-form-modern select {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1px solid #d9c8b6;
    background: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-sizing: border-box;
}

.contact-form-modern textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus,
.contact-form-modern select:focus {
    outline: none;
    border-color: #de7a33;
    box-shadow: 0 0 0 2px rgba(222, 122, 51, 0.18);
    background-color: #fffdf9;
}

/* Texte d’aide */
.help-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #8a7a69;
}

/* ==============================
   RADIO OUI / NON
============================== */

.contact-mode-row {
    margin-top: 0.5rem;
}

.contact-mode-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-mode-option {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e1d1c0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-mode-option input[type="radio"] {
    accent-color: #de7a33;
}

.contact-mode-option:hover {
    border-color: #de7a33;
    box-shadow: 0 0 0 2px rgba(222, 122, 51, 0.18);
}

/* Quand radio coché, on colore le chip */
.contact-mode-option input[type="radio"]:checked + span,
.contact-mode-option input[type="radio"]:checked ~ span {
    font-weight: 600;
}

.contact-mode-option input[type="radio"]:checked ~ * {
    color: #3b2a1a;
}

.contact-mode-option input[type="radio"]:checked
{
    /* rien, l’accent-color s’occupe déjà du visuel */
}

/* Trick pour colorer le fond quand coché */
.contact-mode-option input[type="radio"]:checked::before {
    content: '';
}

/* On utilise JS pour la logique, donc on reste simple ici */


/* ==============================
   RÉSUMÉ & STATUT RECHERCHE
============================== */

.contact-status-box {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.contact-status-box.status-success {
    background: #e8f7e8;
    color: #24632f;
    border: 1px solid #8ad18e;
}

.contact-status-box.status-error {
    background: #fde7e7;
    color: #8b1b1b;
    border: 1px solid #f19999;
}

.reservation-summary-box {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: #e8f7e8;
    border: 1px solid #8ad18e;
    color: #25422b;
    font-size: 0.9rem;
}

/* Si ton PHP génère .reservation-summary-inner / dl, on les rend propres */
.reservation-summary-inner h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.reservation-summary-list {
    margin: 0 0 0.75rem;
}

.reservation-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.reservation-summary-list dt {
    font-weight: 500;
}

.reservation-summary-list dd {
    margin: 0;
    font-weight: 600;
}

.reservation-summary-note {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: #436546;
}

/* ==============================
   ACTIONS (MODIFIER / ANNULER)
============================== */

.reservation-actions-block {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px dashed #d3c4b4;
}

.reservation-actions-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #3b2a1a;
}

.action-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.action-choice-option {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #e1d1c0;
    background: #fffdf9;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.action-choice-option input[type="radio"] {
    accent-color: #de7a33;
}

.action-choice-option:hover {
    border-color: #de7a33;
    background: #fff7ec;
}

/* ==============================
   BOUTON ENVOI
============================== */

.form-row-submit {
    text-align: right;
    margin-top: 1.5rem;
}

.btn-contact-submit {
    min-width: 230px;
    font-size: 0.98rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
}

/* .btn-service-primary / .btn-service-secondary
   existent déjà dans ton thème.
   On peut juste les rendre un peu plus « arrondies » ici. */

.contact-form-modern .btn-service-primary,
.contact-form-modern .btn-service-secondary {
    border-radius: 999px;
}

/* ==============================
   FLASH MESSAGES
============================== */

.flash-success,
.flash-error {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.flash-success {
    background: #e8f7e8;
    color: #235f2e;
    border: 1px solid #8ad18e;
}

.flash-error {
    background: #fde7e7;
    color: #8b1b1b;
    border: 1px solid #f19999;
}

/* ==============================
   UTILITAIRES
============================== */

.is-hidden {
    display: none !important;
}

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

@media (max-width: 768px) {
    .contact-page.contact-page-full {
        padding: 2rem 0 3rem;
    }

    .contact-card {
        padding: 1.4rem 1.3rem;
    }

    .form-row-inline {
        flex-direction: column;
    }

    .form-row-submit {
        text-align: center;
    }

    .btn-contact-submit {
        width: 100%;
    }

    .reservation-summary-list div {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .contact-form-modern .form-row-inline {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .form-row-inline {
        flex-direction: row;
    }
}

/* =============================== */
/*   PAGES SALLES (salles.php)     */
/* =============================== */

.salles-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.salles-header {
    max-width: 820px;
    margin: 0 auto 2.5rem auto;
    text-align: left;
}

.salles-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
    margin-bottom: 0.75rem;
}

.salles-header .service-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.salles-header .service-intro {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Petit résumé en 3 blocs */

.spaces-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.spaces-summary-item {
    flex: 1 1 120px;
    min-width: 120px;
    padding: 0.9rem 1.1rem;
    border-radius: 0.9rem;
    background: #f7f7fb;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.spaces-summary-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
    margin-bottom: 0.25rem;
}

.spaces-summary-value {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Grille des salles */

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Carte d'une salle */

.space-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1.2rem;
    padding: 1.4rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}

.space-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
    border-color: rgba(51, 102, 255, 0.25);
}

.space-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.space-title-zone {
    flex: 1 1 auto;
}

.space-title {
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
}

.space-code {
    font-size: 0.8rem;
    color: #777;
}

.space-code span {
    font-weight: 600;
}

/* Tag confort */

.space-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #e9f3ff;
    color: #2055b6;
    white-space: nowrap;
}

/* Corps de la carte */

.space-card-body {
    margin-bottom: 1.1rem;
}

.space-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .space-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.space-meta-item {
    padding: 0.6rem 0.7rem;
    border-radius: 0.75rem;
    background: #f9fafb;
}

.space-meta-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
    margin-bottom: 0.15rem;
}

.space-meta-value {
    font-size: 0.95rem;
    font-weight: 500;
}

.space-note {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Footer / bouton */

.space-card-footer {
    display: flex;
    justify-content: flex-end;
}

.space-booking-btn {
    font-size: 0.88rem;
    padding-inline: 1.3rem;
}

/* Lien retour */

.back-to-services {
    margin-top: 2.5rem;
    text-align: left;
}

.back-to-services .link-back {
    font-size: 0.9rem;
    text-decoration: none;
    color: #1f2933;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.back-to-services .link-back:hover {
    text-decoration: underline;
}

/* Section services : salles de fête / conférence */
.services-page {
    padding-block: 4rem 5rem;
}

.services-page .services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-page .services-header h1 {
    font-size: 2.6rem;
    margin-bottom: .5rem;
    color: #0b0b0b; /* même orange que ton logo/titres */
}

.services-page .services-header .lead {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e8e8e8;
}

/* Titre “Espaces disponibles” */
.service-spaces h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #222;
    text-align: center;
}

/* Grille des cartes salles */
.service-spaces-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

/* Cartes “Salle de fête XXX places” */
.service-space-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.2rem 2.3rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.service-space-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
    color: #222;
}

/* Liste Capacité / Confort / Tarif */
.service-space-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
}

.service-space-meta li {
    margin-bottom: .4rem;
    font-size: .98rem;
    color: #444;
}

.service-space-meta strong {
    font-weight: 600;
    margin-right: .35rem;
}

/* CTA */
.service-item-cta {
    margin-top: auto;
}

.service-space-card .btn-service-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 2.4rem;
    padding-block: 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .98rem;
}

/* Hover : légère élévation */
.service-space-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.09);
}

/* Lien retour */
.services-back {
    margin-top: 3rem;
    text-align: center;
}

.services-back a {
    font-size: .95rem;
    color: #c6643a;
    text-decoration: none;
}

.services-back a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-spaces-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .service-spaces-grid {
        grid-template-columns: 1fr;
    }

    .service-space-card {
        padding: 1.8rem 1.6rem;
    }

    .services-page {
        padding-block: 3rem 3.5rem;
    }
}
/* restaurant.css */
.restaurant-page .container { max-width: 980px; }

.card{
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:16px;
  padding:18px;
  box-shadow:0 8px 26px rgba(16,24,40,.06);
  margin:16px 0;
}

.services-header h1{
  font-size:28px;
  margin:0 0 6px;
}
.services-header .lead{
  color:#475467;
  margin:0;
  line-height:1.5;
}

.form-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
@media (max-width: 900px){
  .form-grid{ grid-template-columns:1fr; }
}

.form-field label{
  display:block;
  font-weight:600;
  margin:0 0 6px;
  color:#101828;
}
.form-field input,
.form-field select{
  width:100%;
  height:44px;
  padding:10px 12px;
  border:1px solid #d0d5dd;
  border-radius:12px;
  background:#fff;
  outline:none;
}
.form-field input:focus,
.form-field select:focus{
  border-color:#84c5f4;
  box-shadow:0 0 0 4px rgba(132,197,244,.25);
}

.hint{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#667085;
}

.menu-description{
  margin:12px 0 0;
  padding:12px 14px;
  border:1px dashed #d0d5dd;
  border-radius:12px;
  background:#f9fafb;
  color:#344054;
}

.radio-group{
  display:flex;
  gap:12px;
  align-items:center;
  height:44px;
}
.radio-group label{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid #eaecf0;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}

.tables-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 900px){
  .tables-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.table-card{
  border:1px solid #eaecf0;
  border-radius:14px;
  padding:12px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:6px;
  background:#fff;
  transition:transform .08s ease, box-shadow .08s ease;
}
.table-card:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(16,24,40,.08);
}
.table-card input{ display:none; }
.table-card.is-busy{
  opacity:.6;
  cursor:not-allowed;
}
.table-code{ font-weight:700; }
.table-seats{ color:#667085; font-size:13px; }
.table-status-pill{
  align-self:flex-start;
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  background:#f2f4f7;
  color:#344054;
}

.restaurant-price-summary .price-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width: 700px){
  .restaurant-price-summary .price-grid{ grid-template-columns:1fr; }
}
.price-box{
  border:1px solid #eaecf0;
  border-radius:14px;
  padding:14px;
  background:#fcfcfd;
}
.price-label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  color:#667085;
  text-transform:uppercase;
}
.price-value{
  margin-top:8px;
  font-size:22px;
  font-weight:800;
  color:#101828;
}

.alert{
  border-radius:14px;
  padding:12px 14px;
  margin:14px 0;
}
.alert-success{
  background:#ecfdf3;
  border:1px solid #abefc6;
  color:#067647;
}
.alert-error{
  background:#fffbfa;
  border:1px solid #fecdca;
  color:#b42318;
}
.alert-error ul{ margin:0; padding-left:18px; }

.restaurant-form-actions{
  margin:16px 0 8px;
  display:flex;
  justify-content:flex-end;
}
.btn-service-primary{
  height:46px;
  /* padding:0 16px; */
  border:0;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  color:#fff;
  background:var(--color-terre-cuite);
}
.btn-service-primary:hover{ filter:brightness(.95); }

.services-back a{
  display:inline-block;
  margin:14px 0 0;
  color:#ffffff;
  text-decoration:none;
  font-weight:600;
}

/* ===========================
   ESPACE (login + dashboard)
=========================== */
.espace-shell{
  flex: 1;                      /* prend la hauteur restante */
  display: flex;                /* permet de centrer / gérer la hauteur */
  align-items: center;          /* centre verticalement */
  padding: 3rem 0;              /* garde ton spacing */
  background: var(--color-beige);
}

.espace-shell > .container{
  width: 100%;
}


.auth-card{
  max-width: 520px;
  margin: 0 auto;
  background:#fff;
  border-radius:18px;
  padding: 2.2rem 2.2rem 2rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.auth-title{
  font-size: 1.9rem;
  margin: 0 0 .35rem;
  color: #3b2a1a;
}
.auth-subtitle{
  margin: 0 0 1.4rem;
  color:#5f4f3f;
  line-height: 1.55;
  font-size: .95rem;
}

.auth-form .form-row{ margin-bottom: 1rem; }
.auth-form label{
  display:block;
  font-size:.9rem;
  font-weight:600;
  color:#8d857d;
  margin-bottom:.35rem;
}
.auth-form input{
  width:100%;
  height:46px;
  border-radius: 12px;
  border:1px solid #d9c8b6;
  padding: 10px 12px;
  background:#fff;
}
.auth-form input:focus{
  outline:none;
  border-color:#de7a33;
  box-shadow: 0 0 0 3px rgba(222,122,51,.18);
}

.auth-actions{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  margin-top: 1.2rem;
}

.auth-links{
  display:flex;
  gap: 12px;
  font-size:.9rem;
  color:#5f4f3f;
}
.auth-links a{
  color: var(--color-terre-cuite);
  text-decoration: none;
}
.auth-links a:hover{ text-decoration: underline; }

.espace-header{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.espace-title{
  font-size: 1.7rem;
  margin:0;
  color:#f98619;
}
.espace-meta{
  margin: .35rem 0 0;
  color:#ffffff;
  font-size: .92rem;
}

.tabs{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.2rem 0 1.2rem;
}
.tab{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e1d1c0;
  background:#fff;
  color:#3b2a1a;
  text-decoration:none;
  font-size: .9rem;
  font-weight: 600;
}
.tab.is-active{
  background: var(--color-terre-cuite);
  border-color: var(--color-terre-cuite);
  color:#fff;
}

.res-table{
  width:100%;
  border-collapse: collapse;
  background:#fff;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
  border:1px solid rgba(0,0,0,0.04);
}
.res-table th, .res-table td{
  padding: 12px 14px;
  border-bottom: 1px solid #f1e5da;
  font-size: .92rem;
  vertical-align: middle;
}
.res-table th{
  text-align:left;
  color:#7a6a5a;
  font-size:.82rem;
  letter-spacing:.04em;
  text-transform: uppercase;
  background:#fff7f0;
}
.res-table tr:last-child td{ border-bottom: none; }

.res-actions{
  white-space: nowrap;
  text-align:right;
}
.btn-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #e1d1c0;
  background:#fff;
  color:#3b2a1a;
  text-decoration:none;
  font-weight:700;
  font-size:.85rem;
}
.btn-mini:hover{
  border-color:#de7a33;
  box-shadow: 0 0 0 2px rgba(222,122,51,.14);
}
.detail-card{
  background:#fff;
  border-radius:18px;
  padding: 1.8rem 2rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
}
.detail-title{
  margin:0 0 1rem;
  font-size: 1.4rem;
  color:#3b2a1a;
}
.detail-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
@media (max-width: 800px){
  .detail-grid{ grid-template-columns: 1fr; }
}
.detail-item{
  padding: 12px 14px;
  border-radius: 14px;
  background:#fff7f0;
  border:1px solid #f1e5da;
}
.detail-label{
  font-size:.78rem;
  text-transform: uppercase;
  letter-spacing:.04em;
  color:#7a6a5a;
  margin-bottom: 4px;
}
.detail-value{
  font-weight: 700;
  color:#3b2a1a;
}

.back-row{
  margin-top: 1.4rem;
  display:flex;
  justify-content:flex-end;
}

.admin-actions-block{
  margin-top:20px;
  padding-top:16px;
  border-top:1px dashed #e1d1c0;
}

.btn-admin-confirm{
  background:#2e7d32;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

.btn-admin-cancel{
  background:#ed6c02;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

.btn-admin-delete{
  background:#b3261e;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}

/* Réservation : une ligne = label au-dessus + input pleine largeur */
.reservation-form .form-row.form-row-inline{
  display: block !important;
}

.reservation-form .form-row.form-row-inline label{
  display: block;
  margin-bottom: .25rem;
}

.reservation-form .form-row.form-row-inline input,
.reservation-form .form-row.form-row-inline select,
.reservation-form .form-row.form-row-inline textarea{
  width: 100% !important;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  font-size: 18px;
  text-decoration: none;
  opacity: .6;
  transition: opacity .15s ease, transform .15s ease;
}

.lang-flag:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-flag.is-active {
  opacity: 1;
}

.lang-sep {
  opacity: .4;
}

/* HERO (slider) */
.hero{
  position: relative;
  overflow: hidden;
  width: 100%;

  /* hauteur responsive */
  min-height: clamp(320px, 60vh, 560px);

  /* centrer comme espace-shell */
  display: flex;
  align-items: center;

  /* slider bg */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.35);
  z-index:1;
}

.hero-content{
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Texte */
.hero h1{
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.hero p{
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 640px;
  line-height: 1.55;
}

/* Boutons */
.hero-buttons{
  margin-top: 1.4rem;
  display:flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Mobile : centrage texte + boutons */
@media (max-width: 768px){
  .hero .hero-content{ text-align:center; }
  .hero p{ margin: 0 auto; }
  .hero-buttons{ justify-content:center; }
}

