/* ===================================================
   MY TRANSAT — Main Stylesheet
   Brand redesign — YInMn Blue / Vanilla / Fern palette
   =================================================== */

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

/* ── Custom properties ── */
:root {
  /* Brand colors */
  --brand-blue-dark:   #1d4f8a;
  --brand-blue-mid:    #4984bd;
  --brand-blue-light:  #86d0ed;
  --brand-vanilla:     #ecd898;
  --brand-fern:        #7d986b;
  --brand-sage:        #bfc689;
  --brand-ebony:       #6e6958;

  /* Mapped aliases — keep old names so existing JS works */
  --turquoise:         #86d0ed;
  --turquoise-dark:    #4984bd;
  --turquoise-light:   #b8e4f5;
  --turquoise-pale:    #ddf0f9;
  --beige:             #ecd898;
  --beige-dark:        #d9c47a;
  --coral:             #4984bd;
  --coral-dark:        #1d4f8a;
  --dark-green:        #1d4f8a;
  --dark-green-light:  #4984bd;

  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-100: #F1F3F4;
  --gray-200: #E8EAED;
  --gray-300: #DADCE0;
  --gray-400: #BDC1C6;
  --gray-500: #9AA0A6;
  --gray-600: #80868B;
  --gray-700: #5F6368;
  --gray-800: #3C4043;
  --gray-900: #202124;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 40px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Raleway', 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: transparent;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Sticky footer : grid avec 3 rangées explicites (nav | contenu | footer) */
body:not(.admin-body) {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}
body:not(.admin-body) > main { min-height: 0; overflow-x: hidden; }

/* ── Page background slideshow ── */
.bg-slideshow {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: bgSlide 30s infinite;
  transform: scale(1.05);
}

.bg-slide:nth-child(1) { background-image: url('/images/beach-1.jpg'); animation-delay: 0s; }
.bg-slide:nth-child(2) { background-image: url('/images/beach-2.jpg'); animation-delay: 7.5s; }
.bg-slide:nth-child(3) { background-image: url('/images/beach-3.jpg'); animation-delay: 15s; }
.bg-slide:nth-child(4) { background-image: url('/images/beach-4.jpg'); animation-delay: 22.5s; }

@keyframes bgSlide {
  0%    { opacity: 0; transform: scale(1.05); }
  5%    { opacity: 1; transform: scale(1.0); }
  22%   { opacity: 1; transform: scale(1.0); }
  27%   { opacity: 0; transform: scale(1.02); }
  100%  { opacity: 0; transform: scale(1.05); }
}

/* Semi-transparent overlay so content is readable */
.bg-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(29, 79, 138, 0.08) 0%,
    rgba(255,255,255,0.45) 40%,
    rgba(255,255,255,0.60) 100%
  );
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #86d0ed; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4984bd; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--brand-blue-dark); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.875rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.375rem); }
p { line-height: 1.7; }
a { color: var(--brand-blue-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-blue-dark); }

/* ── Utility classes ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(29, 79, 138, 0.96);
  backdrop-filter: blur(12px);
  padding: 0 1.5rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 16px rgba(29,79,138,0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* SVG logo (legacy) */
.navbar-logo-svg {
  height: 54px;
  width: auto;
}
.navbar-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Logo bannière */
.navbar-logo-banner {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.25);
  transition: opacity 0.2s;
}
.navbar-brand:hover .navbar-logo-banner {
  opacity: 0.88;
}
.navbar-logo-text {
  font-family: 'Fredoka One', sans-serif;
}

.navbar-brand .brand-icon { font-size: 1.5rem; }
.navbar-brand .brand-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: #86d0ed;
  display: block;
  line-height: 1;
  margin-top: 2px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.navbar-nav a.btn-nav-cta {
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
  padding: 0.5rem 1.125rem;
  font-weight: 700;
}

.navbar-nav a.btn-nav-cta:hover {
  background: var(--brand-vanilla);
  color: var(--brand-blue-dark);
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
}

.navbar-user .user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--brand-blue-dark);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 1;
  background: #d1d5db !important;
  border-color: #d1d5db !important;
  color: #9ca3af !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Bouton actif — signal visuel clair */
#checkAvailabilityBtn:not(:disabled) {
  box-shadow: 0 3px 12px rgba(73, 132, 189, 0.45);
  animation: btnPulse 2s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(73, 132, 189, 0.4); }
  50%       { box-shadow: 0 3px 18px rgba(73, 132, 189, 0.7); }
}

.btn-primary {
  background: var(--brand-blue-mid);
  color: var(--white);
  border-color: var(--brand-blue-mid);
}
.btn-primary:hover:not(:disabled) {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(73,132,189,0.4);
}

.btn-success {
  background: var(--brand-fern);
  color: var(--white);
  border-color: var(--brand-fern);
}
.btn-success:hover:not(:disabled) {
  background: #6a8359;
  border-color: #6a8359;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(125,152,107,0.4);
}

.btn-coral {
  background: var(--brand-blue-dark);
  color: var(--white);
  border-color: var(--brand-blue-dark);
}
.btn-coral:hover:not(:disabled) {
  background: #163d6e;
  border-color: #163d6e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29,79,138,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue-mid);
  border-color: var(--brand-blue-mid);
}
.btn-outline:hover:not(:disabled) {
  background: var(--turquoise-pale);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.btn-danger {
  background: transparent;
  color: #e85555;
  border-color: #e85555;
}
.btn-danger:hover:not(:disabled) {
  background: #e85555;
  color: white;
}

.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.85rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 0.95rem 2rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow-lg); }

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h2, .card-header h3 {
  font-size: 1.1rem;
  color: var(--brand-blue-dark);
}

.card-body { padding: 1.5rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-100);
}

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-blue-mid);
  box-shadow: 0 0 0 3px rgba(73,132,189,0.18);
}

.form-control::placeholder { color: var(--gray-400); }

.form-control.error { border-color: #e85555; }
.form-control.error:focus { box-shadow: 0 0 0 3px rgba(232,85,85,0.15); }

.form-hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.3rem; }
.form-error { font-size: 0.8rem; color: #e85555; margin-top: 0.3rem; font-weight: 500; }

/* ── Password visibility toggle ── */
.pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pw-wrap .form-control {
  padding-right: 2.75rem;
}
.pw-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--gray-400);
  line-height: 1;
  font-size: 1.1rem;
  transition: color 0.15s;
}
.pw-toggle:hover { color: var(--brand-blue-mid); }

