/* HERO IMMERSIF - photo plein cadre + voile + texte blanc */
.hero-immersif {
  position: relative;
  min-height: clamp(560px, 88vh, 760px);
  display: flex; align-items: flex-end;
  padding: clamp(28px, 6vw, 72px) 0 clamp(44px, 6vw, 64px);
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  margin: 0;
}
.hero-immersif::before {
  /* texture grille au-dessus de la photo (TEX-4) */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.7) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero-immersif__bg { position: absolute; inset: 0; z-index: 0; }
.hero-immersif__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-immersif::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(31,26,19,.10) 0%, rgba(31,26,19,.30) 40%, rgba(31,26,19,.78) 100%),
    linear-gradient(90deg, rgba(31,26,19,.45) 0%, rgba(31,26,19,.0) 60%);
  pointer-events: none;
}
.hero-immersif__inner { position: relative; z-index: 3; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; color: #fff; }
@media (min-width: 768px) { .hero-immersif__inner { padding: 0 32px; } }
.hero-immersif__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-ui); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,.92); margin-bottom: 18px; font-weight: 500;
}
.hero-immersif__eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent-2); }
.hero-immersif__title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.04;
  color: #fff;
  max-width: 18ch;
  font-weight: 500;
}
.hero-immersif__title em { font-style: italic; color: #E6DEC8; }
.hero-immersif__sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  color: rgba(255,255,255,.92);
  margin: 18px 0 28px; max-width: 52ch;
  line-height: 1.55;
}
.hero-immersif__cta {
  display: flex; flex-direction: column; gap: 10px;
}
.hero-immersif__cta .btn { width: 100%; }
@media (min-width: 560px) {
  .hero-immersif__cta { flex-direction: row; flex-wrap: wrap; }
  .hero-immersif__cta .btn { width: auto; }
}
.hero-immersif__meta {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  font-family: var(--ff-ui); font-size: 0.88rem; color: rgba(255,255,255,.86);
}
.hero-immersif__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-immersif__meta-item svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }

/* reveal mask (MOT-4) only on the title */
.reveal-mask { overflow: hidden; display: inline-block; max-width: 100%; }
.reveal-mask > * { transform: translateY(105%); transition: transform .8s cubic-bezier(.2,.8,.2,1); display: inline-block; }
.reveal-mask.in > * { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-mask > * { transform: none; } }

/* REALISATIONS / GALERIE - LAY-3 grid (gallery=grid) */
.realisations { background: var(--bg); }
.real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.real-grid figure {
  position: relative;
  border: 1.5px solid var(--text);
  border-radius: 10px;
  overflow: hidden;
  background: var(--text);
  box-shadow: 4px 4px 0 var(--accent);
  transition: transform .25s, box-shadow .25s;
  cursor: zoom-in;
}
.real-grid figure:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); }
.real-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform .4s ease, opacity .25s;
}
.real-grid figure:hover img { transform: scale(1.04); opacity: 0.92; }
.real-grid figcaption {
  position: absolute; left: 8px; bottom: 8px;
  background: rgba(31,26,19,.8); color: #F1E9D5;
  font-family: var(--ff-ui); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
@media (max-width: 900px) { .real-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .real-grid { grid-template-columns: 1fr; gap: 14px; } }

@media (prefers-reduced-motion: reduce) { .real-grid figure { transition: none; } .real-grid figure:hover { transform: none; } .real-grid figure:hover img { transform: none; opacity: 1; } }

.real-link {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-deep); font-family: var(--ff-ui); font-weight: 500;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 4px;
  transition: gap var(--t-base);
}
.real-link:hover { gap: 14px; }

/* SERVICES - LAY-3 services=grid-3 + card risograph */
.services { background: var(--bg-alt); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card .c-riso__icon { color: var(--accent); }
.svc-card .badge-tech {
  align-self: flex-start;
  font-family: var(--ff-ui); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  border-radius: 4px; padding: 4px 8px;
  margin-top: 6px;
}

/* AVIS - cards risograph (LAY-3 avis=cards) */
.avis { background: var(--bg); }
.avis-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 24px);
}
.avis-card { display: flex; flex-direction: column; gap: 14px; }
.avis-card .stars { margin-bottom: 0; }
.avis-card blockquote {
  font-family: var(--ff-display); font-style: italic; font-size: 1.05rem;
  line-height: 1.5; color: var(--text);
  padding-left: 14px; border-left: 2px solid var(--accent);
  flex-grow: 1;
}
.avis-card footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.avis-author { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.avis-author strong { font-weight: 600; color: var(--text); }
.avis-author small { color: var(--text-mute); font-size: 0.78rem; }
@media (max-width: 900px) { .avis-cards { grid-template-columns: 1fr; } }
.avis-google-link {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-family: var(--ff-ui); font-weight: 500; font-size: 0.95rem;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 4px;
}
.avis-google-link svg { width: 16px; height: 16px; }

/* STATS strip */
.stats { background: var(--bg-alt); padding: 36px 0; }
@media (min-width: 768px) { .stats { padding: 56px 0; } }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: center;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.stat-item {
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
}
@media (max-width: 639px) { .stat-item { text-align: center; border-left: 0; border-top: 1.5px solid var(--accent); padding-top: 18px; } }
.stat-number {
  font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 2.8rem);
  display: block; line-height: 1; color: var(--text); font-weight: 500;
  letter-spacing: -0.01em;
}
.stat-number em { color: var(--accent); font-style: italic; }
.stat-label {
  display: block; margin-top: 10px;
  font-family: var(--ff-ui); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-2);
}

