@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy: #00033a;
    --navy-light: #1a1f5c;
    --navy-soft: #0c1660;
    --accent: #00d9a3;
    --accent-dark: #00b287;
    --cyan: #17c1cf;
    --ink: #16192b;
    --text-light: #5a6072;
    --bg-soft: #f5f7fb;
    --border: #e6e9f2;
    --danger: #ff5470;
    --radius: 16px;
    --shadow-lg: 0 30px 60px -20px rgba(0, 3, 58, 0.35);
    --shadow-sm: 0 10px 30px -12px rgba(0, 3, 58, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--accent-dark);
    padding: 0;
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin: 14px 0 12px; color: var(--navy); font-weight: 700; }
.section-head p { font-size: 17px; color: var(--text-light); line-height: 1.6; margin: 0; }

section { padding: 90px 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15.5px;
    padding: 15px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #00241a; box-shadow: 0 14px 30px -10px rgba(0, 217, 163, .55); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header ---------- */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
#site-header.is-scrolled {
    background: rgba(0, 3, 58, .92);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,.4);
}
#site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #fff; }
.brand img { height: 30px; width: auto; }
#main-nav ul { display: flex; align-items: center; gap: 34px; }
#main-nav a { color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 500; transition: color .15s ease; }
#main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.nav-backdrop { display: none; }

@media (max-width: 900px) {
    body.nav-open { overflow: hidden; }
    #main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: min(300px, calc(100vw - 48px));
        height: 100vh;
        background: #fff;
        padding: 96px 28px 32px;
        transition: right .3s ease;
        box-shadow: -20px 0 40px rgba(0,0,0,.24);
        z-index: 102;
    }
    #main-nav.is-open { right: 0; }
    #main-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
    #main-nav a {
        display: block;
        color: var(--navy);
        font-size: 16px;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }
    #main-nav a:hover { color: var(--accent-dark); }
    .header-actions .btn-outline { display: none; }
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: rgba(255,255,255,.1);
        position: relative;
        z-index: 103;
    }
    .nav-backdrop {
        position: fixed;
        inset: 0;
        display: block;
        pointer-events: none;
        opacity: 0;
        border: 0;
        background: rgba(0, 3, 58, .58);
        transition: opacity .2s ease;
        z-index: 101;
    }
    body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
}

@media (max-width: 520px) {
    #site-header .container { padding: 0 16px; }
    .header-actions { gap: 8px; }
    .header-actions .btn-accent {
        width: 42px;
        height: 42px;
        padding: 0;
        font-size: 0;
    }
    .header-actions .btn-accent i { font-size: 18px; }
}

/* ---------- Hero ---------- */
#hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 54%, #000121 100%);
    color: #fff;
    padding: 170px 0 110px;
    overflow: hidden;
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-copy h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; font-weight: 700; margin: 18px 0 20px; }
.hero-copy h1 span { color: var(--accent); }
.hero-copy p.lead { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.78); max-width: 520px; margin: 0 0 22px; }
.market-proof {
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin: 0 0 32px;
    max-width: 500px;
}
.market-proof strong {
    display: block;
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}
.market-proof span {
    display: block;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.65); }
.hero-note i { color: var(--accent); }

.hero-visual { position: relative; }
.browser-frame {
    background: #10132b;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #171b3d; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #454a72; }
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.browser-frame img { width: 100%; }

.phone-frame {
    position: absolute;
    bottom: -56px;
    left: -56px;
    width: 132px;
    background: #0c0f26;
    border: 3px solid #2a2f52;
    border-radius: 26px;
    padding: 8px 6px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.phone-notch {
    width: 44px;
    height: 5px;
    background: #2a2f52;
    border-radius: 4px;
    margin: 0 auto 6px;
}
.phone-screen {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy p.lead { max-width: 100%; }
    .browser-frame { transform: none; }
    .phone-frame { display: none; }
    #hero { padding: 150px 0 90px; text-align: center; }
    .hero-copy p.lead { margin-left: auto; margin-right: auto; }
    .market-proof { margin-left: auto; margin-right: auto; text-align: left; }
    .hero-actions, .hero-note { justify-content: center; }
}

/* ---------- Trust bar ---------- */
#trust-bar { background: #fff; padding: 34px 0; border-bottom: 1px solid var(--border); }
#trust-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--navy); flex: 1 1 200px; }
.trust-item i { font-size: 22px; color: var(--accent-dark); }
.trust-item.trust-strong span { font-size: 15px; }
.trust-item.trust-strong i { font-size: 25px; }
.trust-item small { display: block; font-weight: 400; color: var(--text-light); font-size: 12.5px; }

/* ---------- Documents ---------- */
#documentos { background: var(--bg-soft); }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.doc-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform .2s ease, box-shadow .2s ease;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doc-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin: 0 auto 16px;
}
.doc-card h3 { font-size: 15.5px; margin: 0 0 8px; color: var(--navy); }
.doc-card p { font-size: 13px; color: var(--text-light); line-height: 1.55; margin: 0; }

@media (max-width: 640px) { .doc-grid { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); transition: box-shadow .2s ease, transform .2s ease; }
.feature-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.feature-card i { font-size: 26px; color: var(--accent-dark); margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 17px; color: var(--navy); margin: 0 0 10px; }
.feature-card p { font-size: 14.5px; color: var(--text-light); line-height: 1.6; margin: 0; }

@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Showcase ---------- */
#showcase { background: var(--navy); color: #fff; }
.showcase-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center; }
.showcase-copy .eyebrow { color: var(--accent); }
.showcase-copy h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 16px 0 18px; font-weight: 700; }
.showcase-copy p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.65; margin-bottom: 26px; }
.showcase-list li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 15px; color: rgba(255,255,255,.9); }
.showcase-list i { color: var(--accent); margin-top: 3px; }
.screens-preview { display: grid; gap: 18px; }
.showcase-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
    transform: none;
}
.showcase-frame .browser-bar { background: #0c0f26; }
.screen-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.screen-details span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,.05);
}
.screen-details i { color: var(--accent); }

