/* ============================================================
   Landing "Momentos" — ameixa profunda, rosa vivo e um fio
   de dourado. A linha do tempo é a identidade.
   ============================================================ */
:root {
    --plum: #2A1E2F;
    --plum-deep: #211726;
    --ink: #2B2230;
    --muted: #766B7C;
    --cream: #F5EDE6;
    --cream-soft: rgba(245, 237, 230, 0.72);
    --rose: #C94F6D;
    --rose-deep: #A93D58;
    --rose-soft: #F6E4E9;
    --gold: #D9A05B;
    --light: #FBF8F5;
    --card: #FFFFFF;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--light);
    line-height: 1.6;
}

a { color: var(--rose); }

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

/* ------------------------------------------------------------
   Marca
   ------------------------------------------------------------ */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.brand-mark {
    width: 11px; height: 11px;
    background: var(--rose);
    transform: rotate(45deg);
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(201, 79, 109, 0.25);
}

.brand-name {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--cream);
    letter-spacing: 0.01em;
}

/* ------------------------------------------------------------
   Navegação
   ------------------------------------------------------------ */
.top-nav {
    background: var(--plum);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
}

.top-nav-actions { display: flex; align-items: center; gap: 1.1rem; }

.nav-login {
    color: var(--cream-soft);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
}
.nav-login:hover { color: var(--cream); }

.nav-cta {
    background: var(--rose);
    color: #FFF;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--rose-deep); }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(201, 79, 109, 0.14), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(217, 160, 91, 0.10), transparent 45%),
        var(--plum);
    color: var(--cream);
    padding: 3.5rem 1.5rem 4.5rem;
}

.hero-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.1rem, 5.5vw, 3.3rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 560px;
}

.hero-copy h1 em {
    font-style: italic;
    color: var(--rose);
    filter: brightness(1.35);
}

.hero-sub {
    margin-top: 1.1rem;
    font-size: 1.12rem;
    color: var(--cream-soft);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.btn-rose {
    display: inline-block;
    background: var(--rose);
    color: #FFF;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.85rem 1.7rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn-rose:hover { background: var(--rose-deep); }
.btn-rose:active { transform: scale(0.98); }

.btn-outline {
    display: inline-block;
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.7rem;
    border: 1.5px solid rgba(245, 237, 230, 0.35);
    border-radius: 999px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-outline:hover { border-color: var(--cream); background: rgba(245, 237, 230, 0.06); }

/* Demo: a linha do tempo é o produto */
.hero-demo { display: flex; justify-content: center; }

.demo-card {
    width: min(100%, 430px);
    background: var(--card);
    color: var(--ink);
    border-radius: 18px;
    padding: 1.6rem 1.7rem 1.8rem;
    box-shadow: 0 24px 60px rgba(15, 9, 18, 0.45);
    transform: rotate(0.6deg);
}

.demo-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
}
.demo-title span { color: var(--gold); }

.demo-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.demo-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px; bottom: 12px;
    width: 2px;
    background: linear-gradient(var(--gold), rgba(217, 160, 91, 0.15));
}

.demo-item {
    position: relative;
    display: flex;
    gap: 0.9rem;
}

.demo-node {
    flex-shrink: 0;
    width: 12px; height: 12px;
    margin-top: 5px;
    background: var(--gold);
    transform: rotate(45deg);
    z-index: 1;
    box-shadow: 0 0 0 3px #FFF;
}

.demo-node-next {
    background: #FFF;
    border: 2px dashed var(--gold);
}

.demo-chip {
    display: inline-block;
    background: var(--rose-soft);
    color: var(--rose-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.25rem;
}

.demo-chip-invite { background: #F3E8D9; color: #8F6A2E; }

.demo-item-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.demo-item-meta { font-size: 0.82rem; color: var(--muted); }
.demo-item-next .demo-item-title { color: var(--muted); font-style: italic; }

/* ------------------------------------------------------------
   Como funciona
   ------------------------------------------------------------ */
.how {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}

.section-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    text-align: center;
    margin-bottom: 2.25rem;
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.how-step {
    background: var(--card);
    border-radius: 16px;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 8px 28px rgba(42, 30, 47, 0.07);
}

.how-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: var(--plum);
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50%;
    margin-bottom: 0.8rem;
}

.how-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.4rem; }
.how-step p { color: var(--muted); font-size: 0.95rem; }

.feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2.25rem;
}

.feature-list li {
    background: var(--rose-soft);
    color: var(--rose-deep);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 999px;
}

/* ------------------------------------------------------------
   Cadastro
   ------------------------------------------------------------ */
.signup {
    background: var(--plum);
    padding: 4rem 1.5rem;
    display: flex;
    justify-content: center;
}

.signup-card {
    width: min(100%, 440px);
    background: var(--card);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    box-shadow: 0 24px 60px rgba(15, 9, 18, 0.45);
}

.signup-card h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
}

.signup-sub {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0.4rem 0 1.6rem;
}

.signup-card label {
    display: block;
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.signup-card input {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.85rem 1rem;
    border: 1px solid #E6DFE3;
    border-radius: 12px;
    background: var(--light);
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--ink);
}
.signup-card input::placeholder { color: #B2A8B0; }
.signup-card input:focus { border-color: var(--rose); outline: none; background: #FFF; }

.btn-full { width: 100%; margin-top: 0.4rem; }

.signup-closed {
    text-align: center;
    background: var(--rose-soft);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    font-weight: 700;
}

.signup-login {
    text-align: center;
    margin-top: 1.4rem;
    font-size: 0.95rem;
    color: var(--muted);
}
.signup-login a { font-weight: 800; }

/* ------------------------------------------------------------
   Rodapé
   ------------------------------------------------------------ */
.landing-footer {
    background: var(--plum-deep);
    color: var(--cream-soft);
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.88rem;
}
.landing-footer .brand-mark { margin-bottom: 0.6rem; }

/* ------------------------------------------------------------
   Flash
   ------------------------------------------------------------ */
.flash {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 50;
    max-width: min(92vw, 480px);
    width: max-content;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(42, 30, 47, 0.3);
}
.flash-success { background: var(--plum); color: var(--cream); }
.flash-error { background: var(--rose); color: #FFF; }

/* ------------------------------------------------------------
   Desktop
   ------------------------------------------------------------ */
@media (min-width: 900px) {
    .hero { padding: 4.5rem 2rem 5.5rem; }
    .hero-inner { flex-direction: row; align-items: center; gap: 3rem; }
    .hero-copy { flex: 1.15; }
    .hero-demo { flex: 1; }
    .how-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
