/* XPages Application CSS */
/* ==========================
   GuestAzur - CSS Premium
   ========================== */


/* ----- Reset ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #fce4ec 100%);
  color: #333;
  overflow-x: hidden;
}

/* ----- Header ----- */
header {
  background: linear-gradient(135deg, #003f8c, #0288d1);
  color: white;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  position: relative;
}

header h1 {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 2px;
  animation: fadeDown 1s ease-out;
}

header h2 {
  font-size: 26px;
  font-weight: 300;
  opacity: 0.95;
  margin-top: 10px;
  animation: fadeUp 1.2s ease-out;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----- Search Box ----- */
.search-container {
  background: rgba(255,255,255,0.85);
  width: 92%;
  max-width: 1200px;
  margin: -30px auto 50px;
  padding: 35px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity:0; transform: scale(0.95); }
  to   { opacity:1; transform: scale(1); }
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

@media (min-width: 1100px) {
  .search-desktop-row {
    grid-template-columns: repeat(6, 1fr) !important;
  }
}

label {
  font-weight: 600;
  color: #003f8c;
  margin-bottom: 6px;
  display:block;
}

input, select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: white;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

input:focus, select:focus {
  border-color: #0288d1;
  box-shadow: 0 4px 12px rgba(2,136,209,0.35);
}

/* ----- Buttons ----- */
.buttons {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

button, .btn-search, .btn-reset {
  flex:1;
  padding: 14px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  border:none;
  cursor:pointer;
  transition:0.3s;
}

.btn-search {
  background: linear-gradient(135deg, #0288d1, #015f94);
  color:white;
  box-shadow:0 4px 12px rgba(2,136,209,0.4);
}

.btn-search:hover {
  transform: translateY(-3px);
  box-shadow:0 8px 18px rgba(2,136,209,0.55);
}

.btn-reset {
  background:#e0e0e0;
  color:#333;
}

.btn-reset:hover {
  background:#cfcfcf;
  transform: translateY(-3px);
}

/* ----- Listing Cards ----- */
.listing-container {
  width:92%;
  max-width:1200px;
  margin:auto;
  display:grid;
  gap:30px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  padding-bottom: 80px;
}

.card {
  background:white;
  border-radius:20px;
  overflow:hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all 0.35s ease;
  position:relative;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:0 16px 32px rgba(0,0,0,0.25);
}

.card img {
  width:100%;
  height:220px;
  object-fit:cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.08);
}

.card-content {
  padding:22px;
}

.card-title {
  font-size:20px;
  font-weight:700;
  color:#003f8c;
  margin-bottom:8px;
}

.card-info {
  font-size:15px;
  color:#555;
  margin-bottom:15px;
  line-height:1.5;
}

.card-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.price {
  font-size:20px;
  font-weight:800;
  color:#2e7d32;
}

 

.btn-reserver {
    background: #0569c7;        /* azur foncÃ© */
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-reserver:hover {
    background: #0353a4;
    transform: translateY(-2px);
}

.btn-reserver:hover {
  transform: scale(1.1);
  box-shadow:0 8px 18px rgba(230,74,25,0.4);
}

/* ----- Footer ----- */
footer {
  background:#003f8c;
  color:white;
  padding:40px 20px 20px;
  margin-top:50px;
}

.footer-content {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap:20px;
  margin-bottom:20px;
}

footer h4 {
  font-size:20px;
  margin-bottom:10px;
}

footer ul li {
  list-style:none;
  margin-bottom:6px;
  opacity:0.9;
  transition:0.2s;
}

footer ul li:hover {
  opacity:1;
  transform: translateX(4px);
}

.footer-bottom {
  text-align:center;
  font-size:14px;
  opacity:0.8;
  margin-top:10px;
}
.champdate {
height:27px;border-radius: 10px;
}
.listing-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.card {
    display: flex;
    flex-direction: column;
}

.listing-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    display: flex;
    flex-direction: column;
}


 .ga-checkbox-group input {
    margin-right:6px;
}

.ga-checkbox-group label {
    margin-right:18px;
    font-size:14px;
    cursor:pointer;
}

 .ga-payment-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

.ga-title-center {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

.ga-subtitle-center {
    text-align: center;
    color: #475569;
    margin-bottom: 30px;
}

.ga-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

.ga-summary-card,
.ga-form-card {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.ga-summary-line {
    margin: 6px 0;
    color: #334155;
}

.ga-summary-total {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 800;
    color: #059669;
}

.ga-cond-list li {
    margin: 6px 0;
    color: #475569;
}

.ga-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ga-input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.ga-btn-primary {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #0284c7, #0369a1);
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
}
 .ga-payment-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

.ga-title-center {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
}

.ga-subtitle-center {
    text-align: center;
    color: #475569;
    margin-bottom: 30px;
}

.ga-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

.ga-summary-card,
.ga-form-card {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.ga-summary-line {
    margin: 6px 0;
    color: #334155;
}

.ga-summary-total {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 800;
    color: #059669;
}

.ga-cond-list li {
    margin: 6px 0;
    color: #475569;
}

.ga-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ga-input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.ga-btn-primary {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #0284c7, #0369a1);
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
}

/* AJOUT BLOC RESERVATION DEBUT */
/* =========================
   BLOC RÉSERVATION
   ========================= */

.ga-reservation-fullwidth {
    background: white;
    padding: 25px;
    border-radius: 18px;
    margin-top: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Grille sur une seule ligne (desktop) */
.ga-booking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);   /* 4 colonnes */
    align-items: end;
    gap: 25px;
    margin-top: 15px;
}

/* Un champ */
.ga-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Labels */
.ga-field label,
.ga-field span {
    font-weight: 600;
    color: #003b6f;
    font-size: 14px;
}

/* Inputs génériques */
.ga-input,
.ga-field input,
.ga-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d0d7e2;
    border-radius: 10px;
    font-size: 14px;
    background: #fdfdfd;
    transition: 0.25s border;
}

/* Focus */
.ga-input:focus,
.ga-field input:focus,
.ga-field select:focus {
    border-color: #007bd4;
    outline: none;
}

/* =========================
   CHAMPS SPÉCIAUX
   ========================= */

/* Nombre de nuits */
#nombreNuits {
    font-weight: 700;
    background: #fffbe8;
    border: 1px solid #f2e8b4 !important;
}

/* Total */
#montantTotal {
    font-weight: 700;
    color: #0b3d91;
    background: #eef5ff;
    border: 1px solid #c7dafc !important;
    padding-left: 12px !important;
}

/* =========================
   RESPONSIVE (mobile)
   ========================= */

@media (max-width: 900px) {
    .ga-booking-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .ga-booking-grid {
        grid-template-columns: 1fr;
    }
}

/* AJOUT BLOC RESERVATION FIN */
/* ---- CONTAINER DE LA CARTE ---- */
.ga-card {
    width: 330px;                 /* largeur uniforme */
    height: 420px;                /* HAUTEUR FIXE → plus de décalage */
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* ---- PHOTO ---- */
.ga-card img {
    height: 180px;                /* hauteur identique pour toutes les images */
    width: 100%;
    object-fit: cover;            /* coupe proprement */
}

/* ---- CONTENU TEXTE ---- */
.ga-card-body {
    flex: 1;                      /* prend l’espace restant */
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ---- TITRE ---- */
.ga-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    height: 40px;                 /* même hauteur pour tous */
    overflow: hidden;
}

/* ---- LOCALISATION ---- */
.ga-card-loc {
    font-size: 14px;
    color: #666;
    height: 20px;                 /* force même taille */
}

/* ---- PRIX ---- */
.ga-card-price {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
}

/* ---- BOUTON RESERVER ---- */
.ga-card .reserve-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Force une hauteur uniforme pour les cartes */
.ga-card {
    height: 430px;         /* Ajuste selon ton besoin */
}

/* Fixe la hauteur du titre pour éviter que les cartes bougent */
.ga-card-title {
    height: 42px;          /* = 2 lignes maximum */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* coupe proprement après 2 lignes */
    -webkit-box-orient: vertical;
}

/* Fixe la hauteur de la zone localisation */
.ga-card-loc {
    height: 20px;          /* 1 ligne */
    overflow: hidden;
}

/* Fixe la hauteur de l'image */
.ga-card img {
    height: 180px;         /* uniforme */
    object-fit: cover;
}
.card-title {
    height: 22px;                /* hauteur pour 1 ligne */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;       /* limite à 1 ligne */
    -webkit-box-orient: vertical;
    line-height: 22px;           /* homogène */
}

/* =====================================
   HEADER
===================================== */

.ga-header {
    background: linear-gradient(90deg, #005faa, #0084ce);
    color: #ffffff;
    padding: 18px 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}

.ga-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ga-logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.ga-slogan {
    font-size: 14px;
    opacity: 0.9;
}

/* =====================================
   PAGE DETAIL
===================================== */

.ga-detail-page {
    max-width: 1100px;
    margin: 30px auto 40px auto;
    padding: 0 15px 40px 15px;
    background: linear-gradient(135deg, #f6f9ff, #fdefff);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Carte principale qui contient galerie + info + calendrier */
.ga-detail-card {
    display: flex;
    gap: 30px;
    padding: 25px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}

/* =====================================
   GALERIE PHOTO
===================================== */

.ga-gallery {
    flex: 1.1;
}

.ga-main-photo {
    margin-bottom: 12px;
}

.ga-main-img {
    width: 100%;
    height: 320px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.ga-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ga-thumb {
    width: 90px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ga-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =====================================
   INFO + CALENDRIER
===================================== */

.ga-info {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ga-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #0f1f4b;
}

.ga-location {
    margin: 0 0 10px 0;
    color: #666666;
    font-size: 14px;
}

.ga-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: #eef2ff;
    color: #3742a5;
}

.ga-price {
    font-size: 22px;
    font-weight: 800;
    color: #089247;
    margin: 10px 0 18px 0;
}

/* =====================================
   CALENDRIER COMPACT
===================================== */

.ga-one-month-calendar {
    border-radius: 16px;
    padding: 14px 14px 18px 14px;
    background: #f8fbff;
    border: 1px solid #d9e4f5;
}

.ga-cal-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f1f4b;
}

.ga-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    font-size: 13px;
}

.ga-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #555;
}

.ga-cal-days div {
    text-align: center;
    padding: 6px 0;
    border-radius: 8px;
}

.ga-cal-days .available {
    background: #e4f9e8;
    color: #086b34;
    font-weight: 600;
}

.ga-cal-days .unavailable {
    background: #eceff3;
    color: #999;
    text-decoration: line-through;
}

.ga-cal-days .empty {
    background: transparent;
}

/* =====================================
   BLOC RÃƒâ€°SERVATION (sous la carte)
===================================== */

.ga-reservation-fullwidth {
    margin: 25px 25px 0 25px;
    padding: 22px 24px 26px 24px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

/* message status */
.msg {
    margin-bottom: 8px;
    color: #b91c1c;
    font-weight: 600;
}

/* grille des champs de rÃƒÂ©servation */
.ga-booking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 22px;
    row-gap: 12px;
    align-items: end;
    margin-top: 12px;
}

.ga-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ga-field label,
.ga-field span {
    font-size: 14px;
    font-weight: 600;
    color: #0f1f4b;
}

/* inputs / combo */
.ga-input,
.ga-field input,
.ga-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d0d7e2;
    background: #fdfdfd;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ga-input:focus,
.ga-field input:focus,
.ga-field select:focus {
    border-color: #1c7ed6;
    box-shadow: 0 0 0 3px rgba(28, 126, 214, 0.16);
    outline: none;
}

/* champs calculÃƒÂ©s */
#nombreNuits {
    font-weight: 700;
    text-align: center;
    background: #fff9e6;
    border: 1px solid #f2e0a6;
}

#montantTotal {
    font-weight: 800;
    color: #0b3d91;
    background: #eef4ff;
    border: 1px solid #c2d6ff;
}

/* bouton rÃƒÂ©server */
.ga-btn-primary {
    margin-top: 20px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #0069c0, #0091ea);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,105,192,0.35);
}

.ga-btn-primary:hover {
    background: linear-gradient(90deg, #0050a0, #007ac2);
}

/* =====================================
   DESCRIPTION + MAP
===================================== */

.ga-detail-bottom {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
    margin: 30px 25px 10px 25px;
}

.ga-description-card,
.ga-map-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.ga-equipment-list {
    margin-top: 10px;
    padding-left: 18px;
}

.ga-map-wrapper {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
}

/* =====================================
   FOOTER
===================================== */

.ga-footer {
    text-align: center;
    padding: 18px 10px 25px 10px;
    font-size: 13px;
    color: #555;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 900px) {
    .ga-detail-card {
        flex-direction: column;
    }
    .ga-detail-bottom {
        grid-template-columns: 1fr;
    }
    .ga-booking-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .ga-booking-grid {
        grid-template-columns: 1fr;
    }
    .ga-detail-page {
        margin: 20px auto;
        border-radius: 0;
    }
}


/* ======== GRID ALIGNÃƒâ€°E POUR LA RÃƒâ€°SERVATION ======== */
.ga-booking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: end;
    margin-top: 20px;
}

/* ======== CHAMPS INDIVIDUELS ======== */
.ga-field {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    color: #0a2a43;
    font-weight: 600;
}

.ga-input {
    margin-top: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    width: 100%;
    box-sizing: border-box;
    font-size: 15px;
    background: #fff url('/icons/calendar.svg') no-repeat right 12px center;
    background-size: 18px;
}

/* Afficher  ne calendrier seulement pour les champs date */
/*
#dateArrivee,
#dateDepart {
    background: #fff url('/icons/calendar.svg') no-repeat right 12px center;
    background-size: 17px;
}
*/
/* ======== BLOC NOMBRE DE NUITS + TOTAL ======== */
#ga-booking-total .ga-field,
#ga-booking-total input {
    font-weight: 700 !important;
}

#ga-booking-total input {
    background: #f8f8f8 !important;
    padding: 10px !important;
    border-radius: 10px;
    border: 1px solid #d0d0d0;
    text-align: center;
    font-size: 16px;
}

