:root {
  --green: #2f6b4f;
  --green-dark: #22503a;
  --green-light: #e8f1ec;
  --sand: #f6f1e9;
  --accent: #e08a3c;
  --text: #1f2a24;
  --muted: #66736b;
  --border: #dde3df;
  --danger: #c0392b;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(31, 42, 36, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: #fff; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---------- boutons & formulaires ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--green); color: #fff; transition: background .15s, transform .1s; }
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: #f0f2f1; }
.btn-whatsapp { background: #25d366; }
.btn-whatsapp:hover { background: #1da851; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #a03024; }
.btn-sm { padding: 7px 14px; font-size: 14px; }

label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: -1px; border-color: transparent; }
textarea { resize: vertical; min-height: 90px; }
.field { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.error-msg { color: var(--danger); font-size: 14px; margin: 8px 0 0; }
.success-msg { background: var(--green-light); color: var(--green-dark); padding: 12px 14px; border-radius: 8px; }

/* ---------- en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--green); }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; background: #f0f2f1; border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.lang-switch button:hover { color: var(--green); }
.lang-switch button.active { background: #fff; color: var(--green-dark); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.site-header { transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(31, 42, 36, .08); }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn { box-shadow: 0 0 0 0 transparent; }
.btn:not(.btn-ghost):not(.btn-outline):hover { box-shadow: 0 8px 20px rgba(47, 107, 79, .25); transform: translateY(-1px); }

/* ---------- hero (diaporama) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; min-height: min(86vh, 760px); display: flex; align-items: center; padding: 96px 0 110px;
  background: var(--green-dark); isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center 60%; opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 7s ease-out; }
.hero-slide.active { opacity: 1; transform: scale(1); }
/* voile sombre à gauche (sous le texte) qui s'éclaircit vers la droite */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 24, 18, .86) 0%, rgba(14, 24, 18, .62) 48%, rgba(14, 24, 18, .2) 100%),
              linear-gradient(0deg, rgba(14, 24, 18, .45) 0%, transparent 35%); }
.hero-content { position: relative; }
.hero-eyebrow { display: inline-block; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px);
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 18px; letter-spacing: .02em; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); max-width: 760px; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); margin-bottom: 32px; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); max-width: 600px; color: rgba(255, 255, 255, .9); margin-bottom: 32px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.hero .btn-outline { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, .15); }
.hero-content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; bottom: 64px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .45);
  transition: width .3s, background .3s; }
.hero-dots button.active { width: 28px; background: #fff; }
@media (max-width: 700px) {
  .hero { min-height: 78vh; padding: 64px 0 96px; }
  .hero::before { background: linear-gradient(rgba(14, 24, 18, .74), rgba(14, 24, 18, .74)); }
  .hero-slide { background-position: 65% center; }
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- atouts (chevauche le bas de la bannière) ---------- */
.trust { position: relative; z-index: 2; margin-top: -48px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; box-shadow: 0 16px 48px rgba(31, 42, 36, .12); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 22px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item strong { display: block; font-size: 16px; }
.trust-item span:not(.trust-icon) { color: var(--muted); font-size: 14px; }
.trust-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--green-light); color: var(--green); display: grid; place-items: center; }
.trust-icon svg, .step-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

section { padding: 88px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2, .feature-text h2, .cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.015em; }
.section-title p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 17px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }

/* ---------- étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--border); padding: 28px 24px; border-radius: 16px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 18px; right: 22px; font-size: 32px; font-weight: 800;
  color: var(--green-light); line-height: 1; }
.step-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- livraison & pose ---------- */
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.feature-img { position: relative; }
.feature-img img { width: 100%; border-radius: 20px; box-shadow: 0 24px 60px rgba(31, 42, 36, .18); aspect-ratio: 4 / 3; object-fit: cover; }
.feature-img::after { content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1; border-radius: 20px; background: var(--sand); }
.feature-text p { font-size: 17px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checklist li::before { content: ""; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--green-light)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- galerie d'inspiration ---------- */
.inspiration { background: var(--sand); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic-item { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--green-light); }
.mosaic-item.tall { grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mosaic-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 24, 18, .35), transparent 50%); opacity: 0; transition: opacity .3s; }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-item:hover::after { opacity: 1; }

/* ---------- bandeau d'appel à l'action ---------- */
.cta-band { position: relative; color: #fff; text-align: center; padding: 110px 0; isolation: isolate;
  background: linear-gradient(rgba(14, 24, 18, .72), rgba(14, 24, 18, .72)), url('/images/6a2fa7a2040eb31e019421ef_1.jpg') center / cover no-repeat fixed; }
.cta-band p { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; }
@media (hover: none) { .cta-band { background-attachment: scroll; } }

/* ---------- apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .trust-grid .reveal:nth-child(2), .mosaic .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3), .trust-grid .reveal:nth-child(3), .mosaic .reveal:nth-child(3) { transition-delay: .16s; }
.steps .reveal:nth-child(4), .trust-grid .reveal:nth-child(4), .mosaic .reveal:nth-child(4) { transition-delay: .24s; }
.mosaic .reveal:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-content > * { transition: none; animation: none; opacity: 1; transform: none; }
  .hero-slide { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- catalogue ---------- */
