/* ============================================================
   Villa Carqueiranne — feuille de style principale
   Palette : terracotta / bleu mediterranée / sable / crème
   ============================================================ */

:root {
  --terracotta: #c1613f;
  --terracotta-dark: #9c4a2e;
  --sea: #1b3a4b;
  --sea-light: #2e5c73;
  --sand: #e8ddd0;
  --cream: #faf6f0;
  --white: #ffffff;
  --ink: #26221d;
  --ink-soft: #5c554c;
  --border: #e4dcd0;
  --radius-lg: 18px;
  --radius-md: 10px;
  --shadow: 0 12px 30px rgba(38, 34, 29, 0.08);
  --shadow-hover: 0 18px 40px rgba(38, 34, 29, 0.14);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--sea);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--sea);
  color: var(--sea);
}
.btn-outline:hover { background: var(--sea); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--sea);
}
.btn-light:hover { background: var(--sand); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sea);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}
.logo span { color: var(--terracotta); }
.logo img { height: 42px; width: auto; display: block; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
nav.main-nav a:hover { color: var(--terracotta); }
nav.main-nav a.btn-primary,
nav.main-nav a.btn-primary:hover { color: var(--white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sea);
}

.nav-lang {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sea);
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 3px 7px;
}
.nav-lang:hover { color: var(--terracotta); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--sea);
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--sea) 0%, var(--sea-light) 55%, #3c6e83 100%);
  overflow: hidden;
}

.hero.has-photo {
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(27,58,75,0.88) 0%, rgba(27,58,75,0.55) 45%, rgba(27,58,75,0.25) 100%);
}

.hero:not(.has-photo)::after {
  background:
    radial-gradient(circle at 15% 20%, rgba(193,97,63,0.35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.08), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 0;
}

.hero .eyebrow { color: #f0c9b8; }
.hero h1, .hero p { color: var(--white); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 520px; }

.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* barre de recherche de dates */
.search-bar {
  margin-top: 40px;
  background: var(--white);
  border-radius: 100px;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--shadow);
  flex-wrap: nowrap;
  max-width: 100%;
}
.search-field {
  display: flex;
  flex: 0 0 148px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 18px;
  min-width: 0;
  overflow: hidden;
}
.search-field.is-narrow { flex-basis: 120px; }
.search-field label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  white-space: nowrap;
}
.search-field input {
  border: none;
  background: transparent;
  padding: 2px 0;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
.search-field input:focus { outline: none; }
.search-divider { width: 1px; align-self: stretch; background: var(--border); margin: 10px 0; flex-shrink: 0; }
.search-bar .btn { border-radius: 100px; flex-shrink: 0; white-space: nowrap; margin-left: 6px; }

/* champs date / nombre - style unifie */
input.date-input,
input[type="number"] {
  cursor: pointer;
}
input.date-input:focus,
input[type="number"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(193, 97, 63, 0.15);
}

/* ---------- Calendrier flatpickr (theme maison) ---------- */

.flatpickr-calendar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  font-family: 'Inter', sans-serif;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after { display: none; }
.flatpickr-months { padding: 14px 14px 4px; }
.flatpickr-months .flatpickr-month { color: var(--sea); fill: var(--sea); }
.flatpickr-current-month {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--sea);
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after { border-bottom-color: var(--sea); }
.flatpickr-current-month .numInputWrapper span.arrowDown:after { border-top-color: var(--sea); }
.flatpickr-prev-month, .flatpickr-next-month {
  fill: var(--terracotta) !important;
  color: var(--terracotta) !important;
}
.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg { fill: var(--terracotta-dark) !important; }
span.flatpickr-weekday {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.flatpickr-day {
  border-radius: var(--radius-md);
  color: var(--ink);
}
.flatpickr-day.today { border-color: var(--terracotta); }
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: var(--sand);
  border-color: var(--sand);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: var(--text-muted, #b4b2a9);
  opacity: 0.5;
}
.flatpickr-day.selected.today { border-color: var(--terracotta); }
.numInputWrapper:hover { background: transparent; }
.flatpickr-input.form-control, input.date-input {
  background-color: var(--white);
}

/* petite page hero (villas / contact) */
.page-hero {
  min-height: 46vh;
  background: linear-gradient(160deg, var(--sea) 0%, var(--sea-light) 70%);
}
.page-hero .hero-content { padding: 40px 0; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.95); font-weight: 600; }

/* ---------- Placeholders image (a remplacer par de vraies photos) ---------- */

.img-placeholder {
  background: linear-gradient(135deg, var(--sand), #d8c9b4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-soft);
  text-align: center;
  padding: 20px;
}
.img-placeholder svg { width: 34px; height: 34px; opacity: 0.5; }
.img-placeholder span { font-size: 0.78rem; font-weight: 500; opacity: 0.7; }

/* ---------- Sections generales ---------- */

section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--white); }

