/* ==========================================================================
   PÁGINA: SISTEMA PARA AGÊNCIAS DE MARKETING
   Arquivo: assets/css/sistema-agencias-marketing.css
   ========================================================================== */

:root {
    --agency-primary: #2563eb;
    --agency-primary-dark: #1d4ed8;
    --agency-secondary: #7c3aed;
    --agency-accent: #06b6d4;
    --agency-dark: #07111f;
    --agency-dark-soft: #0b1728;
    --agency-text: #0f172a;
    --agency-muted: #64748b;
    --agency-border: rgba(15, 23, 42, 0.09);
    --agency-light: #f6f8fc;
    --agency-white: #ffffff;
    --agency-radius-sm: 14px;
    --agency-radius: 24px;
    --agency-radius-lg: 34px;
    --agency-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --agency-shadow-soft: 0 14px 38px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.agency-page {
    margin: 0;
    color: var(--agency-text);
    background: var(--agency-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.agency-page a {
    color: inherit;
    text-decoration: none;
}

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

.agency-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.agency-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(18px);
}

.agency-navbar__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.agency-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.agency-brand__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.agency-navbar__links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #475569;
    font-size: 0.94rem;
    font-weight: 600;
}

.agency-navbar__links a {
    transition: color 0.2s ease;
}

.agency-navbar__links a:hover {
    color: var(--agency-primary);
}

.agency-btn {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    font-size: 0.97rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.agency-btn:hover {
    transform: translateY(-3px);
}

.agency-btn--small {
    min-height: 44px;
    padding-inline: 18px;
    border-radius: 13px;
    font-size: 0.9rem;
}

.agency-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.agency-btn--primary:hover {
    box-shadow: 0 20px 42px rgba(37, 99, 235, 0.34);
}

.agency-btn--secondary {
    color: var(--agency-text);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.11);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.agency-btn--white {
    color: var(--agency-primary-dark);
    background: #fff;
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.24);
}

.agency-btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
}

.agency-hero {
    min-height: 820px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 112px 0 96px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.14), transparent 31%),
        radial-gradient(circle at 92% 20%, rgba(124, 58, 237, 0.12), transparent 30%),
        linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.agency-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.agency-hero__orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
}

.agency-hero__orb--one {
    width: 270px;
    height: 270px;
    top: 130px;
    left: -160px;
    background: rgba(37, 99, 235, 0.16);
}

.agency-hero__orb--two {
    width: 320px;
    height: 320px;
    right: -170px;
    bottom: 60px;
    background: rgba(124, 58, 237, 0.14);
}

.agency-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
    gap: 72px;
    align-items: center;
}

.agency-eyebrow,
.agency-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--agency-primary-dark);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.agency-eyebrow {
    padding: 9px 13px;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 32px rgba(37, 99, 235, 0.08);
}

