/* F5 Legis — Design System Moderno (polish SaaS)
   Portado dos encartes comerciais, nivelado ao padrão iFood/Conta Azul.
*/

:root {
    --f5-orange: #FF6908;
    --f5-orange-dark: #e65c00;
    --f5-orange-soft: #fff4e6;
    --f5-navy: #0b1f3a;
    --f5-navy-soft: #122a4f;
    --f5-ink: #0f172a;
    --f5-ink-2: #1e293b;
    --f5-gray: #475569;
    --f5-gray-2: #64748b;
    --f5-gray-3: #94a3b8;
    --f5-border: #e8edf3;
    --f5-border-2: #f1f5f9;
    --f5-cream: #FFF7EF;
    --f5-cream-2: #fdf4ec;
    --f5-bg: #f8fafc;
    --f5-green: #16a34a;
    --f5-red: #dc2626;
    --f5-white: #ffffff;

    --f5-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --f5-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --f5-radius-sm: 8px;
    --f5-radius: 14px;
    --f5-radius-lg: 20px;
    --f5-radius-pill: 999px;

    --f5-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --f5-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    --f5-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    --f5-shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    --f5-shadow-orange: 0 10px 25px -5px rgba(255, 105, 8, 0.35);

    --f5-container: 1200px;
    --f5-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.f5m {
    margin: 0;
    padding: 0;
    font-family: var(--f5-font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--f5-ink-2);
    background: var(--f5-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

body.f5m img, body.f5m svg { max-width: 100%; height: auto; display: block; }
:where(body.f5m) a { color: var(--f5-orange); text-decoration: none; transition: color .2s var(--f5-ease); }
:where(body.f5m) a:hover { color: var(--f5-orange-dark); }
body.f5m ::selection { background: var(--f5-orange); color: var(--f5-white); }

/* Tipografia escala SaaS moderna */
.f5m h1, .f5m h2, .f5m h3, .f5m h4 {
    font-family: var(--f5-font-display);
    color: var(--f5-ink);
    margin: 0 0 0.5em;
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 800;
}
.f5m h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing: -0.035em; }
.f5m h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; }
.f5m h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -0.02em; font-weight: 700; }
.f5m h4 { font-size: 1.05rem; letter-spacing: -0.01em; font-weight: 700; }
.f5m p  { margin: 0 0 1em; color: var(--f5-gray); }

.f5m .eyebrow {
    display: inline-block;
    color: var(--f5-orange);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    padding: 6px 12px;
    background: var(--f5-orange-soft);
    border-radius: var(--f5-radius-pill);
}

.f5m .lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--f5-gray);
    line-height: 1.65;
    max-width: 680px;
    margin: 0;
}

.f5m .section-title {
    margin-bottom: 28px;
}
.f5m .section-title.center { text-align: center; margin-inline: auto; }

/* Container */
.f5m .container {
    max-width: var(--f5-container);
    margin: 0 auto;
    padding: 0 24px;
}

.f5m section {
    padding: 72px 0;
}
@media (min-width: 768px) { .f5m section { padding: 110px 0; } }

/* Header moderno */
.f5m-header {
    background: var(--f5-orange);
    color: var(--f5-white);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.f5m-header-inner {
    max-width: var(--f5-container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.f5m-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--f5-white);
    text-decoration: none;
}
.f5m-brand:hover { color: var(--f5-white); }
.f5m-brand-mark {
    display: block;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.f5m-brand-word {
    font-family: var(--f5-font);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--f5-white);
    line-height: 1;
}

.f5m-nav { display: none; }
.f5m-nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; align-items: center; gap: 2px;
}
.f5m-nav a {
    color: var(--f5-white);
    padding: 8px 14px;
    border-radius: var(--f5-radius-sm);
    font-weight: 600;
    font-size: 14.5px;
    transition: background .2s var(--f5-ease);
    display: block;
}
.f5m-nav a:hover, .f5m-nav a.active {
    background: rgba(255, 255, 255, 0.18);
    color: var(--f5-white);
}
.f5m-nav li.has-sub { position: relative; }
.f5m-nav li.has-sub > a::after { content: ' ▾'; font-size: 9px; opacity: .8; }
.f5m-nav li.has-sub ul {
    position: absolute; top: calc(100% + 2px); left: 0;
    min-width: 280px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border);
    border-radius: var(--f5-radius);
    box-shadow: var(--f5-shadow-lg);
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
}
/* Ponte invisível entre o link e o submenu para não perder hover */
.f5m-nav li.has-sub > a::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    height: 14px;
}
.f5m-nav li.has-sub { /* garante que o a com ::before ancore */ }
.f5m-nav li.has-sub > a { position: relative; }
.f5m-nav li.has-sub:hover > ul,
.f5m-nav li.has-sub:focus-within > ul { display: flex; }
.f5m-nav li.has-sub ul a {
    color: var(--f5-ink);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--f5-radius-sm);
}
.f5m-nav li.has-sub ul a:hover {
    background: var(--f5-cream);
    color: var(--f5-orange);
}

.f5m-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--f5-navy);
    color: var(--f5-white);
    padding: 10px 18px;
    border-radius: var(--f5-radius-pill);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s var(--f5-ease);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(11, 31, 58, 0.25);
}
.f5m-cta:hover {
    color: var(--f5-white);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.35);
    background: var(--f5-navy-soft);
}
.f5m-cta-short { display: none; }
@media (max-width: 767px) {
    .f5m-cta-full { display: none; }
    .f5m-cta-short { display: inline; }
    .f5m-cta { padding: 8px 14px; font-size: 13px; }
    .f5m-brand-mark { width: 32px; height: 32px; }
    .f5m-brand-word { font-size: 19px; }
    .f5m-header-inner { gap: 10px; padding: 10px 16px; }
}

/* Mobile menu */
.f5m-menu-toggle { display: none; }
.f5m-menu-btn {
    display: flex; flex-direction: column; gap: 4px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: var(--f5-radius-sm);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.f5m-menu-btn span {
    width: 20px; height: 2px;
    background: var(--f5-white);
    display: block; border-radius: 2px;
}

@media (min-width: 1024px) {
    .f5m-nav { display: block; }
    .f5m-menu-btn { display: none; }
}
@media (max-width: 1023px) {
    .f5m-header:has(.f5m-menu-toggle:checked) .f5m-nav {
        display: block;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--f5-orange-dark);
        padding: 14px 24px 22px;
    }
    .f5m-header:has(.f5m-menu-toggle:checked) .f5m-nav ul {
        flex-direction: column; align-items: stretch; gap: 4px;
    }
    .f5m-header:has(.f5m-menu-toggle:checked) .f5m-nav li.has-sub > ul {
        position: static; box-shadow: none; border: none;
        background: rgba(0,0,0,0.15);
        display: flex; margin-top: 4px;
    }
    .f5m-header:has(.f5m-menu-toggle:checked) .f5m-nav li.has-sub ul a { color: var(--f5-white); }
    .f5m-header:has(.f5m-menu-toggle:checked) .f5m-nav li.has-sub ul a:hover {
        background: rgba(255,255,255,0.12); color: var(--f5-white);
    }
}

