/* Page d'attente de woopets.com (templates/pages/waiting/index.twig).
   Style du prototype d'accueil (docs/maquette-accueil-woopets/) : fond papier, titre
   Fraunces, un seul corail (le bouton de l'app, texte noir : blanc sur corail = 2,6:1).
   Feuille autonome : la page ne charge rien d'autre. */

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --paper: #fafaf7;
    --ink: #182e2b;
    --muted: #51625e;
    --teal: #184f52;
    --line: #d9e1da;
    --coral: #ff885f;
    --coral-hover: #f57447;
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color-scheme: light;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.55;
}

.wait {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 1120px;
    margin: 0 auto;
    padding:
        max(24px, env(safe-area-inset-top))
        max(20px, env(safe-area-inset-right))
        max(20px, env(safe-area-inset-bottom))
        max(20px, env(safe-area-inset-left));
}

.wait-head {
    padding: 4px 0 0;
}

.wait-logo {
    display: inline-flex;
    padding: 6px 0;
    border-radius: 8px;
}

.wait-logo svg {
    display: block;
    width: 132px;
    height: auto;
}

.wait-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
    padding: 56px 0;
}

.wait-eyebrow {
    margin: 0 0 18px;
    color: var(--teal);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wait-title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(2.375rem, 7vw, 4.75rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.wait-lead {
    margin: 24px 0 0;
    max-width: 600px;
    color: var(--muted);
    font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
    text-wrap: pretty;
}

.wait-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 36px;
}

.wait-btn {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 9999px;
    background: var(--coral);
    color: #131516;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wait-btn:hover {
    background: var(--coral-hover);
}

.wait-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.wait-link:hover {
    border-bottom-color: currentColor;
}

.wait-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.875rem;
}

.wait-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    /* Les liens font 44 px (cible tactile) : on recule le premier pour que son texte
       s'aligne sur le reste de la page. */
    margin-inline-start: -10px;
}

.wait-langs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
}

.wait-langs a:hover {
    color: var(--ink);
}

.wait-langs a[aria-current="page"] {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.wait-copy {
    margin: 0;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .wait-btn {
        transition: none;
    }
}
