:root {
  --sol: #f2efe7;
  --sol-ombre: #e8e3d6;
  --encre: #2a2722;
  --encre-douce: #5c574d;
  --ligne: #c9c2b2;
  --accent: #8a6d4a;
}

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

html, body {
  height: 100%;
}

body {
  background: var(--sol);
  color: var(--encre);
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* texture de fond très subtile : lignes de sol */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    178deg,
    transparent 0px,
    transparent 38px,
    var(--sol-ombre) 39px,
    transparent 40px
  );
  opacity: 0.5;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

/* ── Logo : trois sillons tracés ───────────────────────────── */

.symbole {
  width: 96px;
  height: 56px;
  margin-bottom: 28px;
}

.symbole path {
  fill: none;
  stroke: var(--encre);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  animation: tracer 1.4s ease-out forwards;
}

.symbole path:nth-child(2) { animation-delay: 0.18s; }
.symbole path:nth-child(3) { animation-delay: 0.36s; }

@keyframes tracer {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .symbole path {
    stroke-dashoffset: 0;
    animation: none;
  }
}

/* ── Nom ───────────────────────────────────────────────────── */

.nom {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(48px, 12vw, 72px);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--encre);
  opacity: 0;
  animation: apparaitre 0.8s ease-out 0.9s forwards;
}

.filet {
  width: 64px;
  height: 1px;
  background: var(--ligne);
  margin: 22px 0;
  opacity: 0;
  animation: apparaitre 0.8s ease-out 1.15s forwards;
}

.baseline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--encre-douce);
  opacity: 0;
  animation: apparaitre 0.8s ease-out 1.3s forwards;
}

@keyframes apparaitre {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Statut + contact ─────────────────────────────────────── */

.statut {
  margin-top: 64px;
  font-size: 14px;
  color: var(--encre-douce);
  font-weight: 300;
  opacity: 0;
  animation: apparaitre 0.8s ease-out 1.6s forwards;
}

.contact {
  margin-top: 14px;
  opacity: 0;
  animation: apparaitre 0.8s ease-out 1.75s forwards;
}

.contact a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  padding-bottom: 1px;
}

.contact a:hover,
.contact a:focus-visible {
  border-color: var(--accent);
}

.contact a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── Pied de page ──────────────────────────────────────────── */

footer {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ligne);
  font-weight: 400;
  opacity: 0;
  animation: apparaitre 0.8s ease-out 2s forwards;
}

@media (max-width: 420px) {
  .statut { padding: 0 12px; }
}
