/* ==========================================================
   Cie Y'a Pas d'Quoi — design éditorial contemporain
   Typo géante, layout asymétrique, animations premium.
   Palette : café noir, crème, terracotta, ambre, vert forêt.
   ========================================================== */

:root {
  --ink: #1c1712;          /* café noir — texte & fonds sombres */
  --paper: #f3ede1;        /* crème — fond principal */
  --cream: #fbf7ee;        /* crème clair — cartes */
  --terra: #c05a33;        /* terracotta — accent principal */
  --amber: #d99b3d;        /* ambre — accent secondaire */
  --forest: #2e4238;       /* vert forêt — touches */
  --line: rgba(28, 23, 18, 0.18);
  --line-strong: rgba(28, 23, 18, 0.6);
  --text-soft: rgba(28, 23, 18, 0.62);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  --wrap: 1400px;
  --gutter: clamp(20px, 4vw, 64px);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain subtil */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--terra); color: var(--cream); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Typographie ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.display-xl {
  font-size: clamp(3.2rem, 12.5vw, 12.5rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.display-l { font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
.display-m { font-size: clamp(1.7rem, 3.2vw, 2.8rem); }

em, .italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  color: var(--terra);
}

.label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-soft);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 42rem;
}

/* ---------- Liens / boutons éditoriaux ---------- */

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  transition: color var(--transition);
}

.btn-line::after {
  content: "→";
  font-size: 1rem;
  transition: transform var(--transition);
}

.btn-line:hover { color: var(--terra); }
.btn-line:hover::after { transform: translateX(6px); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1.05rem 2.4rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.btn-pill span { position: relative; z-index: 1; }

.btn-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--terra);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}

.btn-pill:hover { color: var(--cream); border-color: var(--terra); }
.btn-pill:hover::before { transform: translateY(0); }

.btn-pill.solid {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--cream);
}
.btn-pill.solid::before { background: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(243, 237, 225, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.logo em { font-size: 1.15em; }

.main-nav ul {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink);
  opacity: 0.65;
  transition: opacity var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* header sur fond sombre (pages intérieures) */
.header-on-dark:not(.scrolled) { color: var(--cream); }
.header-on-dark:not(.scrolled) .main-nav a { color: var(--cream); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  margin: 6px auto;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.nav-toggle[aria-expanded="true"] { color: var(--cream); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero accueil : photo plein écran, texte crème ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 7.5rem;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(28, 23, 18, 0.72) 0%,
    rgba(28, 23, 18, 0.30) 42%,
    rgba(28, 23, 18, 0.82) 100%);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(251, 247, 238, 0.25);
}

.hero-top .label { color: rgba(251, 247, 238, 0.65); }

.hero-title {
  margin-top: auto;
  color: var(--cream);
}

.hero-title em { color: var(--amber); }

.hero-title .row { display: block; overflow: hidden; }

.hero-title .row .inner { display: inline-block; }

.hero-title .indent { padding-left: clamp(1.5rem, 6vw, 7rem); }

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding: 3rem 0 2.5rem;
}

.hero-foot .lead { max-width: 30rem; color: rgba(251, 247, 238, 0.8); }

.scroll-hint {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(251, 247, 238, 0.6);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.scroll-hint::after {
  content: "↓";
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  white-space: nowrap;
  background: var(--paper);
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 480;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}

.marquee span::after {
  content: "✳";
  color: var(--terra);
  font-size: 0.8em;
}

.marquee.dark {
  background: var(--ink);
  color: var(--cream);
  border-color: rgba(251, 247, 238, 0.15);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(5rem, 10vw, 9rem) 0; }

/* one-page : les ancres s'arrêtent sous le header fixe (fallback sans JS) */
section[id] { scroll-margin-top: 84px; }

.section-dark {
  background: var(--ink);
  color: var(--cream);
}

.section-dark .label { color: rgba(251, 247, 238, 0.5); }
.section-dark .lead { color: rgba(251, 247, 238, 0.65); }
.section-dark .btn-line { border-color: rgba(251, 247, 238, 0.4); }
.section-dark .btn-line:hover { color: var(--amber); }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.section-dark .sec-head { border-color: rgba(251, 247, 238, 0.15); }

/* ---------- Split éditorial ---------- */

.edito {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.edito .sticky-col { position: sticky; top: 120px; }

.edito-media {
  overflow: hidden;
  border-radius: 2px;
}

.edito-media img {
  width: 100%;
  height: auto;
  will-change: transform;
}

.big-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 460;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 24ch;
}

.big-quote em { font-size: 1.02em; }

/* ---------- Liste services (index rows) ---------- */

.index-list { list-style: none; }

.index-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.4s var(--ease-out);
  cursor: pointer;
}

.index-row:first-child { border-top: 1px solid var(--line); }

.section-dark .index-row,
.section-dark .index-row:first-child { border-color: rgba(251, 247, 238, 0.15); }

.index-row .num {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-soft);
  min-width: 3ch;
}

