/* ===================================================================
   Société Quévarec — feuille de styles  ·  Viryma.ai
   DA : Premium / cinématographique  (fond sombre, accent vert — logo SQ)
   =================================================================== */

/* ---------- Tokens ---------- */
:root {
  --container: 1240px;
  --radius: 18px;
  --radius-s: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --bg: #0c0a09;
  --bg-2: #14100d;
  --surface: #1b1612;
  --surface-2: #241c16;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.15);
  --text: #f3eee5;
  --muted: #a89d8f;

  /* Couleurs de marque Quévarec — issues du logo SQ */
  --accent: #aec22f;        /* vert lime du logo, calibré écran — accent principal */
  --accent-2: #c6d96a;      /* vert clair — hover & dégradés */
  --accent-deep: #516c17;   /* vert profond — texte sur fond clair (hero) */
  --accent-ink: #16190b;    /* texte foncé sur aplat vert */
  --orange: #e0862f;        /* orange du logo — marques « Q » */
  --orange-2: #d65f2b;      /* rouge-orangé du logo */
  --wa: #25d366;

  --ff-display: "Fraunces", Georgia, serif;
  --ff-body: "Manrope", system-ui, sans-serif;

  --h1: clamp(2.6rem, 6vw, 4.9rem);
  --h2: clamp(2rem, 4.2vw, 3.3rem);
  --h3: clamp(1.25rem, 1.7vw, 1.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: #080605; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { color: var(--muted); }
strong { color: var(--text); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow--light { color: var(--accent-2); }

.lead { font-size: 1.12rem; color: #cdc4b6; }

.head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.head h2 { color: var(--text); }
.head__sub { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 100px;
  font-weight: 700; font-size: .95rem;
  transition: transform .3s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease), color .3s var(--ease);
  min-height: 48px;
}
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--accent { background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 14px 30px -12px rgba(174,194,47,.6); }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-3px);
  box-shadow: 0 18px 38px -10px rgba(174,194,47,.7); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.06); transform: translateY(-3px); }
.btn--dark { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn--dark:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 12px 0;
  background: rgba(12,10,9,.82);
  backdrop-filter: blur(13px);
}
.header.is-stuck {
  padding: 8px 0;
  background: rgba(12,10,9,.94);
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -20px rgba(0,0,0,.9);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(140deg, var(--accent) 35%, var(--orange));
  color: var(--accent-ink);
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong {
  font-family: var(--ff-display); font-size: 1.3rem; font-weight: 600;
  letter-spacing: .02em; color: var(--text);
}
.brand__text em {
  font-style: normal; font-size: .62rem; font-weight: 600;
  letter-spacing: .19em; text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: .92rem; font-weight: 600; color: #d8cfc1; position: relative; padding: 4px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent); transition: width .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__foot { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.iconbtn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid var(--line-2); color: #d8cfc1;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.iconbtn:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

.burger { display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line-2); }
.burger span { width: 22px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero — vidéo pilotée par le scroll ---------- */
.hero { position: relative; height: 100svh; background: #faf8f4; }
.hero--scrub { height: var(--hero-scroll, 200vh); }   /* ajouté par le JS — 200vh = ~1 écran de scroll pour toute la vidéo */

.hero__stage {
  position: sticky; top: 0;
  height: 100svh; overflow: hidden;
  display: flex; align-items: center;
}
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  background: #faf8f4;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(250,248,244,0) 32%,
    rgba(250,248,244,.55) 52%,
    rgba(250,248,244,.92) 74%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__panel { margin-left: auto; max-width: 540px; }

.hero .eyebrow { color: var(--accent-deep); }
.hero__title {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(2.3rem, 3.7vw, 3.8rem); line-height: 1.07;
  letter-spacing: -.01em; color: #1c140b;
}
.hero__sub { margin: 20px 0 28px; font-size: 1.1rem; color: #54493b; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; }
.hero__badges li {
  font-size: .84rem; font-weight: 600; color: #54493b;
  padding-left: 21px; position: relative;
}
.hero__badges li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent-deep); box-shadow: 0 0 0 4px rgba(81,108,23,.2);
}

.hero__hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; display: none; align-items: center; gap: 10px;
  font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: #6c6051;
}
.hero--scrub .hero__hint { display: flex; }
.hero__hint span {
  flex: none; width: 25px; height: 39px; border-radius: 13px;
  border: 2px solid rgba(28,20,11,.32); position: relative;
}
.hero__hint span::before {
  content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: var(--accent-deep);
  animation: scrolldot 1.7s var(--ease) infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 15px 0; }
.marquee__track { display: flex; gap: 34px; white-space: nowrap; width: max-content;
  animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/4.6; object-fit: cover; }
.about__tag {
  position: absolute; right: -16px; bottom: 30px;
  background: var(--accent); color: var(--accent-ink);
  padding: 16px 22px; border-radius: var(--radius-s); max-width: 215px;
  box-shadow: 0 22px 40px -14px rgba(0,0,0,.7);
}
.about__tag strong { display: block; font-family: var(--ff-display); font-size: 1.7rem; color: var(--accent-ink); }
.about__tag span { font-size: .8rem; font-weight: 600; }
.about__body h2 { color: var(--text); margin-bottom: 8px; }
.about__body p { margin-top: 14px; }

.stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.stat { flex: 1; min-width: 130px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-s); padding: 20px 18px; }
.stat__num { font-family: var(--ff-display); font-size: 2.4rem; font-weight: 600; color: var(--accent); display: block; }
.stat__lbl { font-size: .82rem; color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { border-color: var(--line-2); box-shadow: 0 30px 50px -28px rgba(0,0,0,.8); }
.service__img { aspect-ratio: 3/2.1; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service:hover .service__img img { transform: scale(1.07); }
.service__body { padding: 26px 24px 28px; }
.service__body h3 { color: var(--text); margin-bottom: 10px; }
.service__body p { font-size: .96rem; }
.ticks { margin-top: 16px; display: grid; gap: 9px; }
.ticks li { font-size: .88rem; color: #cdc4b6; padding-left: 24px; position: relative; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}

/* ---------- Avant / Après ---------- */
.ba { max-width: 880px; margin: 0 auto 54px; }
.ba__frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/10; user-select: none; border: 1px solid var(--line);
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 44px;
  transform: translateX(-50%); cursor: ew-resize; z-index: 3;
}
.ba__handle::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; transform: translateX(-50%); background: var(--accent);
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700;
  box-shadow: 0 8px 22px -6px rgba(0,0,0,.8);
}
.ba__handle span::before { content: "‹ ›"; letter-spacing: -2px; }
.ba__lbl {
  position: absolute; bottom: 14px; z-index: 2;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; background: rgba(8,6,5,.78); color: #fff;
}
.ba__lbl--before { left: 14px; }
.ba__lbl--after { right: 14px; }
.ba__cap { text-align: center; margin-top: 14px; font-size: .9rem; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; grid-auto-flow: dense; }
.gallery__item { position: relative; border-radius: var(--radius-s); overflow: hidden;
  aspect-ratio: 4/3; border: 1px solid var(--line); }
.gallery__item--tall { grid-row: span 2; aspect-ratio: 4/6.3; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8/3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0; padding: 28px 16px 14px;
  font-size: .85rem; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(8,6,5,.9));
  transform: translateY(8px); opacity: 0; transition: .35s var(--ease);
}
.gallery__item:hover figcaption { transform: none; opacity: 1; }

