/* Page « le site arrive bientôt » de symacomm.fr (14/11/2026), en attendant le site complet.
   Charte reprise de src/styles/global.css. Aucune ressource extérieure, aucun script, aucun style="" (CSP stricte).
   Mouvement lent et calme ; rien ne bouge en mouvement réduit. */

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/nunitosans-latin-var.woff2") format("woff2");
}

:root {
  --nuit: #0f0d17;
  --encre: #f7f4fc;
  --encre-douce: #c4bdcf;
  --lavande: #d7a8ff;
  --ligne: rgb(198 177 245 / 15%);
  --focus: #d8c8ff;
  --marque: linear-gradient(105deg, #2f80ff, #7c3aed, #ec4899, #ff7a30);
  --police: "Avenir Next", Avenir, "Nunito Sans", system-ui, sans-serif;
  --courbe: cubic-bezier(0.16, 1, 0.3, 1);
  --gouttiere: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  background: var(--nuit);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--police);
  color: var(--encre);
  background:
    radial-gradient(60rem 40rem at 8% -10%, rgb(47 128 255 / 13%), transparent 60%),
    radial-gradient(50rem 36rem at 105% 110%, rgb(236 72 153 / 11%), transparent 60%),
    var(--nuit);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ─── En-tête ─────────────────────────────────────────────────────────── */
.entete {
  padding: clamp(1.25rem, 3vw, 2rem) var(--gouttiere) 0;
}
.entete img {
  display: block;
  width: clamp(140px, 16vw, 180px);
  height: auto;
}

/* ─── Composition centrale ────────────────────────────────────────────── */
.attente {
  flex: 1;
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gouttiere);
}
@media (min-width: 860px) {
  .attente {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.texte {
  max-width: 34rem;
}
.repere {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavande);
}
h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.baseline {
  margin: 1.25rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--lavande);
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .baseline {
    background: var(--marque);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.phrase {
  margin: 1.75rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--encre-douce);
}
.contact {
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ligne);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--encre-douce);
}
.contact a {
  color: var(--encre);
  font-weight: 600;
  text-decoration-color: rgb(215 168 255 / 55%);
  text-underline-offset: 0.25em;
  transition: text-decoration-color 400ms var(--courbe);
}
.contact a:hover {
  text-decoration-color: var(--lavande);
}

/* ─── Le S du Studio ──────────────────────────────────────────────────── */
.s {
  justify-self: center;
  width: clamp(150px, 32vw, 300px);
  height: auto;
  overflow: visible;
}
@media (max-width: 859px) {
  .s {
    order: -1;
    width: clamp(110px, 30vw, 170px);
  }
}

/* ─── Pied de page ────────────────────────────────────────────────────── */
.pied {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem var(--gouttiere) 2rem;
  border-top: 1px solid var(--ligne);
  font-size: 0.875rem;
  color: var(--encre-douce);
}
.pied p {
  margin: 0;
}
.pied nav {
  display: flex;
  gap: 1.5rem;
}
.pied a {
  text-decoration: none;
}
.pied a:hover {
  color: var(--encre);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* ─── Pages juridiques ────────────────────────────────────────────────── */
.juridique {
  flex: 1;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gouttiere);
  line-height: 1.65;
}
.juridique h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}
.juridique h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--lavande);
}
.juridique p,
.juridique li {
  color: var(--encre-douce);
}
.juridique a {
  color: var(--encre);
  text-underline-offset: 0.2em;
}
.retour {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--encre-douce);
}

/* ─── Mouvement : lent, calme, une seule fois ─────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .s__plein {
    animation: peindre 2600ms var(--courbe) 200ms both;
  }
  .s__lueur {
    animation:
      lueur-entree 2000ms ease-out 1800ms both,
      respirer 9s ease-in-out 3800ms infinite alternate;
  }
  .apparait {
    animation: monter 1100ms var(--courbe) both;
  }
  .apparait--2 {
    animation-delay: 150ms;
  }
  .apparait--3 {
    animation-delay: 300ms;
  }
  .apparait--4 {
    animation-delay: 450ms;
  }
  .apparait--5 {
    animation-delay: 600ms;
  }
}

/* Le ruban se peint de bas en haut, comme le S calme de la landing page */
@keyframes peindre {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes lueur-entree {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.3;
  }
}
@keyframes respirer {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 0.42;
  }
}
@keyframes monter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
