:root {
    --forest: #123820;
    --forest-soft: #1f5130;
    --cream: #fbf7f0;
    --sand: #efe3d1;
    --terracotta: #c84f2a;
    --red: #a81716;
    --ink: #173323;
    --muted: #6f756a;
    --line: rgba(18, 56, 32, .14);
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--cream);
}

body {
    margin: 0;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 78% 12%, rgba(200, 79, 42, .13), transparent 28rem),
        linear-gradient(135deg, #fffaf3 0%, #f5eadb 52%, #ecddca 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(18, 56, 32, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 56, 32, .035) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

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

.coming-soon {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero {
    min-height: calc(100vh - 86px);
    padding: 30px 0 46px;
    display: flex;
    flex-direction: column;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0 52px;
}

.logo img {
    width: 150px;
    height: auto;
}

.header-note {
    color: var(--forest);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 17px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .45);
}

.hero-grid {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .82fr);
    align-items: center;
    gap: clamp(34px, 6vw, 86px);
}

.eyebrow {
    display: inline-flex;
    color: var(--terracotta);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

h1 {
    margin: 0;
    max-width: 680px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.7rem, 5.8vw, 5.6rem);
    line-height: .9;
    letter-spacing: -.06em;
    color: var(--forest);
}

.tagline {
    max-width: 650px;
    margin: 28px 0 24px;
    color: var(--muted);
    font-size: clamp(1.03rem, 1.4vw, 1.22rem);
    line-height: 1.8;
}

.launch-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--forest);
    background: rgba(255, 255, 255, .64);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 16px;
    font-size: .88rem;
    box-shadow: 0 18px 48px rgba(54, 38, 20, .08);
}

.launch-label strong {
    color: var(--terracotta);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(92px, 1fr));
    gap: 12px;
    max-width: 610px;
}

.countdown-item {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px 14px;
    box-shadow: 0 22px 50px rgba(43, 31, 18, .08);
}

.countdown-value {
    display: block;
    color: var(--forest);
    font-size: clamp(2.25rem, 4.5vw, 4.4rem);
    line-height: .86;
    font-weight: 800;
    letter-spacing: -.06em;
}

.countdown-label {
    display: block;
    margin-top: 10px;
    color: var(--terracotta);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.online-message {
    grid-column: 1 / -1;
    color: var(--forest);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    font-weight: 800;
}

.hero-card {
    position: relative;
    min-height: 560px;
    border-radius: 44px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(18, 56, 32, .92), rgba(18, 56, 32, .7)),
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .28), transparent 20rem);
    box-shadow: 0 34px 90px rgba(18, 56, 32, .22);
    border: 1px solid rgba(255, 255, 255, .55);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 34px;
}

.hero-product {
    position: absolute;
    inset: 0;
    width: 112%;
    height: 112%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: normal;
    opacity: 1;
}

.flavour-pills {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.flavour-pills span {
    color: var(--forest);
    background: rgba(255, 250, 243, .9);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 0 0 52px;
}

.product-card {
    min-height: 360px;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 24px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    color: var(--white);
    background: var(--forest);
    box-shadow: 0 24px 64px rgba(43, 31, 18, .09);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .05) 60%);
}

.product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .5s ease;
}

.product-card:hover img {
    transform: scale(1.04);
}

.product-card span {
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.product-card h2 {
    margin: 8px 0 8px;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1;
}

.product-card p {
    margin: 0;
    max-width: 310px;
    color: rgba(255, 255, 255, .82);
    line-height: 1.6;
}

.piri::after,
.salted::after,
.natural::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .5;
}

.piri::after {
    background: linear-gradient(135deg, rgba(168, 23, 22, .7), transparent 60%);
}

.salted::after {
    background: linear-gradient(135deg, rgba(10, 23, 37, .65), transparent 60%);
}

.natural::after {
    background: linear-gradient(135deg, rgba(200, 79, 42, .55), transparent 60%);
}

.minimal-footer {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 30px;
    color: var(--muted);
    font-size: .88rem;
}

.minimal-footer p {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 420px;
    }

    .products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .coming-soon,
    .minimal-footer {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding-top: 16px;
    }

    .site-header {
        align-items: flex-start;
        padding-bottom: 34px;
    }

    .logo img {
        width: 126px;
    }

    .header-note {
        font-size: .62rem;
        padding: 9px 11px;
        text-align: right;
    }

    h1 {
        font-size: clamp(2.55rem, 12vw, 3.85rem);
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card {
        min-height: 340px;
        border-radius: 30px;
    }

    .product-card {
        min-height: 300px;
    }
}


/* Ajuste para arte horizontal das 3 castanhas */
@media (min-width: 981px) {
    .hero-grid {
        grid-template-columns: minmax(360px, .78fr) minmax(560px, 1.22fr);
        gap: clamp(30px, 4.6vw, 64px);
    }

    .hero-copy {
        max-width: 610px;
    }

    h1 {
        max-width: 590px;
        font-size: clamp(2.7rem, 5vw, 4.95rem);
        line-height: .92;
    }

    .tagline {
        max-width: 570px;
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .countdown {
        max-width: 610px;
        grid-template-columns: repeat(4, minmax(88px, 1fr));
    }

    .countdown-item {
        padding: 18px 14px;
    }

    .countdown-value {
        font-size: clamp(2.25rem, 4vw, 3.75rem);
    }

    .hero-card {
        min-height: 560px;
        border-radius: 42px;
    }

    .hero-product {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

@media (min-width: 1200px) {
    .coming-soon,
    .minimal-footer {
        width: min(1260px, calc(100% - 60px));
    }

    .hero-card {
        min-height: 600px;
    }
}