/* Force les 2 champs ÃƒÂ  bien s'aligner */
#total {
    display: flex;
    gap: 25px;
    align-items: flex-end;
}

/*
#dateArrivee,
#dateDepart {
    background: #fff url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjY2NjIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTAuOTk5IDJDNi40NjcgMiAyIDYuNDY3IDIgMTAuOTk5UzYuNDY3IDIwIDEwLjk5OSAyMCAxOS45OTkgMTUuNTMzIDE5Ljk5OSAxMC45OTlTMTUuNTMzIDIgMTAuOTk5IDJ6TTExIDE4Yy0zLjg2NCAwLTctMy4xMzYtNy03czMuMTM2LTcgNy03IDcgMy4xMzYgNyA3LTMuMTM2IDctNyA3ek0xMSA0Yy0uNTUxIDAtMSAuNDQ5LTEgMXYyaDJWNWMwLS41NTEtLjQ0OS0xLTEtMXpNNSA5aDJ2Mkg1em00IDBoMnYySDl6bTQgMGgydjJIMTR6Ii8+PC9zdmc+") 
    no-repeat right 12px center;
    background-size: 18px;
    padding-right: 40px !important;
}

#dateArrivee,
#dateDepart {
    background: #fff url('/icons/calendar.svg') no-repeat right 12px center;
    background-size: 18px;
    padding-right: 40px !important;
}
*/