/* ── Alerts ── */
.alert {
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success {
  background: #D1FAE5;
  color: #065F46;
  border-color: #A7F3D0;
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #FECACA;
}

.alert-warning {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
}

.alert-info {
  background: var(--turquoise-pale);
  color: #0C4A6E;
  border-color: var(--turquoise-light);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger  { background: #FEE2E2; color: #991B1B; }
.badge-info    { background: var(--turquoise-pale); color: #0C4A6E; }
.badge-gray    { background: var(--gray-200); color: var(--gray-700); }
.badge-coral   { background: #e0ebf7; color: var(--brand-blue-dark); border: 1px solid #b8d0ec; }

/* ── Tabs ── */
.tabs { display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 1.5rem; }

.tab-btn {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover { color: var(--brand-blue-mid); }
.tab-btn.active {
  color: var(--brand-blue-dark);
  border-bottom-color: var(--brand-blue-mid);
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.92);
  transition: transform var(--transition);
}

.modal-overlay.active .modal { transform: scale(1); }

.modal-header {
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body { padding: 0 1.5rem 1.5rem; }
.modal-footer { padding: 1rem 1.5rem 1.5rem; display: flex; gap: 0.75rem; justify-content: flex-end; }

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
  line-height: 1;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.modal-close:hover { color: var(--gray-800); }

/* ── Logo loading animation ── */
.logo-loading {
  width: 80px;
  height: auto;
  animation: logoFloat 1.6s ease-in-out infinite;
  filter: drop-shadow(0 6px 14px rgba(73,132,189,0.45));
}
.logo-loading--sm {
  width: 52px;
  animation-duration: 2s;
}
.logo-loading--placeholder {
  width: 64px;
  animation: logoPulse 2.2s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1);    }
  50%       { transform: translateY(-10px) scale(1.06); }
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1);    opacity: 0.65; }
  50%       { transform: scale(1.1); opacity: 0.9;  }
}

/* ── Spinner (legacy fallback) ── */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--turquoise-light);
  border-top-color: var(--brand-blue-mid);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--brand-blue-dark);
}

/* ── Stats cards ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--brand-blue-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card.green  { border-left-color: var(--brand-fern); }
.stat-card.coral  { border-left-color: var(--brand-blue-mid); }
.stat-card.gold   { border-left-color: var(--brand-vanilla); }

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--turquoise-pale);
  flex-shrink: 0;
}

.stat-card.green .stat-icon  { background: #e6f0e2; }
.stat-card.coral .stat-icon  { background: #ddeaf6; }
.stat-card.gold  .stat-icon  { background: #faf3da; }

.stat-value { font-size: 1.75rem; font-weight: 700; color: var(--brand-blue-dark); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.2rem; }

/* ── Tables ── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.95);
  font-size: 0.875rem;
}

thead th {
  background: var(--brand-blue-dark);
  color: var(--white);
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius-md) 0 0; }

tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #f0f6fc; }

tbody td {
  padding: 0.875rem 1rem;
  vertical-align: middle;
  color: var(--gray-700);
}

/* ── Reservation card (account page) ── */
.reservation-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
  border: 1px solid var(--gray-200);
}

.reservation-card:hover { box-shadow: var(--shadow-md); }

.reservation-card-header {
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue-mid));
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reservation-card-body { padding: 1.25rem; }

.reservation-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.reservation-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.reservation-meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reservation-meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
}

