:root {
  --ink: #0a0908;
  --paper: #f2ede5;
  --accent: #9b7658;
  --accent-dark: #7e5e46;
  --line: rgba(10, 9, 8, .62);
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper) url("../assets/hero-studio.webp") center / cover no-repeat;
}
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(247,242,234,.32), rgba(247,242,234,.08) 46%, transparent 68%);
  pointer-events: none;
}
.shell {
  width: min(100% - clamp(2rem, 9vw, 9rem), 92rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 4.5rem) 0 clamp(2rem, 3.8vw, 3.75rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.brand { width: clamp(10.5rem, 14vw, 13.5rem); color: var(--ink); }
.brand img { display: block; width: 100%; height: auto; }
.language-switcher { display: flex; align-items: center; margin-top: .2rem; font-size: .95rem; letter-spacing: .09em; }
.language-switcher button {
  appearance: none;
  border: 0;
  padding: .55rem .3rem;
  color: rgba(255,255,255,.58);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.language-switcher button[aria-pressed="true"], .language-switcher button:hover { color: #fff; }
.language-switcher span { margin: 0 .2rem; color: #fff; }
.language-switcher button:focus-visible, .cta:focus-visible, .brand:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.content { align-self: center; width: min(53vw, 48rem); padding: clamp(3rem, 7vh, 6.5rem) 0 clamp(2rem, 3vh, 3rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0 0 clamp(1.4rem, 3vh, 2.6rem);
  font-size: clamp(.72rem, 1vw, .93rem);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  white-space: nowrap;
}
.eyebrow::after { content: ""; width: clamp(3rem, 6vw, 5.2rem); height: 1px; background: var(--accent-dark); }
h1 {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(3.25rem, 5.7vw, 6.2rem);
  font-weight: 600;
  line-height: .91;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.intro { max-width: 40rem; margin: clamp(2rem, 4.4vh, 3.25rem) 0 0; font-size: clamp(1rem, 1.5vw, 1.42rem); line-height: 1.45; letter-spacing: -.015em; }
.launch-note { max-width: 34rem; margin: clamp(2.25rem, 5vh, 4rem) 0 0; font-size: clamp(1.05rem, 1.5vw, 1.42rem); font-weight: 700; line-height: 1.4; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: min(100%, 26.5rem);
  margin-top: clamp(2.25rem, 4.8vh, 3.75rem);
  padding: 1.25rem 1.8rem;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  transition: background 180ms ease, transform 180ms ease;
}
.cta::after { content: "→"; font-size: 1.55em; line-height: 1; transition: transform 180ms ease; }
.cta:hover { background: var(--accent-dark); transform: translateY(-2px); }
.cta:hover::after { transform: translateX(.3rem); }
.footer-line { display: flex; flex-direction: column; gap: 1.2rem; font-size: clamp(.68rem, .85vw, .82rem); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.footer-line::before { content: ""; width: 5rem; height: 1px; background: var(--line); }

@media (max-width: 900px) {
  .page {
    background-position: 82% top;
    background-size: auto min(135vw, 45rem);
    background-repeat: no-repeat;
    background-color: var(--paper);
  }
  .page::before { background: linear-gradient(180deg, rgba(244,239,231,.02) 0 105vw, var(--paper) 126vw 100%); }
  .shell { width: min(100% - 2.25rem, 43rem); min-height: 100svh; padding: 1.5rem 0 2rem; }
  .brand { width: 8.25rem; }
  .content {
    align-self: start;
    width: 100%;
    padding: calc(126vw - 8.5rem) 0 3.5rem;
    /* Bloc redescendu de 55 px supplémentaires par rapport à la v3. */
    transform: translateY(10px);
  }
  h1 { font-size: clamp(2.55rem, 10.8vw, 4.75rem); line-height: .94; letter-spacing: -.045em; }
  .intro { max-width: 35rem; }
}

@media (max-width: 520px) {
  .eyebrow { gap: .8rem; font-size: .64rem; letter-spacing: .18em; }
  .eyebrow::after { width: 2.25rem; }
  h1 { line-height: .92; }
  .cta { min-width: 100%; padding: 1.15rem 1.25rem; }
  .footer-line { letter-spacing: .23em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