/* ---------- Pourquoi ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.why__card:hover { transform: translateY(-6px); border-color: var(--accent); }
.why__ico {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; background: rgba(174,194,47,.14); color: var(--accent);
  font-size: 1.4rem; margin-bottom: 16px;
}
.why__card h3 { color: var(--text); font-size: 1.2rem; margin-bottom: 8px; }
.why__card p { font-size: .92rem; }

/* ---------- Showroom ---------- */
.showroom { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.showroom__body h2 { color: var(--text); margin-bottom: 8px; }
.showroom__body p { margin-top: 14px; }
.showroom__body .btn { margin-top: 24px; }
.showroom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.showroom__grid figure { border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); }
.showroom__grid figure:first-child { grid-column: span 2; aspect-ratio: 16/10; }
.showroom__grid figure:not(:first-child) { aspect-ratio: 1/1; }
.showroom__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.showroom__grid figure:hover img { transform: scale(1.06); }

/* ---------- Recrutement ---------- */
.recruit__body { max-width: 760px; }
.recruit__body h2 { color: var(--text); margin-bottom: 8px; }
.recruit__body p { margin-top: 14px; }
.posts { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 6px; }
.posts li {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 100px; padding: 10px 20px; font-weight: 600; font-size: .92rem; color: var(--text);
}
.note { font-size: .82rem; color: var(--muted); font-style: italic; }
.recruit__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.ph {
  background: rgba(174,194,47,.16);
  box-shadow: inset 0 0 0 1px rgba(174,194,47,.4);
  border-radius: 6px; padding: 0 4px;
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; }
.form { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .82rem; font-weight: 700; color: #cdc4b6;
  margin-bottom: 14px; letter-spacing: .02em; }
.form input, .form select, .form textarea {
  width: 100%; margin-top: 7px; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); font-size: .95rem; font-weight: 500;
  transition: border-color .25s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form textarea { resize: vertical; }