.transats-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.transat-chip {
  background: var(--turquoise-pale);
  color: var(--brand-blue-dark);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── Page header ── */
.page-header {
  background: linear-gradient(135deg, #1d4f8a 0%, #4984bd 100%);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p  { color: rgba(255,255,255,0.8); font-size: 1rem; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm { max-width: 640px; }
.container-lg { max-width: 1400px; }

/* ── Section spacing ── */
.section    { padding: 2rem 0; }
.section-lg { padding: 3.5rem 0; }

/* Compense la navbar sticky (76px) lors des scrolls vers une ancre */
[id] { scroll-margin-top: 80px; }

/* ── Pastille disponibilités (sous le hero) ── */

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}

.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.6; }
.empty-state h3 { color: var(--gray-800); margin-bottom: 0.5rem; font-size: 1.1rem; }
.empty-state p  { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 1.25rem 0;
}

/* ── Toast notification ── */
.toast-container {
  position: fixed;
  top: 80px;
  right: 1.5rem;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  pointer-events: none;
}

.toast {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.875rem 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
  font-size: 0.9rem;
  max-width: 340px;
  border-left: 4px solid var(--brand-blue-mid);
  pointer-events: all;
  animation: toastIn 0.3s ease forwards;
}

.toast.toast-success { border-left-color: #10B981; }
.toast.toast-error   { border-left-color: #e85555; }
.toast.toast-warning { border-left-color: #F59E0B; }
.toast.toast-out     { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

/* ── Animations homepage ── */

/* 1 — Entrée hero (fade-in + montée) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 2 — Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 3 — Vague SVG */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 72px; }

.wave-path-1 {
  transform-origin: 50% 100%;
  animation: waveRock 9s ease-in-out infinite;
}
.wave-path-2 {
  transform-origin: 50% 100%;
  animation: waveRock 6.5s ease-in-out infinite reverse;
}
@keyframes waveRock {
  0%, 100% { transform: scaleX(1)    translateX(0); }
  50%       { transform: scaleX(1.06) translateX(-2.5%); }
}

/* ── PAGE: index.html ── */
.hero {
  min-height: calc(100vh - 64px);
  background: linear-gradient(135deg, rgba(29,79,138,0.75) 0%, rgba(73,132,189,0.6) 50%, rgba(134,208,237,0.4) 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 3rem 2rem 5rem;
  gap: 0;
}

/* Le logo occupe la moitié supérieure du hero */
.hero-logo-zone {
  flex: 1;
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Le texte/CTA est ancré en bas */
.hero-content {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  width: 100%;
}

/* Zone météo — tout en bas */
.hero-weather-zone {
  flex: 0 0 auto;
  padding-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.hero-banner-logo {
  display: block;
  width: clamp(320px, 68%, 620px);
  height: auto;
  margin: 0 auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: center top;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.22));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.45rem 1.25rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
  font-family: 'Fredoka One', var(--font);
}

.hero h1 span {
  color: var(--brand-vanilla);
  text-shadow:
    -1px -1px 0 rgba(29,79,138,0.55),
     1px -1px 0 rgba(29,79,138,0.55),
    -1px  1px 0 rgba(29,79,138,0.55),
     1px  1px 0 rgba(29,79,138,0.55),
     0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background: var(--brand-vanilla);
  border-color: var(--brand-vanilla);
  color: var(--brand-blue-dark);
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(236,216,152,0.4);
}

.hero-actions .btn-primary:hover {
  background: #f5e4a0;
  border-color: #f5e4a0;
  color: var(--brand-blue-dark);
}

.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--white);
}

.features-section {
  background: rgba(236,216,152,0.18);
  backdrop-filter: blur(2px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

/* Comment ça fonctionne */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.how-step {
  text-align: center;
  padding: 1.25rem 0.75rem;
}

.how-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  font-family: 'Fredoka One', sans-serif;
}

.how-step h3 {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.how-step p {
  color: var(--gray-800);
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 { margin-bottom: 0.15rem; font-size: 0.875rem; font-weight: 600; }
.feature-card p  { color: var(--gray-800); font-size: 0.78rem; line-height: 1.45; margin: 0; text-wrap: balance; }

.pricing-section {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(2px);
}

/* Pricing grid — 3 slots */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .pricing-card--featured {
    transform: none;
  }
  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1d4f8a 0%, #4984bd 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.pricing-card--slot {
  max-width: 100%;
  padding: 2rem 1.5rem;
  position: relative;
  background: linear-gradient(135deg, #1d4f8a 0%, #4984bd 100%);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card--slot:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(29,79,138,0.35);
}

.pricing-card--featured {
  background: linear-gradient(135deg, #4984bd 0%, #86d0ed 60%, #ecd898 100%);
  transform: scale(1.04);
  z-index: 1;
  box-shadow: 0 20px 50px rgba(29,79,138,0.4);
}

.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-vanilla);
  color: var(--brand-blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* Badge exclusif matelas — journée entière */
.pricing-exclusive-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 10px rgba(217,119,6,0.40);
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.pricing-exclusive-badge svg {
  fill: #fef3c7;
  stroke: #fef3c7;
  flex-shrink: 0;
}
[data-theme="dark"] .pricing-exclusive-badge {
  background: linear-gradient(135deg, #b45309, #92400e);
  box-shadow: 0 3px 10px rgba(120,60,0,0.45);
}

.pricing-slot-badge {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: var(--brand-vanilla);
  font-family: 'Fredoka One', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-shadow:
    -1px -1px 0 rgba(29,79,138,0.6),
     1px -1px 0 rgba(29,79,138,0.6),
    -1px  1px 0 rgba(29,79,138,0.6),
     1px  1px 0 rgba(29,79,138,0.6),
     0 2px 6px rgba(0,0,0,0.25);
}

.pricing-slot-time {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.pricing-card .price-big {
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--brand-vanilla);
  line-height: 1;
  font-family: 'Fredoka One', sans-serif;
  text-shadow:
    -1px -1px 0 rgba(29,79,138,0.6),
     1px -1px 0 rgba(29,79,138,0.6),
    -1px  1px 0 rgba(29,79,138,0.6),
     1px  1px 0 rgba(29,79,138,0.6),
     0 3px 10px rgba(0,0,0,0.3);
}

.pricing-card .price-detail { color: rgba(255,255,255,0.7); margin: 0.5rem 0 1.5rem; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.95rem;
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--brand-vanilla);
  font-weight: 400;
  text-shadow:
    -1px -1px 0 rgba(29,79,138,0.5),
     1px -1px 0 rgba(29,79,138,0.5),
    -1px  1px 0 rgba(29,79,138,0.5),
     1px  1px 0 rgba(29,79,138,0.5);
}

/* ── Slot selector ── */
.slot-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slot-btn {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.875rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  font-family: inherit;
}

.slot-btn:hover {
  border-color: var(--brand-blue-mid);
  background: #f0f6fc;
}

.slot-btn.active {
  border-color: var(--brand-blue-mid);
  background: linear-gradient(135deg, rgba(29,79,138,0.06), rgba(73,132,189,0.1));
  box-shadow: 0 0 0 3px rgba(73,132,189,0.15);
}

.slot-btn--featured.active {
  border-color: var(--brand-blue-dark);
  background: linear-gradient(135deg, rgba(29,79,138,0.1), rgba(73,132,189,0.15));
}

.slot-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot-emoji svg { width: 1.4rem; height: 1.4rem; }
.pricing-slot-badge svg { width: 1.3rem; height: 1.3rem; vertical-align: middle; }

.slot-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--brand-blue-dark);
}

.slot-time {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.slot-price {
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-blue-dark);
  font-family: 'Fredoka One', sans-serif;
}

/* ── Mini-calendar ── */
.mini-calendar {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: white;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-blue-dark);
  color: white;
  padding: 0.6rem 0.75rem;
}
.cal-title {
  font-weight: 400;
  font-size: 0.92rem;
  font-family: 'Fredoka One', sans-serif;
  letter-spacing: 0.02em;
}
.cal-nav {
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  font-family: inherit;
}
.cal-nav:hover { background: rgba(255,255,255,0.3); }
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f0f6fc;
  border-bottom: 1px solid var(--gray-200);
}
.cal-weekdays span {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brand-blue-dark);
  padding: 0.4rem 0;
  text-transform: uppercase;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0.4rem;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  transition: all 0.15s;
  font-weight: 600;
}
.cal-day:hover:not(:disabled):not(.cal-day--selected) {
  background: #e8f3fc;
  color: var(--brand-blue-dark);
}
.cal-day--selected {
  background: var(--brand-blue-mid);
  color: white;
  font-weight: 600;
}
.cal-day--today:not(.cal-day--selected) {
  border: 2px solid var(--brand-blue-light);
  color: var(--brand-blue-dark);
}
.cal-day--other-month { color: var(--gray-300); }
.cal-day:disabled { color: var(--gray-300); cursor: not-allowed; }
.cal-day--empty { visibility: hidden; cursor: default; }
.cal-summary {
  padding: 0.5rem 0.75rem;
  background: #f0f6fc;
  font-size: 0.8rem;
  color: var(--brand-blue-dark);
  font-weight: 600;
  border-top: 1px solid var(--gray-200);
  min-height: 32px;
}

/* ── Payment method selector ── */
.payment-method-selector {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pay-method-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: var(--radius);
  background: white;
  color: var(--gray-700);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pay-method-btn svg { width: 16px; height: 16px; }

.pay-method-btn.active {
  border-color: var(--brand-blue-mid);
  background: rgba(73,132,189,0.08);
  color: var(--brand-blue-dark);
}

.on-site-notice {
  font-size: 0.8rem;
  color: var(--gray-800);
  background: #fef9ec;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

/* ── Stripe security badge ── */
.stripe-security-badge {
  background: linear-gradient(135deg, #f0f9f0, #e8f3e8);
  border: 1px solid #b7ddb7;
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: #2d6a4f;
  font-weight: 600;
  text-align: center;
  margin: 1rem 0;
}

/* ── Guest info modal ── */
.guest-hint {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* ── PAGE: reservation.html ── */
.reservation-flow {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 1.5rem 0;
  max-width: 960px;
  margin: 0 auto;
}

.res-step.date-picker-card,
.res-step.summary-card {
  max-width: 620px;
  width: 100%;
  align-self: center;
}

/* legacy alias */
.reservation-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.beach-map-container {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.beach-map-header {
  background: linear-gradient(135deg, #4984bd 0%, #86d0ed 100%);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.beach-map-legend {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.5rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.legend-dot.available  { background: #4ADE80; border: 2px solid #16A34A; }
.legend-dot.reserved   { background: #F87171; border: 2px solid #DC2626; }
.legend-dot.selected   { background: #FCD34D; border: 2px solid #D97706; }
.legend-dot.maintenance { background: #9CA3AF; border: 2px solid #6B7280; }

.beach-svg-wrapper {
  padding: 1.5rem 1rem;
  overflow: hidden;
}

/* Grille mobile */
.beach-mobile-grid {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 1.25rem;
}

.mobile-transat-btn {
  aspect-ratio: 1;
  border: none;
  border-radius: 12px;
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 52px;
}

.mobile-transat-btn.available    { background: #4ADE80; color: #14532d; }
.mobile-transat-btn.selected     { background: #FCD34D; color: #78350f; box-shadow: 0 0 0 3px #D97706; transform: scale(1.1); }
.mobile-transat-btn.reserved     { background: #F87171; color: #7f1d1d; opacity: 0.7; cursor: not-allowed; }
.mobile-transat-btn.maintenance  { background: #D1D5DB; color: #6B7280; opacity: 0.6; cursor: not-allowed; }

.mobile-transat-btn:not([disabled]):active { transform: scale(0.93); }

@media (max-width: 640px) {
  .beach-svg-wrapper { display: none; }
  .beach-mobile-grid { display: grid; }
}

/* SVG transat elements */
.transat-seat {
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}
.transat-seat:focus { outline: none; }
.transat-seat:focus-visible { outline: none; }

.transat-seat:hover .seat-bg {
  filter: brightness(1.1);
}

.transat-seat.available .seat-bg { fill: #4ADE80; stroke: #16A34A; }
.transat-seat.reserved  .seat-bg { fill: #F87171; stroke: #DC2626; cursor: not-allowed; }
.transat-seat.selected  .seat-bg { fill: #FCD34D; stroke: #D97706; }
.transat-seat.maintenance .seat-bg { fill: #9CA3AF; stroke: #6B7280; cursor: not-allowed; }

.transat-seat.available   .seat-head { fill: #22c55e; stroke: #15803d; stroke-width: 1.5; }
.transat-seat.reserved    .seat-head { fill: #ef4444; stroke: #b91c1c; stroke-width: 1.5; cursor: not-allowed; }
.transat-seat.selected    .seat-head { fill: #f59e0b; stroke: #b45309; stroke-width: 1.5; }
.transat-seat.maintenance .seat-head { fill: #6b7280; stroke: #374151; stroke-width: 1.5; cursor: not-allowed; }

.transat-seat .seat-bg {
  stroke-width: 1.5;
  rx: 5;
  transition: all 0.2s ease;
}

.transat-seat .seat-label {
  font-size: 10px;
  font-weight: 700;
  fill: rgba(255,255,255,0.92);
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35));
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.2s ease, font-size 0.2s ease;
}

.transat-seat:hover .seat-label {
  transform: scale(1.45);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.transat-seat.selected .seat-label {
  animation: labelPop 0.25s ease forwards, labelPulse 2s ease-in-out 0.25s infinite;
}

@keyframes labelPop {
  0%   { transform: scale(1); }
  60%  { transform: scale(1.8); }
  100% { transform: scale(1.55); }
}

@keyframes labelPulse {
  0%, 100% { transform: scale(1.55); }
  50%       { transform: scale(1.75); }
}

.beach-label {
  font-size: 12px;
  font-weight: 700;
  fill: var(--brand-blue-mid);
  text-anchor: middle;
}

.sea-decoration {
  fill: var(--turquoise-pale);
  stroke: var(--turquoise-light);
  stroke-width: 1;
}

/* Reservation sidebar */
.reservation-sidebar {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.date-picker-card {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.date-picker-card .card-header {
  background: var(--brand-blue-dark);
  color: var(--white);
  padding: 1rem 1.25rem;
}

.date-picker-card .card-header h3 { color: var(--white); font-size: 1rem; font-weight: 600; }

.date-picker-body { padding: 1.25rem; }

.summary-card {
  flex: 1;
  min-width: 300px;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.summary-card .card-header {
  background: linear-gradient(90deg, var(--brand-blue-mid), var(--brand-blue-light));
  color: var(--white);
  padding: 1rem 1.25rem;
}

.summary-card .card-header h3 { color: var(--white); font-size: 1rem; }

.summary-body { padding: 1.25rem; }

.selected-transats-list {
  list-style: none;
  margin-bottom: 1rem;
}

.selected-transats-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
}

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

.remove-transat-btn {
  background: none;
  border: none;
  color: #e85555;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.1rem;
  border-radius: 4px;
  transition: all var(--transition);
}
.remove-transat-btn:hover { background: #FEE2E2; color: #c03030; }

.price-breakdown {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.price-row.total {
  border-top: 2px solid var(--gray-300);
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-blue-dark);
}

.no-selection-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--gray-500);
}

.no-selection-state .no-sel-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.no-selection-state p { font-size: 0.875rem; }

/* ── PAGE: account.html ── */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem 0;
}

.account-sidebar {
  position: sticky;
  top: 80px;
}

.account-nav {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.account-nav-header {
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue-mid));
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.account-nav-header .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 0.75rem;
  color: var(--brand-blue-dark);
}

.account-nav-header .user-name { font-size: 1rem; font-weight: 700; }
.account-nav-header .user-email { font-size: 0.8rem; color: rgba(255,255,255,0.75); }

.account-nav-list { list-style: none; padding: 0.5rem; }

.account-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.account-nav-list li a:hover,
.account-nav-list li a.active {
  background: var(--turquoise-pale);
  color: var(--brand-blue-dark);
}

/* Auth modal on account page */
.auth-container {
  max-width: 460px;
  margin: 4rem auto;
}

/* ── PAGE: admin.html ── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 64px);
}

.admin-sidebar {
  background: var(--brand-blue-dark);
  color: var(--white);
  padding: 1.5rem 1rem;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}

.admin-sidebar .sidebar-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 1rem;
  font-family: 'Fredoka One', sans-serif;
}

.admin-nav { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }

.admin-nav li a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.7rem 0.875rem;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.admin-nav li a:hover,
.admin-nav li a.active {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}

.admin-main {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  padding: 2rem;
  overflow-y: auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.admin-section { display: none; }
.admin-section.active { display: block; }

.filter-bar {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.95);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.filter-bar .form-group { margin-bottom: 0; }

/* Transat grid for admin */
.transats-admin-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.transat-admin-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  min-height: 48px;
  padding: 4px;
}

.transat-admin-cell.available  { background: #D1FAE5; color: #065F46; border-color: #A7F3D0; }
.transat-admin-cell.maintenance { background: #F3F4F6; color: #6B7280; border-color: #D1D5DB; }
.transat-admin-cell.reserved   { background: #FEE2E2; color: #991B1B; border-color: #FECACA; }
.transat-admin-cell:hover { transform: scale(1.05); box-shadow: var(--shadow-sm); }

/* Admin login page */
.admin-login-container {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(29,79,138,0.6) 0%, rgba(73,132,189,0.4) 100%);
}

/* ── Messaging ── */
.msg-thread {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 420px;
  overflow-y: auto;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  scroll-behavior: smooth;
}
.msg-thread:empty::after {
  content: 'Aucun message pour l\'instant.';
  display: block;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
  padding: 1.5rem 0;
}
.msg-bubble {
  max-width: 72%;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  word-break: break-word;
}
.msg-bubble.msg-client {
  align-self: flex-end;
  background: var(--brand-blue-mid);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-bubble.msg-admin {
  align-self: flex-start;
  background: #fff;
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 4px;
}
.msg-bubble .msg-meta {
  font-size: 0.72rem;
  opacity: 0.65;
  margin-top: 0.25rem;
  text-align: right;
}
.msg-bubble.msg-admin .msg-meta { text-align: left; }
.msg-compose {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.msg-compose textarea {
  flex: 1;
  resize: none;
  min-height: 68px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.msg-compose textarea:focus { outline: none; border-color: var(--brand-blue-mid); }
.msg-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 100px;
  padding: 0 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.msg-conv-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.15s;
}
.msg-conv-item:hover, .msg-conv-item.active { background: #f0f6fc; }
.msg-conv-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-blue-mid);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 700;
  flex-shrink: 0;
}
.msg-conv-name { font-weight: 600; font-size: 0.9rem; color: var(--gray-900); }
.msg-conv-preview { font-size: 0.78rem; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.msg-conv-time { font-size: 0.72rem; color: var(--gray-400); margin-left: auto; white-space: nowrap; }

/* ── Footer ── */
footer {
  background: #1d4f8a;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .reservation-sidebar {
    flex-direction: column;
  }

  .date-picker-card {
    flex: none;
    width: 100%;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    gap: 0.5rem;
  }

  .admin-sidebar .sidebar-logo { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-main { padding: 1.25rem; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .navbar-nav { display: none; }
  .navbar-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--brand-blue-dark);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .menu-toggle { display: block; }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    border-radius: var(--radius);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 0.5rem;
  }
  .account-sidebar .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.5rem;
  }
  .account-sidebar .sidebar-nav li { margin: 0; }
  .account-sidebar .sidebar-nav a {
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    font-size: 0.82rem;
    display: inline-block;
  }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

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

  .transats-admin-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .filter-bar { flex-direction: column; }
  .filter-bar .form-group { width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .reservation-meta { grid-template-columns: 1fr 1fr; }
}

/* ── Nav PRO logo ── */
.nav-pro-link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  opacity: 0.88;
  transition: opacity 0.2s;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}
.nav-pro-link:hover {
  opacity: 1;
}
.nav-pro-img {
  height: 44px;
  width: auto;
  display: block;
  min-width: 30px;
}

/* ── Language toggle ── */
.btn-lang-toggle {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  font-weight: 600;
}
.btn-lang-toggle:hover {
  background: rgba(255,255,255,0.25);
}

/* ── Beach management cards (account admin view) ── */
.beach-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
}
.beach-stat--confirmed { background: #d1fae5; color: #065f46; }
.beach-stat--pending   { background: #fef3c7; color: #92400e; }
.beach-stat--cancelled { background: #fee2e2; color: #991b1b; }
.beach-stat--revenue   { background: #dbeafe; color: #1e40af; }

.beach-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}
.beach-card {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  border-left: 3px solid #4984bd;
  background: rgba(255,255,255,0.95);
  transition: background 0.12s;
}
.beach-card:last-child { border-bottom: none; }
.beach-card:hover { background: #f0f9ff; }
.beach-card.status-pending  { border-left-color: #f59e0b; }
.beach-card.status-cancelled { border-left-color: #ef4444; opacity: 0.6; }

.beach-card-id {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-align: center;
  line-height: 1.2;
}
.beach-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.beach-card-row1 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.beach-card-name  {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1d4f8a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.beach-card-row2 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #6b7280;
}
.beach-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  white-space: nowrap;
}
.beach-card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1d4f8a;
}
.beach-action-btn {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  border: none;
  white-space: nowrap;
}
.beach-search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.beach-search-bar input {
  flex: 1;
  padding: 0.5rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: inherit;
  background: rgba(255,255,255,0.95);
}
.beach-search-bar input:focus {
  outline: none;
  border-color: #4984bd;
  box-shadow: 0 0 0 3px rgba(73,132,189,0.12);
}
.beach-no-results {
  text-align: center;
  padding: 1.5rem;
  color: #9ca3af;
  font-size: 0.88rem;
}

/* ════════════════════════════════════════════════
   ADMIN BACK-OFFICE
════════════════════════════════════════════════ */

/* ── Base ── */
.admin-body {
  background: #f3f4f6;
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
}

/* ── Login screen ── */
.admin-login-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, #1d4f8a 0%, #4984bd 55%, #86d0ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-login-card {
  background: white;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.admin-login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

/* ── Top bar ── */
.admin-topbar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.admin-topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-topbar-sep {
  color: #d1d5db;
  font-size: 1.2rem;
}
.admin-topbar-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #374151;
  letter-spacing: 0.5px;
}
.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-topbar-user {
  font-size: 0.82rem;
  color: #6b7280;
}

/* ── Layout: sidebar + main ── */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 56px);
}

/* ── Sidebar ── */
.admin-sidebar {
  width: 220px;
  background: #1d4f8a;
  flex-shrink: 0;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
}
.admin-sidebar-nav {
  padding: 1rem 0;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.25rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.admin-nav-link:hover {
  color: white;
  background: rgba(255,255,255,0.1);
  border-left-color: rgba(134,208,237,0.6);
}
.admin-nav-link.active {
  color: white;
  background: rgba(255,255,255,0.15);
  border-left-color: #86d0ed;
  font-weight: 700;
}

/* ── Main content ── */
.admin-main {
  flex: 1;
  padding: 1.75rem;
  overflow-y: auto;
  min-width: 0;
}

/* ── Section header ── */
.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.admin-section-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1d4f8a;
  margin: 0;
}

/* ── Cards ── */
.admin-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  overflow: hidden;
}
.admin-card-header {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}
.admin-card-header h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #374151;
}

/* ── KPI grid ── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.kpi-card {
  background: white;
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-left: 4px solid var(--kpi-color, #86d0ed);
  display: flex;
  flex-direction: column;
}
.kpi-icon {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.kpi-value {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1d4f8a;
  line-height: 1.1;
}
.kpi-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.3rem;
  font-weight: 500;
}

/* ── Admin table ── */
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.admin-table th {
  background: #f9fafb;
  padding: 0.7rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}
.admin-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  color: #374151;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f9fafb; }
.admin-table tfoot td {
  padding: 0.7rem 1rem;
  border-top: 2px solid #e5e7eb;
}
.admin-td-empty {
  text-align: center;
  padding: 2rem !important;
  color: #9ca3af;
}

/* ── Badges ── */
.badge-success   { background: #d1fae5; color: #065f46; }
.badge-warning   { background: #fef3c7; color: #92400e; }
.badge-danger    { background: #fee2e2; color: #991b1b; }
.badge-gray      { background: #f3f4f6; color: #374151; }
.badge-coral     { background: #ffe4e6; color: #9f1239; }
.badge-morning   { background: #dbeafe; color: #1e40af; }
.badge-afternoon { background: #ede9fe; color: #5b21b6; }
.badge-full-day  { background: #fef3c7; color: #92400e; }

/* ── Buttons: extra small ── */
.btn-xs {
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  border: 1px solid #d1d5db;
  background: white;
  transition: all 0.15s;
}
.btn-xs.btn-outline:hover { background: #f3f4f6; }
.btn-xs.btn-primary { background: #1d4f8a; color: white; border-color: #1d4f8a; }
.btn-xs.btn-primary:hover { background: #4984bd; }

/* ── Filters bar ── */
.admin-filters {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  background: white;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.form-control-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  background: white;
  color: #374151;
}
.form-control-sm:focus {
  outline: none;
  border-color: #4984bd;
  box-shadow: 0 0 0 3px rgba(73,132,189,0.12);
}

/* ── Pagination ── */
.admin-pagination {
  padding: 0.9rem 1.25rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  border-top: 1px solid #f3f4f6;
}

/* ── Calendar ── */
.admin-cal-label {
  font-weight: 700;
  font-size: 1rem;
  min-width: 180px;
  text-align: center;
  display: inline-block;
  color: #1d4f8a;
}
.admin-cal-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-cal-grid {
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  overflow: hidden;
}
.admin-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #1d4f8a;
}
.admin-cal-weekdays span {
  padding: 0.6rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e5e7eb;
}
.admin-cal-day {
  background: white;
  min-height: 88px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  transition: background 0.12s;
  position: relative;
}
.admin-cal-day.empty {
  background: #f9fafb;
  cursor: default;
  min-height: 88px;
}
.admin-cal-day.has-res { cursor: pointer; }
.admin-cal-day:not(.empty):hover { background: #f0f9ff !important; }
.admin-cal-day.selected { outline: 2px solid #4984bd; z-index: 1; }
.admin-cal-day.today .day-num {
  color: #1d4f8a;
  font-weight: 800;
  background: #dbeafe;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.day-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
}
.day-res-count {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  color: #065f46;
  background: #d1fae5;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  display: inline-block;
  font-weight: 600;
}
.day-revenue {
  font-size: 0.7rem;
  color: #1d4f8a;
  font-weight: 700;
  margin-top: 0.2rem;
  display: block;
}

/* ── Day detail panel ── */
.admin-day-detail {
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #4984bd;
}

/* ── Accounting ── */
.accounting-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.accounting-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.slot-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.slot-breakdown-card {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  text-align: center;
}
.accounting-chart-wrap {
  background: white;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

/* ── Responsive admin ── */
@media (max-width: 900px) {
  .admin-sidebar { width: 56px; }
  .admin-nav-link span:last-child { display: none; }
  .admin-nav-link { justify-content: center; padding: 0.8rem; }
  .slot-breakdown { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-main { padding: 1rem; }
  .admin-section-header { flex-direction: column; align-items: flex-start; }
  .accounting-controls { flex-direction: column; align-items: flex-start; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Admin topbar responsive ── */
@media (max-width: 1024px) {
  .admin-topbar { padding: 0 1rem; gap: 0.5rem; }
  .admin-topbar-right { gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
  .admin-topbar-user { display: none; }
}
@media (max-width: 640px) {
  .admin-topbar { height: auto; min-height: 52px; padding: 0.5rem 0.75rem; flex-wrap: wrap; gap: 0.4rem; }
  .admin-topbar-brand { flex: 1; }
  .admin-topbar-right { width: 100%; justify-content: flex-end; flex-wrap: wrap; gap: 0.35rem; }
  .admin-topbar-sep, .admin-topbar-title { display: none; }
}

/* ── Extras / Options supplémentaires ── */
.extras-section {
  border-top: 1px solid var(--gray-200);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}
.extras-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
}
.extras-unit {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 400;
}
.extras-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.extra-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: white;
  font-size: 0.82rem;
  transition: border-color 0.15s, background 0.15s;
}
.extra-item:hover {
  border-color: var(--brand-blue-mid);
  background: rgba(134, 208, 237, 0.06);
}
.extra-item--active {
  border-color: var(--brand-blue-mid);
  background: rgba(134, 208, 237, 0.12);
}
.extra-emoji { font-size: 1rem; flex-shrink: 0; }
.extra-name  { flex: 1; color: var(--gray-700); font-weight: 500; }

/* Contrôles +/- quantité */
.extra-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.extra-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  border: 1.5px solid #93c5fd;
  background: #dbeafe;
  color: #1d4f8a;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: background 0.12s;
}
.extra-qty-btn:hover:not(:disabled) { background: #bfdbfe; }
.extra-qty-btn:disabled { opacity: 0.32; cursor: default; }
.extra-qty-val {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-blue-dark);
}

.extra-price {
  font-weight: 700;
  color: var(--brand-blue-dark);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE — Thème crépuscule doré (épuré)
   Palette : ambre désaturé, crème chaude, bruns profonds
   ═══════════════════════════════════════════════════════════ */

/* Palette : coucher de soleil aux Antilles
   Fond      : #1c1814  (gris-charbon chaud — pas noir)
   Texte     : #ead8b2  (sable crème chaud)
   Titres    : #d4783c  (corail horizon)
   Or        : #e8a040  (ciel doré)
   Violet    : #3d2060  (crépuscule)
   Bordures  : rgba(210,130,60,0.20)
*/

/* ── Bouton de bascule ── */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  padding: 0.35rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}
.theme-toggle:hover { color: #fff; background: rgba(255,255,255,0.1); }
[data-theme="dark"] .theme-toggle { color: #d4a855; }

/* ── Grains de sable — effet "carte passée dans le sable" ── */

/* Pricing cards : le sand-strip gère son propre clipping (overflow:hidden + border-radius) */

.sand-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.sand-strip svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
}


/* Dark mode : le sable SVG est légèrement assombri et désaturé */
[data-theme="dark"] .sand-strip svg {
  filter: saturate(0.65) brightness(0.70) hue-rotate(6deg);
}

/* Dark mode — vague plus chaude */
[data-theme="dark"] .wave-path-1 { fill: rgba(28,24,20,0.55); }
[data-theme="dark"] .wave-path-2 { fill: rgba(28,24,20,0.35); }

[data-theme="dark"] .theme-toggle:hover { color: #e8c97e; background: rgba(212,168,85,0.1); }

/* ── Variables ── */
[data-theme="dark"] {
  --brand-blue-dark:  #c4623a;
  --brand-blue-mid:   #d4783c;
  --brand-blue-light: #e8b878;
  --brand-vanilla:    #e8a040;
  --turquoise:        #ead8b2;
  --turquoise-dark:   #d4783c;
  --turquoise-light:  rgba(210,130,60,0.28);
  --turquoise-pale:   rgba(210,130,60,0.10);
  --beige:            #e8a040;
  --beige-dark:       #d4783c;
  --gray-800: #ead8b2;
  --gray-700: #d4bc90;
  --gray-600: #b89668;
  --gray-500: #96724a;
  --gray-400: #604030;
  --gray-300: #3e2a1e;
  --gray-200: #2c1e14;
  --gray-100: #221610;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.45);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.45);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-xl: 0 16px 40px rgba(0,0,0,0.55);
}

/* Fond gris-charbon chaud (pas noir) */
[data-theme="dark"] body { color: #ead8b2; background: #1c1814; }

/* ── Overlay fond photo ── */
[data-theme="dark"] .bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(80,35,60,0.20)  0%,
    rgba(28,24,20,0.62)  42%,
    rgba(28,24,20,0.80)  100%
  );
}

/* ── Scrollbar ── */
[data-theme="dark"] ::-webkit-scrollbar-track { background: #221610; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #7a5035; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #c4623a; }

/* ── Typographie ── */
[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3,
[data-theme="dark"] h4,[data-theme="dark"] h5,[data-theme="dark"] h6 { color: #d4783c; }
[data-theme="dark"] a { color: #d4783c; }
[data-theme="dark"] a:hover { color: #e8a040; }

/* ── Navbar principale ── */
[data-theme="dark"] .navbar {
  background: rgba(22,18,14,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
[data-theme="dark"] .navbar-nav a.btn-nav-cta {
  background: #c4623a; color: #fff; border-color: #c4623a;
}
[data-theme="dark"] .navbar-nav a.btn-nav-cta:hover {
  background: #a8522e; color: #fff;
}

/* ── Hero ── */
[data-theme="dark"] .hero {
  background: linear-gradient(135deg,
    rgba(65,22,55,0.55)  0%,
    rgba(160,60,30,0.42) 52%,
    rgba(200,110,30,0.25) 100%
  );
}
[data-theme="dark"] .hero h1 span {
  color: #e8a040;
  text-shadow:
    -1px -1px 0 rgba(100,40,20,0.5),
     1px -1px 0 rgba(100,40,20,0.5),
    -1px  1px 0 rgba(100,40,20,0.5),
     1px  1px 0 rgba(100,40,20,0.5),
     0 2px 8px rgba(0,0,0,0.38);
}
[data-theme="dark"] .hero-actions .btn-primary {
  background: #c4623a; border-color: #c4623a; color: #fff;
  box-shadow: 0 4px 18px rgba(196,98,58,0.32);
}
[data-theme="dark"] .hero-actions .btn-primary:hover {
  background: #a8522e; border-color: #a8522e; color: #fff;
}

/* ── Sections ── */
[data-theme="dark"] .features-section { background: rgba(26,22,17,0.80); }
[data-theme="dark"] .pricing-section  { background: rgba(22,18,14,0.72); }
[data-theme="dark"] .section-lg[style*="rgba(236,216,152"] {
  background: rgba(26,22,17,0.80) !important;
}

/* ── Feature cards ── */
[data-theme="dark"] .feature-card {
  background: rgba(38,30,22,0.88);
  border: 1px solid rgba(210,130,60,0.16);
}
[data-theme="dark"] .feature-card:hover {
  background: rgba(50,38,28,0.94);
  border-color: rgba(210,130,60,0.28);
}
[data-theme="dark"] .feature-card p { color: #d4bc90; }

/* ── Pricing cards — ciel coucher de soleil (violet → corail → or) ── */
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .pricing-card--slot {
  background: linear-gradient(145deg, #2d1838 0%, #7a3028 55%, #a85830 100%);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
[data-theme="dark"] .pricing-card--slot:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.42);
}
[data-theme="dark"] .pricing-card--featured {
  background: linear-gradient(145deg, #3d2050 0%, #9a3830 42%, #c4623a 72%, #d4903a 100%);
}

/* ── "Comment ça marche" steps ── */
[data-theme="dark"] .how-step p { color: #d4bc90; }

/* ── Cartes génériques ── */
[data-theme="dark"] .card {
  background: rgba(36,28,20,0.92);
  border: 1px solid rgba(210,130,60,0.14);
}
[data-theme="dark"] .card-header { border-bottom-color: rgba(210,130,60,0.14); }
[data-theme="dark"] .card-header h2,[data-theme="dark"] .card-header h3 { color: #d4783c; }
[data-theme="dark"] .card-footer {
  background: rgba(26,20,14,0.60);
  border-top-color: rgba(210,130,60,0.14);
}

/* ── Formulaires ── */
[data-theme="dark"] .form-control {
  background: rgba(30,22,15,0.90);
  border-color: rgba(210,130,60,0.26);
  color: #ead8b2;
}
[data-theme="dark"] .form-control:focus {
  border-color: #c4623a;
  box-shadow: 0 0 0 3px rgba(196,98,58,0.15);
}
[data-theme="dark"] .form-control::placeholder { color: #604030; }
[data-theme="dark"] .form-label  { color: #d4783c; }
[data-theme="dark"] .form-hint   { color: #96724a; }
[data-theme="dark"] select.form-control option { background: #221610; color: #ead8b2; }

/* ── Boutons ── */
[data-theme="dark"] .btn-primary {
  background: #c4623a; border-color: #c4623a; color: #fff;
}
[data-theme="dark"] .btn-primary:hover:not(:disabled) {
  background: #a8522e; border-color: #a8522e;
  box-shadow: 0 4px 12px rgba(196,98,58,0.35);
}
[data-theme="dark"] .btn-outline { color: #d4783c; border-color: #d4783c; }
[data-theme="dark"] .btn-outline:hover:not(:disabled) { background: rgba(210,130,60,0.10); }
[data-theme="dark"] .btn-ghost  { color: #ead8b2; border-color: rgba(210,130,60,0.28); }
[data-theme="dark"] .btn-ghost:hover:not(:disabled) { background: rgba(210,130,60,0.08); }
[data-theme="dark"] .btn:disabled { background: #2c1e14 !important; border-color: #2c1e14 !important; color: #604030 !important; }

/* ── Tabs ── */
[data-theme="dark"] .tabs { border-bottom-color: rgba(210,130,60,0.18); }
[data-theme="dark"] .tab-btn { color: #96724a; }
[data-theme="dark"] .tab-btn:hover { color: #d4783c; }
[data-theme="dark"] .tab-btn.active { color: #e8a040; border-bottom-color: #c4623a; }
[data-theme="dark"] .tab-pane { color: #ead8b2; }

/* ── Modal ── */
[data-theme="dark"] .modal { background: rgba(28,22,16,0.98); }
[data-theme="dark"] .modal-close { color: #96724a; }
[data-theme="dark"] .modal-close:hover { color: #d4783c; }
[data-theme="dark"] .modal-overlay { background: rgba(0,0,0,0.65); }

/* ── Toasts ── */
[data-theme="dark"] .toast {
  background: rgba(30,24,18,0.97);
  color: #ead8b2;
  border-left-color: #c4623a;
}

/* ── Badges ── */
[data-theme="dark"] .badge-gray  { background: rgba(210,130,60,0.12); color: #d4783c; }
[data-theme="dark"] .badge-info  { background: rgba(210,130,60,0.12); color: #d4783c; }
[data-theme="dark"] .badge-coral { background: rgba(210,130,60,0.14); color: #e8a040; border-color: rgba(210,130,60,0.28); }

/* ── Divider ── */
[data-theme="dark"] .divider { border-top-color: rgba(210,130,60,0.15); }

/* ── Spinner / loading ── */
[data-theme="dark"] .spinner { border-color: rgba(210,130,60,0.22); border-top-color: #c4623a; }
[data-theme="dark"] .loading-overlay { background: rgba(28,24,20,0.92); color: #d4783c; }

/* ── Admin topbar ── */
[data-theme="dark"] .admin-topbar {
  background: rgba(22,18,14,0.98) !important;
  border-bottom: 1px solid rgba(210,130,60,0.18) !important;
}
[data-theme="dark"] .admin-topbar-title { color: #d4783c !important; }

/* ── Admin cards & tables ── */
[data-theme="dark"] .admin-card {
  background: rgba(32,26,19,0.94) !important;
  border: 1px solid rgba(210,130,60,0.14) !important;
}
[data-theme="dark"] .admin-card-header {
  background: rgba(26,20,14,0.80) !important;
  border-bottom: 1px solid rgba(210,130,60,0.14) !important;
}
[data-theme="dark"] .admin-card-header h3 { color: #d4783c !important; }
[data-theme="dark"] .admin-table th { background: rgba(26,20,14,0.80); color: #d4783c; border-color: rgba(210,130,60,0.14); }
[data-theme="dark"] .admin-table td { border-bottom-color: rgba(210,130,60,0.10); color: #ead8b2; }
[data-theme="dark"] .admin-table tr:hover td { background: rgba(210,130,60,0.05); }
[data-theme="dark"] .admin-table tfoot td { background: rgba(22,16,11,0.60); border-top-color: rgba(210,130,60,0.18); }

/* ── Admin body bg ── */
[data-theme="dark"] .admin-body,
[data-theme="dark"] body[style*="background:#f8fafc"],
[data-theme="dark"] body[style*="background: #f8fafc"] { background: #1c1814 !important; }
[data-theme="dark"] div[style*="background:#f8fafc"],
[data-theme="dark"] div[style*="background: #f8fafc"] { background: #1c1814 !important; }

/* ── Stat cards (dashboard) ── */
[data-theme="dark"] .stat-card { background: rgba(32,26,19,0.94); border: 1px solid rgba(210,130,60,0.14); }

/* ── Footer ── */
[data-theme="dark"] footer,
[data-theme="dark"] footer[style*="background: #1d4f8a"],
[data-theme="dark"] footer[style*="background:#1d4f8a"] {
  background: #1c1814 !important;
  border-top: 1px solid rgba(210,130,60,0.18) !important;
}

/* ── Inputs date/select spécifiques ── */
[data-theme="dark"] input[type="date"],
[data-theme="dark"] input[type="time"],
[data-theme="dark"] input[type="number"] {
  color-scheme: dark;
  background: rgba(30,22,15,0.90);
  border-color: rgba(210,130,60,0.26);
  color: #ead8b2;
}

/* ════════════════════════════════════════════════════════
   Page Réservation — dark mode
   ════════════════════════════════════════════════════════ */

/* Corps de cartes (blanc → sombre, légèrement éclairci) */
[data-theme="dark"] .date-picker-card,
[data-theme="dark"] .summary-card {
  background: rgba(58,44,28,0.88);
  border: 1px solid rgba(210,130,60,0.18);
}
[data-theme="dark"] .beach-map-container {
  background: rgba(54,40,24,0.88);
  border: 1px solid rgba(210,130,60,0.18);
}

/* Headers avec fond coral/orange → texte crème, PAS orange sur orange */
[data-theme="dark"] .date-picker-card .card-header h3,
[data-theme="dark"] .summary-card .card-header h3 {
  color: #ead8b2;
}

/* Sélecteur de créneau */
[data-theme="dark"] .slot-btn {
  background: rgba(28,22,14,0.90);
  border-color: rgba(210,130,60,0.22);
  color: #ead8b2;
}
[data-theme="dark"] .slot-btn:hover {
  background: rgba(210,130,60,0.10);
  border-color: rgba(210,130,60,0.45);
}
[data-theme="dark"] .slot-btn.active {
  background: rgba(196,98,58,0.18);
  border-color: #c4623a;
  box-shadow: 0 0 0 3px rgba(196,98,58,0.18);
}
[data-theme="dark"] .slot-time  { color: #96724a; }
[data-theme="dark"] .slot-price { color: #e8a040; }

/* Calendrier */
[data-theme="dark"] .cal-summary {
  background: rgba(28,22,14,0.80);
  color: #d4783c;
}
[data-theme="dark"] .cal-day { color: #ead8b2; }
[data-theme="dark"] .cal-day:hover:not(:disabled):not(.cal-day--selected) {
  background: rgba(210,130,60,0.12);
  color: #e8a040;
}
[data-theme="dark"] .cal-day--today:not(.cal-day--selected) {
  border-color: #c4623a;
  color: #e8a040;
}
[data-theme="dark"] .cal-day--other-month,
[data-theme="dark"] .cal-day:disabled { color: rgba(100,72,50,0.55); }

/* Options supplémentaires */
[data-theme="dark"] .extra-item {
  background: rgba(28,22,14,0.90);
  border-color: rgba(210,130,60,0.22);
}
[data-theme="dark"] .extra-item:hover {
  background: rgba(210,130,60,0.08);
  border-color: rgba(210,130,60,0.42);
}
[data-theme="dark"] .extra-item--active {
  background: rgba(196,98,58,0.16);
  border-color: #c4623a;
}
[data-theme="dark"] .extra-name  { color: #ead8b2; }
[data-theme="dark"] .extra-price { color: #e8a040; }
[data-theme="dark"] .extra-qty-btn {
  border-color: rgba(210,130,60,0.45);
  background: rgba(210,130,60,0.14);
  color: #e8a040;
}
[data-theme="dark"] .extra-qty-btn:hover:not(:disabled) { background: rgba(210,130,60,0.26); }
[data-theme="dark"] .extra-qty-val { color: #e8a040; }

/* Boutons mode de paiement */
[data-theme="dark"] .pay-method-btn {
  background: rgba(28,22,14,0.90);
  border-color: rgba(210,130,60,0.22);
  color: #96724a;
}
[data-theme="dark"] .pay-method-btn:hover {
  background: rgba(210,130,60,0.10);
  border-color: rgba(210,130,60,0.42);
  color: #d4783c;
}
[data-theme="dark"] .pay-method-btn.active {
  background: rgba(196,98,58,0.16);
  border-color: #c4623a;
  color: #ead8b2;
}

/* Notice paiement sur place */
[data-theme="dark"] .on-site-notice {
  background: rgba(40,28,10,0.80);
  border-color: rgba(210,130,60,0.30);
  color: #c8a870;
}

/* Badge sécurité Stripe */
[data-theme="dark"] .stripe-security-badge {
  background: rgba(18,32,18,0.70);
  border-color: rgba(80,140,80,0.30);
  color: #8ab890;
}

/* ── Bandeau cookies ── */
/* ── Bandeau cookies (carte flottante) ── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 320px;
  background: var(--surface, #fff);
  color: var(--gray-800);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  z-index: 9999;
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid var(--gray-200, #e8eaed);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
}
#cookie-banner.hidden {
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
}
#cookie-banner-icon {
  width: 36px;
  height: 36px;
  background: rgba(29,79,138,0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}
#cookie-banner-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900, #202124);
  margin: 0 0 0.4rem;
}
#cookie-banner-text {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--gray-600, #80868b);
  margin: 0 0 1.1rem;
}
#cookie-banner-text a {
  color: var(--primary, #1d4f8a);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
}
#cookie-banner-accept {
  flex: 1;
  background: var(--primary, #1d4f8a);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
#cookie-banner-accept:hover  { background: #1a4275; }
#cookie-banner-accept:active { transform: scale(0.97); }
#cookie-banner-decline {
  background: transparent;
  color: var(--gray-500, #9aa0a6);
  border: 1px solid var(--gray-200, #e8eaed);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
#cookie-banner-decline:hover { border-color: var(--gray-400, #bdc1c6); color: var(--gray-700, #5f6368); }

/* Responsive : pleine largeur sur mobile */
@media (max-width: 420px) {
  #cookie-banner {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 0.75rem;
  }
}

/* Mode sombre */
[data-theme="dark"] #cookie-banner {
  background: #1e2b3a;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.85);
}
[data-theme="dark"] #cookie-banner-title  { color: rgba(255,255,255,0.92); }
[data-theme="dark"] #cookie-banner-text   { color: rgba(255,255,255,0.55); }
[data-theme="dark"] #cookie-banner-text a { color: #86d0ed; }
[data-theme="dark"] #cookie-banner-icon   { background: rgba(134,208,237,0.1); }
[data-theme="dark"] #cookie-banner-decline {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
}
[data-theme="dark"] #cookie-banner-decline:hover {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.65);
}
