/* =============================================================
   QUINTA VERMELHA DE ALCARIA — Coming Soon
   Shares the Algarve Biofarm brand language
   ============================================================= */

:root {
    --forest-green: #3B5E2B;
    --earth-brown: #6B3A2A;
    --terracotta: #8B2020;
    --terracotta-dark: #701919;
    --warm-cream: #F5F0E8;
    --soft-sand: #E8DCC8;
    --dark-text: #2C2416;
    --light-text: #F5F0E8;
    --muted-text: #5C4A32;
    --hairline: rgba(44, 36, 22, 0.12);

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }

html, body { height: 100%; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.8;
    color: var(--dark-text);
    background: var(--warm-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Warm textured background — subtle radial washes, no image needed */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 20% 15%, rgba(232, 220, 200, 0.6) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 85%, rgba(232, 220, 200, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 240, 232, 0.4) 0%, transparent 70%),
        var(--warm-cream);
    pointer-events: none;
}

/* A very faint botanical watermark in the corner */
body::after {
    content: "";
    position: fixed;
    bottom: -120px;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(107, 58, 42, 0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}

/* =============================================================
   LAYOUT
   ============================================================= */

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    text-align: center;
    animation: fade-up 1.2s var(--ease) both;
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo */
.logo-wrap {
    max-width: 520px;
    width: 100%;
    margin: 0 auto 2.5rem;
    animation: fade-up 1.4s 0.1s var(--ease) both;
}
.logo-wrap img {
    width: 100%;
    height: auto;
}

/* Decorative botanical divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 1.75rem;
    color: var(--forest-green);
    animation: fade-up 1.2s 0.25s var(--ease) both;
}
.divider::before,
.divider::after {
    content: "";
    height: 1px;
    width: 72px;
    background: currentColor;
    opacity: 0.35;
}
.divider svg {
    width: 28px;
    height: 28px;
    opacity: 0.75;
}

/* Eyebrow */
.eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: fade-up 1.2s 0.35s var(--ease) both;
}

/* Main headline */
h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--dark-text);
    max-width: 720px;
    margin: 0 auto 1.5rem;
    animation: fade-up 1.2s 0.45s var(--ease) both;
}

/* Intro paragraph */
.intro {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.75;
    color: var(--muted-text);
    max-width: 560px;
    margin: 0 auto 3rem;
    animation: fade-up 1.2s 0.55s var(--ease) both;
}

/* Email capture form */
.subscribe {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 0.45rem;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(44, 36, 22, 0.06);
    animation: fade-up 1.2s 0.65s var(--ease) both;
}
.subscribe input[type="email"] {
    flex: 1;
    padding: 0.7rem 1.1rem;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark-text);
}
.subscribe input[type="email"]::placeholder {
    color: rgba(92, 74, 50, 0.55);
    font-style: italic;
}
.subscribe button {
    padding: 0.7rem 1.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--light-text);
    background: var(--terracotta);
    border-radius: 999px;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
    white-space: nowrap;
}
.subscribe button:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}
.subscribe-note {
    font-size: 0.82rem;
    color: var(--muted-text);
    margin-top: 1rem;
    font-style: italic;
    animation: fade-up 1.2s 0.7s var(--ease) both;
}

/* Thank-you state */
.subscribe.done { justify-content: center; padding: 1rem 1.5rem; }
.subscribe.done .hidden { display: none; }
.thankyou {
    display: none;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--forest-green);
    font-size: 1.05rem;
}
.subscribe.done .thankyou { display: block; }

/* Social row */
.social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
    animation: fade-up 1.2s 0.8s var(--ease) both;
}
.social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(44, 36, 22, 0.2);
    border-radius: 50%;
    color: var(--earth-brown);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.social a:hover {
    background: var(--earth-brown);
    border-color: var(--earth-brown);
    color: var(--warm-cream);
}
.social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Footer */
.site-footer {
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--muted-text);
    animation: fade-up 1.2s 0.9s var(--ease) both;
}
.site-footer .tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--earth-brown);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}
.site-footer a {
    color: var(--forest-green);
    border-bottom: 1px solid rgba(59, 94, 43, 0.25);
}
.site-footer a:hover { color: var(--terracotta); border-color: currentColor; }
.copyright { margin-top: 0.5rem; color: rgba(92, 74, 50, 0.7); }

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 640px) {
    .logo-wrap { max-width: 360px; margin-bottom: 2rem; }
    .divider::before, .divider::after { width: 40px; }
    .subscribe {
        flex-direction: column;
        border-radius: 12px;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.75);
    }
    .subscribe input[type="email"] {
        text-align: center;
        padding: 0.85rem 0.5rem;
    }
    .subscribe button {
        border-radius: 999px;
        padding: 0.85rem;
    }
    .social { margin-top: 2.25rem; }
}

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