@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap");

:root {
    --paper: #f8f5f0;
    --paper-strong: #efe9e1;
    --surface: rgba(255, 255, 255, 0.76);
    --surface-solid: #ffffff;
    --ink: #211f1d;
    --muted: #6d6862;
    --line: rgba(78, 38, 60, 0.12);
    --plum: #4e263c;
    --plum-dark: #351827;
    --rose: #bf6a77;
    --coral: #d88b7f;
    --deal: #2f6e4d;
    --deal-soft: #e3f0e7;
    --danger: #a34f59;
    --shadow-soft: 0 18px 60px rgba(53, 24, 39, 0.1);
    --shadow-card: 0 12px 32px rgba(53, 24, 39, 0.09);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 13px;
    --font-ui: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-editorial: "Newsreader", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 2%, rgba(216, 139, 127, 0.16), transparent 28rem),
        radial-gradient(circle at 96% 8%, rgba(78, 38, 60, 0.11), transparent 30rem),
        var(--paper);
    font-family: var(--font-ui);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.38;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgba(191, 106, 119, 0.5);
    outline-offset: 3px;
}

.flow-page {
    min-height: 100vh;
}

.flow-header {
    width: min(1180px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

.brand-emblem {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(78, 38, 60, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 7px 22px rgba(53, 24, 39, 0.08);
}

.brand-emblem img {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-family: var(--font-display);
    font-size: 0.94rem;
    letter-spacing: -0.02em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.71rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-pill,
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--plum);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 22px rgba(53, 24, 39, 0.06);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.header-pill {
    padding: 0 16px;
    font-size: 0.82rem;
}

.icon-button {
    width: 42px;
    padding: 0;
}

.header-pill svg,
.icon-button svg,
.flow-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.flow-main {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 76px;
}

.flow-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--rose);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.flow-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.flow-title {
    max-width: 820px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 0.99;
    letter-spacing: -0.065em;
}

.flow-title em {
    color: var(--plum);
    font-family: var(--font-editorial);
    font-weight: 500;
}

.flow-lead {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.flow-card {
    border: 1px solid rgba(78, 38, 60, 0.1);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.flow-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--plum), var(--plum-dark));
    box-shadow: 0 13px 30px rgba(53, 24, 39, 0.23);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.flow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(53, 24, 39, 0.28);
    filter: saturate(1.05);
}

.flow-button.is-wide {
    width: 100%;
}

.flow-button.is-deal {
    background: linear-gradient(135deg, var(--deal), #23563c);
    box-shadow: 0 13px 30px rgba(47, 110, 77, 0.23);
}

.flow-button.is-secondary {
    color: var(--plum);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: none;
}

.mini-footer {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 34px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}

.mini-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.mini-footer a {
    color: inherit;
    text-decoration: none;
}

.mini-footer a:hover {
    color: var(--plum);
}

/* Link da bio */
.bio-main {
    width: min(660px, calc(100% - 28px));
    margin: 0 auto;
    padding: 14px 0 56px;
}

.bio-identity {
    display: grid;
    justify-items: center;
    text-align: center;
}

.bio-avatar {
    width: 94px;
    height: 94px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(78, 38, 60, 0.14);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 16px 38px rgba(53, 24, 39, 0.12);
}

.bio-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    object-fit: cover;
}

.bio-identity h1 {
    margin: 16px 0 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.bio-identity p {
    max-width: 470px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.bio-product {
    position: relative;
    overflow: hidden;
    margin-top: 26px;
    padding: 12px;
}

.bio-product::before {
    content: "";
    position: absolute;
    inset: -50% 25% 50% -15%;
    background: radial-gradient(circle, rgba(216, 139, 127, 0.28), transparent 68%);
    pointer-events: none;
}

.bio-product-media {
    position: relative;
    height: 290px;
    overflow: hidden;
    border-radius: 19px;
    background: linear-gradient(150deg, #eaded4, #f8f4ef);
}

.bio-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}

.bio-product-body {
    position: relative;
    padding: 24px 16px 12px;
}

.bio-product-body h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 5vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.bio-product-body > p {
    margin: 10px 0 0;
    color: var(--muted);
}

.price-line {
    margin: 20px 0 16px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.price-line del {
    color: var(--muted);
    font-size: 0.86rem;
}

.price-line strong {
    color: var(--deal);
    font-family: var(--font-display);
    font-size: 1.9rem;
    letter-spacing: -0.05em;
}

.price-line span {
    color: var(--muted);
    font-size: 0.78rem;
}

.bio-links {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.bio-link {
    min-height: 58px;
    display: grid;
    grid-template-columns: 38px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}

.bio-link:hover {
    transform: translateY(-2px);
    background: #fff;
}

.bio-link-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--plum);
    background: var(--paper-strong);
}

.bio-link-icon svg,
.bio-link > svg {
    width: 18px;
    height: 18px;
}

.bio-link strong,
.bio-link small {
    display: block;
}

.bio-link strong {
    font-size: 0.88rem;
}

.bio-link small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.72rem;
}

.bio-legal {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--muted);
    font-size: 0.72rem;
}

.bio-legal a {
    text-decoration: none;
}

/* Página de acesso */
.access-hero {
    max-width: 850px;
    margin: 22px auto 0;
    text-align: center;
}

.access-seal {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: var(--deal);
    background: var(--deal-soft);
    box-shadow: inset 0 0 0 1px rgba(47, 110, 77, 0.13);
}

.access-seal svg {
    width: 28px;
    height: 28px;
}

.access-hero .flow-title {
    margin-inline: auto;
    font-size: clamp(2.2rem, 5vw, 4.25rem);
}

.access-hero .flow-lead {
    margin-inline: auto;
}

.access-grid {
    max-width: 920px;
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.access-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
}

.access-card::after {
    content: attr(data-step);
    position: absolute;
    top: 8px;
    right: 17px;
    color: rgba(78, 38, 60, 0.06);
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
}

.access-card-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--plum);
    background: var(--paper-strong);
}

