/* =========================================================
   NOVA BEAUTY SÉRUM™ — Landing COD
   Paleta: creme / dourado-champanhe (frasco) / vinho (uva
   francesa, ativo-estrela) / verde-dinheiro (COD)
   Tipografia: Fraunces (display) + Figtree (corpo)
   ========================================================= */

:root {
    /* Color Palette */
    --cream: #FDF8F1;
    --cream-2: #F5EBDD;
    --ink: #33221A;
    --ink-soft: #75604F;
    --wine: #7A2242;
    --wine-deep: #5C1730;
    --gold: #C9A15C;
    --gold-soft: rgba(201, 161, 92, 0.18);
    --money: #0F8A3D;
    --money-deep: #0B6B2F;
    --line: rgba(51, 34, 26, 0.12);
    --card: #FFFFFF;

    /* Typography */
    --font-body: 'Figtree', sans-serif;
    --font-display: 'Fraunces', serif;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--ink);
    font-size: 1.0625rem;
    line-height: 1.65;
}

img, video, iframe, canvas {
    max-width: 100% !important;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

/* Itálico vinho: assinatura tipográfica da página */
h1 em, h2 em, .logo em {
    font-style: italic;
    color: var(--wine);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 12px;
}

.eyebrow-light {
    color: var(--gold);
}

.title-money {
    color: var(--money);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: center;
}

.btn-primary {
    background-color: var(--wine);
    color: #fff;
    border: none;
    box-shadow: 0 6px 0 var(--wine-deep), 0 14px 28px rgba(122, 34, 66, 0.3);
}

.btn-primary:hover {
    background-color: var(--wine-deep);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--wine-deep), 0 6px 14px rgba(122, 34, 66, 0.25);
}

.btn-large {
    width: 100%;
    max-width: 460px;
    padding: 20px 24px;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.btn-header {
    background: var(--money);
    color: #fff;
    font-size: 0.875rem;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-header:hover {
    background: var(--money-deep);
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--wine);
    outline-offset: 3px;
    border-radius: 6px;
}

/* =========================================================
   Topbar + Header
   ========================================================= */
.topbar-cod {
    background-color: var(--money-deep);
    color: #fff;
    text-align: center;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    z-index: 1000;
    position: relative;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(253, 248, 241, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    gap: 12px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    padding: 40px 0 56px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 161, 92, 0.16) 0%, rgba(253, 248, 241, 0) 70%);
    z-index: -1;
}

.hero-text {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.badge-cod {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(15, 138, 61, 0.1);
    color: var(--money-deep);
    border: 1.5px solid rgba(15, 138, 61, 0.35);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text .title {
    font-size: clamp(2rem, 7.5vw, 3.3rem);
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-text .subtitle {
    font-size: 1.125rem;
    color: var(--ink-soft);
    margin: 0 auto 24px;
    max-width: 540px;
}

.hero-image-wrapper {
    position: relative;
    margin: 0 auto 20px;
    max-width: 420px;
}

.hero-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(201, 161, 92, 0.45) 0%, rgba(253, 248, 241, 0) 70%);
    filter: blur(30px);
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(51, 34, 26, 0.16);
    border: 1px solid var(--line);
}

.hero-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(51, 34, 26, 0.85);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

.hero-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 18px;
}

.hero-price .old-price {
    color: var(--ink-soft);
    font-size: 1rem;
}

