/* =========================================================
   Lison Vincent — feuille de style
   DA : rose poudré (héritée du logo), prune profonde, rouge corde
   Typo : Playfair Display (titres) + DM Sans (texte)
   ========================================================= */

:root {
  --cream: #fbf5f2;
  --blush: #f4e4e7;
  --rose: #bf8394;        /* couleur du header actuel */
  --rose-soft: #d99eb1;   /* couleur du footer actuel */
  --rose-deep: #9c5a6e;
  --plum: #2a1720;
  --ink: #3a2930;
  --muted: #7b6870;
  --rope: #a8323e;        /* rouge des cordes */
  --line: rgba(58, 41, 48, 0.14);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  color: var(--plum);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--rose-deep); }

h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1.1em; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--plum);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 10px; }

:focus-visible { outline: 2px solid var(--rope); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--plum); color: var(--cream); }
.btn--primary:hover { background: var(--rope); }
.btn--ghost { border-color: var(--line); color: var(--plum); background: transparent; }
.btn--ghost:hover { border-color: var(--plum); }
.btn--light { background: var(--cream); color: var(--plum); }
.btn--light:hover { background: var(--rose-soft); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 242, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(251, 245, 242, 0.92); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: 50px; border-radius: 50%; }
.brand span { font-family: var(--serif); font-size: 1.2rem; color: var(--plum); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--rope);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 10px 20px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--plum);
  transition: transform 0.3s var(--ease), opacity 0.2s;
  content: "";
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero accueil ---------- */
.hero { padding: 60px 0 90px; position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: 0.95;
  margin-bottom: 28px;
}
.hero h1 em { display: block; padding-left: 0.6em; }
.hero__lead { font-size: 1.15rem; max-width: 520px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li {
  font-size: 0.85rem;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.hero__visual { position: relative; justify-self: center; width: min(420px, 100%); }
.hero__portrait {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px -30px rgba(42, 23, 32, 0.45);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }

/* anneaux concentriques, clin d'œil au logo / à la corde enroulée */
.rings {
  position: absolute;
  inset: -18% -22% auto auto;
  width: 120%;
  z-index: 1;
  color: var(--rose-soft);
  opacity: 0.55;
  animation: spin 80s linear infinite;
}
.badge {
  position: absolute;
  left: -46px;
  bottom: 40px;
  width: 132px;
  height: 132px;
  z-index: 3;
  background: var(--plum);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
}
.badge svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.badge text { font-size: 9.5px; letter-spacing: 2.6px; fill: var(--cream); font-family: var(--sans); text-transform: uppercase; }
.badge b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Bandeau défilant ---------- */
.marquee {
  background: var(--rose);
  color: var(--cream);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; animation: scroll 32s linear infinite; }
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee span::after { content: "✦"; font-style: normal; font-size: 0.7em; opacity: 0.7; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--blush { background: var(--blush); }
.section__head { max-width: 640px; margin-bottom: 60px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }

/* À propos */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.about__quote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: var(--plum);
  position: sticky;
  top: 120px;
}
.about__quote em { color: var(--rope); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.timeline strong { font-family: var(--serif); font-weight: 500; color: var(--plum); font-size: 1.1rem; }
.timeline span { color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px 28px;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s;
  display: flex;
  flex-direction: column;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(42, 23, 32, 0.35); background: #fff; }
.service__num { font-family: var(--serif); font-style: italic; color: var(--rose); font-size: 1rem; }
.service h3 { margin: 40px 0 18px; }
.service ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.service li {
  font-size: 0.82rem;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--blush);
}
.service--dark { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.service--dark:hover { background: #3a2230; }
.service--dark h3 { color: var(--cream); }
.service--dark li { background: rgba(255, 255, 255, 0.1); }
.service__link { margin-top: auto; padding-top: 26px; font-size: 0.9rem; font-weight: 600; text-decoration: none; color: var(--rose-soft); }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  font: inherit;
  font-size: 0.92rem;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter:hover { border-color: var(--plum); }
.filter.is-active { background: var(--plum); color: var(--cream); border-color: var(--plum); }

.gallery { columns: 3 280px; column-gap: 18px; }
.gallery__item {
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--blush);
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
}
.gallery__item img { width: 100%; height: auto; transition: transform 0.8s var(--ease), filter 0.5s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(251, 245, 242, 0.92);
  color: var(--plum);
  padding: 5px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s var(--ease);
}
.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery__item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 13, 19, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
}
.lightbox.is-open { display: flex; animation: fade 0.3s; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.3s;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* Teaser shibari (section sombre) */
.dark { background: var(--plum); color: rgba(251, 245, 242, 0.82); }
.dark h2, .dark h3 { color: var(--cream); }
.dark h2 em { color: var(--rose-soft); }
.dark .eyebrow { color: var(--rose-soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media img + img {
  position: absolute;
  width: 46%;
  right: -30px;
  bottom: -40px;
  border: 6px solid var(--plum);
  aspect-ratio: 3 / 4;
}
.rope-line { width: 100%; height: 40px; color: var(--rope); margin: 10px 0 24px; }

/* CTA contact */
.cta { text-align: center; padding: 130px 0; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.cta p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }
.cta .rings { inset: 50% auto auto 50%; width: 900px; transform: translate(-50%, -50%); animation: none; opacity: 0.35; }
.cta > .wrap { position: relative; z-index: 2; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: 70px 0 90px; }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero__media img { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.manifesto {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.25;
  color: var(--cream);
  max-width: 900px;
}
.manifesto em { color: var(--rose-soft); }
.columns-2 { columns: 2 320px; column-gap: 60px; margin-top: 50px; }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(42, 23, 32, 0.35); }
.offer img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.offer div { padding: 26px 26px 30px; }
.offer p { font-size: 0.96rem; color: var(--muted); margin: 0; }
.offer--wide { grid-column: span 2; }
.offer--wide img { aspect-ratio: 16 / 9; }

.cities { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; padding: 0; list-style: none; }
.cities li {
  font-family: var(--serif);
  font-size: 1.3rem;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.cities li:first-child { background: var(--plum); color: var(--cream); border-color: var(--plum); }

.feature-video {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  background: var(--blush);
  border-radius: 28px;
  padding: 26px;
}
.feature-video img { border-radius: 18px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Contact */
.contact-simple { text-align: center; padding: 110px 0 130px; }
.page-hero.contact-simple .wrap { display: block; max-width: 820px; }
.contact-simple .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.contact-simple .hero__lead { margin-inline: auto; max-width: 600px; }
.contact-simple .hero__actions { justify-content: center; }
.contact-mail {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  color: var(--rose-deep);
  text-decoration: none;
  margin: 18px 0 6px;
  background: linear-gradient(var(--rope), var(--rope)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
  overflow-wrap: anywhere;
}
.contact-mail:hover { background-size: 100% 1px; color: var(--rope); }
.form__note { font-size: 0.85rem; color: var(--muted); margin-top: 26px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rose-soft); color: var(--plum); padding: 70px 0 30px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__big { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin-bottom: 16px; }
.footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(42, 23, 32, 0.2);
  padding-top: 22px;
  margin-top: 30px;
  font-size: 0.85rem;
}

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 24px 40px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    z-index: -1;
  }
  .nav a { font-family: var(--serif); font-size: 1.6rem; }
  .nav .btn { font-family: var(--sans); font-size: 1rem; }
  .nav-open .nav { transform: none; }

  .hero .wrap, .about, .split, .page-hero .wrap, .feature-video { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 30px; }
  .hero__visual { width: min(340px, 86%); }
  .badge { left: -20px; width: 110px; height: 110px; }
  .about__quote { position: static; }
  .section { padding: 84px 0; }
  .split__media img + img { right: -10px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .lightbox { padding: 20px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
}

@media (max-width: 560px) {
  .services, .offers { grid-template-columns: 1fr; }
  .offer--wide { grid-column: auto; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
