/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: .9rem;
  font-weight: 500;
  padding: .75rem 1.5rem;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.10); }
.btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, black); }

.btn-wa {
  background: var(--wa-green);
  color: #fff;
  border-color: var(--wa-green);
}
.btn-wa:hover { background: color-mix(in srgb, var(--wa-green) 85%, black); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }

.btn-sm { font-size: .82rem; padding: .55rem 1.1rem; }
.btn-lg { font-size: 1rem; padding: .9rem 1.8rem; }

/* ===== SECTION HEADER ===== */
.section-header { margin-bottom: clamp(32px, 5vw, 56px); }
.section-header--center { text-align: center; }
.section-eyebrow {
  font-family: var(--ff-ui);
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}
.section-title em { color: var(--accent); }
.section-intro {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.75;
}

/* ===== CARDS (radius-asym = LAY-6) ===== */
.c-asym {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px 4px 22px 4px;
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.c-asym:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 12%, transparent);
}
.section--alt .c-asym { background: var(--bg); }
@media (prefers-reduced-motion: reduce) { .c-asym { transition: none; } .c-asym:hover { transform: none; } }

.c-asym--dark {
  background: var(--text);
  border-color: transparent;
}
.c-asym--dark,
.c-asym--dark :where(h1,h2,h3,h4,p,li,span,small) {
  color: #F6F0E6;
}
.c-asym--dark .svc-num,
.c-asym--dark .svc-title {
  color: #F6F0E6;
}
.c-asym--dark .svc-desc { color: oklch(75% 0.01 63); }

/* ===== SERVICES (grid-asym) ===== */
.svc-asym {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.svc-asym .c-asym          { grid-column: span 2; }
.svc-asym .c-asym--wide    { grid-column: span 3; }
.svc-asym .c-asym--lead    { grid-column: span 4; }

.svc-num {
  font-family: var(--ff-display);
  font-size: .85rem;
  font-weight: 400;
  color: var(--accent);
  opacity: .7;
  margin-bottom: 14px;
}
.svc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.svc-title {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.svc-desc {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ===== RATING BADGE HERO ===== */
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  padding: 6px 14px;
  border-radius: 30px;
  font-family: var(--ff-ui);
  font-size: .85rem;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 20px;
  transition: background .2s;
  width: fit-content;
}
.hero-rating-badge:hover { background: rgba(255,255,255,.9); }
.hero-rating-badge strong { font-weight: 600; color: var(--text); }
.hero-rating-badge span { color: var(--text-2); }
.stars-inline {
  display: inline-flex;
  gap: 1px;
  color: #F59E0B;
}

/* ===== AVIS (row-sep) ===== */
.avis-rows { display: flex; flex-direction: column; }
.avis-rows__item {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}
.avis-rows__item:last-child { border-bottom: 1px solid var(--border); }
.avis-main { display: flex; flex-direction: column; gap: 10px; }
.avis-stars { color: #F59E0B; font-size: 1rem; letter-spacing: 1px; }
.avis-text {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  max-width: 68ch;
}
.avis-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.avis-author { font-weight: 600; font-size: .88rem; color: var(--text); }
.avis-date   { font-size: .8rem; color: var(--text-mute); }
.avis-badge  {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  color: var(--text-mute);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 12px;
}
.avis-footer { margin-top: 32px; }

/* ===== STATS STRIP ===== */
.stats-strip { background: var(--text); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding: 12px 0;
}
.stat-item {
  padding: 20px 16px;
  border-right: 1px solid oklch(30% 0.01 63);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: oklch(90% 0.05 142);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--ff-ui);
  font-size: .8rem;
  color: oklch(65% 0.01 63);
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.5;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: color .2s;
}
.faq-trigger:hover { color: var(--accent); }
.faq-chevron {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: transform .3s var(--ease-out), border-color .2s;
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); border-color: var(--accent); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.faq-body p {
  padding: 0 0 22px;
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 68ch;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-intro {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 50ch;
}
.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.contact-zone {
  margin-top: 20px;
  font-size: .88rem;
  color: var(--text-mute);
}

/* Horaires */
.horaires-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.horaires-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.horaires-table td:first-child {
  font-weight: 500;
  color: var(--text);
  width: 40%;
}
.horaires-table tr.is-today td { color: var(--accent); font-weight: 600; }
.horaires-table tr.is-today td:first-child::after { content: ' ·'; }
.horaires-table .closed { color: var(--text-mute); }

/* Carte */
.map-wrapper {
  position: relative;
  padding-top: 70%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt);
}
.map-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ===== GALERIE (grid-feat) ===== */
.gal-feat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
  margin-bottom: 28px;
}
.gal-feat img,
.gal-feat__big img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
  cursor: pointer;
  transition: transform .3s var(--ease-out), filter .3s;
}
.gal-feat img:hover,
.gal-feat__big img:hover { transform: scale(1.03); filter: brightness(1.04); }
.gal-feat__big { grid-column: span 2; grid-row: span 2; }
.gal-feat__big img { height: 100%; }

.realisations-cta { text-align: center; margin-top: 8px; }

/* ===== MODAL MENTIONS LÉGALES ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .3s;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 40, 32, .55);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: var(--bg-alt);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}
.modal__close:hover { background: var(--border); }
.modal__content h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-right: 40px;
}
.modal__content p {
  font-size: .9rem;
  margin-bottom: 10px;
  color: var(--text-2);
  line-height: 1.6;
}
.modal__content p strong { color: var(--text); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 10);
  background: rgba(20, 16, 12, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-md);
  display: block;
}
.lightbox__btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .2s;
  z-index: 1;
}
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__close {
  position: fixed;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.lightbox__counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-family: var(--ff-ui);
}

/* ===== MASONRY (realisations.html) ===== */
.gal-masonry {
  column-count: 3;
  column-gap: 14px;
}
.gal-masonry__item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.gal-masonry__item img {
  width: 100%;
  display: block;
  transition: transform .3s var(--ease-out);
}
.gal-masonry__item:hover img { transform: scale(1.04); }

/* ===== PAGE RÉALISATIONS — back link ===== */
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color .2s;
}
.page-back:hover { color: var(--accent); }
