/* ==========================================================================
   Esteira de Bambu Natural — mobile-first landing page
   ========================================================================== */

:root {
    --green-deep: #0e251f;
    --green-dark: #163a30;
    --green-mid: #1f4d40;
    --bambu: #c9a667;
    --bambu-light: #f4ecdb;
    --cream: #faf6ee;
    --ink: #1a1a1a;
    --text-muted: #5c5247;
    --text-muted-light: rgba(255, 255, 255, 0.78);
    --ml-yellow: #FFE600;
    --ml-blue: #3483FA;
    --ml-blue-hover: #2968C8;
    --green-success: #00A650;
    --white: #FFFFFF;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 84px;
    /* room for mobile sticky CTA */
}

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

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding: 48px 0;
    text-align: center;
}

.section h2 {
    font-size: clamp(26px, 6vw, 36px);
    margin-bottom: 16px;
}

.section-light {
    background-color: var(--bambu-light);
    color: var(--ink);
}

.section-dark {
    background-color: var(--green-dark);
    color: var(--white);
}

.section-dark h2 {
    color: var(--bambu);
}

.section-text {
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 28px auto;
}

.statement-text {
    margin-left: auto;
    margin-right: auto;
}

.section-light .section-text,
.section-light .calc-note {
    color: var(--text-muted);
}

.section-dark .section-text {
    color: var(--text-muted-light);
}

/* ==========================================================================
   Buttons — Mercado Livre CTA
   ========================================================================== */

.btn-ml {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--ml-blue);
    color: var(--white);
    text-decoration: none;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 28px rgba(52, 131, 250, 0.45);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-ml:hover,
.btn-ml:focus-visible {
    background-color: var(--ml-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(52, 131, 250, 0.55);
}

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

.btn-ml-logo {
    flex-shrink: 0;
    background-color: var(--white);
    border-radius: 999px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-ml-logo img {
    height: 18px;
    width: auto;
}

.btn-ml-label {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-ml-large {
    padding: 20px 24px;
}

.btn-ml-large .btn-ml-label {
    font-size: 17px;
}

/* every section CTA gets breathing room above it */
.section .btn-ml {
    margin-top: 8px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
    color: var(--white);
    padding-top: 36px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--bambu);
    color: var(--bambu);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: clamp(28px, 7vw, 42px);
    margin-bottom: 14px;
}

.hero .lead {
    font-size: 17px;
    color: var(--text-muted-light);
    max-width: 540px;
    margin: 0 auto 26px auto;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 26px;
}

.price-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-status {
    color: var(--bambu);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.price-card .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
}

.installments {
    color: var(--text-muted-light);
    font-size: 14px;
    margin-top: 6px;
}

/* ==========================================================================
   Cards (Usos / Segurança)
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-light .card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.card-icon {
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--bambu);
}

.section-light .card h3 {
    color: var(--green-mid);
}

.card p {
    font-size: 14px;
    color: var(--text-muted-light);
}

.section-light .card p {
    color: var(--text-muted);
}

/* ==========================================================================
   Check list ("O que você recebe")
   ========================================================================== */

.check-list {
    list-style: none;
    text-align: left;
    max-width: 480px;
    margin: 0 auto 28px auto;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    margin-bottom: 14px;
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--green-success);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: 28px;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list {
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    color: var(--white);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 18px 20px;
    cursor: pointer;
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--bambu);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) scaleY(0);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner p {
    padding: 0 20px 18px 20px;
    color: var(--text-muted-light);
    font-size: 15px;
}

/* ==========================================================================
   Cálculo table
   ========================================================================== */

.calc-table {
    max-width: 420px;
    margin: 0 auto 14px auto;
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 22px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-head {
    background-color: var(--green-mid);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.calc-row:not(.calc-head) span:last-child {
    font-weight: 700;
    color: var(--green-mid);
}

.calc-note {
    font-size: 14px;
    margin-bottom: 24px;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.section-final {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
    color: var(--white);
    border-top: 4px solid var(--ml-yellow);
    padding: 56px 0;
}

.section-final h2 {
    color: var(--white);
}

.section-final .section-text {
    color: var(--text-muted-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: var(--green-deep);
    color: rgba(255, 255, 255, 0.55);
    padding: 28px 0;
    text-align: center;
    font-size: 13px;
}

footer p {
    margin-bottom: 4px;
}

/* ==========================================================================
   Sticky CTA (mobile only)
   ========================================================================== */

.sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: var(--white);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .btn-ml {
    box-shadow: 0 6px 18px rgba(52, 131, 250, 0.45);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 18px;
    border-radius: 999px;
    background-color: #25D366;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background-color: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
}

.whatsapp-float svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    fill: currentColor;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 92px;
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
    }

    .whatsapp-float-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

/* ==========================================================================
   Responsive — tablet & desktop enhancements (mobile-first base above)
   ========================================================================== */

@media (min-width: 600px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 900px;
        padding: 0 32px;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        padding-top: 56px;
    }

    .hero h1 {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-ml {
        width: auto;
        padding: 18px 32px;
    }

    .btn-ml-large {
        padding: 22px 40px;
    }

    .statement-text {
        font-size: 19px;
        max-width: 640px;
    }
}

/* ---- Desktop: two-column layouts replace the stacked mobile/tablet ones ---- */
@media (min-width: 1000px) {
    .container {
        max-width: 1080px;
    }

    .card-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-grid:not(.card-grid-3) {
        grid-template-columns: repeat(3, 1fr);
    }

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    }

    .section-light .card:hover {
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    }

    /* Hero: text left, image/price/CTA right */
    .hero-grid {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 64px;
        align-items: center;
        text-align: left;
    }

    .hero-text .badges {
        justify-content: flex-start;
    }

    .hero-text h1,
    .hero-text .lead {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-aside .btn-ml {
        width: 100%;
    }

    /* "O que você recebe": list left, photo right */
    .recebe-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
        text-align: left;
        margin-bottom: 32px;
    }

    .recebe-grid .check-list {
        margin-bottom: 0;
    }

    .recebe-grid .content-image {
        margin-bottom: 0;
    }

    /* "Quantos rolos preciso": explanation left, table right */
    .calc-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
        text-align: left;
        margin-bottom: 8px;
    }

    .calc-grid .section-text,
    .calc-grid .calc-note {
        margin-left: 0;
        margin-right: 0;
    }

    .calc-grid .calc-table {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    /* FAQ: two columns so the long list doesn't force endless scrolling */
    .faq-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
        gap: 14px 24px;
    }

    /* Centered statement sections get more breathing room and impact */
    .statement-text {
        font-size: 21px;
        max-width: 760px;
    }

}