.section-dark .index-row .num { color: rgba(251, 247, 238, 0.45); }

.index-row h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 520;
  transition: transform 0.4s var(--ease-out), color var(--transition);
}

.index-row p {
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.section-dark .index-row p { color: rgba(251, 247, 238, 0.6); }

.index-row .arrow {
  font-size: 1.6rem;
  transition: transform 0.4s var(--ease-out), color var(--transition);
}

.index-row:hover h3 { transform: translateX(10px); color: var(--terra); }
.section-dark .index-row:hover h3 { color: var(--amber); }
.index-row:hover .arrow { transform: translate(6px, -6px) rotate(-45deg); color: var(--terra); }
.section-dark .index-row:hover .arrow { color: var(--amber); }

.index-row-body { display: grid; gap: 0.4rem; }

/* ---------- Chiffres ---------- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat { border-left: 1px solid rgba(251, 247, 238, 0.2); padding-left: 1.6rem; }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--amber);
}

.stat span {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(251, 247, 238, 0.55);
}

/* ---------- Galerie ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--ink);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.4rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(28, 23, 18, 0.8));
  color: var(--cream);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover figcaption { opacity: 1; transform: none; }

/* offsets éditoriaux */
.g-span-7 { grid-column: span 7; aspect-ratio: 16 / 11; }
.g-span-5 { grid-column: span 5; aspect-ratio: 4 / 5; }
.g-span-4 { grid-column: span 4; aspect-ratio: 1; }
.g-span-6 { grid-column: span 6; aspect-ratio: 3 / 2; }
.g-offset { margin-top: clamp(2rem, 6vw, 5rem); }

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(28, 23, 18, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 2px;
}

.lightbox-caption {
  position: absolute;
  bottom: 3.4vh;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(251, 247, 238, 0.8);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(251, 247, 238, 0.3);
  color: var(--cream);
  font-size: 1.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition), border-color var(--transition);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--terra);
  border-color: var(--terra);
}

.lightbox-close { top: 3vh; right: 3vw; }
.lightbox-prev { left: 3vw; top: 50%; margin-top: -26px; }
.lightbox-next { right: 3vw; top: 50%; margin-top: -26px; }

/* ---------- Bandeaux page intérieure ---------- */

.page-hero {
  position: relative;
  padding: clamp(9rem, 16vw, 13rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.page-hero .display-xl { position: relative; z-index: 2; }

.page-hero .lead {
  color: rgba(251, 247, 238, 0.65);
  margin-top: 1.6rem;
  position: relative;
  z-index: 2;
}

.page-hero .bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-size: cover;
  background-position: center;
  filter: saturate(0.7);
}

/* ---------- CTA géant ---------- */

.giant-cta {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.giant-cta .label { margin-bottom: 1.4rem; display: block; }

.giant-cta a.giant-link {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 8rem);
  font-weight: 520;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-block;
  position: relative;
  transition: color 0.35s ease;
}

.giant-cta a.giant-link .arrow { font-family: var(--font-body); }

.giant-cta a.giant-link:hover { color: var(--terra); }

.giant-cta a.giant-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.06em;
  width: 100%;
  height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}

