/* Les polices Google sont chargées par /theme.css (généré dynamiquement selon le
   thème choisi dans l'admin) — pas d'@import ici pour éviter un double chargement. */

:root {
  --bg-dark: #0b1220;
  --bg-dark-2: #0f172a;
  --bg-light: #ffffff;
  --bg-soft: #f6f7f9;
  --accent: #6fa8dc;
  --accent-2: #4a86c8;
  --text-light: #f5f6f8;
  --text-muted-light: #b8c1d1;
  --text-dark: #14181f;
  --text-muted-dark: #5c6270;
  --border-soft: rgba(255, 255, 255, 0.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.kicker {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-2); color: #fff; box-shadow: 0 8px 24px rgba(74, 134, 200, 0.35); }
.btn-primary:hover { background: var(--accent); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-dark { border-color: rgba(0,0,0,0.2); color: var(--text-dark); }
.btn-outline-dark:hover { background: rgba(0,0,0,0.05); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled .hero-top-bar,
.site-header.header-solid .hero-top-bar { display: none; }
.site-header.scrolled, .site-header.header-solid {
  background: rgba(11, 18, 32, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; height: 60px;
}
.logo { font-family: var(--serif); font-size: 20px; color: #fff; letter-spacing: 1px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #fff;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
  line-height: 60px;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-cta-item a.nav-cta {
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 1;
  line-height: normal;
}
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(11,18,32,0.55) 0%, rgba(11,18,32,0.35) 40%, rgba(11,18,32,0.92) 100%), var(--bg-dark) center/cover no-repeat;
  color: #fff;
  padding-bottom: 90px;
}
.hero.has-image { background-image: linear-gradient(180deg, rgba(11,18,32,0.55) 0%, rgba(11,18,32,0.35) 40%, rgba(11,18,32,0.92) 100%), var(--hero-img); background-size: cover; background-position: center; }
.hero-top-bar {
  display: flex; justify-content: flex-end; align-items: center; gap: 8px;
  padding: 7px 28px;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  background: rgba(0,0,0,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #dfe6f0;
}
.hero-top-bar a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.hero-top-bar a:hover { background: rgba(255,255,255,0.12); color: var(--accent); }
.topbar-icon { width: 14px; height: 14px; flex-shrink: 0; }
.hero-content { max-width: 720px; }
.hero-content .kicker { color: #a9cbef; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 2px 12px rgba(0,0,0,0.55); margin-bottom: 18px; display: inline-block; }
.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--text-muted-light);
  margin-bottom: 36px;
  white-space: pre-line;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* About */
.section { padding: 110px 0; }
.section-soft { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.15); aspect-ratio: 4/5; object-fit: cover; }
.about-photo-placeholder {
  aspect-ratio: 4/5; border-radius: 14px;
  background: linear-gradient(135deg, #dce6f2, #b9cbe0);
  display: flex; align-items: center; justify-content: center;
  color: #6b7c93; font-family: var(--serif); font-size: 15px;
}
.about-title { font-size: 38px; margin-bottom: 22px; }
.about-title em { color: var(--accent-2); font-style: italic; }
.about-body { color: var(--text-muted-dark); font-size: 16px; white-space: pre-line; margin-bottom: 28px; }

/* Section heading */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-title { font-size: 38px; margin: 14px 0; }
.section-sub { color: var(--text-muted-dark); font-style: italic; font-family: var(--serif); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.service-card { text-align: left; }
.service-num { font-family: var(--serif); font-style: italic; color: var(--accent-2); font-size: 22px; margin-bottom: 14px; }
.service-title { font-size: 22px; margin-bottom: 12px; }
.service-desc { color: var(--text-muted-dark); font-size: 15px; }

/* Gallery */
.gallery-section { background: var(--bg-dark-2); color: #fff; }
.gallery-section .section-sub { color: var(--text-muted-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 8px;
  gap: 20px;
  padding: 0 32px;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  grid-row-end: span 40;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; will-change: transform; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty { text-align: center; padding: 60px 20px; color: var(--text-muted-light); }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); padding: 0 20px; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; } .gallery-item { border-radius: 12px; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(5,8,15,0.94); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 86vw; max-height: 88vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 32px; cursor: pointer; background: none; border: none; z-index: 2; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 20px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* Reviews */
.reviews-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-embed { max-width: 900px; margin: 0 auto; }
.review-card-link { text-decoration: none; color: inherit; display: contents; }
.review-card {
  scroll-snap-align: start;
  min-width: 340px; max-width: 340px; flex: 1;
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card-link:hover .review-card { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.1); cursor: pointer; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px; flex-shrink: 0;
}
.review-head > div:nth-child(2) { flex: 1; }
.review-google-icon { width: 18px; height: 18px; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 15px; }
.review-time { font-size: 12px; color: var(--text-muted-dark); }
.review-stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 10px; font-size: 14px; }
.review-body { font-size: 14px; color: var(--text-muted-dark); }
.review-reply {
  margin-top: 16px; padding: 14px 16px;
  background: #fff; border-radius: 10px; border-left: 3px solid var(--accent-2);
}
.review-reply-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; gap: 8px; }
.review-reply-owner { font-size: 12px; font-weight: 700; color: var(--accent-2); }
.review-reply-time { font-size: 11px; color: var(--text-muted-dark); white-space: nowrap; }
.review-reply-body { font-size: 13px; color: var(--text-muted-dark); margin: 0; }
.reviews-nav { display: flex; justify-content: center; gap: 14px; margin-top: 24px; }
.reviews-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d8dde5;
  background: #fff; cursor: pointer; font-size: 16px; color: var(--text-dark);
}

/* Pricing */
.pricing-section { text-align: center; }
.pricing-cta { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.pricing-group { max-width: 720px; margin-left: auto; margin-right: auto; margin-top: 56px; }
.pricing-group-title { font-size: 26px; margin-bottom: 6px; }
.pricing-box { text-align: left; border-radius: 12px; overflow: hidden; margin-bottom: 24px; box-shadow: 0 1px 3px rgba(20,24,31,0.08); }
.pricing-box-title { background: #1a2740; color: #fff; padding: 14px 22px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.pricing-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 22px; background: #fff; border-top: 1px solid #eef0f3; }
.pricing-row:first-of-type { border-top: none; }
.pricing-row-title { font-family: var(--serif); font-size: 17px; }
.pricing-row-desc { font-size: 13px; color: var(--text-muted-dark); margin-top: 3px; }
.pricing-row-price { font-size: 18px; font-weight: 600; color: var(--accent-2); white-space: nowrap; }

/* Honeypot anti-spam : champ invisible pour les humains, rempli par les bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Accessibilité : contour visible à la navigation clavier */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* Accessibilité : respecter la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info-item { margin-bottom: 24px; }
.contact-info-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-2); margin-bottom: 6px; }
.contact-info-value { font-size: 18px; font-family: var(--serif); }
form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #dde2ea; border-radius: 8px;
  font-family: var(--sans); font-size: 15px; background: var(--bg-soft);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { font-size: 14px; padding: 10px 14px; border-radius: 8px; display: none; }
.form-msg.ok { display: block; background: #e4f5e9; color: #206a3c; }
.form-msg.err { display: block; background: #fbe6e6; color: #a13333; }

/* Order flow (/commande) */
.order-main { padding: 170px 0 80px; }
.steps-nav { display: flex; justify-content: center; max-width: 560px; margin: 0 auto 48px; }
.step-item { flex: 1; text-align: center; position: relative; }
.step-item::after { content: ''; position: absolute; top: 18px; left: 50%; width: 100%; height: 2px; background: var(--border-soft); z-index: 0; }
.step-item:last-child::after { display: none; }
.step-item.active::after, .step-item.done::after { background: var(--accent-2); }
.step-num { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border-soft); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; background: #fff; position: relative; z-index: 1; font-weight: 600; font-size: 14px; }
.step-item.active .step-num { border-color: var(--accent-2); background: var(--accent-2); color: #fff; }
.step-item.done .step-num { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.step-label { font-size: 12px; color: var(--text-muted-dark); }
.step-item.active .step-label { color: var(--accent-2); font-weight: 600; }

.form-section { display: none; }
.form-section.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.order-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 32px; margin-bottom: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.order-card h2 { font-size: 24px; margin-bottom: 20px; }

.upload-zone { border: 2px dashed #d4d1ca; border-radius: 14px; padding: 40px 24px; text-align: center; cursor: pointer; background: var(--bg-soft); position: relative; }
.upload-zone:hover, .upload-zone.dragover { border-color: var(--accent-2); background: var(--accent-highlight, #eef4fa); }
.upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone h3 { font-size: 16px; margin-bottom: 6px; }
.upload-zone p { font-size: 13px; color: var(--text-muted-dark); }

.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; margin-top: 24px; }
.preview-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--border-soft); background: var(--bg-soft); }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-remove { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,0.7); color: #fff; border: none; cursor: pointer; z-index: 10; font-size: 14px; }
.preview-name { position: absolute; bottom: 0; left: 0; right: 0; padding: 4px 6px; background: rgba(0,0,0,0.65); color: #fff; font-size: 11px; text-align: center; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.upload-status-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; z-index: 5; }

.of-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.of-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.of-label { font-size: 13px; font-weight: 600; }
.order-card select, .order-card input[type=text], .order-card input[type=email], .order-card input[type=tel], .order-card input[type=number], .order-card textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-soft); border-radius: 8px; font-family: var(--sans); font-size: 14px; background: var(--bg-soft);
}
.order-card textarea { min-height: 90px; resize: vertical; }

.photo-config { display: grid; grid-template-columns: 80px 1fr; gap: 16px; background: var(--bg-soft); padding: 16px; border: 1px solid var(--border-soft); border-radius: 12px; margin-bottom: 14px; }
.photo-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.photo-fields { display: grid; grid-template-columns: 1fr 1fr 80px; gap: 12px; align-items: start; }
.photo-fields .of-label { font-size: 11px; margin-bottom: 2px; }

.checkbox-line { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--border-soft); border-radius: 8px; cursor: pointer; }
.checkbox-line input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent-2); }

.shipping-box { background: var(--bg-soft); border: 1px solid var(--border-soft); padding: 16px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.shipping-box .cost { font-weight: 700; color: var(--accent-2); }

.promo-box { display: flex; gap: 10px; margin-bottom: 14px; }
.promo-box input { flex: 1; }
.promo-message { margin-top: 8px; font-size: 13px; font-weight: 600; }

.order-total-row { background: #eef4fa; padding: 20px 24px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.order-total-amount { font-size: 26px; font-weight: 700; color: var(--accent-2); }

.order-actions { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-soft); gap: 12px; }

.order-success { display: none; text-align: center; padding: 60px 20px; }
.order-success.show { display: block; }

@media (max-width: 640px) {
  .of-row { grid-template-columns: 1fr; }
  .photo-fields { grid-template-columns: 1fr 1fr; }
  .photo-config { grid-template-columns: 1fr; }
  .photo-thumb { width: 100%; height: 120px; }
  .step-label { display: none; }
  .order-actions { flex-direction: column-reverse; }
  .order-actions .btn { width: 100%; text-align: center; }
}

/* Legal / CGV */
.legal-content { color: var(--text-muted-dark); font-size: 15px; line-height: 1.8; }
.legal-heading { font-size: 20px; color: var(--text-dark); margin: 40px 0 12px; }
.legal-heading:first-child { margin-top: 0; }
.legal-p { margin: 0 0 16px; }
.legal-list { margin: 0 0 16px; padding-left: 20px; }
.legal-list li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--bg-dark); color: var(--text-muted-light); padding: 48px 0; text-align: center; font-size: 13px; }
.site-footer a { color: var(--accent); }
.site-footer > .container > div { margin-top: 8px; }
.footer-social { display: flex; gap: 20px; justify-content: center; margin-bottom: 10px; }
.footer-social a { font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500; }
.footer-legal { opacity: 0.6; font-size: 12px; }

/* Admin bar link (subtle) */
.admin-hint { position: fixed; bottom: 14px; left: 14px; font-size: 11px; color: rgba(0,0,0,0.25); z-index: 5; }

/* ── Hamburger animé ─────────────────────────────────────────────── */
.nav-toggle {
  display: none; background: none; border: none; color: #fff;
  cursor: pointer; padding: 6px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}
.nav-toggle span:not(:last-child) { margin-bottom: 5px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Header CTA "Demander un devis" ─────────────────────────────── */
.header-right { display: flex; align-items: center; gap: 10px; }
.header-devis-btn { display: none; padding: 7px 14px; font-size: 11px; }
.nav-cta-item { display: none; }

/* ── WhatsApp floating button ────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 400; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }

/* ── Filtres catégorie galerie ───────────────────────────────────── */
.gallery-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25); background: transparent;
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.3px;
}
.filter-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.filter-btn.active {
  background: var(--accent-2); border-color: var(--accent-2);
  color: #fff; box-shadow: 0 4px 14px rgba(74,134,200,0.4);
}

/* ── Lazy blur-up ────────────────────────────────────────────────── */
.gallery-img-lazy {
  transition: filter 0.5s ease, transform 0.5s ease, opacity 0.4s ease;
}
.gallery-img-lazy.img-loading { filter: blur(8px); transform: scale(1.02); }
.gallery-img-lazy.img-loaded  { filter: blur(0);  transform: scale(1); }

/* ── Lightbox spinner ────────────────────────────────────────────── */
.lightbox-spinner {
  display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite; z-index: 3;
}
.lightbox.loading .lightbox-spinner { display: block; }
.lightbox.loading img { opacity: 0.3; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ── Contact form select ─────────────────────────────────────────── */
.contact-form select {
  width: 100%; padding: 14px 16px; border: 1px solid #dde2ea; border-radius: 8px;
  font-family: var(--sans); font-size: 15px; background: var(--bg-soft);
  color: var(--text-dark); appearance: none; cursor: pointer;
}
.contact-form input[type=date] { color: var(--text-dark); }

@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 18, 32, 0.97);
    backdrop-filter: blur(10px);
    padding: 8px 0 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 32px; }
  .nav-cta-item { display: none !important; }
  .site-header { position: fixed; }
  .nav-toggle { display: block; }
  .header-devis-btn { display: inline-flex; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-top-bar { display: none; }
}
@media (min-width: 961px) {
  .nav-cta-item { display: list-item; }
  .header-devis-btn { display: none !important; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-form input[type=date] { min-height: 48px; }
}