.agency-eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.agency-hero h1 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(3rem, 5.2vw, 5.45rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.agency-hero h1 span {
    display: block;
    margin-top: 8px;
    color: transparent;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
    -webkit-background-clip: text;
    background-clip: text;
}

.agency-hero__lead {
    max-width: 650px;
    margin: 28px 0 0;
    color: #52627a;
    font-size: 1.15rem;
    line-height: 1.75;
}

.agency-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.agency-hero__trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.agency-trust-item {
    padding-top: 17px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.agency-trust-item strong,
.agency-trust-item span {
    display: block;
}

.agency-trust-item strong {
    font-size: 0.94rem;
}

.agency-trust-item span {
    margin-top: 5px;
    color: var(--agency-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.agency-hero__visual {
    position: relative;
    min-height: 540px;
}

.agency-platform {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 30px;
    background: #fff;
    box-shadow:
        0 40px 90px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(15, 23, 42, 0.04);
    transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}

.agency-platform__topbar {
    height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.agency-platform__dots {
    display: flex;
    gap: 6px;
}

.agency-platform__dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
}

.agency-platform__dots span:first-child {
    background: #f87171;
}

.agency-platform__dots span:nth-child(2) {
    background: #fbbf24;
}

.agency-platform__dots span:nth-child(3) {
    background: #4ade80;
}

.agency-platform__status {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
}

.agency-platform__body {
    min-height: 440px;
    display: grid;
    grid-template-columns: 62px 1fr;
}

.agency-platform__sidebar {
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #091426;
}

.agency-platform__logo {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
}

.agency-platform__sidebar span {
    width: 21px;
    height: 21px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.11);
}

.agency-platform__sidebar span.active {
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
}

.agency-platform__content {
    padding: 24px;
    background: #f5f7fb;
}

.agency-platform__heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.agency-platform__heading small,
.agency-platform__heading strong {
    display: block;
}

.agency-platform__heading small {
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 0.68rem;
}

.agency-platform__heading strong {
    font-size: 1rem;
}

.agency-platform__heading > span {
    padding: 7px 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 9px;
    color: #64748b;
    background: #fff;
    font-size: 0.65rem;
    font-weight: 700;
}

.agency-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.agency-metrics article {
    padding: 15px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 22px rgba(15, 23, 42, 0.04);
}

.agency-metrics span,
.agency-metrics strong,
.agency-metrics small {
    display: block;
}

.agency-metrics span {
    color: #64748b;
    font-size: 0.64rem;
}

.agency-metrics strong {
    margin-top: 7px;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
}

.agency-metrics small {
    margin-top: 5px;
    color: #16a34a;
    font-size: 0.56rem;
}

.agency-platform__lower {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 12px;
    margin-top: 12px;
}

.agency-chart,
.agency-conversation {
    min-height: 210px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    background: #fff;
}

.agency-chart__head,
.agency-conversation__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agency-chart__head span,
.agency-conversation__head span {
    font-size: 0.7rem;
    font-weight: 800;
}

.agency-chart__head strong {
    color: #16a34a;
    font-size: 0.72rem;
}

.agency-chart__bars {
    height: 142px;
    display: flex;
    align-items: flex-end;
    gap: 9px;
    padding-top: 18px;
}

.agency-chart__bars i {
    flex: 1;
    min-width: 8px;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(to top, var(--agency-primary), #8b5cf6);
    opacity: 0.9;
}

.agency-conversation__head small {
    color: #16a34a;
    font-size: 0.6rem;
}

.agency-message {
    max-width: 90%;
    margin-top: 18px;
    padding: 10px 11px;
    border-radius: 11px;
    font-size: 0.63rem;
    line-height: 1.5;
}

.agency-message--client {
    color: #475569;
    background: #f1f5f9;
}

.agency-message--bot {
    margin-left: auto;
    color: #fff;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
}

.agency-floating-card {
    position: absolute;
    z-index: 4;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
}

.agency-floating-card span,
.agency-floating-card strong,
.agency-floating-card small {
    display: block;
}

.agency-floating-card--revenue {
    right: -26px;
    bottom: 28px;
}

.agency-floating-card--revenue span {
    color: #64748b;
    font-size: 0.69rem;
}

.agency-floating-card--revenue strong {
    margin-top: 5px;
    font-size: 1.12rem;
}

.agency-floating-card--revenue small {
    margin-top: 4px;
    color: #16a34a;
    font-size: 0.6rem;
}

.agency-floating-card--label {
    left: -36px;
    bottom: 112px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.agency-floating-card--label .agency-floating-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.agency-floating-card--label strong {
    font-size: 0.78rem;
}

.agency-floating-card--label small {
    margin-top: 3px;
    color: #64748b;
    font-size: 0.61rem;
}

.agency-proof-strip {
    border-top: 1px solid var(--agency-border);
    border-bottom: 1px solid var(--agency-border);
    background: #fff;
}

.agency-proof-strip__grid {
    min-height: 86px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 20px;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
}

.agency-section {
    position: relative;
    padding: 116px 0;
}

.agency-section--white {
    background: #fff;
}

.agency-section--light {
    background: var(--agency-light);
}

.agency-section--soft {
    background:
        radial-gradient(circle at 15% 18%, rgba(37, 99, 235, 0.07), transparent 28%),
        #f8fafc;
}

.agency-section--dark {
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.25), transparent 32%),
        radial-gradient(circle at 88% 70%, rgba(124, 58, 237, 0.2), transparent 32%),
        var(--agency-dark);
}

.agency-section--comparison {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.19), transparent 38%),
        #081426;
}

.agency-section--faq {
    background: #f8fafc;
}

.agency-section__header {
    max-width: 760px;
    margin-bottom: 52px;
}

.agency-section__header--center {
    margin-inline: auto;
    text-align: center;
}

.agency-section__header h2,
.agency-opportunity__content h2,
.agency-white-label__content h2,
.agency-final-cta h2 {
    margin: 14px 0 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

.agency-section__header p,
.agency-opportunity__content p,
.agency-white-label__content > p,
.agency-final-cta p {
    margin: 20px 0 0;
    color: var(--agency-muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.agency-section__header--light p,
.agency-section--dark .agency-opportunity__content p {
    color: #a9b6c8;
}

.agency-kicker--dark {
    color: #8fb5ff;
}

.agency-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.agency-service-card {
    min-height: 270px;
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--agency-radius);
    background: #fff;
    box-shadow: var(--agency-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agency-service-card:hover,
.agency-feature-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--agency-shadow);
}

.agency-service-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
    font-size: 0.77rem;
    font-weight: 900;
}

.agency-service-card h3,
.agency-feature-card h3,
.agency-profile-grid h3,
.agency-steps h3 {
    margin: 24px 0 0;
    font-size: 1.18rem;
    letter-spacing: -0.025em;
}

.agency-service-card p,
.agency-feature-card p,
.agency-steps p {
    margin: 13px 0 0;
    color: var(--agency-muted);
    line-height: 1.7;
    font-size: 0.93rem;
}

.agency-opportunity {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 90px;
    align-items: center;
}

.agency-chat-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.agency-chat-line {
    max-width: 78%;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.16);
}

.agency-chat-line span {
    color: #8fb5ff;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.agency-chat-line p {
    margin: 7px 0 0;
    color: #dce6f4;
    font-size: 0.9rem;
}

.agency-chat-line--right {
    margin-left: auto;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85), rgba(124, 58, 237, 0.8));
}

