/* ==========================================================
   Cayor Techno Plus — feuille de styles
   ========================================================== */

:root {
  --sand: #F5F1EA;
  --sand-2: #ECE4D7;
  --paper: #FBF9F5;
  --ink: #1C1C1C;
  --ink-2: #4A4744;
  --muted: #7C766E;
  --wood: #A67B5B;
  --wood-dark: #7E5A3F;
  --blue: #1E4A9A;
  --cyan: #2EA8DB;
  --line: rgba(28, 28, 28, .12);
  --whatsapp: #25D366;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
p { margin: 0 0 1.2em; color: var(--ink-2); }
em { font-style: italic; color: var(--wood); }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--sand); }
.section--dark p { color: rgba(245, 241, 234, .72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 60ch; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 { max-width: 16ch; margin: 0; }
.section-head p { max-width: 44ch; margin: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--ink); color: var(--sand); }
.btn--primary:hover { background: var(--blue); }
.btn--light { background: var(--sand); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.btn--whatsapp { background: var(--whatsapp); color: #0b3d1f; }
.btn--whatsapp:hover { background: #1fb957; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 22px;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 50px; width: auto; transition: filter .4s, height .4s var(--ease); }
.header--over .header__logo img { filter: brightness(0) invert(1); }
.header.is-scrolled, .header--solid {
  background: rgba(251, 249, 245, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.header.is-scrolled .header__logo img { filter: none; height: 42px; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__link {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-block: 6px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header--over:not(.is-scrolled) .nav__link { color: #fff; }
.header--over:not(.is-scrolled) .btn--primary { background: var(--sand); color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  width: 44px; height: 44px;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease), background .3s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.header--over:not(.is-scrolled) .nav-toggle span { background: #fff; }
.nav-open .nav-toggle span { background: var(--ink) !important; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--sand);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav .nav__link { color: var(--ink) !important; font-family: var(--serif); font-size: 2rem; text-transform: none; letter-spacing: 0; }
  .nav .btn { background: var(--ink) !important; color: var(--sand) !important; }
  .header__logo img { height: 40px; }
  /* backdrop-filter crée un bloc conteneur : le menu plein écran resterait coincé dans l'en-tête */
  .nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 14s var(--ease) forwards;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, .45) 0%, rgba(15, 15, 15, .15) 35%, rgba(15, 15, 15, .75) 100%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__content { padding-block: 140px clamp(56px, 9vw, 110px); }
.hero .eyebrow { color: var(--sand-2); }
.hero h1 { max-width: 13ch; margin-bottom: 28px; }
.hero h1 em { color: var(--sand-2); }
.hero p { color: rgba(255, 255, 255, .85); max-width: 52ch; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero__scroll {
  position: absolute;
  right: var(--gutter); bottom: clamp(56px, 9vw, 110px);
  writing-mode: vertical-rl;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
  color: rgba(255, 255, 255, .8);
}
.hero__scroll::after { content: ""; width: 1px; height: 60px; background: rgba(255, 255, 255, .6); animation: scrollLine 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* Petite bannière de page intérieure */
.page-hero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.page-hero .hero__media::after { background: linear-gradient(180deg, rgba(15, 15, 15, .5), rgba(15, 15, 15, .7)); }
.page-hero__content { padding-block: 160px 64px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 0 0 16px; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 56ch; margin: 0; }
.page-hero .eyebrow { color: var(--sand-2); }

/* ---------- Chiffres ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 40px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--ink); }
.stat__num sup { font-size: .5em; color: var(--wood); }
.stat__label { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Intro split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media .badge {
  position: absolute;
  left: -28px; bottom: 40px;
  background: var(--ink);
  color: var(--sand);
  padding: 26px 30px;
  max-width: 220px;
}
.badge strong { display: block; font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; }
.badge span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.split__media--duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: end; }
.split__media--duo img:last-child { aspect-ratio: 3 / 4; margin-bottom: 60px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split__media .badge { left: 16px; bottom: 16px; }
}

/* ---------- Savoir-faire (catégories) ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.cat {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  aspect-ratio: 4 / 5;
  color: #fff;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--sand-2);
}
.cat--wide { grid-column: span 6; aspect-ratio: 16 / 11; }
.cat img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.cat::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 12, 12, .78));
  transition: opacity .5s;
}
.cat:hover img { transform: scale(1.06); }
.cat__body { padding: clamp(20px, 2.5vw, 32px); width: 100%; }
.cat__num { font-size: .72rem; letter-spacing: .2em; opacity: .8; }
.cat h3 { margin: 6px 0 8px; }
.cat p {
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .6s var(--ease), opacity .5s var(--ease);
}
.cat:hover p, .cat:focus-visible p { max-height: 120px; opacity: 1; }
.cat__arrow {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .35s, color .35s;
}
.cat:hover .cat__arrow { background: #fff; color: var(--ink); }
@media (max-width: 1000px) {
  .cat, .cat--wide { grid-column: span 6; aspect-ratio: 4 / 5; }
}
@media (max-width: 620px) {
  .cat, .cat--wide { grid-column: span 12; aspect-ratio: 5 / 4; }
  .cat p { max-height: 120px; opacity: 1; }
}

/* ---------- Matériaux ---------- */
.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 241, 234, .14);
  border: 1px solid rgba(245, 241, 234, .14);
}
.material { background: var(--ink); padding: clamp(32px, 4vw, 52px); }
.material__icon {
  width: 56px; height: 56px;
  border: 1px solid rgba(245, 241, 234, .3);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 32px;
  color: var(--cyan);
}
.material__icon svg { width: 24px; height: 24px; }
.material h3 { color: var(--sand); }
.material ul { list-style: none; padding: 0; margin: 20px 0 0; }
.material li {
  padding: 10px 0;
  border-top: 1px solid rgba(245, 241, 234, .12);
  font-size: .92rem;
  color: rgba(245, 241, 234, .78);
}
@media (max-width: 900px) { .materials { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.masonry { columns: 3 300px; column-gap: 20px; }
.masonry__item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sand-2);
  text-align: left;
}
.masonry__item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(12, 12, 12, .75));
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s, transform .4s var(--ease);
}
.masonry__item:hover .masonry__caption, .masonry__item:focus-visible .masonry__caption { opacity: 1; transform: none; }
.masonry__caption strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; display: block; }
.masonry__caption span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.masonry__item.is-hidden { display: none; }
@media (hover: none) { .masonry__caption { opacity: 1; transform: none; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter {
  background: none;
  border: 1px solid var(--line);
  padding: 10px 20px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-radius: 40px;
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--sand); }

/* Aperçu accueil */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(160px, 18vw, 260px);
  gap: 16px;
}
.preview-grid a { overflow: hidden; position: relative; display: block; }
.preview-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.preview-grid a:hover img { transform: scale(1.05); }
.preview-grid a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.preview-grid a:nth-child(4) { grid-row: span 2; }
@media (max-width: 800px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid a:nth-child(4) { grid-row: span 1; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(12, 12, 12, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; margin-inline: auto; object-fit: contain; }
.lightbox figcaption { color: var(--sand); margin-top: 16px; font-family: var(--serif); font-size: 1.3rem; }
.lightbox button {
  position: absolute;
  background: none; border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .12); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* ---------- Processus ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 1px solid var(--ink); padding-top: 28px; }
.step__num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--wood); margin-bottom: 20px; }
.step h3 { font-size: 1.5rem; }
.step p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Showroom ---------- */
.showroom {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.showroom > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.showroom::after { content: ""; position: absolute; inset: 0; background: rgba(14, 14, 14, .55); z-index: -1; }
.showroom__card {
  background: var(--paper);
  color: var(--ink);
  max-width: 520px;
  padding: clamp(32px, 5vw, 60px);
}
.showroom__card .info { display: grid; gap: 14px; margin: 28px 0 32px; }
.info__row { display: flex; gap: 16px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.info__row svg { width: 20px; height: 20px; color: var(--wood); flex: none; margin-top: 3px; }
.info__row strong { display: block; color: var(--ink); font-weight: 500; }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--paper); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.testimonial__quote { font-family: var(--serif); font-size: 4rem; line-height: .6; color: var(--wood); height: 30px; }
.testimonial blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; color: var(--ink); flex: 1; }
.testimonial figcaption { font-size: .85rem; color: var(--muted); }
.testimonial figcaption strong { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Bandeau CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta p { max-width: 50ch; margin-inline: auto; }
.cta__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Valeurs ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--paper); padding: clamp(28px, 3vw, 44px); }
.value__icon { color: var(--blue); margin-bottom: 24px; }
.value__icon svg { width: 32px; height: 32px; }
.value h3 { font-size: 1.5rem; }
.value p { font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.check-list li::before {
  content: ""; flex: none;
  width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%;
  background: var(--sand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E5A3F' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.quote-big {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.25;
  max-width: 26ch;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 100px); }
.contact-cards { display: grid; gap: 16px; margin-top: 36px; }
.contact-card {
  display: flex; gap: 20px; align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  transition: border-color .3s, background .3s;
}
a.contact-card:hover { border-color: var(--ink); background: var(--sand); }
.contact-card__icon {
  width: 48px; height: 48px; flex: none;
  border-radius: 50%;
  background: var(--sand);
  display: grid; place-items: center;
  color: var(--wood-dark);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-weight: 500; font-size: 1.05rem; }

.form { background: var(--sand); padding: clamp(28px, 4vw, 56px); }
.form h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(28, 28, 28, .3);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1C1C' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field .error { color: #B3261E; font-size: .8rem; min-height: 1em; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.form__foot p { font-size: .82rem; margin: 0; max-width: 34ch; color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

.map { width: 100%; height: clamp(320px, 45vw, 480px); border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: rgba(245, 241, 234, .72); padding-block: 88px 32px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer__logo img { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 24px; }
.footer p { color: rgba(245, 241, 234, .6); max-width: 34ch; }
.footer h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); font-weight: 500; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a {
  width: 42px; height: 42px;
  border: 1px solid rgba(245, 241, 234, .25);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s, color .3s;
}
.socials a:hover { background: var(--sand); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid rgba(245, 241, 234, .12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(245, 241, 234, .45);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 40;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Animations au défilement ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Pas de JS : tout reste visible */
.no-js .reveal { opacity: 1; transform: none; }

.center { text-align: center; }
.mt-lg { margin-top: 56px; }
.tiktok-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 40px; border: 1px solid var(--line); margin-top: 64px; }
.tiktok-band h3 { margin: 0; }
.tiktok-band p { margin: 4px 0 0; }

/* Lien d'évitement (accessibilité clavier) */
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--sand); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 16px; }

/* Vidéos de la galerie */
.masonry__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(251, 249, 245, .9);
  color: var(--ink);
  display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s;
}
.masonry__play svg { width: 24px; height: 24px; margin-left: 3px; }
.masonry__item:hover .masonry__play { transform: scale(1.1); background: #fff; }
.lightbox video { max-height: 78vh; max-width: 100%; margin-inline: auto; display: block; background: #000; }
.lightbox [hidden] { display: none; }