/*******************************************************
 *  BLOC RÃƒâ€°SERVATION - GUESTAZUR
 *******************************************************/

/* Conteneur  */
.ga-reservation-fullwidth {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Grille en 5 colonnes Desktop */
.ga-booking-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    align-items: center;
    width: 100%;
}

/* Chaque champ */
.ga-field {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

.ga-field label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
    color: #002f6c;
}

/* Inputs GuestAzur */
 
.ga-input,
#ga-dateArrivee,
#ga-dateDepart {
    padding: 6px 14px;
    border: 1px solid #d7e3f0;
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 18px !important;
    height: 62px;
    transition: 0.2s;
}
 

/* Focus bleu doux */
.ga-input:focus {
    border-color: #0077d9;
    box-shadow: 0 0 6px rgba(0,119,217,0.3);
    outline: none;
}

/*   calendrier */
/*
#dateArrivee,
#dateDepart {
    background: #fff url('/icons/calendar.svg') no-repeat right 12px center;
    background-size: 20px;
    padding-right: 40px !important;
    cursor: pointer;
}
*/

/* Nombre de nuits & Total   mis en valeur */
#ga-total input,
#nombreNuits,
#montantTotal {
    font-weight: bold;
    font-size: 18px !important;
    color: #0b3d91;
}