/* HERO — 2 colunas */
.f5m-hero {
    position: relative;
    padding: 72px 0 88px;
    background: radial-gradient(ellipse at top right, rgba(255,105,8,0.08), transparent 55%),
                radial-gradient(ellipse at bottom left, rgba(11,31,58,0.05), transparent 55%),
                linear-gradient(180deg, #fffdfb 0%, var(--f5-white) 100%);
    overflow: hidden;
}
.f5m-hero::before {
    content: '';
    position: absolute;
    top: -180px; right: -180px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(255,105,8,0.12) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}
.f5m-hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 1024px) {
    .f5m-hero { padding: 100px 0 120px; }
    .f5m-hero .container { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}
.f5m-hero h1 { color: var(--f5-ink); margin-bottom: 20px; }
.f5m-hero h1 .accent { color: var(--f5-orange); }
.f5m-hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--f5-gray);
    max-width: 580px;
    margin: 0 0 36px;
    line-height: 1.6;
}
.f5m-hero-actions {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-bottom: 32px;
}
.f5m-hero-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--f5-border);
}
.f5m-hero-meta .m {
    display: flex; flex-direction: column; gap: 2px;
}
.f5m-hero-meta .m .v { font-size: 1.4rem; font-weight: 800; color: var(--f5-ink); letter-spacing: -0.02em; }
.f5m-hero-meta .m .k { font-size: 0.82rem; color: var(--f5-gray-2); font-weight: 500; }

