@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #111714;
  --ivory: #f5f0e7;
  --gold: #dcc6a0;
  --muted: #c4c6bd;
  --gutter: clamp(1.5rem, 5.55vw, 7rem);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; }
button[hidden] { display: none; }
::selection { color: var(--ink); background: var(--gold); }

.scene { position: fixed; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; background: var(--ink); }
.scene__parallax { position: absolute; inset: -12px; transform: translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 0); }
.scene__image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 65% 50%; animation: image-arrival 6s var(--ease) both; }
.scene__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(13 20 17 / .38), rgb(13 20 17 / .13) 40%, transparent 68%), linear-gradient(0deg, rgb(10 16 13 / .9), transparent 29%, transparent 75%, rgb(10 16 13 / .32)); }
.scene__light { position: absolute; inset: 0; opacity: 0; background: radial-gradient(650px circle at var(--light-x, 35%) var(--light-y, 45%), rgb(239 214 165 / .08), transparent 75%); transition: opacity 1.2s; mix-blend-mode: screen; }
.scene__veil { position: absolute; inset: 0; background: var(--ink); animation: unveil 1.8s ease-out both; }
.pointer-active .scene__light { opacity: 1; }

.page { position: relative; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; min-height: 100svh; padding: 2.8rem var(--gutter) 1.4rem; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; --delay: .15s; }
.brand { display: flex; align-items: center; gap: 1.15rem; }
.brand__mark { flex-shrink: 0; width: 2.4rem; height: 3.25rem; color: var(--gold); }
.brand__name { display: flex; flex-direction: column; align-items: center; }
.brand__word { font-family: var(--serif); font-size: 2.625rem; font-weight: 400; line-height: 1; letter-spacing: .035em; }
.brand__descriptor { margin-top: .45rem; font-size: .75rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .28em; padding-left: .28em; color: var(--gold); }
.status { display: flex; align-items: center; gap: 1rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-shadow: 0 1px 12px rgb(0 0 0 / .8); }
.status__line { position: relative; display: block; width: 2rem; height: 1px; background: rgb(245 240 231 / .4); overflow: hidden; }
.status__line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-105%); animation: line-shimmer 5s ease-in-out 1.5s infinite; }