.agency-chat-line--right span {
    color: #fff;
}

.agency-white-label {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 90px;
    align-items: center;
}

.agency-white-label__panel {
    padding: 38px;
    border-radius: var(--agency-radius-lg);
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.35), transparent 33%),
        linear-gradient(145deg, #091426, #111d34);
    box-shadow: var(--agency-shadow);
}

.agency-brand-preview {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.agency-brand-preview__header {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.agency-brand-preview__logo {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
}

.agency-brand-preview__header strong,
.agency-brand-preview__header small {
    display: block;
}

.agency-brand-preview__header small {
    margin-top: 3px;
    color: #a8b4c8;
    font-size: 0.69rem;
}

.agency-brand-preview__screen {
    min-height: 330px;
    display: grid;
    grid-template-columns: 58px 1fr;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 20px;
    background: #f5f7fb;
}

.agency-brand-preview__menu {
    padding-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 19px;
    background: #0b1628;
}

.agency-brand-preview__menu span {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.12);
}

.agency-brand-preview__menu span.active {
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
}

.agency-brand-preview__dashboard {
    padding: 24px;
}

.agency-brand-preview__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.agency-brand-preview__cards i {
    height: 76px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    background: #fff;
}

.agency-brand-preview__graph {
    position: relative;
    height: 170px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    background:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        #fff;
    background-size: 28px 28px;
}

.agency-brand-preview__graph::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 24px;
    height: 75px;
    border-top: 5px solid var(--agency-primary);
    border-radius: 50%;
    transform: skewY(-10deg);
    filter: drop-shadow(0 9px 12px rgba(37, 99, 235, 0.25));
}

.agency-check-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 28px 0 32px;
    list-style: none;
}

.agency-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-weight: 700;
}

.agency-check-list span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    font-size: 0.72rem;
}