/* Mockup / arte do hero */
.f5m-hero-art {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 28px;
    background: linear-gradient(145deg, #0b1f3a 0%, #10294e 55%, #183a64 100%);
    overflow: hidden;
    box-shadow: var(--f5-shadow-xl);
    padding: 28px;
    color: var(--f5-white);
    font-family: var(--f5-font);
    isolation: isolate;
    display: flex;
    align-items: stretch;
}
.f5m-hero-art::before {
    content: '';
    position: absolute;
    top: -70px; right: -40px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(255,105,8,0.3), transparent 72%);
    filter: blur(24px);
    pointer-events: none;
}
.f5m-hero-art::after {
    content: '';
    position: absolute;
    left: -70px; bottom: -90px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 74%);
    filter: blur(18px);
    pointer-events: none;
}
.f5m-hero-art-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.18;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.9), transparent 86%);
    mask-image: linear-gradient(135deg, rgba(0,0,0,0.9), transparent 86%);
}
.f5m-hero-float {
    position: absolute;
    z-index: 2;
    max-width: 220px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 40px rgba(4,12,24,0.22);
    backdrop-filter: blur(16px);
}
.f5m-hero-float-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}
.f5m-hero-float strong {
    display: block;
    color: var(--f5-white);
    font-size: 0.97rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.f5m-hero-float-top {
    top: 24px;
    right: 28px;
}
.f5m-hero-float-bottom {
    left: 18px;
    bottom: 22px;
}
.f5m-mockup {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 74px 0 86px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, #f8fbff 100%);
    color: var(--f5-ink);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 26px 60px rgba(6,16,31,0.34);
    font-size: 13px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.68);
    display: grid;
    gap: 14px;
    isolation: isolate;
}
.f5m-mockup::before {
    content: '';
    position: absolute;
    top: 88px;
    right: -26px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,105,8,0.18), transparent 72%);
    pointer-events: none;
}
.f5m-mockup::after {
    content: '';
    position: absolute;
    inset: 18px auto -18px 18px;
    width: calc(100% - 36px);
    height: 100%;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
    opacity: 0.18;
    transform: translate(18px, 22px);
    z-index: -1;
}
.f5m-mockup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148,163,184,0.22);
}
.f5m-mockup-window {
    display: flex;
    gap: 6px;
}
.f5m-mockup-window span {
    width: 10px; height: 10px; border-radius: 50%;
    background: #e2e8f0;
}
.f5m-mockup-window span:first-child { background: #fb7185; }
.f5m-mockup-window span:nth-child(2) { background: #fbbf24; }
.f5m-mockup-window span:nth-child(3) { background: #34d399; }
.f5m-mockup-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: var(--f5-radius-pill);
    background: #eef4ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.f5m-mockup-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.f5m-mockup-heading {
    display: grid;
    gap: 4px;
}
.f5m-mockup-kicker {
    color: var(--f5-gray-2);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.f5m-mockup-title {
    color: var(--f5-ink);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 280px;
}
.f5m-mockup-query {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7ef 0%, #ffffff 100%);
    border: 1px solid #fde4d1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}
.f5m-mockup-query-label {
    color: var(--f5-orange-dark);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.f5m-mockup-query strong {
    color: var(--f5-ink);
    font-size: 0.98rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}
.f5m-mockup-query-meta {
    color: var(--f5-gray);
    font-size: 11px;
    line-height: 1.45;
}
.f5m-mockup-main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(210px, 0.82fr);
    gap: 14px;
    align-items: stretch;
}
.f5m-mockup-panel,
.f5m-mockup-side-card {
    background: var(--f5-white);
    border: 1px solid var(--f5-border);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15,23,42,0.05);
}
.f5m-mockup-panel {
    padding: 10px 14px;
}
.f5m-mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--f5-border-2);
    font-size: 12.5px;
}
.f5m-mockup-row:last-child { border-bottom: none; }
.f5m-mockup-row .lbl {
    color: var(--f5-gray-2);
    font-weight: 600;
}
.f5m-mockup-row .val {
    color: var(--f5-ink);
    font-weight: 700;
    max-width: 62%;
    text-align: right;
    line-height: 1.35;
}
.f5m-mockup-row .val.ok { color: var(--f5-green); }
.f5m-mockup-side {
    display: grid;
    gap: 12px;
}
.f5m-mockup-side-card {
    padding: 14px;
    display: grid;
    gap: 10px;
}
.f5m-mockup-side-card.highlight {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #0f2747 0%, #16375f 100%);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 16px 36px rgba(11,31,58,0.22);
}
.f5m-mockup-side-card.highlight::after {
    content: '';
    position: absolute;
    right: -34px;
    bottom: -34px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,105,8,0.32), transparent 72%);
}
.f5m-mockup-side-card.highlight strong,
.f5m-mockup-side-card.highlight p {
    position: relative;
    z-index: 1;
}
.f5m-mockup-side-card.highlight strong {
    color: var(--f5-white);
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.f5m-mockup-side-card.highlight p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    line-height: 1.45;
}
.f5m-mockup-side-label {
    color: var(--f5-gray-3);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.f5m-mockup-side-card.highlight .f5m-mockup-side-label {
    color: rgba(255,255,255,0.68);
}
.f5m-mockup-spark {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 64px;
    padding-top: 6px;
}
.f5m-mockup-spark span {
    flex: 1;
    border-radius: 999px 999px 7px 7px;
    background: linear-gradient(180deg, #ffb27a 0%, #ff6908 100%);
    box-shadow: 0 8px 18px rgba(255,105,8,0.16);
}
.f5m-mockup-spark span:nth-child(1),
.f5m-mockup-spark span:nth-child(2) {
    background: linear-gradient(180deg, #86efac 0%, #16a34a 100%);
    box-shadow: 0 8px 18px rgba(22,163,74,0.16);
}
.f5m-mockup-spark span:nth-child(5) {
    background: linear-gradient(180deg, #fca5a5 0%, #dc2626 100%);
    box-shadow: 0 8px 18px rgba(220,38,38,0.16);
}
.f5m-mockup-spark span:nth-child(1) { height: 33%; }
.f5m-mockup-spark span:nth-child(2) { height: 33%; }
.f5m-mockup-spark span:nth-child(3) { height: 56%; }
.f5m-mockup-spark span:nth-child(4) { height: 56%; }
.f5m-mockup-spark span:nth-child(5) { height: 84%; }
.f5m-mockup-side-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.f5m-mockup-side-stats span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: var(--f5-radius-pill);
    background: var(--f5-bg);
    color: var(--f5-gray);
    font-size: 11px;
    font-weight: 600;
}
.f5m-mockup-footer {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.f5m-mockup-chip {
    display: inline-block;
    padding: 5px 10px;
    border-radius: var(--f5-radius-pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.f5m-mockup-chip.orange { background: var(--f5-orange-soft); color: var(--f5-orange-dark); }
.f5m-mockup-chip.green  { background: #dcfce7; color: #166534; }
.f5m-mockup-chip.navy   { background: #e0e7ff; color: #1e40af; }
.f5m-mockup-chip.slate  { background: #e2e8f0; color: var(--f5-ink); }

@media (min-width: 1024px) {
    .f5m-hero-art {
        min-height: 560px;
    }
}
@media (max-width: 767px) {
    .f5m-hero-art {
        min-height: 0;
        padding: 18px;
        border-radius: 24px;
    }
    .f5m-hero-float {
        max-width: 178px;
        padding: 10px 12px;
    }
    .f5m-hero-float strong {
        font-size: 0.85rem;
    }
    .f5m-hero-float-top {
        top: 16px;
        right: 16px;
    }
    .f5m-hero-float-bottom {
        left: 12px;
        bottom: 16px;
    }
    .f5m-mockup {
        margin: 52px 0 64px;
        padding: 16px;
    }
    .f5m-mockup-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .f5m-mockup-title {
        max-width: none;
    }
    .f5m-mockup-main {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 479px) {
    .f5m-hero-float {
        display: none;
    }
    .f5m-mockup-pill {
        display: none;
    }
    .f5m-mockup {
        margin: 0;
    }
    .f5m-mockup-row {
        flex-direction: column;
        gap: 4px;
    }
    .f5m-mockup-row .val {
        max-width: 100%;
        text-align: left;
    }
}

/* Page hero (interiores) */
.f5m-page-hero {
    background: radial-gradient(ellipse at top right, rgba(255,105,8,0.08), transparent 55%),
                linear-gradient(180deg, #fffdfb 0%, var(--f5-white) 100%);
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--f5-border);
    position: relative;
    overflow: hidden;
}
.f5m-page-hero h1 { color: var(--f5-ink); margin: 0 0 16px; }
.f5m-page-hero p  { max-width: 680px; color: var(--f5-gray); font-size: 1.1rem; margin: 0; }

/* Botões — pill, modernos */
.f5m .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px;
    font-family: var(--f5-font);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--f5-radius-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s var(--f5-ease);
    letter-spacing: -0.005em;
    line-height: 1.2;
    white-space: nowrap;
}
.f5m .btn-lg { padding: 16px 28px; font-size: 16px; }
.f5m .btn-primary {
    background: var(--f5-orange);
    color: var(--f5-white);
    box-shadow: var(--f5-shadow-orange);
}
.f5m .btn-primary:hover {
    background: var(--f5-orange-dark);
    color: var(--f5-white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(255, 105, 8, 0.5);
}
.f5m .btn-dark {
    background: var(--f5-ink);
    color: var(--f5-white);
    box-shadow: var(--f5-shadow);
}
.f5m .btn-dark:hover {
    background: var(--f5-navy);
    color: var(--f5-white);
    transform: translateY(-2px);
    box-shadow: var(--f5-shadow-lg);
}
.f5m .btn-light {
    background: var(--f5-white);
    color: var(--f5-ink);
    box-shadow: var(--f5-shadow);
    border: 1px solid var(--f5-border);
}
.f5m .btn-light:hover {
    background: var(--f5-white);
    color: var(--f5-ink);
    transform: translateY(-2px);
    box-shadow: var(--f5-shadow-lg);
}
.f5m .btn-ghost {
    background: transparent;
    color: var(--f5-ink);
    border: 1px solid var(--f5-border);
}
.f5m .btn-ghost:hover {
    background: var(--f5-bg);
    color: var(--f5-ink);
    border-color: var(--f5-ink);
}
.f5m .btn-on-dark {
    background: var(--f5-white);
    color: var(--f5-ink);
}
.f5m .btn-on-dark:hover { background: var(--f5-cream); color: var(--f5-ink); }

/* Grids */
.f5m .grid { display: grid; gap: 20px; }
.f5m .grid-2 { grid-template-columns: 1fr; }
.f5m .grid-3 { grid-template-columns: 1fr; }
.f5m .grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
    .f5m .grid { gap: 24px; }
    .f5m .grid-2 { grid-template-columns: 1fr 1fr; }
    .f5m .grid-3 { grid-template-columns: 1fr 1fr; }
    .f5m .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .f5m .grid { gap: 28px; }
    .f5m .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .f5m .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cards — sem borda, só sombra flutuante */
.f5m .card {
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    padding: 28px;
    transition: all .25s var(--f5-ease);
}
.f5m .card.card-hover:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--f5-shadow-lg);
}
.f5m .card-orange-top { border-top: 3px solid var(--f5-orange); }
.f5m .card-cream {
    background: var(--f5-cream);
    border-color: transparent;
    border-left: 3px solid var(--f5-orange);
}
.f5m .card-dark {
    background: linear-gradient(135deg, var(--f5-navy) 0%, var(--f5-navy-soft) 100%);
    color: var(--f5-white);
    border-color: transparent;
}
.f5m .card-dark h1, .f5m .card-dark h2, .f5m .card-dark h3, .f5m .card-dark h4 { color: var(--f5-white); }
.f5m .card-dark p  { color: rgba(255,255,255,0.85); }

.f5m .card-product {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    position: relative;
}
.f5m .card-product .icon-square {
    width: 48px; height: 48px;
    border-radius: var(--f5-radius-sm);
    background: var(--f5-orange-soft);
    color: var(--f5-orange);
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.f5m .card-product h3 {
    display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.f5m .card-product p {
    color: var(--f5-gray);
    font-size: 0.97rem;
    flex-grow: 1;
    margin-bottom: 16px;
    line-height: 1.55;
}
.f5m .card-product .more {
    color: var(--f5-orange);
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap .2s var(--f5-ease);
}
.f5m .card-product:hover .more { gap: 8px; }

/* Tag / badge */
.f5m .tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--f5-radius-pill);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--f5-ink);
    color: var(--f5-white);
    vertical-align: middle;
}
.f5m .tag-new  { background: var(--f5-orange); }
.f5m .tag-soon { background: var(--f5-gray-3); color: var(--f5-white); }
.f5m .tag-ia   { background: #818cf8; color: var(--f5-white); }

/* KPI grid */
.f5m .kpi {
    text-align: left;
    padding: 28px 24px;
    background: var(--f5-white);
    border-radius: var(--f5-radius);
    border: 1px solid var(--f5-border-2);
    transition: all .25s var(--f5-ease);
}
.f5m .kpi:hover { transform: translateY(-3px); box-shadow: var(--f5-shadow); }
.f5m .kpi-label {
    font-size: 11px;
    color: var(--f5-gray-2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 12px;
}
.f5m .kpi-value {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--f5-ink);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}
.f5m .kpi-value.orange { color: var(--f5-orange); }
.f5m .kpi-unit {
    font-size: 0.9rem;
    color: var(--f5-gray);
    line-height: 1.4;
}

/* Step flow */
.f5m .steps {
    display: grid; gap: 14px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .f5m .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .f5m .steps { grid-template-columns: repeat(4, 1fr); } }

.f5m .step {
    text-align: left;
    padding: 26px 22px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    position: relative;
    transition: all .25s var(--f5-ease);
}
.f5m .step:hover { transform: translateY(-3px); box-shadow: var(--f5-shadow); }
.f5m .step.active { background: var(--f5-ink); color: var(--f5-white); border-color: transparent; }
.f5m .step.highlight { background: var(--f5-orange); color: var(--f5-white); border-color: transparent; box-shadow: var(--f5-shadow-orange); }
.f5m .step-num {
    width: 36px; height: 36px;
    background: var(--f5-orange-soft);
    color: var(--f5-orange);
    border-radius: 10px;
    display: grid; place-items: center;
    font-weight: 800;
    margin-bottom: 16px;
    font-size: 15px;
}
.f5m .step.active .step-num { background: var(--f5-orange); color: var(--f5-white); }
.f5m .step.highlight .step-num { background: rgba(255,255,255,0.2); color: var(--f5-white); }
.f5m .step-label {
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.f5m .step-sub {
    font-size: 0.92rem;
    opacity: .85;
    line-height: 1.5;
}

/* Feature list */
.f5m .feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
}
.f5m .feature-icon {
    width: 48px; height: 48px;
    border-radius: var(--f5-radius-sm);
    background: var(--f5-orange-soft);
    color: var(--f5-orange);
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}
.f5m .feature-body strong {
    display: block;
    color: var(--f5-ink);
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.f5m .feature-body p {
    color: var(--f5-gray);
    font-size: 0.97rem;
    margin: 0;
    line-height: 1.55;
}

/* Callout */
.f5m .callout {
    background: var(--f5-cream);
    border-left: 3px solid var(--f5-orange);
    border-radius: var(--f5-radius);
    padding: 26px 30px;
}
.f5m .callout .eyebrow { margin-bottom: 10px; }
.f5m .callout p { margin: 0; color: var(--f5-ink-2); }

/* Dark CTA */
.f5m .dark-section {
    background: linear-gradient(135deg, var(--f5-ink) 0%, var(--f5-navy) 100%);
    color: var(--f5-white);
    border-radius: var(--f5-radius-lg);
    padding: 52px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.f5m .dark-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(255,105,8,0.25), transparent 70%);
    filter: blur(30px);
}
.f5m .dark-section h2 { color: var(--f5-white); position: relative; }
.f5m .dark-section p  { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 26px; position: relative; }
.f5m .dark-section .eyebrow { color: var(--f5-orange); background: rgba(255,105,8,0.15); position: relative; }
.f5m .dark-section .btn { position: relative; }

/* Press card */
.f5m .press {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 24px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    transition: all .25s var(--f5-ease);
}
.f5m .press:hover {
    transform: translateY(-3px);
    box-shadow: var(--f5-shadow-lg);
    border-color: transparent;
}
.f5m .press-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--f5-cream);
    background-size: cover; background-position: center; background-repeat: no-repeat;
    flex-shrink: 0;
    border: 1px solid var(--f5-border);
}
.f5m .press-body a.veh {
    display: block;
    font-weight: 700;
    color: var(--f5-ink);
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.f5m .press-body a.veh:hover { color: var(--f5-orange); }
.f5m .press-body p {
    color: var(--f5-gray);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* Founder */
.f5m .founder {
    padding: 32px 28px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    transition: all .25s var(--f5-ease);
}
.f5m .founder:hover { transform: translateY(-3px); box-shadow: var(--f5-shadow-lg); border-color: transparent; }
.f5m .founder-photo {
    width: 140px; height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 0 20px;
    box-shadow: var(--f5-shadow-lg);
    display: block;
}
.f5m .founder h3 { margin-bottom: 6px; }
.f5m .founder-role {
    color: var(--f5-orange);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: 16px;
}
.f5m .founder-bio {
    color: var(--f5-gray);
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 20px;
}
.f5m .founder-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: var(--f5-ink);
    color: var(--f5-white);
    border-radius: var(--f5-radius-pill);
    font-weight: 600;
    font-size: 13px;
    transition: all .2s var(--f5-ease);
}
.f5m .founder-link:hover { background: var(--f5-orange); color: var(--f5-white); }

/* Social proof bar */
.f5m-proofbar {
    padding: 40px 0;
    background: var(--f5-white);
    border-top: 1px solid var(--f5-border-2);
    border-bottom: 1px solid var(--f5-border-2);
}
.f5m-proofbar .label {
    text-align: center;
    font-size: 12.5px;
    color: var(--f5-gray-2);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}
.f5m-proofbar .logos {
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
    justify-content: center;
    align-items: center;
}
.f5m-proofbar .logos img {
    height: 32px; width: auto;
    max-width: 120px;
    filter: grayscale(1) contrast(0.85);
    opacity: 0.7;
    transition: opacity .2s var(--f5-ease), filter .2s var(--f5-ease);
}
.f5m-proofbar .logos img:hover { opacity: 1; filter: grayscale(0) contrast(1); }

/* Seções coloridas */
.f5m .bg-cream { background: var(--f5-cream); }
.f5m .bg-navy  { background: var(--f5-navy); color: var(--f5-white); }
.f5m .bg-bg    { background: var(--f5-bg); }
.f5m .bg-navy h1, .f5m .bg-navy h2, .f5m .bg-navy h3 { color: var(--f5-white); }
.f5m .bg-navy p { color: rgba(255,255,255,0.88); }
.f5m .bg-navy .eyebrow { color: var(--f5-orange); background: rgba(255,105,8,0.15); }

/* Formulário */
.f5m .form-card {
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius-lg);
    padding: 36px;
    box-shadow: var(--f5-shadow);
}
.f5m .form-row { margin-bottom: 20px; position: relative; }
.f5m .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--f5-ink);
    margin-bottom: 8px;
}
.f5m .form-row input[type="text"],
.f5m .form-row input[type="email"],
.f5m .form-row input[type="tel"],
.f5m .form-row textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--f5-font);
    font-size: 15px;
    color: var(--f5-ink);
    background: var(--f5-white);
    border: 1.5px solid var(--f5-border);
    border-radius: var(--f5-radius-sm);
    transition: all .2s var(--f5-ease);
}
.f5m .form-row input:focus, .f5m .form-row textarea:focus {
    outline: none;
    border-color: var(--f5-orange);
    box-shadow: 0 0 0 4px rgba(255, 105, 8, 0.12);
}
.f5m #cont_form .form-row.has-error input[type="text"],
.f5m #cont_form .form-row.has-error input[type="email"],
.f5m #cont_form .form-row.has-error input[type="tel"],
.f5m #cont_form .form-row.has-error textarea {
    border-color: rgba(220, 38, 38, 0.55);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}
.f5m #cont_form .form-row.has-error input:focus,
.f5m #cont_form .form-row.has-error textarea:focus {
    border-color: rgba(220, 38, 38, 0.7);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}
