:root {
    --ink: #0f172a;
    --muted: #5b6b7c;
    --brand: #16a34a;
    --dark: #0f7a37;
    --mint: #dcfce7;
    --line: #e2e8f0;
    --paper: #f8fafc;
    --white: #fff;
    --warm: #f59e0b;
    --display: "Poppins", sans-serif;
    --body: "Nunito Sans", sans-serif;
    --radius: 20px;
    --shadow: 0 18px 48px -22px rgba(15, 23, 42, .28);
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-weight: 500; line-height: 1.65; }
h1, h2, h3, h4, h5, h6, .eyebrow, .btn { font-family: var(--display); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.btn { border-radius: 999px; padding: 12px 23px; font-size: .9rem; font-weight: 700; }
.btn-primary, .btn-yzap { border-color: var(--brand); background: linear-gradient(135deg, var(--brand), var(--dark)); color: #fff; box-shadow: 0 12px 25px -10px rgba(22, 163, 74, .65); }
.btn-primary:hover, .btn-yzap:hover { border-color: var(--dark); background: var(--dark); color: #fff; transform: translateY(-2px); }
.btn-secondary { border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 8px 20px -16px rgba(15, 23, 42, .35); }
.btn-secondary:hover { border-color: #b8d8c2; background: var(--mint); }
.eyebrow { gap: 8px; padding: 7px 17px; background: var(--mint); color: var(--dark); font-size: .74rem; font-weight: 700; letter-spacing: .07em; }
.eyebrow::before { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--brand); content: ""; }

.hero, .blog-hero {
    position: relative;
    isolation: isolate;
    background: radial-gradient(circle at 80% 12%, #bbf7d0 0, transparent 29%), linear-gradient(145deg, #fbfefc, #f0fdf4);
}
.site-header--hero + main > .hero:not(.home-hero) { padding-top: 174px; }
.site-header--hero + .blog-page .blog-hero { padding-top: 178px; }
.site-header--hero + .article-page {
    padding-top: 174px;
    background:
        radial-gradient(circle at 80% 7%, #bbf7d0 0, transparent 24%),
        linear-gradient(180deg, #f2fff7 0, #fff 480px);
}
.hero::before, .blog-hero::before { position: absolute; z-index: -1; top: 9%; right: -130px; width: 420px; height: 420px; border: 1px solid rgba(22, 163, 74, .17); border-radius: 50%; content: ""; }
.hero h1, .blog-hero h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.055em; }
.hero-card, .order-demo, .editorial-card { border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 70px -24px rgba(15, 23, 42, .5); }
.section { padding-block: 96px; }
.section-soft, .blog-feed { background: var(--paper); }
.section-head h2, .catalog-copy h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; }
.product-card, .step, .price-card, .store-card, .featured-post, .blog-card {
    border-color: var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.product-card, .step, .price-card { transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover, .step:hover, .price-card:hover { transform: translateY(-5px); box-shadow: 0 25px 55px -25px rgba(15, 23, 42, .38); }
.product-grid.product-grid--solutions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card .icon { border-radius: 15px; }

/* Home: composição inspirada no tema editorial de referência */
.home-hero {
    min-height: calc(100vh - 82px);
    overflow: hidden;
    padding: 154px 0 72px;
    background:
        radial-gradient(circle at 7% 18%, rgba(245, 158, 11, .12) 0 34px, transparent 35px),
        radial-gradient(circle at 92% 54%, rgba(239, 68, 68, .08) 0 17px, transparent 18px),
        radial-gradient(circle at 90% 4%, rgba(74, 222, 128, .2), transparent 25%),
        linear-gradient(110deg, #f2fff7 0%, #f8fcfa 49%, #f8fafc 100%);
}
.home-hero::before { top: auto; right: -240px; bottom: -330px; width: 650px; height: 650px; border-color: rgba(22, 163, 74, .11); }
.home-hero::after { position: absolute; z-index: -1; bottom: 24%; left: 5%; width: 32px; height: 32px; border-radius: 50%; background: #dcfce7; content: ""; opacity: .72; }
.home-hero .hero-grid { grid-template-columns: minmax(0, .96fr) minmax(480px, 1.04fr); min-height: 595px; gap: clamp(56px, 7vw, 100px); }
.home-hero .hero-copy { position: relative; z-index: 2; padding-bottom: 22px; }
.home-hero .hero-copy .eyebrow { margin-bottom: 23px; }
.home-hero h1 { max-width: 630px; margin: 0; color: #0b1630; font-size: clamp(2.45rem, 4.05vw, 4.05rem); line-height: 1.09; letter-spacing: -.05em; text-wrap: balance; }
.home-hero h1 .accent-underline { position: relative; display: inline-block; color: var(--brand); white-space: nowrap; }
.home-hero h1 .accent-underline svg { position: absolute; right: -3px; bottom: -9px; left: -3px; width: calc(100% + 6px); height: 17px; overflow: visible; }
.home-hero h1 .accent-underline path { fill: none; stroke: var(--warm); stroke-width: 6; stroke-linecap: round; }
.home-hero .lead { max-width: 660px; margin: 30px 0 0; color: #607286; font-size: 1.13rem; line-height: 1.75; }
.home-hero .hero-actions { margin-top: 28px; }
.home-hero .hero-actions .btn { min-height: 52px; padding-inline: 25px; }
.home-hero .hero-note { margin: 13px 0 0; color: #7a8a99; font-size: .8rem; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.hero-proof-icons { display: flex; padding-left: 6px; }
.hero-proof-icons span { display: grid; width: 39px; height: 39px; margin-left: -11px; overflow: hidden; place-items: center; border: 3px solid #f5fbf7; border-radius: 50%; background: #fff; box-shadow: 0 5px 12px rgba(15, 23, 42, .12); color: var(--dark); font-size: 1rem; transition: margin .25s ease, transform .25s ease; }
.hero-proof-icons span:first-child { margin-left: 0; }
.hero-proof:hover .hero-proof-icons span { margin-left: -3px; }
.hero-proof-icons span:hover { z-index: 2; transform: translateY(-3px); }
.hero-proof-icons img { width: 100%; height: 100%; object-fit: cover; }
.hero-proof-icons b { font: 800 .68rem var(--display); }
.hero-proof > div:last-child { display: flex; flex-direction: column; }
.hero-proof strong { color: #0b1630; font: 700 .84rem/1.3 var(--display); }
.hero-proof small { color: #738294; font-size: .75rem; }
.hero-media { position: relative; width: 100%; max-width: 610px; height: 590px; justify-self: end; }
.hero-media > img { width: 100%; height: 100%; border-radius: 30px; object-fit: cover; box-shadow: 0 32px 70px -26px rgba(15, 23, 42, .42); }
.hero-store-preview { display: grid; place-items: center; }
.hero-store-preview::before { position: absolute; inset: 7% -4% 2% 8%; z-index: -1; border-radius: 34px; background: linear-gradient(145deg, #bbf7d0, #f0fdf4); content: ""; transform: rotate(3deg); }
.hero-store-browser { width: min(100%, 560px); overflow: hidden; border: 1px solid rgba(255,255,255,.86); border-radius: 28px; background: #fff; box-shadow: 0 32px 70px -25px rgba(15,23,42,.38); transform: rotate(1.2deg); }
.hero-store-browserbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 46px; padding: 0 17px; border-bottom: 1px solid #e7eee9; background: #f8faf9; }
.hero-store-browserbar > span { display: flex; gap: 5px; }
.hero-store-browserbar i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #d5ded9; }
.hero-store-browserbar i:first-child { background: #fb7185; }
.hero-store-browserbar i:nth-child(2) { background: #fbbf24; }
.hero-store-browserbar i:last-child { background: #4ade80; }
.hero-store-browserbar small { grid-column: 2; justify-self: center; max-width: 270px; overflow: hidden; color: #8a9991; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.hero-store-cover { display: flex; min-height: 174px; align-items: flex-end; padding: 27px; background: linear-gradient(135deg, #102d28, #087f6f); background-position: center; background-size: cover; }
.hero-store-brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.hero-store-brand > span { display: grid; width: 54px; height: 54px; overflow: hidden; place-items: center; border: 3px solid rgba(255,255,255,.82); border-radius: 16px; background: #fff; color: var(--dark); font: 800 .85rem var(--display); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.hero-store-brand img { width: 100%; height: 100%; object-fit: cover; }
.hero-store-brand > span b { color: var(--dark); font: 800 .82rem var(--display); }
.hero-store-brand div { display: flex; flex-direction: column; }
.hero-store-brand small { color: #c7f5dc; font: 700 .58rem var(--display); letter-spacing: .09em; }
.hero-store-brand strong { margin-top: 2px; font: 700 1.35rem/1.2 var(--display); }
.hero-store-content { padding: 24px 26px 27px; }
.hero-store-title { display: flex; align-items: center; justify-content: space-between; }
.hero-store-title > div { display: flex; flex-direction: column; }
.hero-store-title small { color: var(--brand); font: 700 .58rem var(--display); letter-spacing: .09em; }
.hero-store-title strong { color: #0f172a; font: 700 1.08rem var(--display); }
.hero-store-title > span { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #e2e8f0; border-radius: 50%; color: #64748b; }
.hero-store-products { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; margin-top: 18px; }
.hero-store-product { min-width: 0; padding: 9px; border: 1px solid #e9efeb; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px -18px rgba(15,23,42,.5); }
.hero-store-product-image { display: grid; width: 100%; height: 82px; overflow: hidden; place-items: center; border-radius: 10px; background: linear-gradient(145deg,#ecfdf3,#dcfce7); font-size: 1.5rem; }
.hero-store-product-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-store-product > strong { display: block; margin-top: 8px; overflow: hidden; color: #1e293b; font: 600 .7rem/1.3 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.hero-store-product > small { color: var(--brand); font-size: .67rem; font-weight: 800; }
.hero-whatsapp-toast { position: absolute; z-index: 4; top: 42px; left: -48px; display: flex; min-width: 252px; align-items: center; gap: 13px; padding: 15px 17px; border: 1px solid #d9eee0; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 20px 44px -20px rgba(15,23,42,.48); animation: order-arrival 6s cubic-bezier(.22,1,.36,1) infinite; backdrop-filter: blur(12px); }
.hero-whatsapp-icon { display: grid; width: 43px; height: 43px; flex: none; place-items: center; border-radius: 14px; background: #25d366; box-shadow: 0 9px 20px -10px #128c4a; }
.hero-whatsapp-icon svg { width: 25px; height: 25px; fill: #fff; }
.hero-whatsapp-toast > div { display: flex; flex: 1; flex-direction: column; }
.hero-whatsapp-toast small { color: #16a34a; font: 800 .58rem/1.2 var(--display); letter-spacing: .1em; }
.hero-whatsapp-toast strong { margin-top: 2px; color: #0f172a; font: 700 .82rem/1.35 var(--display); }
.hero-whatsapp-toast div span { display: flex; justify-content: space-between; gap: 12px; margin-top: 2px; color: #7b8998; font-size: .67rem; }
.hero-whatsapp-toast div span b { color: #16a34a; font-weight: 800; }
@keyframes order-arrival {
    0%, 10% { opacity: 0; transform: translate(-24px, 10px) scale(.96); }
    18%, 72% { opacity: 1; transform: translate(0, 0) scale(1); }
    78%, 100% { opacity: 0; transform: translate(10px, -8px) scale(.98); }
}
.hero-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; min-width: 205px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.8); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 18px 40px -20px rgba(15, 23, 42, .42); backdrop-filter: blur(10px); }
.hero-float--top { top: 42px; left: -44px; }
.hero-float--bottom { right: -42px; bottom: 58px; }
.hero-float-icon { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 12px; background: var(--brand); color: #fff; font: 800 1rem var(--display); }
.hero-float-icon--warm { background: var(--warm); }
.hero-float div { display: flex; flex-direction: column; }
.hero-float strong { color: #0b1630; font: 700 .86rem/1.35 var(--display); }
.hero-float small { color: #7b8998; font-size: .72rem; }
.hero-catalog-card { position: absolute; z-index: 2; bottom: 24px; left: -25px; width: 220px; padding: 18px; border: 1px solid rgba(255,255,255,.72); border-radius: 20px; background: rgba(15, 23, 42, .9); color: #fff; box-shadow: 0 22px 46px -22px rgba(15,23,42,.8); backdrop-filter: blur(10px); }
.hero-catalog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; color: #c7d6ce; font-size: .68rem; }
.hero-catalog-head b { color: #4ade80; }
.hero-catalog-card > strong { font: 700 1rem/1.3 var(--display); }
.hero-catalog-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 15px; }
.hero-catalog-items i { height: 42px; border-radius: 9px; background: linear-gradient(145deg, #ffffff21, #4ade8030); }
.hero-feature-band { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin-top: 58px; border-radius: 25px; background: linear-gradient(110deg, #0f7a37, #16a34a 62%, #22c55e); color: #fff; box-shadow: 0 25px 55px -25px rgba(15, 122, 55, .7); }
.hero-feature-band > div { display: flex; min-height: 118px; justify-content: center; flex-direction: column; padding: 24px 34px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-feature-band > div:last-child { border-right: 0; }
.hero-feature-band strong { font: 800 1.25rem/1.2 var(--display); }
.hero-feature-band span { margin-top: 4px; color: #d7fbe4; font-size: .8rem; }
.home-hero + .section { padding-top: 96px; }

/* Blog editorial */
.blog-hero { padding-block: 96px 84px; }
.blog-hero h1 { max-width: 760px; }
.editorial-card { background: linear-gradient(145deg, #0f172a, #163b2a); }
.editorial-card-bottom b { background: var(--brand); }
.featured-visual, .article-cover { background: radial-gradient(circle at 75% 20%, #4ade80 0, transparent 24%), linear-gradient(135deg, #0f7a37, #0f172a); }
.article-content { font-family: var(--body); }

/* Fluxo de autenticação */
.auth-main { min-height: calc(100vh - 79px); padding: 54px 20px; background: radial-gradient(circle at 9% 10%, #dcfce7 0, transparent 32%), var(--paper); }
.auth-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(380px, .62fr); width: min(100%, 1040px); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 35px 80px -35px rgba(15, 23, 42, .4); }
.auth-story { position: relative; display: flex; min-height: 620px; justify-content: flex-end; flex-direction: column; padding: 52px; overflow: hidden; background: linear-gradient(145deg, #0f172a, #14532d); color: #fff; }
.auth-story::before { position: absolute; top: -80px; right: -90px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; content: ""; }
.auth-story::after { position: absolute; top: 80px; right: 70px; width: 150px; height: 150px; border-radius: 42% 58% 63% 37%; background: rgba(74, 222, 128, .15); content: ""; transform: rotate(24deg); }
.auth-story > * { position: relative; z-index: 1; }
.auth-story-label { display: inline-flex; width: fit-content; margin-bottom: 22px; padding: 7px 14px; border-radius: 999px; background: rgba(220, 252, 231, .12); color: #86efac; font: 700 .72rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.auth-story h1 { max-width: 500px; margin: 0 0 15px; font: 800 clamp(2rem, 4vw, 3.4rem)/1.08 var(--display); letter-spacing: -.045em; }
.auth-story p { max-width: 500px; margin: 0; color: #c7d7cf; font-size: 1.03rem; }
.auth-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.auth-benefits span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #d9e7e0; font-size: .78rem; }
.auth-card { display: grid; width: auto; padding: 42px; place-items: center; }
.auth-card > * { width: 100%; }
.glass-card { border: 0; border-radius: 0; box-shadow: none; }
.glass-card h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
.form-label { color: var(--ink); font-size: .86rem; font-weight: 700; }
.form-control { min-height: 48px; border-color: var(--line); border-radius: 12px; background: #fbfdfc; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(22, 163, 74, .12); }
.btn-google { border: 1px solid #d7dce2; border-radius: 999px; background: #fff; color: #253047; box-shadow: none; }
.btn-google:hover { border-color: #b8c0ca; background: #f8fafc; color: #0f172a; }

@media (max-width: 900px) {
    .product-grid.product-grid--solutions { grid-template-columns: 1fr; }
    .site-header--hero + main > .hero:not(.home-hero),
    .site-header--hero + .blog-page .blog-hero { padding-top: 138px; }
    .site-header--hero + .article-page { padding-top: 150px; }
    .home-hero { min-height: auto; padding: 128px 0 62px; }
    .home-hero .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
    .home-hero .hero-copy { max-width: 720px; }
    .hero-media { width: min(100% - 35px, 600px); justify-self: center; }
    .hero-feature-band { grid-template-columns: repeat(2, 1fr); }
    .hero-feature-band > div:nth-child(2) { border-right: 0; }
    .hero-feature-band > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
    .auth-shell { grid-template-columns: 1fr; max-width: 520px; }
    .auth-story { display: none; }
}
@media (max-width: 600px) {
    .container { width: min(100% - 30px, 1160px); }
    .section { padding-block: 68px; }
    .site-header--hero + main > .hero:not(.home-hero),
    .site-header--hero + .blog-page .blog-hero { padding-top: 116px; }
    .site-header--hero + .article-page { padding-top: 132px; }
    .home-hero { padding: 112px 0 52px; }
    .home-hero h1 { max-width: 500px; font-size: clamp(2.05rem, 9vw, 2.7rem); line-height: 1.11; letter-spacing: -.042em; }
    .home-hero .lead { margin-top: 25px; font-size: 1rem; }
    .home-hero .hero-actions .btn { width: 100%; }
    .hero-proof { align-items: flex-start; }
    .hero-media { width: calc(100% - 12px); height: 470px; }
    .hero-media > img { border-radius: 23px; }
    .hero-store-browser { border-radius: 22px; transform: none; }
    .hero-store-cover { min-height: 138px; padding: 20px; }
    .hero-store-content { padding: 19px; }
    .hero-store-product-image { height: 62px; }
    .hero-float { min-width: 0; padding: 11px 13px; }
    .hero-float--top { top: 20px; left: -8px; }
    .hero-float--bottom { right: -8px; bottom: 24px; }
    .hero-float-icon { width: 34px; height: 34px; }
    .hero-float strong { font-size: .72rem; }
    .hero-float small { font-size: .62rem; }
    .hero-whatsapp-toast { top: 18px; left: -8px; min-width: 230px; padding: 11px 13px; }
    .hero-whatsapp-icon { width: 36px; height: 36px; border-radius: 11px; }
    .hero-whatsapp-toast strong { font-size: .72rem; }
    .hero-catalog-card { bottom: 94px; left: -8px; width: 185px; padding: 14px; }
    .hero-feature-band { margin-top: 32px; border-radius: 19px; }
    .hero-feature-band > div { min-height: 96px; padding: 18px; }
    .hero-feature-band strong { font-size: .95rem; }
    .hero-feature-band span { font-size: .7rem; }
    .home-hero + .section { padding-top: 72px; }
    .auth-main { padding: 22px 14px; }
    .auth-shell { border-radius: 22px; }
    .auth-story { min-height: 280px; padding: 30px 25px; }
    .auth-story h1 { font-size: 1.9rem; }
    .auth-card { padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-whatsapp-toast { animation: none; opacity: 1; transform: none; }
}