.section-head {
  max-width: 640px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-head.left { margin: 0 0 50px; text-align: left; }

/* ---------- Grille villas (accueil) ---------- */

.villa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.villa-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.villa-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.villa-card .img-placeholder { border-radius: 0; height: 240px; }
.villa-card-photo { width: 100%; height: 240px; object-fit: cover; }
.villa-card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.villa-card-body h3 { margin: 0; }
.villa-tagline { font-size: 0.9rem; color: var(--terracotta); font-weight: 600; margin-bottom: -6px; }

.villa-facts {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.villa-facts span { display: flex; align-items: center; gap: 6px; }
.villa-facts svg { width: 16px; height: 16px; opacity: 0.6; }

.villa-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.price-from { font-size: 0.82rem; color: var(--ink-soft); }
.price-from strong { color: var(--sea); font-size: 1.05rem; }

/* ---------- Atouts / icones ---------- */

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.perk {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 18px;
  border: 1px solid var(--border);
}
.perk svg { width: 30px; height: 30px; color: var(--terracotta); margin-bottom: 14px; }
.perk h4 { font-size: 1rem; margin-bottom: 6px; }
.perk p { font-size: 0.85rem; margin: 0; }

/* ---------- Temoignages ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border);
}
.testimonial .stars { color: var(--terracotta); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { font-style: italic; color: var(--ink); font-size: 0.94rem; }
.testimonial-author { font-size: 0.85rem; font-weight: 600; color: var(--sea); margin-top: 14px; }

/* ---------- Bande contact / CTA ---------- */

.cta-band {
  background: var(--sea);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2, .cta-band p { color: var(--white); margin: 0; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 6px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--sea);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page villa detail ---------- */

.villa-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 160px);
  gap: 10px;
  margin-bottom: 40px;
}
.gallery .img-placeholder:first-child { grid-column: span 2; grid-row: span 2; height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius-md); }

.key-facts {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 30px 0;
  flex-wrap: wrap;
}
.key-fact { text-align: left; }
.key-fact .num { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--sea); display: block; }
.key-fact .label { font-size: 0.78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.5px; }

.amenity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.amenity-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}
.amenity-list svg { width: 18px; height: 18px; color: var(--terracotta); flex-shrink: 0; }

.booking-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow);
}
.booking-card .price { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--sea); }
.booking-card .price span { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--ink-soft); font-weight: 400; }
.booking-form { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.booking-form label { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: -8px; }
.booking-form input {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
}
.booking-note { font-size: 0.78rem; color: var(--ink-soft); text-align: center; margin-top: 14px; }

.similar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ---------- Page contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-cards { display: grid; gap: 16px; margin-bottom: 30px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.contact-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card .icon-wrap svg { width: 20px; height: 20px; color: var(--terracotta); }
.contact-card h4 { margin: 0 0 2px; font-size: 0.95rem; }
.contact-card p { margin: 0; font-size: 0.88rem; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
}
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* honeypot: hidden from real visitors, left for bots to fill in */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-feedback.is-success { background: #e6f4ea; color: #1e7a3c; }
.form-feedback.is-error { background: #fbe9e7; color: #b3261e; }

.map-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.map-card-head h4 { margin: 0 0 2px; font-size: 0.95rem; }
.map-card-head p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.map-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
}
.map-card-link svg { width: 14px; height: 14px; }
.map-card-link:hover { color: var(--terracotta-dark); }
.map-card iframe { filter: grayscale(8%) contrast(1.02); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .villa-grid, .testimonial-grid, .perks-grid, .similar-grid { grid-template-columns: repeat(2, 1fr); }
  .villa-layout, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-card { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 140px); }
  .gallery .img-placeholder:first-child { grid-column: span 2; grid-row: span 1; height: 140px; }
  .gallery a:first-child { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 720px) {
  nav.main-nav { display: none; }
  .burger { display: flex; }
  .villa-grid, .testimonial-grid, .perks-grid, .similar-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px; }
  .key-facts { gap: 20px; }
  .form-row-split { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { min-height: auto; padding: 70px 0; }
  .search-bar { flex-direction: column; align-items: stretch; border-radius: var(--radius-lg); width: 100%; }
  .search-field { flex: 1 1 auto; padding: 10px 16px; }
  .search-divider { width: auto; height: 1px; margin: 0 16px; align-self: auto; }
  .search-bar .btn { margin: 8px 6px 2px; }
}

/* menu mobile ouvert */
body.nav-open nav.main-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  gap: 18px;
}
body.nav-open nav.main-nav .nav-phone,
body.nav-open nav.main-nav .btn-primary,
body.nav-open nav.main-nav .nav-lang {
  margin-top: 4px;
}

/* ============================================================
   Lightbox
   ============================================================ */

#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 22, 18, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-direction: column;
  align-items: stretch;
}

#lightbox-overlay.lb-visible {
  display: flex;
  animation: lb-in 0.3s ease forwards;
}

@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Barre haute ---- */
#lb-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 18px;
  flex-shrink: 0;
}

/* ---- Scène centrale (flèche | image | flèche) ---- */
#lb-stage {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 12px;
  overflow: hidden;
}

#lightbox-img-wrap {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#lightbox-img.lb-img-fade {
  opacity: 0;
  transform: scale(0.97);
}

/* ---- Barre basse ---- */
#lb-bottombar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px 18px;
  flex-shrink: 0;
}

#lightbox-caption {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  text-align: center;
  letter-spacing: 0.3px;
}

#lightbox-counter {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ---- Bouton fermer ---- */
#lightbox-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
#lightbox-close svg { width: 20px; height: 20px; display: block; }
#lightbox-close:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.35);
  transform: scale(1.1);
}

/* ---- Flèches navigation ---- */
.lb-arrow {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  user-select: none;
}
.lb-arrow svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}
.lb-arrow:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.35);
  transform: scale(1.08);
}

/* Curseur sur images de galerie */
.gallery a { cursor: zoom-in; }

@media (max-width: 720px) {
  .lb-arrow { width: 40px; height: 40px; }
  .lb-arrow svg { width: 22px; height: 22px; }
  #lb-stage { gap: 6px; padding: 0 6px; }
}