.hero-price .new-price {
    color: var(--money);
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.cta-note {
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.trust-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.trust-grid li {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 8px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 2px 8px rgba(51, 34, 26, 0.05);
}

.trust-grid li small {
    font-weight: 500;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

/* =========================================================
   Sections base
   ========================================================= */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(1.75rem, 6vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--ink-soft);
    font-size: 1.0625rem;
    max-width: 560px;
    margin: 0 auto;
}

/* =========================================================
   Antes e Depois
   ========================================================= */
.before-after {
    padding: 64px 0;
    background: var(--cream-2);
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.ba-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 12px 32px rgba(51, 34, 26, 0.12);
    background: var(--card);
}

.ba-card img {
    width: 100%;
    display: block;
}

.ba-labels {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    z-index: 2;
    pointer-events: none;
}

.ba-labels span {
    background: rgba(51, 34, 26, 0.8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
}

.ba-labels span:last-child {
    background: var(--wine);
}

/* =========================================================
   Benefícios + Ativos
   ========================================================= */
.benefits {
    padding: 64px 0;
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto 48px;
}

.benefits-list li {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px rgba(51, 34, 26, 0.05);
}

.actives h3 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.actives-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
}

.active-card {
    background: var(--gold-soft);
    border: 1px solid rgba(201, 161, 92, 0.4);
    border-radius: 14px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 4px 14px;
    align-items: center;
}

.active-card span {
    font-size: 1.75rem;
    grid-row: span 2;
}

.active-card strong {
    font-size: 1.05rem;
}

.active-card p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    grid-column: 2;
}

/* =========================================================
   ANVISA / Segurança
   ========================================================= */
.safety {
    padding: 64px 0;
    background: var(--cream-2);
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

.safety-text {
    text-align: center;
}

.safety-list {
    list-style: none;
    display: grid;
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
}

.safety-image img {
    max-width: 380px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(51, 34, 26, 0.12);
}

/* =========================================================
   Timeline de resultados
   ========================================================= */
.timeline-section {
    padding: 64px 0;
}

.timeline {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 33px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: var(--gold);
    opacity: 0.5;
}

.tl-item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}

.tl-marker {
    width: 68px;
    height: 68px;
    background: var(--card);
    border: 2px solid var(--gold);
    color: var(--wine);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    z-index: 1;
}

.tl-marker small {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
    margin-top: 3px;
}

.tl-body h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.tl-body p {
    color: var(--ink-soft);
    font-size: 1rem;
}

/* =========================================================
   Modo de uso + vídeo
   ========================================================= */
.how-to-use {
    padding: 64px 0;
    background: var(--cream-2);
}

.use-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
    margin: 0 auto;
    align-items: center;
}

.use-video {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(51, 34, 26, 0.12);
    background: var(--card);
}

.use-video video {
    width: 100%;
    display: block;
}

.use-steps {
    list-style: none;
    counter-reset: uso;
    display: grid;
    gap: 14px;
}

.use-steps li {
    counter-increment: uso;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px 16px 62px;
    position: relative;
    font-size: 1rem;
}

.use-steps li::before {
    content: counter(uso);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--wine);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
}

/* =========================================================
   Depoimentos
   ========================================================= */
.testimonials {
    padding: 64px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
}

.testimonial-card img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(51, 34, 26, 0.12);
    border: 1px solid var(--line);
}

/* =========================================================
   Como Funciona (faixa vinho escura COD)
   ========================================================= */
.how-it-works {
    padding: 64px 0;
    background: var(--wine-deep);
    color: #FBF3EC;
}

.how-it-works .section-title {
    color: #FBF3EC;
}

.how-it-works .section-subtitle {
    color: rgba(251, 243, 236, 0.75);
}

/* Verde mais claro para manter contraste sobre o fundo vinho */
.how-it-works .title-money {
    color: #4ECB71;
}

.steps {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: rgba(251, 243, 236, 0.25);
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 14px 0;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--wine-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--wine-deep), 0 0 20px rgba(201, 161, 92, 0.5);
    z-index: 1;
}

.step-body h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.step-body p {
    color: rgba(251, 243, 236, 0.75);
    font-size: 1rem;
}

.alert-box {
    max-width: 560px;
    margin: 28px auto 0;
    border-left: 4px solid var(--gold);
    background: rgba(201, 161, 92, 0.12);
    color: rgba(251, 243, 236, 0.92);
    padding: 18px 20px;
    border-radius: 0 12px 12px 0;
    font-size: 0.95rem;
}

/* =========================================================
   Ofertas
   ========================================================= */