#catalogue { background: #fafbfa; }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.model-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.model-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(31, 42, 36, .16); }
.model-img { aspect-ratio: 16 / 10; background: var(--green-light); position: relative; }
.model-img img { width: 100%; height: 100%; object-fit: cover; }
.model-img .placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--green); }
/* galerie sur la carte */
.gallery { position: absolute; inset: 0; }
.gallery-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.gal-video { flex: 0 0 100%; position: relative; scroll-snap-align: start; cursor: pointer; background: #000; }
.gal-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-icon, .thumb-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
  color: #fff; background: rgba(20, 28, 24, .6); border-radius: 50%; pointer-events: none; }
.play-icon { width: 60px; height: 60px; padding-left: 4px; transition: background .15s, transform .15s; }
.gal-video:hover .play-icon { background: var(--green); transform: translate(-50%, -50%) scale(1.08); }
.thumb-play { width: 24px; height: 24px; padding-left: 2px; }
.thumb-play svg { width: 14px; height: 14px; }
.model-img video { width: 100%; height: 100%; object-fit: cover; }
.gal-zoom, .gal-nav { position: absolute; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: rgba(20, 28, 24, .55);
  transition: background .15s, opacity .15s; }
.gal-zoom:hover, .gal-nav:hover { background: rgba(20, 28, 24, .85); }
.gal-zoom { top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 8px; }
.gal-nav { top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; padding-bottom: 3px; opacity: 0; }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gallery:hover .gal-nav, .gal-nav:focus-visible { opacity: 1; }
@media (hover: none) { .gal-nav { opacity: 1; } }
.gal-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.gal-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .15s, transform .15s; }
.gal-dots span.active { background: #fff; transform: scale(1.25); }
.gal-count { position: absolute; bottom: 8px; right: 10px; background: rgba(20, 28, 24, .6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }

/* visionneuse plein écran */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 14, 12, .94); display: grid;
  grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; padding: 16px 8px; }
