/* ============================================================
   SMAAS – Sistema de Organização Alimentar
   main.css  |  Mobile-first, alta conversão
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ── Tokens ───────────────────────────────────────────────── */
:root {
    --green-main: #2e7d32;
    --green-dark: #1b5e20;
    --green-light: #e8f5e9;
    --green-mid: #43a047;
    --beige-bg: #faf7f2;
    --beige-card: #f4ede3;
    --beige-border: #e8ddd0;
    --text-dark: #1a1a1a;
    --text-body: #3d3d3d;
    --text-muted: #6b6b6b;
    --gold: #b8860b;
    --gold-light: #f5e9c8;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, .07);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, .12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .15);
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --max-w: 760px;
    --px: 20px;
}

/* ── Reset ────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background: var(--beige-bg);
    color: var(--text-body);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ── Container ────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
}

/* ── Section base ─────────────────────────────────────────── */
section {
    padding: 72px var(--px);
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center {
    text-align: center;
}

.tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-main);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.divider {
    width: 52px;
    height: 3px;
    background: var(--green-main);
    border-radius: 4px;
    margin: 0 auto 28px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    background: var(--green-main);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 10px var(--px);
    text-align: center;
}

.trust-bar__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: .95;
}

.trust-bar__item svg {
    flex-shrink: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--beige-border);
    padding: 18px var(--px);
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--shadow-sm);
}

.site-header .logo {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green-main);
    letter-spacing: .03em;
}

.site-header .logo span {
    color: var(--text-dark);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: linear-gradient(160deg, #fff 0%, var(--beige-bg) 100%);
    padding: 80px var(--px) 72px;
    text-align: center;
    border-bottom: 1px solid var(--beige-border);
}

.hero__eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-main);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5.5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.18;
    max-width: 680px;
    margin: 0 auto 24px;
}

.hero h1 em {
    font-style: normal;
    color: var(--green-main);
    border-bottom: 3px solid var(--green-mid);
    padding-bottom: 2px;
}

.hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero__bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 auto 40px;
    max-width: 480px;
}

.hero__bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .97rem;
    font-weight: 500;
    color: var(--text-dark);
}

.hero__bullets li::before {
    content: '✔';
    color: var(--green-main);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   CTA BUTTON (global)
   ============================================================ */
.btn-cta {
    display: inline-block;
    background: var(--green-main);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background .22s ease, transform .18s ease, box-shadow .22s ease;
    box-shadow: 0 6px 24px rgba(46, 125, 50, .35);
    white-space: normal;
    line-height: 1.3;
}

.btn-cta:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(46, 125, 50, .45);
}

.btn-cta:active {
    transform: translateY(0);
}

.btn-cta--full {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-cta--xl {
    font-size: 1.1rem;
    padding: 22px 48px;
}

.btn-sub {
    display: block;
    margin-top: 10px;
    font-size: .78rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── Sticky CTA mobile ────────────────────────────────────── */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--beige-border);
    padding: 12px var(--px) 18px;
    z-index: 999;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .12);
}

.sticky-cta .btn-cta {
    width: 100%;
    text-align: center;
    font-size: .9rem;
    padding: 16px;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
    background: var(--text-dark);
    color: #f0ebe3;
    text-align: center;
}

.problem h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 28px;
    color: #fff;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.problem__intro {
    font-size: 1.05rem;
    margin-bottom: 32px;
    color: #c8c0b4;
}

.problem__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 32px;
    text-align: left;
}

.problem__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .97rem;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .06);
    border-radius: var(--radius-sm);
    border-left: 3px solid #ff6b6b;
}

.problem__list li::before {
    content: '❌';
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 1px;
}

.problem__close {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--green-mid);
    margin-top: 8px;
}

/* ============================================================
   METHOD
   ============================================================ */
.method {
    background: #fff;
    text-align: center;
}

.method h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.method__intro {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 48px;
    font-size: 1.02rem;
}

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

.pillar {
    background: var(--beige-bg);
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pillar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pillar__num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    color: var(--green-light);
    position: absolute;
    top: 8px;
    right: 16px;
    line-height: 1;
    user-select: none;
}

.pillar__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.pillar h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-main);
    margin-bottom: 6px;
}

.pillar p {
    font-size: .93rem;
    color: var(--text-muted);
}

/* ============================================================
   SYSTEM (O que a cliente recebe)
   ============================================================ */
.system {
    background: var(--beige-bg);
    text-align: center;
}

.system h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.system__intro {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 40px;
}

.system__items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 580px;
    margin: 0 auto;
}