/* Encadrement   */
.ga-total-box {
    padding: 12px;
    background: #f4f8ff;
    border: 1px solid #d7e3f8;
    border-radius: 10px;
}

/* Bouton principal */
.ga-btn-primary {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 18px;
    font-size: 20px;
    background: linear-gradient(90deg, #0067c5, #0091ff);
    border: none;
    border-radius: 12px;
    color: white;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s;
}

.ga-btn-primary:hover {
    background: linear-gradient(90deg, #005eb7, #0083e8);
}

/***********************
 * RESPONSIVE
 ***********************/
@media (max-width: 980px) {
    .ga-booking-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
    }
}

@media (max-width: 640px) {
    .ga-booking-grid {
        grid-template-columns: 1fr; /* 1 colonne */
    }

/*
    #dateArrivee, #dateDepart {
        background-position: right 10px center;
    }
 */
}
/* ===================== BLOC RESERVATION ===================== */

.ga-reservation-fullwidth {
    padding: 30px;
    margin-top: 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

/* GRID UNIFORME */
.ga-booking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: end;
}

/* CHAMPS */
.ga-field label {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 6px;
    display: block;
    color: #012a5a;
}

.ga-input,
.ga-field input,
.ga-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8dfe8;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

/*   calendrier */
/*
input[id="dateArrivee"],
input[id="dateDepart"] {
    background-image: url('/icons/calendar.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 22px;
}
*/

/* Nombre nuits + Total en gras */
#nombreNuits,
#montantTotal {
    font-weight: bold !important;
    font-size: 18px !important;
    color: #003f87;
}

