/* ===================== */
/* VARIÁVEIS GLOBAIS     */
/* ===================== */
:root {
    --black: #000;
    --white: #fff;
    --gray: #EDEDED;
    --blue: #337DFF;
    --cyan: #00CFFF;
    --text: #222;
    --footer-bg: #000;
    --footer-text: #ccc;
    --radius: 10px;
    --max-width: 1100px;
    --cookie-bg: #1e1e1e;
    --card-border: rgba(2,6,23,.06);
    --shadow-sm: 0 6px 18px rgba(2,6,23,.05);
    --shadow-md: 0 8px 28px rgba(15,23,42,.06);
    --shadow-lg: 0 12px 32px rgba(15,23,42,.10);
}

/* ===================== */
/* RESET & BASE          */
/* ===================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%
}

body {
    font-family: Inter,system-ui,Arial,sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================== */
/* NAVBAR                */
/* ===================== */
.nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--gray);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width:768px) {
    .brand-logo {
        height: 34px
    }
}

.nav-toggle {
    display: none;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 1rem;
}

    .nav-toggle:focus {
        outline: 2px solid var(--blue);
        outline-offset: 2px
    }

.nav-menu {
    display: block
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-item > a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: color .2s, background .2s, border-color .2s;
    -webkit-tap-highlight-color: transparent; /* iOS highlight off */
}

    .nav-item > a:hover {
        color: var(--blue);
        background: #f6f8ff;
        border-color: #e8ecff
    }

/* ========== Mobile menu simples e “flat” no iOS ========== */
@media (max-width:768px) {
    .nav {
        grid-template-columns: auto auto auto;
        position: sticky
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center
    }

    /* Dropdown absoluto sob o header */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        margin-top: 10px;
        z-index: 2000;
    }

        .nav-menu.open {
            display: block
        }

    /* Caixa única com sombra e cantos — nada de gaps internos */
    .nav-list {
        display: block; /* coluna */
        padding: 0;
        margin: 0;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        box-shadow: var(--shadow-lg);
        overflow: hidden; /* recorte pelos cantos */
    }

    /* Cada item fica transparente e sem radius/borda própria */
    .nav-item {
        list-style: none;
    }

        .nav-item + .nav-item {
            border-top: 1px solid #eef2ff;
        }
        /* divisória lisa */

        .nav-item > a {
            display: block;
            text-align: left;
            padding: 14px 16px;
            background: transparent; /* <- sem “pílula” */
            border: 0;
            border-radius: 0; /* <- sem cantos por item */
            color: var(--text);
        }

            .nav-item > a:hover {
                background: #f6f8ff; /* leve hover, ainda flat */
                color: #1d4ed8;
            }
}

/* ===================== */
/* LAYOUT CONTAINER      */
/* ===================== */
.container {
    max-width: var(--max-width);
    margin: 32px auto;
    padding: 0 18px
}

/* ===================== */
/* BOTÕES                */
/* ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 6px 16px rgba(51,125,255,.25);
}

    .btn-primary:hover {
        transform: translateY(-1px)
    }

.btn-ghost {
    background: #f5f7fb;
    color: #0f172a;
    border: 1px solid #e5e7eb;
}

    .btn-ghost:hover {
        background: #eef2ff
    }

.btn-outline {
    background: #fff;
    color: #0f172a;
    border: 1px solid #e5e7eb;
}

    .btn-outline:hover {
        border-color: #c7d2fe;
        color: #1d4ed8;
        background: #f8fafc
    }

/* ===================== */
/* HERO LIMPO            */
/* ===================== */
.hero-clean {
    max-width: var(--max-width);
    margin: 24px auto 0;
    padding: 24px 18px 32px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    position: relative;
}

    .hero-clean:before {
        content: "";
        position: absolute;
        inset: -40px 0 auto 0;
        height: 220px;
        background: radial-gradient(1200px 300px at 20% -60px, rgba(51,125,255,.12), transparent 60%), linear-gradient(180deg, rgba(15,23,42,.02), transparent 60%);
        pointer-events: none;
    }