.system__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    text-align: left;
    transition: border-color .2s;
}

.system__item:hover {
    border-color: var(--green-mid);
}

.system__item__icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.system__item__text strong {
    display: block;
    font-weight: 700;
    font-size: .97rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.system__item__text span {
    font-size: .87rem;
    color: var(--text-muted);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
    background: var(--green-light);
    text-align: center;
}

.benefits h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 40px;
}

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

.benefit-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s;
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
}

.benefit-card__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.benefit-card h3 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.benefit-card p {
    font-size: .87rem;
    color: var(--text-muted);
}

.benefits__note {
    font-size: 1rem;
    font-weight: 600;
    color: var(--green-dark);
    font-style: italic;
}

/* ============================================================
   OFFER
   ============================================================ */
.offer {
    background: linear-gradient(160deg, var(--green-dark) 0%, #1a3d1c 100%);
    color: #fff;
    text-align: center;
    padding: 80px var(--px);
}

.offer h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.offer__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 36px;
}

.offer__card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    max-width: 480px;
    margin: 0 auto 40px;
    backdrop-filter: blur(8px);
}

.offer__card__label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 20px;
}

.offer__includes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    text-align: left;
}

.offer__includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .93rem;
}

.offer__includes li::before {
    content: '✔';
    color: #69f0ae;
    font-weight: 700;
    flex-shrink: 0;
}

.offer__price-label {
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
}

.offer__price {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 800;
    color: #69f0ae;
    line-height: 1;
    margin-bottom: 4px;
}

.offer__price small {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 700;
}

.offer__installments {
    font-size: .95rem;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 6px;
}

.offer__installments strong {
    color: #69f0ae;
    font-weight: 700;
}

.offer__price-note {
    font-size: .83rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 28px;
}

.offer__security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
    margin-top: 20px;
}

/* ============================================================
   GUARANTEE
   ============================================================ */
.guarantee {
    background: var(--gold-light);
    border-top: 1px solid #e8d99a;
    border-bottom: 1px solid #e8d99a;
    text-align: center;
    padding: 64px var(--px);
}

.guarantee__badge {
    width: 88px;
    height: 88px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.2rem;
    box-shadow: 0 4px 20px rgba(184, 134, 11, .3);
}

.guarantee h2 {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    font-weight: 800;
    color: #5a3e00;
    margin-bottom: 16px;
}

.guarantee p {
    max-width: 500px;
    margin: 0 auto 10px;
    color: #7a5800;
    font-size: .97rem;
}

.guarantee__note {
    font-weight: 700;
    font-size: .95rem;
    color: var(--gold);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    background: #fff;
    text-align: center;
}

.faq h2 {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.faq__list {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.faq__item {
    border: 1px solid var(--beige-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .2s;
}

.faq__item.open {
    border-color: var(--green-mid);
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-body);
    font-size: .97rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    transition: background .15s;
}

.faq__question:hover {
    background: var(--beige-bg);
}

.faq__arrow {
    font-size: 1.2rem;
    color: var(--green-main);
    transition: transform .25s ease;
    flex-shrink: 0;
}

.faq__item.open .faq__arrow {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 20px;
    font-size: .93rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq__item.open .faq__answer {
    max-height: 300px;
    padding: 4px 20px 18px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
    background: var(--beige-bg);
    text-align: center;
    padding: 80px var(--px);
}

.cta-final h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    max-width: 580px;
    margin: 0 auto 16px;
    line-height: 1.25;
}

.cta-final p {
    color: var(--text-muted);
    max-width: 460px;
    margin: 0 auto 36px;
    font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, .5);
    text-align: center;
    padding: 36px var(--px) 80px;
    /* extra bottom for sticky CTA */
    font-size: .8rem;
    line-height: 1.8;
}

.site-footer a {
    color: rgba(255, 255, 255, .4);
    text-decoration: underline;
}

.site-footer a:hover {
    color: #fff;
}

/* ============================================================
   RESPONSIVE – tablet/desktop
   ============================================================ */
@media (min-width: 600px) {
    .pillars {
        grid-template-columns: 1fr 1fr 1fr;
    }

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

    .sticky-cta {
        display: block;
    }

    .site-footer {
        padding-bottom: 36px;
    }
}

@media (min-width: 760px) {
    section {
        padding: 96px 40px;
    }

    .hero {
        padding: 100px 40px 88px;
    }

    .offer {
        padding: 96px 40px;
    }

    .guarantee {
        padding: 80px 40px;
    }

    .cta-final {
        padding: 96px 40px;
    }
}

/* ── Animações de entrada ──────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}