/* ============================================================
   Templates Lantin — landing (marca vermelha + produto verde)
   ============================================================ */

:root {
    --brand: #b80000;
    --brand-hover: #990000;
    --brand-dark: #7a0000;
    --brand-soft: #fff5f5;
    --brand-rgb: 184, 0, 0;

    --produto: #1fad72;
    --produto-hover: #15965f;
    --produto-soft: #d8f7e8;
    --produto-rgb: 31, 173, 114;

    --ink: #1a1717;
    --ink-soft: #3f3a3a;
    --muted: #6b6464;
    --line: #e8e0e0;
    --paper: #faf7f7;
    --white: #ffffff;

    --fonte-display: "Inter", system-ui, sans-serif;
    --fonte-corpo: "Inter", system-ui, sans-serif;

    --max: 1120px;
    --radius: 18px;
    --transicao: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--fonte-corpo);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink-soft);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(var(--brand-rgb), 0.12), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(var(--brand-rgb), 0.08), transparent 50%),
        linear-gradient(180deg, #fff 0%, var(--paper) 45%, #fff 100%);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }

.wrap {
    width: min(var(--max), calc(100% - 2.5rem));
    margin-inline: auto;
}

/* ── Nav ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(var(--brand-rgb), 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 72px;
}

.nav-logo img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--brand); }

.nav-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.nav-cart svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2.25;
}

.nav-cart:hover { color: var(--brand); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform var(--transicao), background var(--transicao), box-shadow var(--transicao);
    text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

.btn-brand {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 28px rgba(var(--brand-rgb), 0.28);
}
.btn-brand:hover {
    background: var(--brand-hover);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(var(--brand-rgb), 0.25);
}
.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }

/* ── Hero ── */
.hero {
    position: relative;
    padding: 3.5rem 0 0;
    overflow: hidden;
}

.hero-copy {
    max-width: 640px;
    margin-bottom: 2.25rem;
    animation: rise 0.7s ease both;
}

.hero h1 {
    margin: 0 0 0.85rem;
    font-family: var(--fonte-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.hero h1 em {
    font-style: normal;
    color: var(--brand);
}

.hero-lead {
    margin: 0 0 1.75rem;
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 34rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.hero-price {
    font-weight: 700;
    color: var(--ink);
    font-size: 1.05rem;
}

.hero-price span {
    color: var(--brand);
    font-family: var(--fonte-display);
    font-size: 1.35rem;
}

/* Full-bleed product stage */
.hero-stage {
    margin-top: 2.5rem;
    position: relative;
    animation: rise 0.9s 0.12s ease both;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: auto 0 -20% 0;
    height: 55%;
    background: linear-gradient(180deg, transparent, rgba(26, 23, 23, 0.55));
    pointer-events: none;
    z-index: 1;
}

.produto-frame {
    position: relative;
    border: 3px solid var(--produto);
    box-shadow:
        0 0 0 8px rgba(var(--produto-rgb), 0.12),
        0 30px 80px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    background: #0f172a;
}

.produto-frame img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top center;
}

.produto-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    background: var(--produto);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(var(--produto-rgb), 0.35);
}

/* ── Sections ── */
.section {
    padding: 5rem 0;
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2.5rem;
}

.section-head h2 {
    margin: 0 0 0.65rem;
    font-family: var(--fonte-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.15;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.eyebrow.produto { color: var(--produto); }

/* ── Gallery (product green) ── */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.1rem;
}

.shot {
    grid-column: span 6;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--produto);
    background: #111;
    box-shadow: 0 16px 40px rgba(var(--produto-rgb), 0.18);
    transition: transform var(--transicao), box-shadow var(--transicao);
}

.shot:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(var(--produto-rgb), 0.28);
}

.shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
}

.shot figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 1rem 0.9rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.shot.wide { grid-column: span 12; }
.shot.wide img { aspect-ratio: 21 / 9; }

@media (max-width: 760px) {
    .shot, .shot.wide { grid-column: span 12; }
    .nav-links .hide-mobile { display: none; }
}

/* ── Includes list ── */
.includes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.include-item {
    padding: 1.35rem 0;
    border-top: 2px solid rgba(var(--brand-rgb), 0.15);
}

.include-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    background: rgba(var(--brand-rgb), 0.08);
    color: var(--brand);
}

.include-icone svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
}

.include-item h3 {
    margin: 0 0 0.4rem;
    font-family: var(--fonte-display);
    font-size: 1.15rem;
    color: var(--ink);
}

.include-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

/* ── FAQ ── */
.faq {
    display: grid;
    gap: 0.75rem;
    max-width: 760px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    padding: 0.35rem 1rem;
    transition: border-color var(--transicao);
}

.faq details[open] {
    border-color: rgba(var(--brand-rgb), 0.35);
    background: var(--brand-soft);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--ink);
    padding: 0.95rem 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    color: var(--brand);
    stroke-width: 2;
}

.btn svg {
    width: 1.1rem;
    height: 1.1rem;
    stroke-width: 2.25;
    flex-shrink: 0;
}

.faq details p {
    margin: 0 0 1rem;
    color: var(--muted);
}

/* ── Buy band ── */
.buy {
    padding: 4.5rem 0;
}

.buy-panel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(2rem, 4vw, 3.2rem);
    background:
        linear-gradient(135deg, #1a1717 0%, #3a1010 48%, var(--brand-dark) 100%);
    color: #fff;
    box-shadow: 0 30px 70px rgba(var(--brand-rgb), 0.28);
}

.buy-panel::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -60px;
    top: -80px;
    border-radius: 50%;
    background: rgba(var(--produto-rgb), 0.22);
    filter: blur(10px);
    pointer-events: none;
}

.buy-panel > * { position: relative; z-index: 1; }

.buy-panel h2 {
    margin: 0 0 0.6rem;
    font-family: var(--fonte-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
}

.buy-panel p {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 34rem;
}

.buy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
}

.buy-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: min(100%, 360px);
}

.buy-email {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.buy-email input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-family: inherit;
    font-size: 1rem;
}

.buy-email input:focus {
    outline: none;
    border-color: var(--produto);
    box-shadow: 0 0 0 3px rgba(var(--produto-rgb), 0.25);
}

.buy-actions .btn-brand {
    background: var(--produto);
    box-shadow: 0 12px 30px rgba(var(--produto-rgb), 0.35);
}
.buy-actions .btn-brand:hover {
    background: var(--produto-hover);
}

.buy-note {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ── Success page ── */
.page-center {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.success-box {
    width: min(520px, 100%);
    text-align: center;
    padding: 2.5rem 1.75rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(var(--brand-rgb), 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.success-box img {
    height: 48px;
    width: auto;
    margin: 0 auto 1.5rem;
}

.success-box h1 {
    font-family: var(--fonte-display);
    color: var(--ink);
    margin: 0 0 0.75rem;
}

.success-box p { color: var(--muted); }

.success-box .btn { margin-top: 1.25rem; width: 100%; }

/* ── Footer ── */
.footer {
    padding: 2.5rem 0 3rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.footer-links a svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.25;
    color: #25d366;
}

.footer-links a:hover { color: var(--brand); }

/* WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    transition: transform var(--transicao), background var(--transicao);
}

.whatsapp-float svg {
    width: 1.45rem;
    height: 1.45rem;
    stroke-width: 2.25;
}

.whatsapp-float:hover {
    background: #1ebe57;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

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