.hero-col {
    position: relative;
    z-index: 1
}

.hero-copy h1 {
    font-size: clamp(2.2rem,4vw,3rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}

.ink {
    background: linear-gradient(90deg,var(--blue),var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    color: #444;
    margin-bottom: 18px;
    font-size: clamp(1.02rem,1.2vw,1.12rem)
}

.hero-ctas {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 6px 0 10px
}

.hero-badges {
    list-style: none;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 10px
}

    .hero-badges li {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        background: #f7f7f9;
        border: 1px solid #eee;
        color: #333;
        border-radius: 999px;
        padding: 6px 10px;
        font-size: .85rem;
    }

/* Coluna visual */
.hero-showcase {
    position: relative;
    min-height: 320px
}

.glass-card {
    backdrop-filter: saturate(130%) blur(6px);
    background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.55));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    overflow: hidden;
}

.glass-head {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(15,23,42,.08);
    background: linear-gradient(180deg, rgba(246,248,255,.65), rgba(246,248,255,.4));
    font-weight: 600;
    color: #0f172a;
}

    .glass-head .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #e5e7eb;
        border: 1px solid #d1d5db
    }

    .glass-head .title {
        margin-left: auto;
        font-size: .9rem;
        opacity: .8
    }

.glass-body {
    padding: 14px 14px 24px
}

.checks {
    list-style: none;
    margin: 0 0 10px;
    padding: 0
}

    .checks li {
        display: flex;
        align-items: center;
        gap: .5rem;
        margin: 6px 0;
        color: #263043
    }

    .checks i {
        color: #16a34a
    }

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px
}

    .mini-stats > div {
        background: #fff;
        border: 1px solid var(--card-border);
        border-radius: 10px;
        padding: 10px 12px;
        box-shadow: var(--shadow-sm);
    }

    .mini-stats span {
        display: block;
        font-size: .76rem;
        color: #475569
    }

    .mini-stats strong {
        font-size: 1rem;
        color: #0f172a
    }

/* Blobs */
.blob {
    position: absolute;
    filter: blur(24px);
    opacity: .6;
    z-index: -1
}

    .blob.b1 {
        width: 220px;
        height: 220px;
        top: -20px;
        right: -10px;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgba(51,125,255,.55), transparent 70%);
    }

    .blob.b2 {
        width: 280px;
        height: 280px;
        bottom: -30px;
        left: -20px;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgba(0,207,255,.45), transparent 70%);
    }