/* FAQ */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--text);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 4px 4px 0 var(--accent);
  margin-bottom: 18px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.faq-item:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--accent); }
.faq-trigger {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-family: var(--ff-display); font-size: 1.05rem; line-height: 1.3; color: var(--text);
}
.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform var(--t-base);
  margin-top: -4px;
}
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(-135deg); margin-top: 4px; }
.faq-answer { padding: 0 22px 22px; color: var(--text-2); line-height: 1.6; }
.faq-answer p + p { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .faq-item { transition: none; } .faq-item:hover { transform: none; } .faq-chevron { transition: none; } }

/* CONTACT + ZONE intégré */
.contact { background: var(--bg-alt); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
}
@media (min-width: 900px) {
  .contact-wrap { grid-template-columns: 1.05fr 1fr; align-items: start; }
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list-item {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-body); color: var(--text);
}
.contact-list-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.contact-list-item a { color: var(--text); }
.contact-list-item a:hover { color: var(--accent-deep); }

.horaires-table {
  width: 100%;
  border: 1.5px solid var(--text);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--accent);
}
.horaires-table table { width: 100%; border-collapse: collapse; font-family: var(--ff-ui); font-size: 0.92rem; }
.horaires-table th, .horaires-table td { padding: 10px 16px; text-align: left; }
.horaires-table tr + tr { border-top: 1px solid var(--border); }
.horaires-table .day { color: var(--text-2); font-weight: 400; }
.horaires-table .hours { color: var(--text); font-weight: 500; text-align: right; }
.horaires-table tr.is-today { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.horaires-table tr.is-today .day { color: var(--accent-deep); font-weight: 500; }
.horaires-table tr.is-closed .hours { color: var(--text-mute); font-style: italic; }

.zone-list {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 12px 0 4px;
}

.map-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  border: 1.5px solid var(--text);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--accent);
  background: var(--bg);
}
@media (min-width: 700px) { .map-wrapper { padding-top: 60%; } }
.map-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contact-form {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 5px 5px 0 var(--accent);
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form h3 { font-size: 1.3rem; }
.contact-form-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 6px;
}
@media (min-width: 480px) {
  .contact-form-actions { flex-direction: row; flex-wrap: wrap; }
}

.live-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-ui); font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.live-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4FA85E;
  box-shadow: 0 0 0 0 rgba(79,168,94,.6);
  animation: dot-pulse 2.4s ease-out infinite;
}
.live-status.is-closed .dot { background: #C8484E; animation: none; }
.live-status.is-open { background: color-mix(in srgb, #4FA85E 16%, transparent); color: #2D6A3A; }
.live-status.is-closed { background: color-mix(in srgb, #C8484E 14%, transparent); color: #7A1F1F; }
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(79,168,94,.6); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .live-status .dot { animation: none; } }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(20, 16, 12, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem; line-height: 1;
  transition: background var(--t-fast);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.2); }
.lb-close { top: 16px; right: 16px; font-size: 1.4rem; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* MODAL mentions */
.modal-overlay {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(20,16,12,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-box {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 12px;
  max-width: 540px; width: 100%;
  max-height: 86vh; overflow-y: auto;
  padding: 28px;
  box-shadow: 6px 6px 0 var(--accent);
  position: relative;
}
.modal-box h2 { font-size: 1.4rem; margin-bottom: 16px; padding-right: 32px; }
.modal-box h3 { font-size: 1rem; color: var(--accent-deep); margin-top: 18px; margin-bottom: 6px; }
.modal-box p { font-size: 0.92rem; line-height: 1.55; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-alt); color: var(--text);
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.modal-close:hover { background: var(--accent); color: #fff; }