.agency-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.agency-feature-card {
    min-height: 230px;
    padding: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agency-feature-card__number {
    color: var(--agency-primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.agency-revenue {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: stretch;
    gap: 20px;
}

.agency-revenue__column {
    padding: 36px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--agency-shadow-soft);
}

.agency-revenue__column--featured {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.4), transparent 32%),
        linear-gradient(145deg, #0a1830, #10274a);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
}

.agency-revenue__label {
    color: var(--agency-primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.agency-revenue__column--featured .agency-revenue__label {
    color: #93b4ff;
}

.agency-revenue__column h3 {
    margin: 16px 0 0;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.agency-revenue__column ul {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.agency-revenue__column li {
    color: #52627a;
}

.agency-revenue__column--featured li {
    color: #d7e0ed;
}

.agency-revenue__result {
    margin-top: 30px;
    padding: 17px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
    font-weight: 800;
    text-align: center;
}

.agency-revenue__result--muted {
    color: #64748b;
    background: #f1f5f9;
}

.agency-revenue__plus {
    display: grid;
    place-items: center;
    color: var(--agency-primary);
    font-size: 2.2rem;
    font-weight: 300;
}

.agency-simulation {
    margin-top: 28px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px 30px;
    align-items: center;
    border: 1px solid rgba(37, 99, 235, 0.13);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.055), rgba(124, 58, 237, 0.05));
}

.agency-simulation span {
    color: var(--agency-primary);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.agency-simulation h3 {
    margin: 8px 0 0;
    font-size: 1.25rem;
}

.agency-simulation__math {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agency-simulation__math span {
    padding: 11px 13px;
    border-radius: 12px;
    color: #334155;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
    text-transform: none;
    letter-spacing: 0;
}

.agency-simulation__math i {
    color: #94a3b8;
    font-style: normal;
}

.agency-simulation__math strong {
    color: #16a34a;
    font-size: 1.15rem;
}

.agency-simulation small {
    grid-column: 1 / -1;
    color: #64748b;
}

.agency-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.agency-profile-grid article {
    min-height: 210px;
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.agency-profile-grid span {
    color: var(--agency-primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.agency-profile-grid h3 {
    margin-top: 22px;
    line-height: 1.42;
}

.agency-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.agency-comparison__card {
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.045);
}

.agency-comparison__card--active {
    border-color: rgba(123, 161, 255, 0.4);
    background:
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.28), transparent 34%),
        rgba(37, 99, 235, 0.14);
}

.agency-comparison__card > span {
    color: #9bbcff;
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.agency-comparison__card ul {
    display: grid;
    gap: 16px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.agency-comparison__card li {
    position: relative;
    padding-left: 28px;
    color: #c7d2e2;
}

.agency-comparison__card li::before {
    content: "×";
    position: absolute;
    left: 0;
    top: -2px;
    color: #fb7185;
    font-weight: 900;
}

.agency-comparison__card--active li::before {
    content: "✓";
    color: #4ade80;
}

.agency-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.agency-steps article {
    position: relative;
    min-height: 250px;
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--agency-shadow-soft);
}

.agency-steps article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--agency-primary), var(--agency-secondary));
    font-weight: 900;
}

.agency-faq {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 90px;
    align-items: start;
}

.agency-faq__list {
    display: grid;
    gap: 12px;
}

.agency-faq details {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.agency-faq summary {
    position: relative;
    padding: 21px 55px 21px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: 800;
}

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

.agency-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 21px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--agency-primary);
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.agency-faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.agency-faq details p {
    padding: 0 22px 22px;
    margin: 0;
    color: var(--agency-muted);
    line-height: 1.75;
}

.agency-final-cta {
    position: relative;
    overflow: hidden;
    padding: 118px 0;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.45), transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(124, 58, 237, 0.38), transparent 34%),
        #06101e;
}

.agency-final-cta__orb {
    position: absolute;
    width: 380px;
    height: 380px;
    top: -230px;
    right: 10%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 45px rgba(255, 255, 255, 0.025),
        0 0 0 90px rgba(255, 255, 255, 0.018);
}

.agency-final-cta__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.agency-final-cta h2 {
    max-width: 880px;
    margin-inline: auto;
}

.agency-final-cta p {
    max-width: 760px;
    margin-inline: auto;
    color: #b8c4d5;
}

.agency-final-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.agency-final-cta__note {
    margin-top: 24px;
    color: #8fa0b6;
    font-size: 0.83rem;
}

.agency-footer {
    padding: 44px 0;
    color: #cbd5e1;
    background: #040a13;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agency-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.agency-footer p {
    max-width: 520px;
    color: #7f8ca0;
    line-height: 1.7;
}

.agency-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    font-weight: 700;
}