.f5m #cont_form .field-error {
    margin: 8px 2px 0;
    color: var(--f5-red);
    font-weight: 600;
    font-size: 12.5px;
    line-height: 1.4;
    min-height: 18px;
}
.f5m #cont_form .field-error:empty {
    display: none;
}
.f5m .form-row textarea { min-height: 140px; resize: vertical; }
.f5m .form-actions { text-align: right; margin-top: 8px; }

/* Info items */
.f5m .info-stack { display: flex; flex-direction: column; gap: 16px; }
.f5m .info-item {
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    padding: 24px 26px;
    transition: all .25s var(--f5-ease);
}
.f5m .info-item:hover { transform: translateY(-2px); box-shadow: var(--f5-shadow); }
.f5m .info-item h3 { margin-bottom: 12px; font-size: 1.05rem; }
.f5m .info-item p  { margin: 0; color: var(--f5-gray); font-size: 0.95rem; }
.f5m .info-item a  { color: var(--f5-ink); font-weight: 600; }
.f5m .info-item a:hover { color: var(--f5-orange); }
.f5m .info-line {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 8px 0;
    color: var(--f5-gray);
    font-size: 0.94rem;
}
.f5m .info-line .ico {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--f5-orange-soft);
    color: var(--f5-orange);
    display: grid; place-items: center;
    font-weight: 800; font-size: 13px;
    flex-shrink: 0;
}

