/* Page d'attente arlau.app : identité officielle d'arlau (crème, vert foncé, vert sauge, Comfortaa).
   Page statique autonome : aucune dépendance à l'application. */

@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/comfortaa-normal-300-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/comfortaa-normal-300-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --creme: #f7f3e9;
  --vert: #4f5b46;
  --sauge: #a9ad8b;
  color-scheme: light;
}

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

html {
  background: var(--creme);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: var(--creme);
  color: var(--vert);
  font-family: 'Comfortaa', 'Quicksand', 'Varela Round', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: color-mix(in srgb, var(--sauge) 45%, transparent);
}

/* Composition centrée, très aérée ; marges respectant les bords arrondis et l'encoche des iPhone. */
.page {
  width: 100%;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: max(3.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)) max(3.5rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  animation: apparition 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Logo officiel : le symbole « a » (SVG d'origine) et le nom « arlau » en Comfortaa, assemblés comme
   dans l'application (écart 0,3 em, symbole à 1,15 em de haut). */
.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: clamp(2.75rem, 11vw, 4.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--vert);
}
.marque__symbole {
  height: 1.15em;
  width: auto;
  aspect-ratio: 486 / 438;
  flex: none;
}

.accroche {
  margin: 1.75rem 0 0;
  font-size: clamp(0.95rem, 3.4vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sauge);
}

.trait {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: clamp(2.5rem, 7vh, 3.75rem) 0;
  background: var(--sauge);
}

.titre {
  margin: 0;
  max-width: 16em;
  font-size: clamp(1.55rem, 6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.texte {
  margin: 1.25rem 0 0;
  max-width: 26em;
  font-size: clamp(1rem, 3.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
  color: color-mix(in srgb, var(--vert) 82%, var(--creme));
  text-wrap: pretty;
}

.bientot {
  margin: clamp(2.75rem, 8vh, 4rem) 0 0;
  padding: 0.5rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--sauge) 70%, transparent);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vert);
}

.insecable {
  white-space: nowrap;
}

@keyframes apparition {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page {
    animation: none;
  }
}
