:root {
    --red: #c8251d;
    --red-dark: #a21a14;
    --red-soft: #fdecea;
    --ink: #14161a;
    --ink-2: #4a4f57;
    --muted: #6b7078;
    --line: #e8eaee;
    --bg-soft: #f6f7f9;
    --radius: 16px;
    --shadow: 0 10px 30px -12px rgba(20, 22, 26, .18);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: #fff;
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(200, 37, 29, .7);
}
.btn-red:hover { background: var(--red-dark); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--red-soft); }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ---------- Header ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}
.logo-img-link { display: inline-flex; align-items: center; }
.site-logo {
    height: 38px;
    width: auto;
    display: block;
    mix-blend-mode: multiply; /* funde o fundo branco do JPG */
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: background-color .15s, color .15s;
}
.nav-links a:hover { background: var(--red-soft); color: var(--red); }

.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
    background:
        radial-gradient(900px 500px at 85% 40%, var(--red-soft) 0%, rgba(253, 236, 234, 0) 70%),
        #fff;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
}
.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(36px, 5.4vw, 60px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 22px;
}
.hero h1 .accent { color: var(--red); }
.hero-description {
    font-size: 18px;
    color: var(--ink-2);
    max-width: 520px;
    margin-bottom: 32px;
}
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 24px;
}
.hero-target {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
}
.hero-target svg {
    width: 20px; height: 20px;
    padding: 3px;
    border-radius: 50%;
    background: var(--red);
    stroke: #fff; stroke-width: 3; fill: none;
    stroke-linecap: round; stroke-linejoin: round;
}
.hero-image { position: relative; }
.hero-image::before {
    content: '';
    position: absolute;
    inset: 8% 4% 4%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(200, 37, 29, .14), rgba(200, 37, 29, 0));
    z-index: 0;
}
.hero-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    mix-blend-mode: multiply; /* funde o fundo branco do JPG */
}

/* ---------- Features ---------- */
.features-section {
    padding: 80px 0 96px;
    background: var(--bg-soft);
}
.feature-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 44px;
    margin-bottom: 40px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(120deg, var(--red) 0%, #8f140f 100%);
    box-shadow: 0 24px 50px -24px rgba(200, 37, 29, .7);
}
.feature-banner h2 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}
.feature-banner p {
    max-width: 560px;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
}
.feature-banner .btn { flex-shrink: 0; }

.grid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.card-feature {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.card-feature .icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--red-soft);
}
.card-feature .icon svg {
    width: 26px; height: 26px;
    fill: none; stroke: var(--red); stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}
.card-feature p {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.35;
}

.flags-container {
    text-align: center;
    margin-top: 72px;
}
.flags-container h3 {
    font-size: 20px;
    letter-spacing: -.01em;
    margin-bottom: 24px;
}
.flags-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.flags-list li {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-2);
}

/* ---------- Portal ---------- */
.portal-frame { background: var(--bg-soft); }
.portal-frame iframe {
    display: block;
    width: 100%;
    height: calc(100vh - 69px - 52px);
    min-height: 600px;
    border: 0;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: #fff;
    padding: 64px 0 0;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 40px;
}
.footer-logo {
    display: inline-block;
    padding: 8px 14px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
}
.footer-logo img { display: block; height: 30px; width: auto; }
.footer-brand p { color: #a4a9b1; font-size: 14px; max-width: 280px; }
.footer h4 {
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8b919a;
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    color: #e9ebee;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 10px;
    transition: color .15s;
}
.footer-links a:hover { color: #ff6b63; }
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}
.footer-contact a { color: #e9ebee; text-decoration: none; }
.footer-contact a:hover { color: #ff6b63; }
.footer-contact svg {
    width: 20px; height: 20px; flex-shrink: 0;
    fill: none; stroke: #ff6b63; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}
.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    padding-bottom: 28px;
    border-top: 1px solid #262a31;
    font-size: 13px;
    color: #8b919a;
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .hero { padding: 48px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-image img { max-width: 380px; }
    .grid-features { grid-template-columns: repeat(2, 1fr); }
    .feature-banner { flex-direction: column; text-align: center; padding: 34px 28px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .nav-burger {
        display: grid;
        place-items: center;
        width: 44px; height: 44px;
        margin-left: auto;
        cursor: pointer;
        border-radius: 12px;
    }
    .nav-burger span,
    .nav-burger span::before,
    .nav-burger span::after {
        content: '';
        display: block;
        width: 22px; height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform .2s, opacity .2s;
    }
    .nav-burger span { position: relative; }
    .nav-burger span::before { position: absolute; top: -7px; }
    .nav-burger span::after  { position: absolute; top: 7px; }
    .nav-toggle:checked + .nav-burger span { background: transparent; }
    .nav-toggle:checked + .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked + .nav-burger span::after  { transform: translateY(-7px) rotate(-45deg); }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2);
    }
    .nav-toggle:checked ~ .nav-menu { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-links a { padding: 12px 14px; font-size: 16px; }
    .nav-cta { width: 100%; }
}

@media (max-width: 560px) {
    .container { padding: 0 20px; }
    .grid-features { grid-template-columns: 1fr; }
    .features-section { padding: 56px 0 64px; }
    .footer-content { grid-template-columns: 1fr; }
    .hero-description { font-size: 16px; }
    .btn-lg { width: 100%; }
}