.access-card-icon svg {
    width: 23px;
    height: 23px;
}

.access-card h2 {
    position: relative;
    z-index: 1;
    margin: 22px 0 0;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -0.035em;
}

.access-card p {
    position: relative;
    z-index: 1;
    min-height: 70px;
    margin: 9px 0 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.access-card .flow-button {
    position: relative;
    z-index: 1;
}

.access-note {
    max-width: 920px;
    margin: 18px auto 0;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}

.access-note-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--rose);
    background: rgba(191, 106, 119, 0.12);
}

.access-note-icon svg {
    width: 21px;
    height: 21px;
}

.access-note h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.94rem;
}

.access-note p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.access-order-note {
    margin-top: 12px;
    border-color: rgba(47, 110, 77, 0.14);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(227, 240, 231, 0.65));
}

.access-order-note .access-note-icon {
    color: var(--deal);
    background: var(--deal-soft);
}

.access-order-note a {
    display: inline-flex;
    margin-top: 10px;
    color: var(--plum);
    font-size: 0.8rem;
    font-weight: 800;
    text-underline-offset: 3px;
}

/* Upsell e downsell */
.funnel-page {
    background:
        radial-gradient(circle at 100% 0%, rgba(191, 106, 119, 0.2), transparent 34rem),
        radial-gradient(circle at 0% 35%, rgba(78, 38, 60, 0.1), transparent 34rem),
        var(--paper);
}