.offers {
    padding: 64px 0;
    background: var(--cream-2);
    scroll-margin-top: 70px;
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 420px;
    margin: 0 auto;
}

.offer-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(51, 34, 26, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.offer-featured {
    border: 2.5px solid var(--gold);
    box-shadow: 0 16px 40px rgba(201, 161, 92, 0.3);
}

.offer-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--wine-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.offer-card h3 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.offer-qty {
    color: var(--ink-soft);
    font-weight: 700;
    margin-bottom: 12px;
}

.offer-card img {
    width: 150px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.offer-old {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.offer-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--money);
    line-height: 1.05;
    margin-bottom: 16px;
}

.offer-price small {
    font-size: 1.5rem;
}

.offer-btn {
    width: 100%;
    padding: 16px 12px;
    font-size: 1rem;
}

.offer-note {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--money-deep);
}

.guarantee {
    text-align: center;
    max-width: 520px;
    margin: 32px auto 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    font-size: 0.98rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
    padding: 64px 0;
}

.faq-container {
    max-width: 640px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--card);
    box-shadow: 0 2px 8px rgba(51, 34, 26, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: none;
    border: none;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--cream-2);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--cream);
}

.faq-answer p {
    padding-bottom: 16px;
    color: var(--ink-soft);
}

.faq-item.active .faq-answer {
    max-height: 320px;
    padding-top: 14px;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
    padding: 36px 0 110px; /* espaço extra para o FAB fixo */
    border-top: 1px solid var(--line);
    text-align: center;
    background: var(--cream-2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-content p {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes pulse-shadow {
    0% { box-shadow: 0 6px 0 var(--wine-deep), 0 0 0 0 rgba(122, 34, 66, 0.4); }
    70% { box-shadow: 0 6px 0 var(--wine-deep), 0 0 0 16px rgba(122, 34, 66, 0); }
    100% { box-shadow: 0 6px 0 var(--wine-deep), 0 0 0 0 rgba(122, 34, 66, 0); }
}

.pulse {
    animation: pulse-shadow 2s infinite;
}

/* Fade In Classes for JS */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-up { opacity: 0; transform: translateY(32px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible, .fade-in-up.visible { opacity: 1; transform: translate(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in, .fade-in-up { opacity: 1; transform: none; transition: none; }
    .pulse, .fab-btn { animation: none !important; }
}

/* =========================================================
   Floating Action Button (Mobile Only)
   ========================================================= */
.fab-container { display: none; }

@media (max-width: 768px) {
    .fab-container {
        display: block;
        position: fixed;
        bottom: 16px;
        left: 16px;
        right: 16px;
        z-index: 999;
    }

    .fab-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 17px 16px;
        background-color: var(--money);
        color: white;
        text-decoration: none;
        font-weight: 800;
        font-size: 1rem;
        letter-spacing: 0.01em;
        border-radius: 999px;
        box-shadow: 0 10px 25px rgba(15, 138, 61, 0.45);
        animation: pulse-fab 2s infinite;
        font-family: var(--font-body);
    }

    @keyframes pulse-fab {
        0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(15, 138, 61, 0.6); }
        70% { transform: scale(1.02); box-shadow: 0 0 0 14px rgba(15, 138, 61, 0); }
        100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(15, 138, 61, 0); }
    }
}

/* =========================================================
   Desktop (>= 900px)
   ========================================================= */
@media (min-width: 900px) {
    .hero {
        padding: 64px 0 80px;
    }

    .hero-text {
        max-width: 720px;
    }

    .ba-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }

    .benefits-list {
        grid-template-columns: 1fr 1fr;
        max-width: 900px;
    }

    .actives-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }

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

    .safety-text {
        text-align: left;
    }

    .safety-list {
        margin: 0;
    }

    .use-grid {
        grid-template-columns: 1fr 1.2fr;
        max-width: 900px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 800px;
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
        align-items: start;
    }

    .offer-featured {
        transform: scale(1.04);
    }

    footer {
        padding-bottom: 36px;
    }
}