/* Mobile */
@media(max-width: 900px){
    .ga-booking-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===============================
   BLOC RÉSERVATION — VERSION STABLE
================================ */

/* Conteneur général */
.ga-reservation-fullwidth {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin: 25px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

/* Grille responsive simple */
.ga-booking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Champ */
.ga-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ga-field label {
    font-size: 14px;
    font-weight: 600;
    color: #0f1f4b;
}

/* Inputs */
.ga-field input,
.ga-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d0d7e2;
    background: #ffffff;
    font-size: 15px;
    transition: 0.2s;
}

/* Highlight focus */
.ga-field input:focus,
.ga-field select:focus {
    border-color: #0077cc;
    box-shadow: 0 0 5px rgba(0,119,204,0.25);
    outline: none;
}

/* Icône calendrier (simple et fiable) */
/*
input#dateArrivee,
input#dateDepart {
    background: #fff url("/icons/calendar.svg") no-repeat right 10px center;
    background-size: 18px;
    padding-right: 38px;
    cursor: pointer;
}
*/

/* Nombre nuits + total */
#nombreNuits,
#montantTotal {
    font-weight: 700;
    font-size: 17px;
    text-align: center;
    background: #f5f8ff;
    border: 1px solid #ccd9f2;
}

/* Organisation des 2 champs TOTAL */
#total {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}
/* ====================== */
/*  BLOC RESERVATION      */
/* ====================== */
.ga-reservation {
    padding: 20px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin: 30px auto;
    max-width: 1000px;
}

/* Lignes flexibles */
.ga-res-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

