/* Studio MyReformer — page "coming soon"
   Charte de marque v2.0 (sources/Studio_MyReformer_Charte_de_marque.pdf), ambiance inspirée de la façade du studio
   - Bleu Encre #0F1B2E (fond, "cocon"), nuance foncée #07141F
   - Rosé #F3E3E5 (couleur officielle du logo sur Bleu Encre) : logo, titres, bouton ; nuance #D8B6BA pour le texte secondaire ;
     #A17D81 pour les filets
   - Montserrat pour le texte ; Tan Twinkle (titres) n'existe pas en webfont libre → le logo est une image */

:root {
    --ink: #0F1B2E;
    --ink-deep: #07141F;
    --rose: #F3E3E5;
    --rose-mid: #D8B6BA;
    --rose-dark: #A17D81;
    --text-muted: var(--rose-mid);
    --line: rgba(243, 227, 229, 0.18);
    --font-body: "Montserrat", "Segoe UI", sans-serif;
    --font-accent: "Playfair Display", Georgia, serif;
}

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

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(120% 90% at 50% 35%, var(--ink) 0%, var(--ink-deep) 100%) fixed;
    background-color: var(--ink);
    color: var(--rose);
    font-family: var(--font-body);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- Décor : ondes façon vitrine (fines courbes rosées qui se croisent) ---------- */

.backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.waves {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 21vh;
    min-height: 120px;
}

.waves path {
    fill: none;
    stroke: var(--rose);
    stroke-width: 1.4;
    vector-effect: non-scaling-stroke;
    opacity: 0.35;
    stroke-dasharray: 2400;
    stroke-dashoffset: 2400;
    animation: draw 3.4s cubic-bezier(0.4, 0, 0.2, 1) forwards, sway 16s ease-in-out 3.4s infinite alternate;
}

.waves path:nth-child(2) { animation-delay: 0.35s, 3.75s; opacity: 0.24; }
.waves path:nth-child(3) { animation-delay: 0.7s, 4.1s; opacity: 0.14; }

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

@keyframes sway {
    to { transform: translateY(10px); }
}

/* ---------- Contenu ---------- */

.stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 24px 32px;
}

.eyebrow {
    margin: 0 0 44px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.transition {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.logo-old {
    width: auto;
    height: 62px;
    opacity: 0.75;
}

.arrow {
    position: relative;
    width: 64px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rose-mid));
}

.arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--rose-mid);
    border-right: 1px solid var(--rose-mid);
    transform: rotate(45deg);
}

.becomes {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--rose-mid);
}

.logo-new {
    margin: 0;
    /* zone de protection de la charte : de l'air autour du logo */
    padding: 8px 0;
}

.logo-new img {
    width: min(640px, 86vw);
}

/* Prestations — même traitement que sur la vitrine : capitales espacées, séparées par de fins traits */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 0;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.services li {
    display: flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--rose);
}

.services li + li::before {
    content: "";
    width: 28px;
    height: 1px;
    margin: 0 22px;
    background: var(--rose-dark);
}

.rule {
    display: block;
    width: 1px;
    height: 48px;
    margin: 32px 0 28px;
    background: linear-gradient(var(--line), var(--rose-mid), var(--line));
}

.tagline {
    margin: 0 0 14px;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    line-height: 1.25;
}

.lead {
    margin: 0 0 40px;
    max-width: 46ch;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.nowrap {
    white-space: nowrap;
}

/* Bouton : le Rosé porte les éléments d'interaction (charte p. 22) */
.phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 17px 34px;
    border-radius: 999px;
    background: var(--rose);
    color: var(--ink);
    text-decoration: none;
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    box-shadow: 0 18px 40px -18px rgba(216, 182, 186, 0.5);
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.phone svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.phone:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 22px 46px -18px rgba(216, 182, 186, 0.7);
}

.phone:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 5px;
}

.footer {
    padding: 40px 24px 26px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- Apparition ---------- */

.eyebrow,
.transition,
.logo-new,
.services,
.rule,
.tagline,
.lead,
.phone {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.transition { animation-delay: 0.2s; }
.logo-new   { animation-delay: 0.55s; }
.services   { animation-delay: 0.8s; }
.rule       { animation-delay: 0.95s; }
.tagline    { animation-delay: 1.05s; }
.lead       { animation-delay: 1.2s; }
.phone      { animation-delay: 1.35s; }

@keyframes reveal {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .eyebrow,
    .transition,
    .logo-new,
    .services,
    .rule,
    .tagline,
    .lead,
    .phone {
        opacity: 1;
        transform: none;
    }

    .waves path {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 520px) {
    .stage      { padding-top: 56px; }
    .eyebrow    { margin-bottom: 32px; }
    .transition { gap: 12px; margin-bottom: 28px; }
    .logo-old   { height: 44px; }
    .arrow      { width: 36px; }
    .rule       { height: 36px; margin: 30px 0 24px; }
    .services   { flex-direction: column; gap: 0; margin-top: 28px; }
    .services li { flex-direction: column; font-size: 0.7rem; }
    .services li + li::before { width: 18px; margin: 12px 0; }
    .phone      { font-size: 1.05rem; padding: 15px 28px; }
}