/* Footer */
.f5m-footer {
    background: var(--f5-ink);
    color: rgba(255,255,255,0.82);
    padding: 60px 0 0;
    margin-top: 0;
    font-size: 14px;
}
.f5m-footer h4 {
    color: var(--f5-white);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    font-weight: 700;
}
.f5m-footer a { color: rgba(255,255,255,0.82); }
.f5m-footer a:hover { color: var(--f5-orange); }
.f5m-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 768px) { .f5m-footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr 1.4fr; } }
.f5m-footer p { color: rgba(255,255,255,0.72); line-height: 1.65; margin: 0 0 10px; }
.f5m-footer ul { list-style: none; padding: 0; margin: 0; }
.f5m-footer li { margin-bottom: 8px; }
.f5m-footer-social a {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 0;
}
.f5m-footer-social img { width: 18px; height: 18px; }
.f5m-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 42px;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
}

.f5m-footer .f5-cotacoes,
.f5m-footer #widget-cotacoes {
    background: transparent !important;
    color: rgba(255,255,255,0.9) !important;
}
.f5m-footer #widget-cotacoes * {
    color: rgba(255,255,255,0.9) !important;
    background: transparent !important;
    border-color: rgba(255,255,255,0.1) !important;
}

/* "Oferecido por F5 Legis" — oculto no próprio site (só aparece em terceiros) */
.f5-noticias-footer,
.f5-siscomex-footer,
.f5-cotacoes-footer,
.f5-widget-footer,
.f5-powered-by {
    display: none !important;
}

.f5m-mini-form .form-row { margin-bottom: 10px; }
.f5m-mini-form input, .f5m-mini-form textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--f5-white);
    padding: 11px 14px;
    border-radius: var(--f5-radius-sm);
    font-family: var(--f5-font);
    font-size: 14px;
    width: 100%;
}
.f5m-mini-form input::placeholder, .f5m-mini-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.f5m-mini-form input:focus, .f5m-mini-form textarea:focus {
    outline: none;
    border-color: var(--f5-orange);
    background: rgba(255,255,255,0.1);
}
.f5m-mini-form textarea { min-height: 80px; resize: vertical; }
.f5m-mini-form .btn { width: 100%; justify-content: center; }

/* Notícias — títulos (inclui widget externo f5legis.js) */
.f5m .news-block h3,
.f5m .news-block h4,
.f5m .f5-noticias-title,
.f5m .f5-siscomex-title,
body.f5m .f5-noticias-title,
body.f5m .f5-siscomex-title {
    text-align: center !important;
    color: var(--f5-ink) !important;
    margin: 0 0 36px !important;
    padding: 0 !important;
    font-family: var(--f5-font) !important;
    font-size: clamp(1.5rem, 2.8vw, 2rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.2 !important;
}
.f5m .news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .f5m .news-grid { grid-template-columns: 1fr 1fr; } }
.f5m .news-item {
    padding: 18px 20px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    border-left: 3px solid var(--f5-orange);
    transition: all .2s var(--f5-ease);
}
.f5m .news-item:hover { transform: translateY(-2px); box-shadow: var(--f5-shadow); }
.f5m .news-item a { color: var(--f5-ink); font-weight: 700; display: block; margin-bottom: 6px; font-size: 0.95rem; }
.f5m .news-item a:hover { color: var(--f5-orange); }
.f5m .news-item p { margin: 0; color: var(--f5-gray); font-size: 0.88rem; line-height: 1.55; }

/* Utilities */
.f5m .text-center { text-align: center; }
.f5m .mt-0 { margin-top: 0; }
.f5m .mb-0 { margin-bottom: 0; }
.f5m .mb-2 { margin-bottom: 16px; }
.f5m .mb-3 { margin-bottom: 24px; }
.f5m .mb-4 { margin-bottom: 40px; }

/* Validation */
.f5m .formError .formErrorContent {
    background: transparent !important;
    color: var(--f5-red) !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    border: none !important;
    padding: 4px 0 0 !important;
    line-height: 1.35 !important;
    max-width: 260px !important;
    white-space: normal !important;
}
.f5m .formError .formErrorArrow { display: none !important; }

/* SweetAlert2 — alinhado ao design system do site */
.swal2-container { font-family: var(--f5-font) !important; }
.swal2-popup {
    font-family: var(--f5-font) !important;
    border-radius: var(--f5-radius-lg) !important;
    padding: 32px 28px !important;
    border: 1px solid var(--f5-border-2) !important;
    box-shadow: var(--f5-shadow-xl) !important;
    color: var(--f5-ink-2) !important;
    max-width: 440px !important;
    width: calc(100% - 32px) !important;
}
.swal2-title {
    font-family: var(--f5-font-display) !important;
    color: var(--f5-ink) !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.25 !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
}
.swal2-html-container {
    font-family: var(--f5-font) !important;
    color: var(--f5-gray) !important;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    padding: 0 !important;
    margin: 0 0 8px !important;
}

/* Icons — paleta e tamanho alinhados */
.swal2-icon {
    width: 64px !important;
    height: 64px !important;
    margin: 4px auto 18px !important;
    border-width: 2px !important;
}
.swal2-icon.swal2-success {
    border-color: var(--f5-green) !important;
    color: var(--f5-green) !important;
}
.swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: var(--f5-green) !important; }
.swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(22,163,74,0.3) !important; }
.swal2-icon.swal2-error {
    border-color: var(--f5-red) !important;
    color: var(--f5-red) !important;
}
.swal2-icon.swal2-error [class^='swal2-x-mark-line'] { background-color: var(--f5-red) !important; }
.swal2-icon.swal2-warning {
    border-color: var(--f5-orange) !important;
    color: var(--f5-orange) !important;
}
.swal2-icon.swal2-info {
    border-color: var(--f5-navy) !important;
    color: var(--f5-navy) !important;
}
.swal2-icon.swal2-question {
    border-color: var(--f5-navy) !important;
    color: var(--f5-navy) !important;
}

/* Actions — botões pill no mesmo padrão do site (funciona com buttonsStyling: true OU false) */
.swal2-actions {
    gap: 10px !important;
    margin-top: 22px !important;
}
.swal2-actions .swal2-confirm,
.swal2-actions .swal2-cancel,
.swal2-actions .swal2-deny,
.swal2-confirm-custom,
.swal2-cancel-custom {
    font-family: var(--f5-font) !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    padding: 12px 26px !important;
    border-radius: var(--f5-radius-pill) !important;
    letter-spacing: -0.005em !important;
    box-shadow: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform .15s var(--f5-ease), background .2s var(--f5-ease), box-shadow .2s var(--f5-ease) !important;
    line-height: 1.2 !important;
    min-width: 120px !important;
    align-items: center !important;
    justify-content: center !important;
    text-shadow: none !important;
}
.swal2-confirm-custom,
.swal2-cancel-custom {
    display: inline-flex !important;
}
.swal2-actions .swal2-confirm,
.swal2-confirm-custom {
    background: var(--f5-orange) !important;
    color: var(--f5-white) !important;
}
.swal2-actions .swal2-confirm:hover,
.swal2-confirm-custom:hover {
    background: var(--f5-orange-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--f5-shadow-orange) !important;
}
.swal2-actions .swal2-confirm:focus,
.swal2-confirm-custom:focus {
    box-shadow: 0 0 0 4px rgba(255,105,8,0.25) !important;
    outline: none !important;
}
.swal2-actions .swal2-cancel,
.swal2-cancel-custom {
    background: transparent !important;
    color: var(--f5-gray) !important;
    border: 1.5px solid var(--f5-border) !important;
}
.swal2-actions .swal2-cancel:hover,
.swal2-cancel-custom:hover {
    background: var(--f5-bg) !important;
    color: var(--f5-ink) !important;
    border-color: var(--f5-gray-3) !important;
}
.swal2-actions .swal2-deny {
    background: var(--f5-red) !important;
    color: var(--f5-white) !important;
}