.main { display: flex; align-items: center; padding: 6rem 0 6.5rem; }
.hero { width: min(100%, 47rem); }
.eyebrow { margin: 0 0 1.6rem .25rem; color: var(--gold); font-size: .75rem; line-height: 1.7; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; --delay: .35s; }
h1 { margin: 0 0 0 -.025em; font-family: var(--serif); font-size: clamp(5.25rem, 7.7vw, 8.75rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
h1 em { font-weight: 400; color: var(--gold); }
.title-line { display: block; overflow: hidden; padding: .025em .15em .14em 0; margin-bottom: -.1em; }
.title-line > span { display: block; animation: text-arrival 1.5s var(--ease) .45s both; }
.title-line:nth-child(2) > span { animation-delay: .6s; }
.hero__detail { display: flex; align-items: flex-start; gap: 1.5rem; margin-top: 2.5rem; --delay: .9s; }
.hero__rule { flex-shrink: 0; width: 2.5rem; height: 1px; margin-top: .9rem; background: var(--gold); opacity: .65; }
.hero__detail p { margin: 0; font-size: 1rem; line-height: 1.9; color: var(--muted); }

.prototype-link { --delay: 1.05s; position: relative; display: inline-flex; align-items: center; gap: .85rem; min-height: 3rem; margin: 2.6rem 0 0 4rem; padding: .75rem 1.3rem .75rem 1.15rem; overflow: hidden; border: 1px solid rgb(220 198 160 / .55); border-radius: 999px; background: rgb(17 23 20 / .4); color: var(--ivory); font-size: .75rem; font-weight: 500; line-height: 1; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }
.prototype-link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(239 214 165 / .28) 50%, transparent 65%); transform: translateX(-110%); animation: link-shimmer 6s ease-in-out 2.4s infinite; pointer-events: none; }
.prototype-link > * { position: relative; }
.prototype-link__dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgb(220 198 160 / .55); animation: dot-pulse 2.8s ease-out 1.8s infinite; }
.prototype-link svg { width: 1.1rem; height: 1.1rem; transition: transform .45s var(--ease); }
.prototype-link:hover, .prototype-link:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.prototype-link:hover .prototype-link__dot, .prototype-link:focus-visible .prototype-link__dot { background: var(--ink); }
.prototype-link:hover svg, .prototype-link:focus-visible svg { transform: translateX(4px); }
.prototype-link:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 4.3rem; border-top: 1px solid rgb(231 224 207 / .23); --delay: 1.1s; }
.footer__domain { font-size: .75rem; letter-spacing: .08em; color: #d6d5cb; }
.footer__greeting { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; padding: .25rem .75rem; border-radius: .5rem; background: #111714; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #d6d5cb; font-size: .75rem; line-height: 1.5; text-underline-offset: .2em; }
.footer__legal a:hover { color: var(--gold); }
.footer__legal a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.motion-toggle { justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; border: 0; padding: .5rem 0 .5rem .5rem; background: transparent; color: #d6d5cb; cursor: pointer; transition: color .2s; }
.motion-toggle:hover { color: var(--gold); }
.motion-toggle:focus-visible { outline: 1px solid var(--gold); outline-offset: 5px; border-radius: 2px; }
.motion-toggle svg { width: 1.125rem; height: 1.125rem; }
.motion-toggle__label { font-size: .75rem; }
.motion-toggle__play { display: none; }
.motion-paused .motion-toggle__pause { display: none; }
.motion-paused .motion-toggle__play { display: block; }
.entrance { animation: fade-up 1.3s var(--ease) var(--delay, 0s) both; }

@keyframes image-arrival { from { transform: scale(1.055); filter: brightness(.75); } to { transform: scale(1); filter: brightness(1); } }
@keyframes unveil { from { opacity: 1; } to { opacity: 0; } }
@keyframes text-arrival { from { transform: translateY(115%) rotate(2deg); opacity: 0; } to { transform: translateY(0) rotate(0); opacity: 1; } }
@keyframes fade-up { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes line-shimmer { 0%, 20% { transform: translateX(-105%); } 65%, 100% { transform: translateX(105%); } }
@keyframes link-shimmer { 0%, 70% { transform: translateX(-110%); } 100% { transform: translateX(110%); } }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgb(220 198 160 / .55); } 70%, 100% { box-shadow: 0 0 0 .55rem rgb(220 198 160 / 0); } }

.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused .scene__veil { opacity: 0; }
.motion-paused .scene__parallax { transform: none; }
.motion-paused .scene__light { opacity: 0; }

@media (min-width: 1800px) { .main { padding-left: 1.5vw; } }
@media (max-width: 1000px) and (min-width: 701px) {
  .scene__image { object-position: 62% 50%; }
  .scene__shade { background: linear-gradient(90deg, rgb(13 20 17 / .7), rgb(13 20 17 / .33) 55%, transparent), linear-gradient(0deg, rgb(10 16 13 / .9), transparent 35%); }
  h1 { font-size: 5.5rem; }
  .hero__detail p { text-shadow: 0 1px 10px var(--ink); }
}

@media (max-width: 700px) {
  .page { padding-top: 1.7rem; padding-bottom: .9rem; }
  .header { align-items: flex-start; }
  .brand { gap: .7rem; }
  .brand__mark { width: 1.8rem; height: 2.8rem; }
  .brand__word { font-size: 2.125rem; }
  .brand__descriptor { font-size: .75rem; letter-spacing: .19em; margin-top: .25rem; }
  .status { font-size: .75rem; max-width: 5.2rem; text-align: right; line-height: 1.7; letter-spacing: .08em; margin-top: .25rem; }
  .status__line { display: none; }
  .scene__parallax { inset: 0; height: 75svh; min-height: 35rem; }
  .scene__image { object-position: 83% 20%; }
  .scene__shade { background: linear-gradient(0deg, var(--ink) 10%, rgb(17 23 20 / .97) 25%, rgb(17 23 20 / .74) 45%, rgb(17 23 20 / .1) 73%, rgb(17 23 20 / .25)), linear-gradient(90deg, rgb(17 23 20 / .35), transparent); }
  .scene__light { display: none; }
  .main { align-items: flex-end; padding: 18rem 0 3.4rem; }
  .eyebrow { font-size: .75rem; letter-spacing: .17em; margin-bottom: 1.2rem; }
  h1 { font-size: clamp(3.625rem, 12.8vw, 5.5rem); }
  .hero__detail { margin-top: 1.7rem; gap: 1rem; }
  .hero__rule { width: 1.5rem; }
  .hero__detail p { font-size: 1rem; line-height: 1.8; }
  .hero__detail p br { display: none; }
  .prototype-link { margin: 2rem 0 0 2.5rem; }
  .footer { grid-template-columns: 1fr auto; gap: .35rem 1rem; padding-top: 1rem; padding-bottom: .25rem; }
  .footer__domain { font-size: .75rem; letter-spacing: .03em; }
  .footer__greeting { grid-column: 1; grid-row: 2; font-size: 1.25rem; }
  .motion-toggle { grid-column: 2; grid-row: 1 / 3; min-width: 2.75rem; padding: .5rem; }
  .motion-toggle__label { display: none; }
}

@media (max-width: 700px) and (max-height: 740px) { .main { padding-top: 12.5rem; } }
@media (max-width: 360px) { :root { --gutter: 1.25rem; } h1 { font-size: 3.35rem; } .main { padding-top: 13rem; } }
@media (max-height: 600px) and (min-width: 701px) {
  .page { padding-top: 1.5rem; }
  .main { padding: 3rem 0; }
  h1 { font-size: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene__veil { opacity: 0; }
  .scene__parallax { transform: none; }
  .scene__light { display: none; }
}

/* Logo original fourni : proportions et couleurs conservées. */
.brand__original { display:block; width:180px; height:180px; object-fit:contain; }
@media(max-width:700px) { .brand__original { width:136px; height:136px; } }