.form .btn { width: 100%; margin-top: 6px; }
.form__hint { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form input:invalid:not(:placeholder-shown) { border-color: #c0563f; }

.coords { background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.coords h3 { font-family: var(--ff-display); color: var(--text); margin-bottom: 18px; }
.coords__list { display: grid; gap: 18px; }
.coords__list li { display: grid; gap: 3px; }
.coords__k { font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); }
.coords__list a:hover { color: var(--accent); }
.coords__social { display: flex; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.coords__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); color: #d8cfc1; transition: .3s var(--ease);
}
.coords__social a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

/* ---------- Carte ---------- */
.map { margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map__consent, .map__frame { width: 100%; height: 380px; }
.map__consent {
  display: flex; flex-direction: column; gap: 14px;
  align-items: center; justify-content: center; text-align: center;
  background: var(--surface); padding: 24px;
}
.map__consent p { max-width: 420px; font-size: .92rem; }
.map__frame { border: 0; }

/* ---------- Footer ---------- */
.footer { background: #080605; border-top: 1px solid var(--line); padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.brand--light .brand__text strong { color: var(--text); }
.footer__col p { font-size: .92rem; margin-top: 16px; }
.footer__col h4 { font-family: var(--ff-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer__col > a, .footer__col > span { display: block; font-size: .92rem; color: var(--muted);
  margin-bottom: 9px; transition: color .25s var(--ease); }
.footer__col > a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line-2); color: #d8cfc1; transition: .3s var(--ease); }
.footer__social a:hover { background: var(--accent); color: var(--accent-ink); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  align-items: center; padding: 22px 28px; border-top: 1px solid var(--line);
}
.footer__bottom p { font-size: .82rem; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--accent); }
.footer__credit a { color: var(--accent); font-weight: 600; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 15px;
  border-radius: 100px; background: var(--wa); color: #fff;
  overflow: hidden; max-width: 60px; white-space: nowrap;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.65);
  transition: max-width .45s var(--ease), transform .3s var(--ease);
}
.wa-float:hover { max-width: 290px; transform: translateY(-3px); }
.wa-float svg { flex: none; }                       /* l'icône ne se laisse pas écraser par le flex */
.wa-float__label {
  font-weight: 700; font-size: .92rem; flex: none;
  opacity: 0; transition: opacity .3s var(--ease);   /* masqué tant que le bouton est replié */
}
.wa-float:hover .wa-float__label { opacity: 1; }

/* ---------- Retour en haut ---------- */
.totop {
  position: fixed; right: 24px; bottom: 92px; z-index: 940;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text);
  font-size: 1.1rem; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.totop.is-show { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 980;
  max-width: 540px; margin: 0 auto;
  background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 20px 22px;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.8);
  display: none;
}
.cookies.is-show { display: block; }
.cookies p { font-size: .88rem; }
.cookies__btns { display: flex; gap: 12px; margin-top: 14px; }
.cookies__btns .btn { flex: 1; }

/* ---------- Préchargeur & progression ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark {
  width: 70px; height: 70px; border-radius: 18px;
  background: linear-gradient(140deg, var(--accent) 35%, var(--orange));
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 2.4rem; font-weight: 600;
  animation: pulse 1.3s var(--ease) infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(.88);opacity:.6} }

.progress {
  position: fixed; inset: 0 auto auto 0; z-index: 999;
  height: 3px; width: 0; background: var(--accent);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Pages légales ---------- */
.legal { padding: 150px 0 90px; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal a.legal__back { color: var(--accent); font-weight: 600; font-size: .9rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--text); margin: 18px 0 10px; }
.legal__intro { font-size: 1.02rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.4rem; color: var(--text); margin: 34px 0 12px; }
.legal h3 { font-size: 1.05rem; color: var(--text); margin: 20px 0 6px; }
.legal p, .legal li { font-size: .96rem; color: var(--muted); }
.legal p { margin-bottom: 10px; }
.legal ul { margin: 8px 0 14px; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a:not(.legal__back) { color: var(--accent); }
.legal__updated { margin-top: 40px; font-size: .82rem; font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    background: var(--bg-2); border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 90px 40px; transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav__link { font-size: 1.25rem; font-family: var(--ff-display); }
  .nav__foot { display: block; margin-top: 8px; }
  .nav__cta { display: inline-flex; padding: 14px 28px; border-radius: 100px;
    background: var(--accent); color: var(--accent-ink); font-weight: 700; }
  .services, .why { grid-template-columns: repeat(2, 1fr); }
  .about, .showroom, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }
  .about__tag { right: 16px; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .services, .why, .gallery, .showroom__grid { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--tall, .gallery__item--wide { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
  .showroom__grid figure:first-child { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .stat { min-width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { justify-content: flex-start; padding: 22px 20px; }
  .about__tag { position: static; margin-top: -30px; margin-left: auto; }
}

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

/* Hero statique : reduced-motion sur desktop (pas de scrubbing) */
.hero--static .hero__scrim {
  background: linear-gradient(90deg,
    rgba(250,248,244,.35) 0%, rgba(250,248,244,.7) 45%, rgba(250,248,244,.95) 78%);
}

/* Hero mobile : la vidéo a sa propre bande, le texte passe dessous */
@media (max-width: 760px) {
  .hero { height: auto; padding-top: 88px; }   /* dégage le header fixe */
  .hero__stage { position: static; height: auto; display: block; }
  .hero__video {
    position: relative;
    width: 100%; height: 44svh;
    border-radius: 0 0 var(--radius) var(--radius);
    object-position: 44% 50%;
  }
  .hero__scrim { display: none; }
  .hero__inner { padding-top: 34px; padding-bottom: 50px; }
  .hero__panel { max-width: 100%; }
}