/* Backdrop sutil com azul navy */
.swal2-container.swal2-backdrop-show {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

/* Close button (se houver) */
.swal2-close {
    color: var(--f5-gray-2) !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
    right: 8px !important;
    top: 8px !important;
}
.swal2-close:hover { color: var(--f5-ink) !important; }

/* Inputs dentro do Swal */
.swal2-input, .swal2-textarea, .swal2-select {
    font-family: var(--f5-font) !important;
    border: 1.5px solid var(--f5-border) !important;
    border-radius: var(--f5-radius-sm) !important;
    box-shadow: none !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
    color: var(--f5-ink) !important;
}
.swal2-input:focus, .swal2-textarea:focus {
    border-color: var(--f5-orange) !important;
    box-shadow: 0 0 0 3px rgba(255,105,8,0.15) !important;
}

/* Validation message */
.swal2-validation-message {
    background: #fef2f2 !important;
    color: var(--f5-red) !important;
    border-radius: var(--f5-radius-sm) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* Pill grid (tags técnicas — bases legais, coberturas) */
.f5m .pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.f5m .pill {
    display: inline-block;
    padding: 7px 14px;
    border-radius: var(--f5-radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    background: var(--f5-bg);
    color: var(--f5-ink-2);
    border: 1px solid var(--f5-border);
}
.f5m .pill-accent {
    background: var(--f5-orange-soft);
    color: var(--f5-orange-dark);
    border-color: transparent;
}
.f5m .pill-dark {
    background: var(--f5-ink);
    color: var(--f5-white);
    border-color: transparent;
}

/* Comparison bars — Tradicional vs F5 */
.f5m .comparison {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0;
}
.f5m .comparison-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: center;
}
@media (max-width: 640px) {
    .f5m .comparison-row { grid-template-columns: 1fr; gap: 4px; }
}
.f5m .comparison-label {
    font-size: 0.93rem;
    color: var(--f5-gray);
    font-weight: 600;
}
.f5m .comparison-label.accent { color: var(--f5-orange); font-weight: 800; }
.f5m .comparison-track {
    background: var(--f5-bg);
    border-radius: var(--f5-radius-pill);
    overflow: hidden;
    height: 36px;
}
.f5m .comparison-fill {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    color: var(--f5-white);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--f5-radius-pill);
}
.f5m .comparison-fill.red    { background: var(--f5-red); }
.f5m .comparison-fill.navy   { background: var(--f5-navy); }
.f5m .comparison-fill.orange { background: var(--f5-orange); }

/* Economia card — antes/depois lado-a-lado + resumo */
.f5m .economia-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .f5m .economia-grid { grid-template-columns: 1fr 1fr; } }
.f5m .economia-card {
    padding: 28px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
}
.f5m .economia-card .lbl {
    font-size: 11px;
    color: var(--f5-gray-2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 12px;
}
.f5m .economia-card .val {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}
.f5m .economia-card .val.red { color: var(--f5-red); }
.f5m .economia-card .val.green { color: var(--f5-green); }
.f5m .economia-card p {
    margin: 0;
    color: var(--f5-gray);
    font-size: 0.95rem;
    line-height: 1.55;
}
.f5m .economia-summary {
    margin-top: 16px;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--f5-ink) 0%, var(--f5-navy) 100%);
    color: var(--f5-white);
    border-radius: var(--f5-radius);
    position: relative;
    overflow: hidden;
}
.f5m .economia-summary::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,105,8,0.25), transparent 70%);
    filter: blur(30px);
}
.f5m .economia-summary .eyebrow {
    color: var(--f5-orange);
    background: rgba(255,105,8,0.15);
    position: relative;
}
.f5m .economia-summary h3 {
    color: var(--f5-white);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    position: relative;
}
.f5m .economia-summary h3 .accent { color: var(--f5-orange); }
.f5m .economia-summary p {
    color: rgba(255,255,255,0.88);
    max-width: 620px;
    margin: 0;
    position: relative;
}

/* Value strip — "Leitura executiva", "Por que isso importa" */
.f5m .value-strip {
    background: linear-gradient(135deg, var(--f5-navy) 0%, var(--f5-navy-soft) 100%);
    color: var(--f5-white);
    border-radius: var(--f5-radius);
    padding: 32px 34px;
}
.f5m .value-strip .eyebrow {
    color: var(--f5-orange);
    background: rgba(255,105,8,0.15);
    margin-bottom: 10px;
}
.f5m .value-strip p {
    color: rgba(255,255,255,0.88);
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
}
.f5m .value-strip p strong { color: var(--f5-white); }

/* Split 2-col ("Onde o risco aparece" vs "O que o decisor precisa responder") */
.f5m .split-contrast {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .f5m .split-contrast { grid-template-columns: 1fr 1fr; gap: 24px; } }
.f5m .split-contrast ul { padding-left: 20px; margin: 0; }
.f5m .split-contrast li { margin-bottom: 10px; line-height: 1.6; }
.f5m .split-contrast li:last-child { margin-bottom: 0; }

/* Guarantee badge — 95% circular verde + card lado-a-lado */
.f5m .guarantee {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    padding: 32px;
    background: #ecfdf5;
    border-radius: var(--f5-radius);
    border-left: 4px solid var(--f5-green);
}
@media (min-width: 768px) { .f5m .guarantee { grid-template-columns: 180px 1fr; gap: 32px; } }
.f5m .guarantee-badge {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--f5-green) 0%, #15803d 100%);
    color: var(--f5-white);
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px -5px rgba(22, 163, 74, 0.45);
    margin: 0 auto;
    text-align: center;
}
.f5m .guarantee-badge .pct {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}
.f5m .guarantee-badge .lbl {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}
.f5m .guarantee-body .eyebrow {
    color: #15803d;
    background: rgba(22,163,74,0.12);
}
.f5m .guarantee-body h3 {
    color: #15803d;
    margin-bottom: 10px;
}
.f5m .guarantee-body p { margin: 0; color: var(--f5-ink-2); }