@media (max-width: 980px) { .showcase-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .screen-details { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
#planos { background: var(--bg-soft); }
.pricing-note { text-align: center; font-size: 14px; color: var(--accent-dark); font-weight: 600; margin-bottom: 40px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}
.price-card.is-highlight { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); transform: scale(1.03); z-index: 2; }
.price-card h3 { font-size: 20px; color: var(--navy); margin: 6px 0 4px; }
.price-card .price-tag { font-size: 13.5px; color: var(--text-light); margin-bottom: 20px; }
.price-list { flex: 1; margin-bottom: 26px; }
.price-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink); margin-bottom: 13px; line-height: 1.4; }
.price-list i { color: var(--accent-dark); margin-top: 3px; }

@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } .price-card.is-highlight { transform: none; } }

/* ---------- About ---------- */
#sobre .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sobre-media { position: relative; }
.sobre-media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.sobre-stat {
    position: absolute; bottom: -24px; right: -24px;
    background: var(--navy); color: #fff; padding: 18px 22px; border-radius: 14px;
    box-shadow: var(--shadow-lg); text-align: center; min-width: 140px;
}
.sobre-stat strong { display: block; font-size: 26px; color: var(--accent); }
.sobre-stat span { font-size: 12px; color: rgba(255,255,255,.7); }
.sobre-copy .eyebrow { margin-bottom: 14px; }
.sobre-copy h2 { font-size: clamp(26px, 3.6vw, 34px); color: var(--navy); margin: 0 0 18px; font-weight: 700; }
.sobre-copy p { color: var(--text-light); font-size: 15.5px; line-height: 1.7; margin-bottom: 16px; }
.sobre-points {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.sobre-points p { margin-bottom: 10px; }
.sobre-points strong { color: var(--navy); }

@media (max-width: 900px) {
    #sobre .container { grid-template-columns: 1fr; }
    .sobre-media { margin-bottom: 20px; }
    .sobre-stat { position: static; display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; }
    .sobre-stat strong { font-size: 20px; }
}

/* ---------- Reviews ---------- */
#avaliacoes { background: #fff; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    background: #fff;
}
.review-stars {
    display: flex;
    gap: 4px;
    color: #f7b500;
    font-size: 14px;
    margin-bottom: 18px;
}
.review-card p {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
}
.review-card strong {
    color: var(--navy);
    font-size: 14px;
}

@media (max-width: 980px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
#faq { max-width: 820px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 22px;
    color: var(--accent-dark);
    transition: transform .2s ease;
    margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 22px; color: var(--text-light); font-size: 14.5px; line-height: 1.65; }

/* ---------- Final CTA ---------- */
#cta-final {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    text-align: center;
    border-radius: 28px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 70px 40px;
    position: relative;
    overflow: hidden;
}
#cta-final h2 { font-size: clamp(26px, 4vw, 36px); margin: 14px 0 14px; font-weight: 700; }
#cta-final p { color: rgba(255,255,255,.78); font-size: 16.5px; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer {
    background: #05061a;
    color: rgba(255,255,255,.6);
    padding: 50px 0 26px;
    margin-top: 90px;
}
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; }
.footer-brand img { height: 26px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06);
    display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.footer-social a:hover { background: var(--accent); color: #00241a; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.75); }

@media (max-width: 640px) {
    section { padding: 64px 0; }
    .footer-top, .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    background: #25d366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