.lb-figure { grid-column: 2; grid-row: 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; height: 100%; }
.lb-figure video { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 6px; background: #000; }
.lb-thumbs button { position: relative; }
.lb-thumbs video { width: 72px; height: 52px; object-fit: cover; display: block; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 6px; user-select: none; }
.lb-figure figcaption { color: #d5ddd8; font-size: 14px; margin-top: 10px; text-align: center; }
.lb-btn { border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px;
  line-height: 1; display: grid; place-items: center; padding-bottom: 4px; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { grid-column: 1; grid-row: 1; justify-self: center; }
.lb-next { grid-column: 3; grid-row: 1; justify-self: center; }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 1; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { visibility: hidden; }
.lb-thumbs { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 8px; justify-content: center; overflow-x: auto; padding: 12px 4px 0; }
.lb-thumbs button { flex: 0 0 auto; border: 2px solid transparent; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .55; background: none; }
.lb-thumbs button.active { border-color: #fff; opacity: 1; }
.lb-thumbs img { width: 72px; height: 52px; object-fit: cover; }
@media (max-width: 600px) {
  .lightbox { grid-template-columns: 44px 1fr 44px; padding: 12px 4px; }
  .lb-btn { width: 40px; height: 40px; font-size: 26px; }
  .lb-thumbs img { width: 56px; height: 42px; }
}

.badge { position: absolute; top: 12px; left: 12px; background: #fff; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.badge.out { background: var(--danger); color: #fff; }
.model-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.model-body h3 { font-size: 20px; margin-bottom: 6px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.model-body .desc { color: var(--muted); font-size: 15px; flex: 1; }
.price { font-size: 22px; font-weight: 800; color: var(--green-dark); }
.deposit-hint { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info { background: var(--sand); padding: 28px; border-radius: var(--radius); }
.contact-info p { margin: 0 0 12px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
/* Formulaire de contact compact : tous les champs tiennent à l'écran */
.card.message-form { padding: 22px 24px; }
.card.message-form h3 { font-size: 19px; margin-bottom: 14px; }
.card.message-form .field { margin-bottom: 11px; }
.card.message-form label { font-size: 13px; margin-bottom: 4px; }
.card.message-form input, .card.message-form textarea { padding: 9px 12px; font-size: 15px; }
.card.message-form textarea { min-height: 72px; }
.card.message-form .grid-2 { gap: 0 12px; }

.site-footer { background: var(--text); color: #c9d1cc; padding: 28px 0; font-size: 14px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: #fff; }

/* ---------- modale de réservation ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(20, 28, 24, .55); display: grid; place-items: center; padding: 16px; }
/* La fenêtre ne dépasse jamais l'écran : l'en-tête reste fixe, seul le contenu défile.
   dvh = hauteur réellement visible sur mobile (barres du navigateur déduites). */
.modal-box { background: #fff; border-radius: 16px; width: min(640px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal-box > * { flex-shrink: 0; }
.modal-box > .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
/* Boutons Retour / Continuer toujours visibles en bas du formulaire de commande */
#booking .modal-body { padding-bottom: 0; }
#booking-nav { position: sticky; bottom: 0; background: #fff; margin-top: 18px; padding: 14px 0 18px; border-top: 1px solid var(--border); }
#confirmation .modal-foot { padding-bottom: 20px; }
.modal-head { padding: 22px 26px 0; display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.modal-head h2 { font-size: 22px; margin: 0; }
.modal-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-body { padding: 18px 26px 26px; }
.modal-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }

.progress { display: flex; gap: 6px; margin: 16px 26px 0; }
.progress div { flex: 1; height: 5px; border-radius: 3px; background: var(--border); transition: background .2s; }
.progress div.done { background: var(--green); }
.step-label { padding: 8px 26px 0; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.chosen-model { display: flex; gap: 12px; align-items: center; background: var(--green-light); padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; font-size: 15px; }

.soil-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.soil-options label { margin: 0; font-weight: 500; border: 1px solid var(--border); border-radius: 8px; padding: 10px; cursor: pointer; text-align: center; font-size: 14px; }
.soil-options input { display: none; }
.soil-options input:checked + span { color: var(--green-dark); font-weight: 700; }
.soil-options label:has(input:checked) { border-color: var(--green); background: var(--green-light); }

/* calendrier */
.calendar { border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head strong { text-transform: capitalize; }
.cal-nav { background: none; border: 1px solid var(--border); border-radius: 8px; width: 36px; height: 36px; cursor: pointer; font-size: 18px; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 8px; background: var(--green-light); font: inherit; font-size: 14px; cursor: pointer; color: var(--green-dark); font-weight: 600; }
.cal-day:hover:not(:disabled) { background: #cfe3d7; }
.cal-day:disabled { background: transparent; color: #bcc5c0; cursor: default; font-weight: 400; text-decoration: line-through; }
.cal-day.empty { visibility: hidden; }
.cal-day.selected { background: var(--green); color: #fff; }
.cal-legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }

.recap { width: 100%; border-collapse: collapse; font-size: 15px; }
.recap td { padding: 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.recap td:first-child { color: var(--muted); width: 42%; padding-right: 12px; }
.recap tr.total td { font-weight: 800; color: var(--green-dark); font-size: 17px; border-bottom: 0; }

.deposit-box { text-align: center; background: var(--green-light); border-radius: 12px; padding: 20px; margin: 16px 0; }
.deposit-box .amount { font-size: 34px; font-weight: 800; color: var(--green-dark); }
.pay-method { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.pay-method h4 { margin: 0 0 6px; }
.pay-method p { margin: 0; white-space: pre-line; font-size: 15px; }
.ref { font-family: ui-monospace, Consolas, monospace; background: var(--sand); padding: 2px 8px; border-radius: 6px; font-weight: 700; }

/* ---------- bulle de chat ---------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--green);
  color: #fff; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); display: grid; place-items: center; }
.chat-fab:hover { background: var(--green-dark); }
.chat-panel { position: fixed; right: 20px; bottom: 92px; z-index: 40; width: min(360px, calc(100vw - 40px)); background: #fff; border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .22); overflow: hidden; }
.chat-panel header { background: var(--green); color: #fff; padding: 16px 18px; }
.chat-panel header strong { display: block; font-size: 17px; }
.chat-panel header small { opacity: .85; }
.chat-panel .chat-body { padding: 16px 18px; max-height: 60vh; overflow: auto; }
.chat-bubble { background: var(--green-light); border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }
.chat-panel .field { margin-bottom: 10px; }
.chat-panel input, .chat-panel textarea { padding: 9px 11px; font-size: 14px; }

@media (max-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-img::after { inset: 16px -12px -16px 12px; }
}
@media (max-width: 800px) {
  .nav { display: none; }
  .logo-text { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .cta-band { padding: 80px 0; }
}
/* Mobile : les fenêtres (commande, etc.) occupent tout l'écran */
@media (max-width: 600px) {
  .modal { padding: 0; place-items: stretch; }
  .modal-box { width: 100%; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
  .modal-head { padding-top: 16px; }
  .modal-head h2 { font-size: 19px; }
  .progress { margin-top: 12px; }
  .modal-body { padding-top: 14px; }
  .chosen-model { margin-bottom: 14px; padding: 8px 12px; font-size: 14px; }
  #booking-nav { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  #booking-nav .btn { flex: 1; }
}
@media (max-width: 520px) {
  .grid-2, .steps { grid-template-columns: 1fr; }
  .trust { margin-top: -36px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  .trust-item { padding: 16px 18px; }
  .mosaic { grid-auto-rows: 130px; gap: 8px; }
  .hero-actions .btn-lg { width: 100%; }
  .soil-options { grid-template-columns: 1fr 1fr; }
  .modal-head, .modal-body { padding-inline: 18px; }
  .progress, .step-label { margin-inline: 18px; padding-inline: 0; }
}