/* Cards com barra lateral colorida */
.f5m .card-left-orange {
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-left: 4px solid var(--f5-orange);
    border-radius: var(--f5-radius);
    padding: 26px 28px;
}
.f5m .card-left-red {
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-left: 4px solid var(--f5-red);
    border-radius: var(--f5-radius);
    padding: 26px 28px;
}
.f5m .card-left-green {
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-left: 4px solid var(--f5-green);
    border-radius: var(--f5-radius);
    padding: 26px 28px;
}
.f5m .card-left-orange .lbl,
.f5m .card-left-red .lbl,
.f5m .card-left-green .lbl {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: var(--f5-radius-pill);
}
.f5m .card-left-orange .lbl { color: var(--f5-orange-dark); background: var(--f5-orange-soft); }
.f5m .card-left-red .lbl    { color: var(--f5-red);         background: #fee2e2; }
.f5m .card-left-green .lbl  { color: #15803d;               background: #dcfce7; }

.f5m .card-left-orange ul,
.f5m .card-left-red ul,
.f5m .card-left-green ul {
    padding-left: 20px; margin: 0;
}
.f5m .card-left-orange li,
.f5m .card-left-red li,
.f5m .card-left-green li { margin-bottom: 10px; line-height: 1.6; }

/* AI layout — Estatística: narrativa + 3 blocos (destaques/riscos/oportunidades) */
.f5m .ai-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 900px) { .f5m .ai-layout { grid-template-columns: 1fr 1fr; gap: 24px; } }
.f5m .ai-summary {
    background: linear-gradient(135deg, var(--f5-ink) 0%, var(--f5-navy) 100%);
    color: var(--f5-white);
    border-radius: var(--f5-radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.f5m .ai-summary::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(129,140,248,0.25), transparent 70%);
    filter: blur(30px);
}
.f5m .ai-summary .eyebrow {
    color: #a5b4fc;
    background: rgba(129,140,248,0.15);
    position: relative;
}
.f5m .ai-summary h3 { color: var(--f5-white); position: relative; }
.f5m .ai-summary p {
    color: rgba(255,255,255,0.85);
    margin: 0 0 18px;
    line-height: 1.65;
    position: relative;
}
.f5m .ai-quote {
    background: rgba(255,255,255,0.06);
    border-left: 3px solid var(--f5-orange);
    padding: 14px 18px;
    border-radius: var(--f5-radius-sm);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    font-style: italic;
    position: relative;
    margin-bottom: 14px;
}
.f5m .ai-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
}
.f5m .ai-meta span {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--f5-radius-pill);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 600;
}
.f5m .ai-triple {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.f5m .ai-block {
    padding: 22px 24px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    border-left: 4px solid var(--f5-gray-3);
}
.f5m .ai-block .title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--f5-radius-pill);
}
.f5m .ai-block ul { padding-left: 20px; margin: 0; }
.f5m .ai-block li { margin-bottom: 6px; line-height: 1.55; color: var(--f5-gray); font-size: 0.93rem; }

.f5m .ai-block.blue  { border-left-color: #2563eb; }
.f5m .ai-block.blue .title  { color: #1e40af; background: #dbeafe; }
.f5m .ai-block.red   { border-left-color: var(--f5-red); }
.f5m .ai-block.red .title   { color: var(--f5-red); background: #fee2e2; }
.f5m .ai-block.green { border-left-color: var(--f5-green); }
.f5m .ai-block.green .title { color: #15803d; background: #dcfce7; }

/* Use cards — Estatística "Valor comercial" */
.f5m .use-card {
    padding: 28px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    transition: all .25s var(--f5-ease);
    height: 100%;
}
.f5m .use-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--f5-shadow-lg);
    border-color: transparent;
}
.f5m .use-card .tag-role {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--f5-radius-pill);
    background: var(--f5-cream);
    color: var(--f5-orange-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.f5m .use-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.f5m .use-card p { margin: 0; color: var(--f5-gray); font-size: 0.95rem; line-height: 1.6; }

/* Personas grid (Quem se beneficia) */
.f5m .personas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 640px) { .f5m .personas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .f5m .personas { grid-template-columns: repeat(3, 1fr); } }
.f5m .persona {
    padding: 22px 24px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    transition: all .25s var(--f5-ease);
}
.f5m .persona:hover { transform: translateY(-3px); box-shadow: var(--f5-shadow); }
.f5m .persona strong {
    display: block;
    color: var(--f5-ink);
    font-size: 1rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.f5m .persona p { margin: 0; color: var(--f5-gray); font-size: 0.92rem; line-height: 1.55; }

/* Compare table — F5 vs concorrência */
.f5m .compare-wrap { overflow-x: auto; margin-top: 12px; }
.f5m .compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.94rem;
    min-width: 720px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    overflow: hidden;
}
.f5m .compare-table thead th {
    padding: 18px 20px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.005em;
    text-align: left;
    background: var(--f5-bg);
    color: var(--f5-ink-2);
    border-bottom: 1px solid var(--f5-border);
    vertical-align: middle;
    line-height: 1.35;
}
.f5m .compare-table thead th.f5-col {
    background: var(--f5-orange);
    color: var(--f5-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}
.f5m .compare-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--f5-border-2);
    color: var(--f5-ink-2);
    vertical-align: top;
    line-height: 1.5;
}
.f5m .compare-table tbody tr:last-child td { border-bottom: none; }
.f5m .compare-table tbody td strong { color: var(--f5-ink); font-weight: 700; }
.f5m .compare-table tbody td.hl {
    background: var(--f5-orange-soft);
    color: var(--f5-orange-dark);
    font-weight: 600;
    border-left: 1px solid var(--f5-orange);
    border-right: 1px solid var(--f5-orange);
}
.f5m .compare-table tbody tr:last-child td.hl { border-bottom: 1px solid var(--f5-orange); }

/* VS row — Concorrentes × F5 (cards contrastantes lado a lado) */
.f5m .vs-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}
@media (min-width: 768px) { .f5m .vs-row { grid-template-columns: 1fr 1fr; gap: 20px; } }
.f5m .vs {
    padding: 26px 28px;
    border-radius: var(--f5-radius);
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    position: relative;
}
.f5m .vs-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--f5-radius-pill);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}
.f5m .vs-text {
    margin: 0;
    line-height: 1.6;
    color: var(--f5-ink-2);
    font-size: 0.96rem;
}
.f5m .vs.bad  { border-left: 4px solid var(--f5-red);   background: #fef2f2; }
.f5m .vs.bad  .vs-tag  { background: #fee2e2; color: var(--f5-red); }
.f5m .vs.good { border-left: 4px solid var(--f5-green); background: #ecfdf5; }
.f5m .vs.good .vs-tag  { background: #dcfce7; color: #15803d; }

/* Plan cards — planos de contratação */
.f5m .plan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}
@media (min-width: 768px) { .f5m .plan-grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .f5m .plan-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .f5m .plan-grid-3 { grid-template-columns: 1fr 1fr; } }

.f5m .plan {
    padding: 36px 32px;
    border-radius: var(--f5-radius);
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .25s var(--f5-ease);
}
.f5m .plan:hover {
    transform: translateY(-3px);
    box-shadow: var(--f5-shadow-lg);
    border-color: transparent;
}
.f5m .plan-kicker {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--f5-orange);
    margin-bottom: 20px;
    line-height: 1.3;
}
.f5m .plan-price {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--f5-orange);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
}
.f5m .plan-unit {
    font-size: 0.93rem;
    color: var(--f5-gray);
    line-height: 1.5;
    margin: 0 0 24px;
}
.f5m .plan-fit {
    font-size: 0.88rem;
    color: var(--f5-gray-2);
    margin: 0 0 12px;
    font-style: italic;
}
.f5m .plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}
.f5m .plan-features li {
    position: relative;
    padding: 12px 0 12px 30px;
    color: var(--f5-ink-2);
    font-size: 0.94rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--f5-border-2);
}
.f5m .plan-features li:last-child { border-bottom: none; }
.f5m .plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 12px;
    color: var(--f5-orange);
    font-weight: 800;
    font-size: 14px;
}
.f5m .plan-badge {
    position: absolute;
    top: -10px; left: 28px;
    background: var(--f5-ink);
    color: var(--f5-white);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--f5-radius-pill);
}

/* Plan dark variant */
.f5m .plan-dark {
    background: linear-gradient(135deg, var(--f5-navy) 0%, var(--f5-navy-soft) 100%);
    color: var(--f5-white);
    border-color: transparent;
    position: relative;
    overflow: hidden;
}
.f5m .plan-dark::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,105,8,0.18), transparent 70%);
    filter: blur(30px);
}
.f5m .plan-dark > * { position: relative; }
.f5m .plan-dark .plan-kicker { color: var(--f5-orange); }
.f5m .plan-dark .plan-price  { color: var(--f5-white); }
.f5m .plan-dark .plan-unit   { color: rgba(255,255,255,0.75); }
.f5m .plan-dark .plan-fit    { color: rgba(255,255,255,0.7); }
.f5m .plan-dark .plan-features li {
    color: rgba(255,255,255,0.92);
    border-bottom-color: rgba(255,255,255,0.08);
}
.f5m .plan-dark .plan-features li::before { color: var(--f5-orange); }
.f5m .plan-dark .plan-badge { background: var(--f5-orange); color: var(--f5-white); }