/* Responsivo do hero */
@media (max-width:980px) {
    .hero-clean {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .hero-showcase {
        order: 2
    }
}

@media (max-width:768px) {
    .hero-copy h1 {
        font-size: 2rem
    }

    .mini-stats {
        grid-template-columns: 1fr
    }
}

/* ===================== */
/* SEÇÕES / CARDS        */
/* ===================== */
.services {
    max-width: var(--max-width);
    margin: 24px auto 0;
    padding: 0 18px
}

    .services h2 {
        font-size: 1.8rem;
        margin: 1rem 0 .75rem
    }

.note {
    font-size: .85rem;
    opacity: .8
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 1.2rem;
    margin: 1.2rem 0 2.2rem;
}

.card {
    background: #fff;
    padding: 1.4rem;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
}

    .card h3 {
        margin-bottom: .5rem;
        font-size: 1.2rem
    }

    .card p {
        color: #555;
        font-size: .98rem;
        margin-bottom: .8rem
    }

    .card .price {
        font-weight: 800;
        font-size: 1.35rem;
        margin: .4rem 0 .8rem
    }

        .card .price span {
            font-weight: 600;
            font-size: .9rem;
            opacity: .8;
            margin-left: .15rem
        }

    .card .card-actions {
        display: flex;
        gap: .6rem;
        flex-wrap: wrap
    }

/* ===================== */
/* PRICING GRID          */
/* ===================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 1.2rem;
    margin: 1.2rem 0 2.6rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .pricing-card .pricing-head {
        padding: 1rem 1.2rem .2rem
    }

        .pricing-card .pricing-head h3 {
            font-size: 1.25rem
        }

        .pricing-card .pricing-head .subtitle {
            color: #555;
            font-size: .95rem;
            margin-top: .2rem
        }

.pricing-list {
    list-style: none;
    padding: .6rem 1.2rem;
    display: grid;
    gap: .4rem;
    color: #263043
}

.pricing-cta {
    margin-top: auto;
    padding: 1rem 1.2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    border-top: 1px solid var(--card-border);
    background: #fafafa;
}

.pricing-price {
    font-weight: 900;
    font-size: 1.35rem
}

    .pricing-price span {
        font-weight: 600;
        font-size: .9rem;
        opacity: .8;
        margin-left: .15rem
    }

.featured {
    border-color: #c7d2fe;
    box-shadow: 0 10px 30px rgba(99,102,241,.18);
}

/* Bullets robustos (sem Unicode) */
.pricing-list li {
    position: relative;
    padding-left: 1rem;
}

    .pricing-list li::before {
        content: "";
        position: absolute;
        left: 0.15rem;
        top: 0.7em;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #64748b;
        transform: translateY(-50%);
    }

/* ===================== */
/* SOBRE                 */
/* ===================== */
.portrait-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    background: #fff;
}

    .portrait-card img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

.portrait-caption {
    padding: .6rem .8rem;
    font-size: .9rem;
    color: #475569;
    background: #fafafa;
    border-top: 1px solid var(--card-border);
}

.about .founder-bio {
    max-width: var(--max-width);
    margin: 24px auto;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.bio-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

    .bio-card ul {
        margin-left: 1rem;
    }

    .bio-card li {
        margin: .35rem 0;
        color: #263043
    }

/* ===================== */
/* FOOTER                */
/* ===================== */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
    font-size: .95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto 2rem;
    align-items: flex-start;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    display: block
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: .5rem;
    font-weight: 600
}

.footer-col a {
    display: block;
    color: var(--footer-text);
    text-decoration: none;
    margin: .25rem 0;
    transition: color .2s ease;
    font-size: .9rem
}

    .footer-col a:hover {
        color: #blue
    }

.footer-col i {
    margin-right: 6px
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 1rem;
    font-size: .85rem;
    opacity: .7;
}

/* ===================== */
/* IMG/SVG & COOKIE      */
/* ===================== */
img[src$=".svg"]:not(.brand-logo):not(.footer-logo) {
    max-width: 100%;
    height: auto;
    display: inline-block
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--cookie-bg);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    max-width: 320px;
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
    z-index: 9999;
    font-size: .9rem;
}

    .cookie-consent p {
        margin-bottom: .75rem;
        line-height: 1.4
    }

    .cookie-consent a {
        color: var(--blue);
        text-decoration: underline
    }

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: .5rem
}

    .cookie-actions .btn-accept, .cookie-actions .btn-later {
        border: none;
        cursor: pointer;
        font-size: .85rem;
        padding: 6px 12px;
        border-radius: 6px;
    }

    .cookie-actions .btn-accept {
        background: var(--blue);
        color: #fff
    }

        .cookie-actions .btn-accept:hover {
            filter: brightness(1.1)
        }

    .cookie-actions .btn-later {
        background: transparent;
        color: #ccc;
        border: 1px solid #555
    }

        .cookie-actions .btn-later:hover {
            background: #333
        }

/* ===================== */
/* UTILIDADES            */
/* ===================== */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===================== */
/* RESPONSIVIDADE FOOTER */
/* ===================== */
@media (max-width:768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center
    }

    .footer-col a {
        text-align: center
    }

    .cookie-consent {
        left: 10px;
        right: 10px;
        max-width: none
    }
}
