:root {
    --red: #ef2634;
    --red-dark: #c91623;
    --ink: #171923;
    --muted: #5f6675;
    --soft: #f6f7f9;
    --line: #e6e8ee;
    --white: #ffffff;
    --green: #0a7a41;
    --shadow: 0 22px 70px rgba(22, 24, 35, .12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

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

a {
    color: var(--red-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    z-index: 9999;
    padding: 10px 14px;
    background: var(--ink);
    color: var(--white);
    border-radius: 10px;
}

.skip-link:focus {
    left: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img,
.footer-logo {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    justify-content: center;
}

.main-nav a {
    color: #2b2f3a;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--red-dark);
    background: #fff0f1;
    text-decoration: none;
}

.header-cta,
.btn,
.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta,
.btn-primary,
.footer-button {
    color: var(--white);
    background: var(--red);
    box-shadow: 0 12px 32px rgba(239, 38, 52, .24);
}

.header-cta:hover,
.btn-primary:hover,
.footer-button:hover {
    color: var(--white);
    background: var(--red-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-secondary {
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    color: var(--red-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    background: var(--soft);
    color: var(--ink);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(16, 18, 26, .92) 0%, rgba(16, 18, 26, .84) 46%, rgba(239, 38, 52, .68) 100%),
        url('/imagens/background1.webp') center/cover no-repeat;
}

.hero.organic {
    background:
        linear-gradient(115deg, rgba(16, 18, 26, .91) 0%, rgba(16, 18, 26, .82) 48%, rgba(239, 38, 52, .66) 100%),
        url('/imagens/facilita-trafego-organico-1-1920x1080.webp') center/cover no-repeat;
}

.hero.analytics {
    background:
        linear-gradient(115deg, rgba(16, 18, 26, .91) 0%, rgba(16, 18, 26, .80) 48%, rgba(239, 38, 52, .66) 100%),
        url('/imagens/facilita-trafego-organico-2-1920x1080.webp') center/cover no-repeat;
}

.hero-inner {
    min-height: 640px;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 56px;
    padding: 86px 0;
}

.page-hero .hero-inner {
    min-height: 430px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 0 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffe9eb;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0 0 14px;
    line-height: 1.13;
    color: inherit;
}

h1 {
    max-width: 820px;
    font-size: clamp(38px, 5vw, 66px);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(30px, 3vw, 44px);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 23px;
    letter-spacing: -0.02em;
}

.lead {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, .9);
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 34px;
    max-width: 760px;
}

.proof-card {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .16);
}

.proof-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.2;
}

.proof-card span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    line-height: 1.35;
}

.hero-panel {
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    font-size: 28px;
}

.hero-panel p {
    color: var(--muted);
}

.metric-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.metric-list li,
.check-list li {
    position: relative;
    padding-left: 34px;
}

.metric-list li::before,
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--red);
    font-size: 14px;
    font-weight: 900;
}

.breadcrumb {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .76);
    font-size: 15px;
}

.breadcrumb a {
    color: var(--white);
    font-weight: 700;
}

.section {
    padding: 86px 0;
}

.section.soft {
    background: var(--soft);
}

.section.narrow {
    padding: 64px 0;
}

.section-header {
    max-width: 780px;
    margin-bottom: 36px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header p,
.content p,
.card p,
.info-box p,
.article-card p {
    color: var(--muted);
}

.grid-3,
.grid-2,
.feature-grid {
    display: grid;
    gap: 24px;
}

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

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 46px;
}

.card,
.article-card,
.info-box,
.faq-item,
.content-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 40px rgba(21, 24, 34, .05);
}

.card,
.article-card,
.info-box,
.content-card {
    padding: 28px;
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--white);
    background: var(--red);
    font-weight: 900;
    font-size: 22px;
}

.card a.read-more,
.article-card a.read-more {
    display: inline-flex;
    margin-top: 10px;
    font-weight: 800;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-weight: 800;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .13);
}

.content {
    max-width: 820px;
}

.content.wide {
    max-width: none;
}

.content h2,
.content h3 {
    margin-top: 36px;
}

.content h2:first-child,
.content h3:first-child {
    margin-top: 0;
}

.content ul,
.content ol,
.check-list {
    padding-left: 0;
    list-style: none;
}

.content li,
.check-list li {
    margin-bottom: 12px;
}

.kicker {
    color: var(--red-dark);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 14px;
    margin-bottom: 10px;
}

.callout {
    padding: 28px;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--ink), #2d3346);
}

.callout p {
    color: rgba(255, 255, 255, .82);
}

.callout .btn-secondary {
    color: var(--ink);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0;
}

.stat {
    padding: 20px;
    border-radius: 18px;
    background: var(--soft);
}

.stat strong {
    display: block;
    color: var(--red-dark);
    font-size: 30px;
    line-height: 1;
}

.stat span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.comparison {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 40px rgba(21, 24, 34, .05);
}

.comparison th,
.comparison td {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.comparison th {
    color: var(--white);
    background: var(--ink);
}

.comparison tr:last-child td {
    border-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 22px 24px;
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--red-dark);
    font-size: 26px;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item div {
    padding: 0 24px 22px;
    color: var(--muted);
}

.cta-band {
    color: var(--white);
    background: linear-gradient(135deg, #ef2634, #9e111b);
    border-radius: 30px;
    padding: 46px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    box-shadow: 0 24px 70px rgba(239, 38, 52, .22);
}

.cta-band p {
    color: rgba(255, 255, 255, .86);
    margin: 0;
}

.cta-band .btn {
    background: var(--white);
    color: var(--red-dark);
    box-shadow: none;
}

.cta-band .btn:hover {
    color: var(--red-dark);
}

.site-footer {
    background: #121521;
    color: rgba(255, 255, 255, .75);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr 1fr;
    gap: 38px;
}

.footer-grid h2 {
    color: var(--white);
    font-size: 18px;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 10px;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-button {
    display: inline-flex !important;
    width: fit-content;
    margin-top: 8px !important;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .8);
}

@media (max-width: 980px) {
    .nav-wrap {
        min-height: 70px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 20px;
        background: var(--white);
        box-shadow: var(--shadow);
        border: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero-inner,
    .feature-grid,
    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        min-height: auto;
        padding: 70px 0;
    }

    .grid-3,
    .stat-row {
        grid-template-columns: 1fr;
    }

    .cta-band {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container {
        width: min(100% - 28px, 1120px);
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 62px 0;
    }

    .card,
    .article-card,
    .info-box,
    .content-card,
    .hero-panel {
        padding: 22px;
    }

    .comparison {
        display: block;
        overflow-x: auto;
    }
}