/* Plan featured (destaque com badge "Mais vendido") */
.f5m .plan-featured {
    border: 2px solid var(--f5-orange);
    box-shadow: var(--f5-shadow-orange);
}

/* Plan wide — 1 card ocupando largura total */
.f5m .plan-wide {
    padding: 40px 44px;
    background: linear-gradient(135deg, var(--f5-navy) 0%, var(--f5-navy-soft) 100%);
    color: var(--f5-white);
    border-radius: var(--f5-radius);
    border: none;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}
@media (min-width: 768px) { .f5m .plan-wide { grid-template-columns: 1fr 1fr; gap: 40px; } }
.f5m .plan-wide::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,105,8,0.22), transparent 70%);
    filter: blur(40px);
}
.f5m .plan-wide > * { position: relative; }
.f5m .plan-wide .plan-kicker { color: var(--f5-orange); }
.f5m .plan-wide .plan-price  { color: var(--f5-white); font-size: clamp(2.2rem, 5vw, 3rem); }
.f5m .plan-wide .plan-unit   { color: rgba(255,255,255,0.78); }

/* Widgets — seção promocional dos scripts incorporáveis */
.f5m .widget-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--f5-white);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius);
    transition: all .25s var(--f5-ease);
    height: 100%;
}
.f5m .widget-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--f5-shadow-lg);
    border-color: transparent;
}
.f5m .widget-card .icon-square {
    width: 52px; height: 52px;
    border-radius: var(--f5-radius-sm);
    background: var(--f5-orange-soft);
    color: var(--f5-orange);
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.f5m .widget-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.f5m .widget-card > p {
    color: var(--f5-gray);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

/* Mockup preview (dentro do widget-card) */
.f5m .widget-preview {
    background: var(--f5-bg);
    border: 1px solid var(--f5-border-2);
    border-radius: var(--f5-radius-sm);
    padding: 14px 16px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--f5-gray);
    margin-top: auto;
    min-height: 128px;
}
.f5m .widget-preview .wp-title {
    color: var(--f5-ink);
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 8px;
}
.f5m .widget-preview .wp-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed var(--f5-border);
    font-size: 12.5px;
}
.f5m .widget-preview .wp-row:last-child { border-bottom: none; }
.f5m .widget-preview .wp-row .lbl { color: var(--f5-gray-2); }
.f5m .widget-preview .wp-row .val { color: var(--f5-ink); font-weight: 600; }
.f5m .widget-preview .wp-item {
    padding: 6px 0;
    border-bottom: 1px dashed var(--f5-border);
    font-size: 12px;
}
.f5m .widget-preview .wp-item:last-child { border-bottom: none; }
.f5m .widget-preview .wp-item strong { color: var(--f5-ink); display: block; margin-bottom: 2px; font-weight: 600; }

/* Code block — snippet de embed */
.f5m .code-block {
    background: var(--f5-ink);
    color: rgba(255,255,255,0.92);
    border-radius: var(--f5-radius);
    padding: 24px 28px;
    font-family: 'SF Mono', Menlo, Monaco, Consolas, 'Courier New', monospace;
    font-size: 13.5px;
    line-height: 1.7;
    overflow-x: auto;
    position: relative;
}
.f5m .code-block pre {
    margin: 0;
    white-space: pre;
    font-family: inherit;
}
.f5m .code-block .tag  { color: #81d4ff; }
.f5m .code-block .attr { color: #ffb47c; }
.f5m .code-block .str  { color: #b5e890; }
.f5m .code-block .cm   { color: rgba(255,255,255,0.45); font-style: italic; }
.f5m .code-block .copy {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--f5-radius-sm);
    padding: 6px 14px;
    font-size: 12px;
    font-family: var(--f5-font);
    font-weight: 600;
    cursor: pointer;
    transition: all .2s var(--f5-ease);
}
.f5m .code-block .copy:hover { background: var(--f5-orange); color: var(--f5-white); border-color: transparent; }
.f5m .code-block .copy.copied { background: var(--f5-green); color: var(--f5-white); border-color: transparent; }

/* WhatsApp floating button — visível em todas as páginas */
.f5m-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    background: #25D366;
    color: var(--f5-white);
    border-radius: var(--f5-radius-pill);
    font-family: var(--f5-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45);
    transition: transform .18s var(--f5-ease), box-shadow .18s var(--f5-ease), background .2s var(--f5-ease);
    letter-spacing: -0.005em;
}
.f5m-wa:hover {
    background: #1ebe5b;
    color: var(--f5-white);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -4px rgba(37, 211, 102, 0.55);
}
.f5m-wa svg { flex-shrink: 0; }
.f5m-wa .f5m-wa-label { display: inline; line-height: 1; }
.f5m-wa .f5m-wa-badge {
    display: inline-block;
    background: rgba(255,255,255,0.22);
    color: var(--f5-white);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    border-radius: 999px;
    margin-right: 6px;
    vertical-align: middle;
}
@media (max-width: 640px) {
    .f5m-wa { padding: 12px; right: 16px; bottom: 16px; }
    .f5m-wa .f5m-wa-label, .f5m-wa .f5m-wa-badge { display: none; }
}

/* Card de consulta WhatsApp (seção dedicada) */
.f5m .wa-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px;
    background: linear-gradient(135deg, #0b3d2e 0%, #0f5b40 60%, #127a53 100%);
    color: var(--f5-white);
    border-radius: var(--f5-radius-lg);
    position: relative;
    overflow: hidden;
    align-items: center;
}
@media (min-width: 1024px) { .f5m .wa-section { grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 52px 56px; } }
.f5m .wa-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(37,211,102,0.35), transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}
.f5m .wa-section > * { position: relative; }
.f5m .wa-section .eyebrow {
    background: rgba(37,211,102,0.22);
    color: #b5f5d1;
}
.f5m .wa-section h2 {
    color: var(--f5-white);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.f5m .wa-section h2 .accent { color: #83f4b2; }
.f5m .wa-section p {
    color: rgba(255,255,255,0.88);
    margin: 0 0 20px;
    line-height: 1.6;
    font-size: 1.02rem;
}
.f5m .wa-section ul {
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}
.f5m .wa-section ul li {
    padding: 6px 0 6px 28px;
    color: rgba(255,255,255,0.92);
    font-size: 0.97rem;
    line-height: 1.55;
    position: relative;
}
.f5m .wa-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 6px;
    color: #83f4b2;
    font-weight: 800;
}
.f5m .wa-section .btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--f5-white);
    color: #0b3d2e;
    padding: 14px 22px;
    border-radius: var(--f5-radius-pill);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all .2s var(--f5-ease);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.f5m .wa-section .btn-wa:hover {
    background: #ecfdf5;
    color: #0b3d2e;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.f5m .wa-phone-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--f5-radius);
    padding: 22px 24px;
}
.f5m .wa-phone-card .lbl {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.72);
    margin-bottom: 10px;
}
.f5m .wa-phone-card .phone {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--f5-white);
    margin-bottom: 14px;
    line-height: 1.1;
}
.f5m .wa-phone-card .hint {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

/* Animações de entrada */
@keyframes f5m-fadeup {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.f5m [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--f5-ease), transform .7s var(--f5-ease);
}
.f5m [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .f5m [data-reveal] { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