.giant-cta a.giant-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Formulaires ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.4rem; }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.9rem 0;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-bottom-color: var(--terra);
}

textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.82rem; color: var(--text-soft); margin-top: 1.2rem; }

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--terra);
  min-height: 1.4em;
}

/* Newsletter */

.newsletter-band {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter-inner .display-m { color: var(--cream); }
.newsletter-inner p { color: rgba(251, 247, 238, 0.65); margin-top: 0.6rem; }

.newsletter-form {
  display: flex;
  gap: 1.4rem;
  align-items: flex-end;
  border-bottom: 1px solid rgba(251, 247, 238, 0.4);
  padding-bottom: 0.6rem;
}

.newsletter-form input {
  flex: 1;
  border: none;
  color: var(--cream);
  font-size: 1.05rem;
  padding: 0.4rem 0;
}

.newsletter-form input::placeholder { color: rgba(251, 247, 238, 0.4); }

.newsletter-form button {
  background: none;
  border: none;
  color: var(--amber);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  padding: 0.4rem 0;
  transition: color var(--transition);
}

.newsletter-form button:hover { color: var(--cream); }

.newsletter-band .form-feedback { color: var(--amber); }

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-meta { display: grid; gap: 2.2rem; }

.contact-meta .item { border-top: 1px solid var(--line); padding-top: 1.2rem; }

.contact-meta .label { display: block; margin-bottom: 0.4rem; }

.contact-meta a {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  transition: color var(--transition);
}

.contact-meta a:hover { color: var(--terra); }

.socials { display: flex; gap: 1.6rem; flex-wrap: wrap; }

.socials a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.3rem;
  transition: color var(--transition), border-color var(--transition);
}

.socials a:hover { color: var(--terra); border-color: var(--terra); }

/* ---------- Timeline ---------- */

.timeline { list-style: none; }

.timeline li {
  display: grid;
  grid-template-columns: minmax(90px, 160px) 1fr;
  gap: 2rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}

.timeline strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 540;
}

.timeline p { color: var(--text-soft); max-width: 40rem; }

/* ---------- Équipe ---------- */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.team-card { border-top: 1px solid var(--line); padding-top: 1.4rem; }

.team-card .avatar {
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--forest);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.team-card h3 { font-size: 1.15rem; font-weight: 540; }
.team-card p { font-size: 0.85rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(251, 247, 238, 0.6);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  overflow: hidden;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 8.4rem);
  font-weight: 540;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.footer-brand em { color: var(--terra); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(251, 247, 238, 0.15);
  font-size: 0.92rem;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(251, 247, 238, 0.4);
  margin-bottom: 1.1rem;
}

.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { transition: color var(--transition); }
.site-footer a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(251, 247, 238, 0.1);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(251, 247, 238, 0.35);
}

/* ---------- Menu mobile overlay ---------- */

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--ink);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .main-nav.open { opacity: 1; pointer-events: auto; }

  .main-nav ul { flex-direction: column; text-align: center; gap: 1.2rem; }

  .main-nav a {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--cream);
    opacity: 1;
  }
}

/* ---------- Curseur custom ---------- */

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--terra);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  opacity: 0;
  mix-blend-mode: multiply;
}

.cursor-dot.on { opacity: 1; }
.cursor-dot.grow { width: 46px; height: 46px; background: var(--amber); }

@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ---------- Reveal (fallback sans GSAP) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: none; }

/* split-text : lignes masquées avant animation */
.split-ready .line-mask { overflow: hidden; display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .cursor-dot { display: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .edito, .newsletter-inner, .contact-layout { grid-template-columns: 1fr; }
  .edito .sticky-col { position: static; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr; gap: 2.4rem; }
}

@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .g-span-7, .g-span-5, .g-span-4, .g-span-6 { grid-column: span 12; }
  .g-offset { margin-top: 0; }
  .hero { padding-top: 7rem; }
  .hero-top .label:last-child { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .index-row { grid-template-columns: auto 1fr; }
  .index-row .arrow { display: none; }
  .sec-head { flex-direction: column; gap: 0.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0.4rem; }
}