.agency-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    min-width: 130px;
    min-height: 52px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    color: #fff !important;
    background: #22c55e;
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.32);
    font-size: 0.88rem;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agency-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 24px 46px rgba(34, 197, 94, 0.4);
}

@media (max-width: 1100px) {
    .agency-hero__grid {
        grid-template-columns: 1fr;
        gap: 62px;
    }

    .agency-hero__content {
        max-width: 800px;
    }

    .agency-hero__visual {
        width: min(800px, 100%);
        margin-inline: auto;
    }

    .agency-service-grid,
    .agency-steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agency-white-label,
    .agency-opportunity,
    .agency-faq {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .agency-white-label__panel {
        max-width: 760px;
    }

    .agency-feature-grid,
    .agency-profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agency-proof-strip__grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 20px 0;
    }
}

@media (max-width: 820px) {
    .agency-navbar__links {
        display: none;
    }

    .agency-section,
    .agency-final-cta {
        padding: 88px 0;
    }

    .agency-hero {
        min-height: auto;
        padding: 90px 0 76px;
    }

    .agency-hero h1 {
        font-size: clamp(2.8rem, 11vw, 4.3rem);
    }

    .agency-hero__trust {
        grid-template-columns: 1fr;
    }

    .agency-platform {
        transform: none;
    }

    .agency-floating-card--revenue {
        right: 10px;
    }

    .agency-floating-card--label {
        left: 10px;
    }

    .agency-revenue {
        grid-template-columns: 1fr;
    }

    .agency-revenue__plus {
        min-height: 30px;
    }

    .agency-simulation {
        grid-template-columns: 1fr;
    }

    .agency-simulation__math {
        flex-wrap: wrap;
    }

    .agency-comparison {
        grid-template-columns: 1fr;
    }

    .agency-footer__inner {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .agency-container {
        width: min(100% - 28px, 1180px);
    }

    .agency-navbar__inner {
        min-height: 70px;
    }

    .agency-navbar .agency-btn {
        display: none;
    }

    .agency-hero {
        padding-top: 72px;
    }

    .agency-hero__lead,
    .agency-section__header p,
    .agency-opportunity__content p,
    .agency-white-label__content > p,
    .agency-final-cta p {
        font-size: 0.98rem;
    }

    .agency-hero__actions,
    .agency-final-cta__actions {
        flex-direction: column;
    }

    .agency-btn {
        width: 100%;
    }

    .agency-hero__visual {
        min-height: 480px;
    }

    .agency-platform__content {
        padding: 16px;
    }

    .agency-metrics {
        grid-template-columns: 1fr;
    }

    .agency-metrics article:nth-child(n + 2) {
        display: none;
    }

    .agency-platform__lower {
        grid-template-columns: 1fr;
    }

    .agency-conversation {
        display: none;
    }

    .agency-platform__body {
        min-height: 390px;
        grid-template-columns: 48px 1fr;
    }

    .agency-floating-card {
        position: relative;
        inset: auto;
        margin-top: 12px;
    }

    .agency-floating-card--label {
        display: none;
    }

    .agency-proof-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agency-service-grid,
    .agency-feature-grid,
    .agency-profile-grid,
    .agency-steps__grid {
        grid-template-columns: 1fr;
    }

    .agency-service-card,
    .agency-feature-card,
    .agency-profile-grid article,
    .agency-steps article {
        min-height: auto;
    }

    .agency-white-label__panel {
        padding: 18px;
    }

    .agency-brand-preview {
        padding: 15px;
    }

    .agency-brand-preview__screen {
        min-height: 260px;
        grid-template-columns: 44px 1fr;
    }

    .agency-brand-preview__dashboard {
        padding: 16px;
    }

    .agency-brand-preview__cards {
        grid-template-columns: 1fr;
    }

    .agency-brand-preview__cards i:nth-child(n + 2) {
        display: none;
    }

    .agency-revenue__column,
    .agency-comparison__card {
        padding: 26px;
    }

    .agency-simulation {
        padding: 24px;
    }

    .agency-faq summary {
        font-size: 0.93rem;
    }

    .agency-whatsapp {
        right: 14px;
        bottom: 14px;
        min-width: 112px;
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