.funnel-status {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    color: #fff;
    background: var(--plum-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

.funnel-status svg {
    width: 16px;
    height: 16px;
}

.funnel-main {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0 72px;
}

.funnel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
    gap: clamp(34px, 6vw, 78px);
    align-items: center;
}

.funnel-copy .flow-title {
    font-size: clamp(2.35rem, 5vw, 4.75rem);
}

.funnel-copy .flow-lead {
    max-width: 610px;
}

.benefit-list {
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.benefit-list li {
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 11px;
    align-items: start;
    color: #3e3935;
    font-size: 0.92rem;
}

.benefit-check {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--deal);
    background: var(--deal-soft);
}

.benefit-check svg {
    width: 14px;
    height: 14px;
}

.funnel-offer {
    margin-top: 30px;
    padding: 24px;
}

.offer-caption {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.offer-price {
    margin: 6px 0 16px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
}

.offer-price del {
    color: var(--muted);
    font-size: 0.9rem;
}

.offer-price strong {
    color: var(--deal);
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 6vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.offer-price span {
    color: var(--muted);
    font-size: 0.8rem;
}

.kirvano-payment-trigger {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--deal), #23563c);
    box-shadow: 0 14px 30px rgba(47, 110, 77, 0.23);
    font-family: var(--font-display);
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.kirvano-payment-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(47, 110, 77, 0.28);
}

.kirvano-refuse-trigger {
    width: 100%;
    margin-top: 13px;
    padding: 8px 4px;
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: 0.78rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.offer-security {
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.72rem;
    text-align: center;
}

.offer-security svg {
    width: 15px;
    height: 15px;
}

.product-stage {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 46px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(240, 229, 221, 0.84)),
        var(--paper-strong);
    box-shadow: var(--shadow-soft);
}

.product-stage::before,
.product-stage::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.product-stage::before {
    width: 250px;
    height: 250px;
    top: -65px;
    right: -55px;
    background: rgba(191, 106, 119, 0.18);
}

.product-stage::after {
    width: 190px;
    height: 190px;
    bottom: -58px;
    left: -45px;
    background: rgba(78, 38, 60, 0.12);
}

.product-stage img {
    position: relative;
    z-index: 1;
    width: min(100%, 330px);
    max-height: 470px;
    object-fit: contain;
    filter: drop-shadow(0 28px 30px rgba(53, 24, 39, 0.18));
}

.product-tag {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 22px;
    max-width: 170px;
    padding: 13px 15px;
    border: 1px solid rgba(78, 38, 60, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 26px rgba(53, 24, 39, 0.1);
    backdrop-filter: blur(12px);
    font-size: 0.73rem;
    font-weight: 700;
}

.downsell-highlight {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(47, 110, 77, 0.14);
    border-radius: 999px;
    color: var(--deal);
    background: var(--deal-soft);
    font-size: 0.74rem;
    font-weight: 800;
}

/* Páginas legais */
.legal-main {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 72px;
}

.legal-hero {
    margin-bottom: 28px;
}

.legal-hero .flow-title {
    font-size: clamp(2.25rem, 6vw, 4.6rem);
}

.legal-card {
    padding: clamp(26px, 5vw, 54px);
}

.legal-card h2 {
    margin: 34px 0 8px;
    color: var(--plum);
    font-family: var(--font-display);
    font-size: 1.13rem;
    letter-spacing: -0.025em;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p,
.legal-card li {
    color: #514c47;
    font-size: 0.92rem;
}

.legal-card ul {
    padding-left: 20px;
}

.legal-card a {
    color: var(--plum);
}

.legal-date {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.78rem;
}

@media (max-width: 860px) {
    .funnel-layout {
        grid-template-columns: 1fr;
    }

    .product-stage {
        min-height: 450px;
    }
}

@media (max-width: 700px) {
    .flow-header {
        width: min(100% - 28px, 1180px);
        min-height: 72px;
    }

    .flow-main,
    .funnel-main,
    .mini-footer,
    .legal-main {
        width: min(100% - 28px, 1120px);
    }

    .flow-main {
        padding-top: 22px;
    }

    .flow-title {
        letter-spacing: -0.055em;
    }

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

    .access-card p {
        min-height: 0;
    }

    .mini-footer {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .funnel-main {
        padding-top: 28px;
    }

    .product-stage {
        min-height: 390px;
        padding: 34px;
    }
}

@media (max-width: 480px) {
    .brand-copy small {
        display: none;
    }

    .header-pill span {
        display: none;
    }

    .header-pill {
        width: 42px;
        padding: 0;
    }

    .bio-product-media,
    .bio-product-media img {
        height: 220px;
    }

    .bio-product-body {
        padding-inline: 8px;
    }

    .access-card,
    .funnel-offer {
        padding: 22px;
    }

    .access-note {
        grid-template-columns: 1fr;
    }

    .product-stage {
        min-height: 330px;
        padding: 28px;
    }

    .product-tag {
        right: 14px;
        bottom: 14px;
    }
}

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