/* Champs uniformisés */
.ga-field {
    flex: 1;
    padding: 10px 12px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    border: 1px solid #ccc !important;
    height: 40px !important;
    box-sizing: border-box;
}

/* Protection contre les CSS globales */
#ga-reservation input,
#ga-reservation select {
    background-color: #fff !important;
    line-height: normal !important;
}

/* Icône calendrier alignée */
#ga-reservation .dijitCalendarPopup {
    top: 42px !important;
}

/* Bouton */
.ga-btn-primary {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    background: linear-gradient(90deg, #007bff, #0a84ff);
    font-size: 18px;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

/* RESPONSIVE mobile */
@media (max-width: 768px) {
    .ga-res-row {
        flex-direction: column;
    }
    .ga-field {
        width: 100% !important;
    }
}

/* ======================================================= */
/* BLOC RÉSERVATION — GRID 5 COLONNES                      */
/* ======================================================= */

.ga-reservation {
    padding: 20px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin: 30px auto;
    max-width: 1050px;
}

/* GRID 5 COLONNES */
.ga-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* CHAMPS */
.ga-field {
    padding: 10px 12px !important;
    height: 40px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    border: 1px solid #ccc !important;
    background-color: #fff !important;
    box-sizing: border-box;
}

/* Protection contre les CSS globales */
#ga-reservation input,
#ga-reservation select {
    line-height: normal !important;
}

/* REPOSITIONNE L'ICÔNE CALENDRIER */
.dijitCalendarPopup {
    margin-top: 4px !important;
}

/* BOUTON */
.ga-btn-primary {
    width: 100%;
    margin-top: 15px;
    padding: 16px;
    border-radius: 15px;
    background: linear-gradient(90deg, #007bff, #0a84ff);
    font-size: 18px;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .ga-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ga-grid-5 {
        grid-template-columns: 1fr;
    }
}


.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .grid-5 {
        grid-template-columns: 1fr;
    }
}
.grid-5 .item {
    padding: 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
 
}

/* ===== CARTE DE VISITE ===== */

.visiting-card-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
}

.visiting-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visiting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* En-tête */
.card-header {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3e 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header i {
    font-size: 22px;
    color: #a3d9b1;
}

.card-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Corps de la carte */
.card-body {
    padding: 25px;
}

/* Profil */
.card-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.contact-name {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
}

.contact-title {
    margin: 0 0 8px 0;
    color: #78A881;
    font-weight: 600;
    font-size: 15px;
}

.contact-agency {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-agency i {
    color: #78A881;
}

/* Détails de contact */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.contact-item:hover {
    background-color: #f8f9fa;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #f0f7f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #78A881;
    font-size: 16px;
}

.contact-content {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-value {
    display: block;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-value a {
    color: inherit;
    text-decoration: none;
}

.contact-value a:hover {
    color: #78A881;
    text-decoration: underline;
}

/* Notes/Observations */
.contact-notes {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    border-left: 4px solid #78A881;
}

.notes-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.notes-header i {
    color: #78A881;
    font-size: 18px;
}

.notes-header h5 {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.notes-content p {
    margin: 0 0 15px 0;
    color: #495057;
    line-height: 1.6;
    font-size: 14px;
}

.notes-content p:last-child {
    margin-bottom: 0;
}

.notes-signature {
    text-align: right;
    font-style: italic;
    color: #6c757d;
    font-size: 13px;
}

/* Pied de carte */
.card-footer {
    background: #f8f9fa;
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 120px;
    justify-content: center;
}

.call-btn {
    background: #78A881;
    color: white;
    border: 2px solid #78A881;
}

.call-btn:hover {
    background: #6a9472;
    border-color: #6a9472;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(120, 168, 129, 0.3);
}

.email-btn {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

.email-btn:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.whatsapp-btn:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .visiting-card-container {
        padding: 0 10px;
        margin: 30px auto;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .card-profile {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-actions {
        flex-direction: column;
    }
    
    .footer-btn {
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .card-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px;
    }
    
    .contact-name {
        font-size: 20px;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
    }
}






