/*
Theme Name: WhatsGW Modern Theme
Theme URI: https://whatsgw.com.br/
Author: WhatsGW
Author URI: https://whatsgw.com.br/
Description: Tema WordPress com frontpage moderna e páginas de Chat Multi Usuários com CRM, Envio em Massa e Integração Oficial com a Meta.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: whatsgw-modern
*/

.wg-modern-home {
    color: #0f1533;
}

:root {
    --wg-bg: #f7f8ff;
    --wg-surface: #ffffff;
    --wg-primary: #4e53a9;
    --wg-primary-strong: #3e438f;
    --wg-cyan: #75dfd6;
    --wg-yellow: #f4dd6d;
    --wg-lilac: #d88bd6;
    --wg-text: #0f1533;
    --wg-text-soft: #4a557a;
    --wg-border: #dbe2ff;
    --wg-shadow: 0 18px 40px rgba(25, 35, 89, 0.16);
    --wg-dark: #2d327f;
    --wg-dark-2: #3d43a2;
    /* Hero interno + header + footer — mesma base de azul */
    --wg-chrome-hero-bg:
        radial-gradient(circle at 10% 20%, rgba(117, 223, 214, 0.2), transparent 42%),
        linear-gradient(145deg, #23286f, #31368f 50%, #3c46a3);
    /* Faixa de título pastel (mint → creme → rosa), alinhada ao CTA da home */
    --wg-title-pastel-bg: linear-gradient(90deg, #a8e6cf 0%, #fff9c4 50%, #ffd1dc 100%);
}

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

body {
    margin: 0;
    background: var(--wg-bg);
    color: var(--wg-text);
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

svg {
    contain: layout paint;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wg-site-header {
    border-bottom: 1px solid rgba(117, 223, 214, 0.32);
    background: var(--wg-chrome-hero-bg);
    backdrop-filter: blur(6px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 30;
}

.wg-header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.wg-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.wg-logo-img {
    display: block;
    height: 54px;
    width: auto;
    max-width: min(300px, 52vw);
    object-fit: contain;
}

.wg-main-nav {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.wg-main-nav a {
    color: #e7ebff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.wg-main-nav a:hover {
    color: #ffffff;
}

.wg-btn-header {
    background: linear-gradient(120deg, var(--wg-yellow), #ffd680);
    color: #2a255e;
    padding: 10px 16px;
    white-space: nowrap;
}

.wg-header-end {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.wg-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.wg-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.22);
}

.wg-nav-toggle-icon {
    display: block;
    pointer-events: none;
}

.wg-site-footer {
    border-top: 1px solid rgba(117, 223, 214, 0.32);
    background: var(--wg-chrome-hero-bg);
    padding: 26px 0;
    color: #cbd5ff;
}

.wg-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
}

.wg-footer-copy {
    margin: 0;
}

.wg-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 14px;
}

.wg-footer-legal a {
    color: #e8ecff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wg-footer-legal a:hover,
.wg-footer-legal a:focus-visible {
    color: #fff;
}

.wg-footer-aside {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-left: auto;
}

.wg-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wg-footer-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.wg-footer-icon-btn:hover,
.wg-footer-icon-btn:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.38);
}

.wg-footer-icon-btn--facebook:hover,
.wg-footer-icon-btn--facebook:focus-visible {
    background: rgba(24, 119, 242, 0.45);
}

.wg-footer-icon-btn--instagram:hover,
.wg-footer-icon-btn--instagram:focus-visible {
    background: linear-gradient(145deg, rgba(225, 48, 108, 0.55), rgba(253, 203, 88, 0.4));
}

.wg-footer-icon-btn--youtube:hover,
.wg-footer-icon-btn--youtube:focus-visible {
    background: rgba(255, 0, 0, 0.4);
}

.wg-footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #e8ecff;
    background: rgba(117, 223, 214, 0.15);
    border: 1px solid rgba(117, 223, 214, 0.45);
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wg-footer-status:hover,
.wg-footer-status:focus-visible {
    color: #fff;
    background: rgba(117, 223, 214, 0.28);
    border-color: rgba(117, 223, 214, 0.65);
}

.wg-footer-status-icon {
    flex-shrink: 0;
}

.wg-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.wg-hero {
    padding: 76px 0 84px;
    background:
        radial-gradient(ellipse 85% 70% at 18% 28%, rgba(117, 223, 214, 0.42), transparent 58%),
        radial-gradient(circle at 88% 18%, rgba(216, 139, 214, 0.22), transparent 52%),
        radial-gradient(circle at 58% 110%, rgba(244, 221, 109, 0.18), transparent 52%),
        linear-gradient(145deg, #cceee8 0%, #f0e6c8 48%, #e8dce8 100%);
    color: #182042;
}

.wg-hero-v2 {
    position: relative;
    overflow: hidden;
}

.wg-hero-v2::before,
.wg-hero-v2::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.wg-hero-v2::before {
    width: 440px;
    height: 440px;
    background: rgba(117, 223, 214, 0.38);
    left: -8%;
    top: 2%;
    filter: blur(36px);
}

.wg-hero-v2::after {
    width: 420px;
    height: 420px;
    background: rgba(216, 139, 214, 0.2);
    right: -140px;
    bottom: -210px;
    filter: blur(28px);
}

.wg-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.wg-hero-copy {
    position: relative;
    z-index: 0;
    padding-right: 10px;
}

.wg-hero-copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -12%;
    top: -4%;
    width: 118%;
    max-width: 540px;
    height: 72%;
    min-height: 200px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 72% 68% at 42% 48%, rgba(117, 223, 214, 0.55) 0%, rgba(99, 210, 255, 0.35) 42%, rgba(216, 139, 214, 0.12) 78%, transparent 100%);
    filter: blur(18px);
    opacity: 0.95;
    pointer-events: none;
}

.wg-hero-visual {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 20px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    backdrop-filter: blur(6px);
}

.wg-hero-visual-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-content: start;
}

.wg-hero-visual-group-secondary {
    grid-template-columns: 1fr;
}

.wg-hero-visual-group-primary {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
}

.wg-hero-visual-group-primary .wg-float-card:not(.wg-float-card-wide) {
    min-height: 210px;
    padding: 20px 20px;
}

.wg-hero-visual-group-primary .wg-float-card.wg-float-card-wide {
    min-height: 170px;
}

.wg-float-card {
    border-radius: 16px;
    padding: 24px 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(230, 239, 255, 0.9));
    color: var(--wg-text);
    box-shadow: 0 14px 30px rgba(41, 54, 120, 0.16);
}

.wg-float-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(117, 223, 214, 0.2);
    color: #3d4490;
}

.wg-float-card-alt .wg-float-card-icon {
    background: rgba(216, 139, 214, 0.22);
}

.wg-float-card-wide .wg-float-card-icon {
    background: rgba(244, 221, 109, 0.28);
}

.wg-float-card-icon svg {
    width: 22px;
    height: 22px;
}

.wg-float-card-icon svg path,
.wg-float-card-icon svg polygon,
.wg-float-card-icon svg polyline {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-float-card-alt .wg-float-card-icon svg path {
    fill: currentColor;
    stroke: none;
}

.wg-float-card-alt {
    background: linear-gradient(160deg, rgba(216, 139, 214, 0.18), rgba(255, 255, 255, 0.95));
}

.wg-float-card-wide {
    grid-column: span 2;
    background: linear-gradient(160deg, rgba(117, 223, 214, 0.18), rgba(255, 255, 255, 0.95));
}

.wg-float-kicker {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #4a50a5;
}

.wg-float-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.wg-float-card p {
    margin: 0;
    color: #3e4975;
    font-size: 14px;
}

.wg-card-more {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.45;
}

.wg-float-card .wg-card-more {
    margin-top: 12px;
}

.wg-link-more {
    color: #3d4490;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(61, 68, 144, 0.35);
}

.wg-link-more:hover {
    color: #252a66;
    border-bottom-color: rgba(37, 42, 102, 0.55);
}

.wg-card-more-sep {
    margin: 0 6px;
    color: #7a82a8;
}

.wg-where-links {
    margin: 12px 0 4px;
    font-size: 14px;
}

.wg-feature-large .wg-card-more {
    margin-top: 14px;
}

.wg-btn-feature-more {
    margin-top: 16px;
    padding: 9px 16px;
    font-size: 13px;
    border-radius: 10px;
    align-self: flex-start;
    background: rgba(78, 83, 169, 0.08);
    color: var(--wg-primary);
    border: 1px solid rgba(78, 83, 169, 0.28);
    box-shadow: none;
}

.wg-btn-feature-more:hover {
    background: rgba(78, 83, 169, 0.14);
    border-color: rgba(78, 83, 169, 0.4);
}

.wg-hero .wg-wrap {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
}

.wg-band {
    background: linear-gradient(90deg, rgba(117, 223, 214, 0.28), rgba(244, 221, 109, 0.3), rgba(216, 139, 214, 0.28));
    border-top: 1px solid rgba(78, 83, 169, 0.18);
    border-bottom: 1px solid rgba(78, 83, 169, 0.18);
    padding: 16px 0;
}

.wg-band p {
    margin: 0;
    text-align: center;
    color: #36407a;
    font-weight: 600;
}

.wg-section {
    padding: 82px 0;
}

.wg-section-dark {
    background: linear-gradient(140deg, rgba(117, 223, 214, 0.24), rgba(244, 221, 109, 0.24), rgba(216, 139, 214, 0.24));
    color: #1c234f;
}

.wg-section-head {
    max-width: 780px;
    margin: 0 auto 26px;
    text-align: center;
}

.wg-section-head h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.14;
}

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

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

.wg-section-dark .wg-box {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(78, 83, 169, 0.2);
    color: #1d2553;
    box-shadow: 0 10px 24px rgba(78, 83, 169, 0.1);
}

.wg-section-dark .wg-box p {
    color: #3f4871;
}

.wg-feature-large {
    display: flex;
    flex-direction: column;
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(49, 54, 143, 0.08);
}

.wg-feature-large h3 {
    margin: 0 0 8px;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wg-feature-large h3 svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    stroke: #3f49a5;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-feature-large p {
    margin: 0;
    color: var(--wg-text-soft);
}

.wg-feature-media {
    margin-top: 14px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(78, 83, 169, 0.2);
    box-shadow: 0 10px 24px rgba(49, 54, 143, 0.08);
    object-fit: cover;
    background: #f1f4ff;
}

.wg-where {
    background: linear-gradient(135deg, rgba(117, 223, 214, 0.2), rgba(244, 221, 109, 0.24), rgba(216, 139, 214, 0.2));
}

.wg-where-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
}

.wg-where-copy h2 {
    margin: 12px 0;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.14;
}

.wg-where-copy > p {
    color: var(--wg-text-soft);
    max-width: 58ch;
}

.wg-where-points {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.wg-where-points article {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(78, 83, 169, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
}

.wg-where-points h3 {
    margin: 0 0 4px;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wg-where-points h3 svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    stroke: #3f49a5;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-where-points p {
    margin: 0;
    color: #3f4871;
}

.wg-where-visual {
    min-height: 360px;
    position: relative;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.76);
    overflow: hidden;
}

.wg-where-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.wg-where-blob-a {
    width: 220px;
    height: 220px;
    background: rgba(117, 223, 214, 0.45);
    top: -60px;
    left: -40px;
}

.wg-where-blob-b {
    width: 260px;
    height: 260px;
    background: rgba(216, 139, 214, 0.38);
    bottom: -80px;
    right: -60px;
}

.wg-where-card {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 70px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(78, 83, 169, 0.2);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    font-weight: 800;
    color: #2c3573;
}

.wg-where-card-alt {
    top: auto;
    bottom: 70px;
    background: rgba(255, 255, 255, 0.9);
}

.wg-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(117, 223, 214, 0.2);
    border: 1px solid rgba(117, 223, 214, 0.4);
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.wg-hero h1 {
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.08;
    margin: 18px 0 20px;
    max-width: 20ch;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0a0f2e;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55),
        0 2px 28px rgba(255, 255, 255, 0.45),
        0 4px 40px rgba(117, 223, 214, 0.25);
}

.wg-hero .wg-kicker {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #0f1533;
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(42, 49, 104, 0.18);
}

.wg-subtitle {
    font-size: clamp(18px, 2.1vw, 22px);
    font-weight: 600;
    line-height: 1.5;
    color: #252d52;
    opacity: 1;
    max-width: 52ch;
}

.wg-hero .wg-subtitle {
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.5);
}

.wg-hero-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0 0;
    flex-wrap: wrap;
}

.wg-hero-badges {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wg-hero-badges span {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(145deg, rgba(52, 61, 140, 0.9), rgba(83, 93, 191, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #f8faff;
    text-shadow: 0 1px 6px rgba(8, 12, 38, 0.45);
    box-shadow: 0 8px 18px rgba(35, 42, 111, 0.2);
    -webkit-text-stroke: 0.2px rgba(255, 255, 255, 0.92);
}

.wg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 21, 51, 0.2);
}

.wg-btn-primary {
    background: linear-gradient(120deg, var(--wg-cyan), #63d2ff);
    color: #112347;
}

.wg-btn-secondary {
    background: rgba(255, 255, 255, 0.68);
    color: #2f376f;
    border: 1px solid rgba(255, 255, 255, 0.82);
}

.wg-hero .wg-btn-hero-outline {
    background: transparent;
    color: #2a3168;
    border: 2px solid rgba(42, 49, 104, 0.38);
    box-shadow: none;
}

.wg-hero .wg-btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(42, 49, 104, 0.5);
    box-shadow: 0 8px 20px rgba(42, 49, 104, 0.08);
}

.wg-proof-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    opacity: 0.96;
    margin-top: 12px;
}

.wg-proof-inline span {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 7px 10px;
    border-radius: 999px;
}

.wg-hero-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(235, 242, 255, 0.98));
    color: var(--wg-text);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--wg-shadow);
    border: 1px solid rgba(117, 223, 214, 0.34);
}

.wg-hero-card h3 {
    margin: 0 0 10px;
}

.wg-hero-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.wg-hero-card li::marker {
    color: var(--wg-primary);
}

.wg-features {
    padding: 72px 0;
    background: transparent;
}

.wg-features h2,
.wg-social-proof h2,
.wg-cta h2 {
    text-align: center;
    margin: 0 0 28px;
}

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

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

.wg-box {
    background: var(--wg-surface);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--wg-border);
    box-shadow: 0 8px 20px rgba(49, 54, 143, 0.07);
}

.wg-box h3,
.wg-grid article h2 {
    margin-top: 0;
}

.wg-grid article {
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(49, 54, 143, 0.07);
}

.wg-social-proof {
    padding: 72px 0;
}

.wg-use-cases,
.wg-how,
.wg-faq {
    padding: 72px 0;
}

.wg-use-cases h2,
.wg-how h2,
.wg-faq h2 {
    text-align: center;
    margin: 0 0 28px;
}

.wg-method {
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(49, 54, 143, 0.07);
}

.wg-method h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wg-method ul {
    margin: 10px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.wg-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.wg-inline-icon svg {
    width: 24px;
    height: 24px;
    stroke: #3f49a5;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-home-screens {
    padding-top: 8px;
}

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

.wg-investment {
    padding-top: 24px;
}

.wg-investment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.wg-invest-card {
    border-radius: 18px;
    border: 1px solid rgba(46, 55, 122, 0.2);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(236, 247, 245, 0.9));
    box-shadow: 0 14px 34px rgba(36, 43, 109, 0.1);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.wg-invest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(36, 43, 109, 0.16);
    border-color: rgba(78, 83, 169, 0.38);
}

.wg-invest-card-highlight {
    background: linear-gradient(150deg, #1f245f, #2d358d 54%, #3743a8);
    color: #fff;
    border-color: rgba(117, 223, 214, 0.42);
}

.wg-invest-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.78;
}

.wg-invest-card h3 {
    margin: 10px 0 12px;
    font-size: clamp(1.45rem, 1.2rem + 0.8vw, 2rem);
}

.wg-invest-card h3 span {
    font-size: 0.56em;
    opacity: 0.86;
    font-weight: 700;
}

.wg-invest-card ul {
    margin: 0 0 16px;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.wg-invest-badge {
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(117, 223, 214, 0.2);
    border: 1px solid rgba(117, 223, 214, 0.44);
    color: inherit;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
}

.wg-invest-card .wg-btn {
    min-width: 160px;
}

.wg-invest-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wg-invest-actions .wg-invest-badge {
    margin: 0;
}

.wg-invest-card-highlight .wg-btn-primary {
    background: linear-gradient(120deg, var(--wg-yellow), #ffd680);
    color: #2a255e;
}

.wg-faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.wg-faq-item {
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 8px 20px rgba(49, 54, 143, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wg-faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.35;
    padding: 16px 50px 16px 18px;
    color: #151c44;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
}

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

.wg-faq-item p {
    margin: 0;
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    color: #394264;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    opacity: 0;
    transition: max-height 0.35s ease, padding 0.25s ease, opacity 0.25s ease;
}

.wg-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 1px solid rgba(78, 83, 169, 0.3);
    color: #3d4490;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    background: rgba(78, 83, 169, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wg-faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(78, 83, 169, 0.28);
    box-shadow: 0 12px 28px rgba(49, 54, 143, 0.1);
}

.wg-faq-item:hover summary {
    background: rgba(117, 223, 214, 0.14);
}

.wg-faq-item[open] {
    border-color: rgba(78, 83, 169, 0.3);
    box-shadow: 0 12px 30px rgba(49, 54, 143, 0.12);
}

.wg-faq-item[open] summary {
    color: #0f1533;
    background: rgba(117, 223, 214, 0.16);
}

.wg-faq-item[open] summary::after {
    content: "−";
    background: rgba(78, 83, 169, 0.18);
    color: #252a66;
}

.wg-faq-item[open] p {
    max-height: 220px;
    padding: 0 18px 18px;
    opacity: 1;
}

.wg-faq-help {
    margin: 22px 0 0;
    text-align: center;
}

.wg-faq-help-btn {
    border-color: rgba(61, 68, 144, 0.24);
    background: rgba(255, 255, 255, 0.78);
    color: #2c356e;
}

.wg-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.wg-stats div {
    background: linear-gradient(150deg, #202572, #31368f);
    color: #fff;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(117, 223, 214, 0.32);
}

.wg-stats strong {
    font-size: 32px;
    display: block;
}

.wg-stats span {
    font-size: 14px;
    opacity: 0.9;
}

.wg-testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.wg-testimonials blockquote {
    margin: 0;
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(49, 54, 143, 0.06);
}

.wg-testimonials cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 700;
    color: var(--wg-text-soft);
}

.wg-testimonials blockquote.wg-testimonial-with-avatar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.wg-testimonial-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(117, 223, 214, 0.45);
    background: #eef1ff;
}

.wg-testimonial-body {
    flex: 1;
    min-width: 0;
}

.wg-testimonial-quote {
    margin: 0;
    font-style: italic;
    font-weight: 700;
    opacity: 0.75;
}

.wg-cta {
    padding: 72px 0;
    background: linear-gradient(130deg, rgba(117, 223, 214, 0.26), rgba(216, 139, 214, 0.24));
    text-align: center;
    border-top: 1px solid rgba(49, 54, 143, 0.12);
    border-bottom: 1px solid rgba(49, 54, 143, 0.12);
}

.wg-cta-strong {
    background: linear-gradient(130deg, rgba(117, 223, 214, 0.78), rgba(244, 221, 109, 0.76), rgba(216, 139, 214, 0.76));
    color: #1b224d;
}

.wg-cta-strong p {
    color: rgba(27, 34, 77, 0.86);
}

.wg-float-whatsapp {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(140deg, #41d46c, #25b95a);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(26, 115, 53, 0.34);
    border: 2px solid rgba(255, 255, 255, 0.84);
}

.wg-float-whatsapp span {
    font-size: 0;
}

.wg-float-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.wg-float-whatsapp:hover {
    transform: translateY(-2px);
}

.wg-page {
    color: var(--wg-text);
}

.wg-page-hero {
    padding: 84px 0;
    background: var(--wg-chrome-hero-bg);
    color: #fff;
}

.wg-tag {
    display: inline-block;
    background: rgba(117, 223, 214, 0.2);
    border: 1px solid rgba(117, 223, 214, 0.42);
    padding: 7px 11px;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 12px;
}

.wg-page-hero h1 {
    margin: 14px 0;
    font-size: 40px;
}

.wg-page-hero p {
    max-width: 760px;
}

.wg-page-hero .wg-btn {
    background: linear-gradient(120deg, var(--wg-yellow), #ffd680);
    color: #2a255e;
    margin-top: 8px;
}

/* Heros com fundo pastel (envio em massa, CRM, políticas) */
.wg-page-hero.wg-page-hero-pastel {
    background: var(--wg-title-pastel-bg);
    color: #182042;
}

.wg-page-hero.wg-page-hero-pastel h1 {
    color: #0a0f2e;
}

.wg-page-hero.wg-page-hero-pastel .wg-tag {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(42, 49, 104, 0.2);
    color: #182042;
}

.wg-page-hero.wg-page-hero-pastel p:not(.wg-tag) {
    color: #394264;
}

.wg-legal-hero.wg-legal-hero-pastel {
    background: var(--wg-title-pastel-bg);
    color: #182042;
}

.wg-legal-hero.wg-legal-hero-pastel::before,
.wg-legal-hero.wg-legal-hero-pastel::after {
    display: none;
}

.wg-legal-hero.wg-legal-hero-pastel .wg-legal-hero-inner::before {
    display: none;
}

.wg-page-content {
    padding: 64px 0;
    background: transparent;
}

.wg-pricing-page {
    background: var(--wg-bg);
}

.wg-pricing-hero .wg-legal-hero-inner {
    max-width: 860px;
}

.wg-pricing-content {
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.wg-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.wg-price-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--wg-border);
    box-shadow: 0 14px 34px rgba(38, 47, 107, 0.14);
    display: flex;
    flex-direction: column;
}

.wg-price-card-head {
    padding: 22px 22px 20px;
    color: #fff;
}

.wg-price-card-kicker {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.92;
}

.wg-price-card h2 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.1;
}

.wg-price-card-head .wg-price-card-desc {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.45;
    opacity: 0.95;
}

.wg-price-card-head .wg-price-card-note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.9;
    font-weight: 600;
}

.wg-price-card-instance .wg-price-card-head {
    background: linear-gradient(150deg, #3a9d63, #2f8654 52%, #2b7349);
}

.wg-price-card-volume .wg-price-card-head {
    background: linear-gradient(150deg, #f0ab2f, #d98a0b 55%, #be7200);
}

.wg-price-card-message .wg-price-card-head {
    background: linear-gradient(150deg, #4196f2, #2a73d8 52%, #215fbd);
}

.wg-price-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #ebefff;
}

.wg-price-list li {
    padding: 12px 22px;
    border-bottom: 1px solid #ebefff;
    color: var(--wg-text-soft);
    line-height: 1.45;
    font-size: 15px;
}

.wg-price-list li strong {
    color: var(--wg-text);
}

.wg-price-cta {
    margin: 16px 22px 22px;
    width: calc(100% - 44px);
    text-align: center;
    display: inline-flex;
    justify-content: center;
    background: linear-gradient(120deg, var(--wg-yellow), #ffd680);
    color: #2a255e;
    border-radius: 12px;
}

.wg-price-cta:hover {
    transform: translateY(-1px);
}

/* Página legal (ex.: Política de Créditos) — hero + card, paleta WhatsGW */
.wg-legal-page {
    background: var(--wg-bg);
}

.wg-legal-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 88px;
    background:
        radial-gradient(ellipse 85% 70% at 18% 28%, rgba(117, 223, 214, 0.42), transparent 58%),
        radial-gradient(circle at 88% 18%, rgba(216, 139, 214, 0.22), transparent 52%),
        radial-gradient(circle at 58% 110%, rgba(244, 221, 109, 0.18), transparent 52%),
        linear-gradient(145deg, #cceee8 0%, #f0e6c8 48%, #e8dce8 100%);
    color: #182042;
}

.wg-legal-hero::before,
.wg-legal-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.wg-legal-hero::before {
    width: 440px;
    height: 440px;
    background: rgba(117, 223, 214, 0.38);
    left: -8%;
    top: 2%;
    filter: blur(36px);
}

.wg-legal-hero::after {
    width: 420px;
    height: 420px;
    background: rgba(216, 139, 214, 0.2);
    right: -140px;
    bottom: -120px;
    filter: blur(28px);
}

.wg-legal-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
}

.wg-legal-hero-inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -12%;
    top: -8%;
    width: 118%;
    max-width: 560px;
    height: 85%;
    min-height: 180px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 72% 68% at 42% 48%, rgba(117, 223, 214, 0.55) 0%, rgba(99, 210, 255, 0.35) 42%, rgba(216, 139, 214, 0.12) 78%, transparent 100%);
    filter: blur(18px);
    opacity: 0.95;
    pointer-events: none;
}

.wg-legal-kicker {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(117, 223, 214, 0.2);
    border: 1px solid rgba(117, 223, 214, 0.4);
    padding: 7px 12px;
    border-radius: 999px;
    color: #182042;
}

.wg-legal-hero h1 {
    position: relative;
    z-index: 0;
    margin: 0 0 14px;
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    line-height: 1.12;
    font-weight: 800;
    max-width: 22ch;
    color: #182042;
}

.wg-legal-lead {
    position: relative;
    z-index: 0;
    margin: 0;
    max-width: 46ch;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #394264;
}

.wg-legal-body {
    padding: 0 0 80px;
    margin-top: -52px;
    position: relative;
    z-index: 1;
}

.wg-legal-page .wg-legal-wrap {
    max-width: 920px;
}

.wg-legal-card {
    background: var(--wg-surface);
    border-radius: 18px;
    border: 1px solid var(--wg-border);
    box-shadow: 0 20px 50px rgba(49, 54, 143, 0.12), 0 4px 14px rgba(25, 35, 89, 0.06);
    padding: 0;
    overflow: hidden;
}

.wg-legal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--wg-border);
    background: linear-gradient(180deg, rgba(117, 223, 214, 0.08), rgba(255, 255, 255, 0.96));
}

.wg-legal-meta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wg-text-soft);
}

.wg-legal-meta-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--wg-text-soft);
}

.wg-legal-prose {
    padding: 32px 36px 40px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--wg-text);
}

.wg-legal-prose > *:first-child {
    margin-top: 0;
}

.wg-legal-prose h2,
.wg-legal-prose h3 {
    margin: 1.5em 0 0.55em;
    color: #1a1f4a;
    line-height: 1.25;
}

.wg-legal-prose h2:first-child,
.wg-legal-prose h3:first-child {
    margin-top: 0;
}

.wg-legal-prose p {
    margin: 0 0 1em;
}

.wg-legal-prose ul,
.wg-legal-prose ol {
    margin: 0 0 1em;
    padding-left: 1.35em;
}

.wg-legal-prose a {
    color: #3d4490;
    font-weight: 600;
}

.wg-legal-prose strong {
    color: #1a1f4a;
}

.wg-page-content .wg-page-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.wg-grid-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.wg-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.wg-pillar {
    border-radius: 18px;
    padding: 22px;
    border: 1px solid;
    box-shadow: 0 12px 28px rgba(49, 54, 143, 0.12);
}

.wg-pillar h3 {
    margin-top: 0;
}

.wg-pillar-official {
    background: rgba(117, 223, 214, 0.18);
    border-color: rgba(117, 223, 214, 0.5);
}

.wg-pillar-unofficial {
    background: rgba(216, 139, 214, 0.16);
    border-color: rgba(216, 139, 214, 0.5);
}

.wg-code-block {
    margin: 8px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #2f365f;
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.55;
    overflow-x: auto;
    white-space: pre;
}

.wg-code-block code {
    font-family: inherit;
    color: inherit;
}

/* Página CRM — galeria chat + crm (após os cards) */
.wg-crm-visual {
    margin-top: 44px;
    padding: 0;
}

.wg-crm-visual-panel {
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(117, 223, 214, 0.22), transparent 55%),
        radial-gradient(circle at 92% 80%, rgba(216, 139, 214, 0.14), transparent 45%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 244, 255, 0.92) 48%, rgba(250, 242, 255, 0.88) 100%);
    border: 1px solid rgba(117, 223, 214, 0.35);
    border-radius: 22px;
    padding: 28px 22px 32px;
    box-shadow: 0 18px 44px rgba(49, 54, 143, 0.09);
}

.wg-crm-visual-head {
    text-align: center;
    max-width: 46ch;
    margin: 0 auto 28px;
}

.wg-crm-visual-kicker {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2f376f;
    background: rgba(117, 223, 214, 0.22);
    border: 1px solid rgba(117, 223, 214, 0.45);
    padding: 6px 14px;
    border-radius: 999px;
}

.wg-crm-visual-head h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.2;
    color: var(--wg-text);
}

.wg-crm-visual-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--wg-text-soft);
}

.wg-crm-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.wg-crm-visual-figure {
    margin: 0;
}

.wg-crm-visual-frame {
    padding: 11px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(117, 223, 214, 0.5), rgba(255, 255, 255, 0.55), rgba(216, 139, 214, 0.42));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.85),
        inset 0 0 0 2px rgba(78, 83, 169, 0.1),
        0 3px 0 rgba(78, 83, 169, 0.07);
}

.wg-crm-visual-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 3px solid #fff;
    box-shadow: 0 14px 32px rgba(25, 35, 89, 0.14);
    background: #eef2ff;
    vertical-align: middle;
}

.wg-crm-visual-caption {
    margin: 14px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--wg-text);
}

/* Página Envio em massa — cards e pilares com ícone */
.wg-page-envio .wg-envio-mass-features article,
.wg-page-crm .wg-crm-features article {
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(49, 54, 143, 0.08);
}

.wg-page-envio .wg-envio-mass-features article h2,
.wg-page-crm .wg-crm-features article h2 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wg-page-envio .wg-envio-mass-features article h2 svg,
.wg-page-crm .wg-crm-features article h2 svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    stroke: #3f49a5;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wg-page-envio .wg-envio-mass-features article p,
.wg-page-crm .wg-crm-features article p {
    margin: 0;
    color: var(--wg-text-soft);
}

.wg-page-envio .wg-envio-flow .wg-pillar h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.wg-page-envio .wg-envio-flow .wg-pillar h3 svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    stroke: #3f49a5;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Blog, arquivo, busca e single */
.wg-blog-hero {
    padding: 72px 0 56px;
    background:
        radial-gradient(circle at 10% 8%, rgba(117, 223, 214, 0.14), transparent 52%),
        radial-gradient(circle at 88% 18%, rgba(216, 139, 214, 0.12), transparent 52%),
        radial-gradient(circle at 58% 110%, rgba(244, 221, 109, 0.1), transparent 52%),
        linear-gradient(145deg, #dcefea 0%, #f3edd5 48%, #ebe0ec 100%);
    color: #182042;
}

.wg-blog-hero-kicker {
    display: inline-block;
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(117, 223, 214, 0.22);
    border: 1px solid rgba(117, 223, 214, 0.4);
    padding: 7px 12px;
    border-radius: 999px;
}

.wg-blog-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
    max-width: 20ch;
}

.wg-blog-hero-intro,
.wg-archive-description {
    margin: 0;
    max-width: 52ch;
    font-size: 18px;
    color: #394264;
    line-height: 1.5;
}

.wg-archive-description p {
    margin: 0;
}

.wg-search-inline {
    margin-top: 22px;
    max-width: 480px;
}

.wg-search-inline--center {
    margin-left: auto;
    margin-right: auto;
}

.wg-search-inline .search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
}

.wg-search-inline .search-field {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid rgba(42, 49, 104, 0.2);
    background: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-family: inherit;
}

.wg-search-inline .search-submit {
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(120deg, var(--wg-cyan), #63d2ff);
    color: #112347;
}

.wg-search-count {
    margin: 0 0 20px;
    font-weight: 600;
    color: var(--wg-text-soft);
}

.wg-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.wg-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.wg-blog-main {
    min-width: 0;
}

.wg-blog-sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wg-blog-widget {
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 8px 22px rgba(49, 54, 143, 0.06);
}

.wg-blog-widget-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--wg-text);
    text-transform: uppercase;
}

.wg-blog-widget-empty {
    margin: 0;
    font-size: 14px;
    color: var(--wg-text-soft);
    line-height: 1.45;
}

.wg-blog-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.wg-blog-widget-list--recent a {
    display: block;
    color: var(--wg-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

.wg-blog-widget-list--recent a:hover {
    color: var(--wg-primary-strong);
    text-decoration: underline;
}

.wg-blog-archive-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    color: var(--wg-primary-strong);
}

.wg-blog-archive-link:hover {
    text-decoration: underline;
}

.wg-blog-archive-label {
    flex: 1;
    min-width: 0;
    color: var(--wg-text);
}

.wg-blog-archive-count {
    flex-shrink: 0;
    font-weight: 600;
    font-size: 13px;
    color: var(--wg-text-soft);
}

.wg-blog-sidebar .search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wg-blog-sidebar .search-field {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border-radius: 12px;
    border: 2px solid rgba(42, 49, 104, 0.18);
    background: #fff;
    font-size: 15px;
    font-family: inherit;
}

.wg-blog-sidebar .search-submit {
    padding: 10px 16px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(120deg, var(--wg-cyan), #63d2ff);
    color: #112347;
    font-family: inherit;
}

.wg-post-card {
    display: flex;
    flex-direction: column;
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(49, 54, 143, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wg-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(49, 54, 143, 0.12);
}

.wg-post-card-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(117, 223, 214, 0.25), rgba(216, 139, 214, 0.2));
    overflow: hidden;
}

.wg-post-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wg-post-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    background: linear-gradient(135deg, rgba(117, 223, 214, 0.3), rgba(244, 221, 109, 0.25), rgba(216, 139, 214, 0.28));
}

.wg-post-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.wg-post-meta {
    font-size: 13px;
    font-weight: 600;
    color: var(--wg-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wg-post-card-title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.wg-post-card-title a {
    color: var(--wg-text);
    text-decoration: none;
}

.wg-post-card-title a:hover {
    color: var(--wg-primary-strong);
}

.wg-post-excerpt {
    margin: 0;
    flex: 1;
    color: var(--wg-text-soft);
    font-size: 15px;
    line-height: 1.55;
}

.wg-post-readmore {
    margin-top: 6px;
    font-weight: 700;
    font-size: 14px;
    color: #3d4490;
    text-decoration: none;
    border-bottom: 2px solid rgba(61, 68, 144, 0.35);
    align-self: flex-start;
}

.wg-post-readmore:hover {
    color: #252a66;
    border-bottom-color: rgba(37, 42, 102, 0.55);
}

.wg-pagination {
    margin-top: 36px;
}

.wg-pagination .nav-links,
.wg-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.wg-pagination a.page-numbers,
.wg-pagination span.page-numbers {
    min-width: 42px;
    padding: 10px 14px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--wg-border);
    background: var(--wg-surface);
    color: var(--wg-text);
}

.wg-pagination a.page-numbers:hover {
    background: rgba(117, 223, 214, 0.2);
    border-color: rgba(117, 223, 214, 0.45);
}

.wg-pagination span.page-numbers.current {
    background: linear-gradient(120deg, var(--wg-cyan), #8ae0ff);
    border-color: transparent;
    color: #112347;
}

.wg-empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(49, 54, 143, 0.06);
}

.wg-empty-state h2 {
    margin: 0 0 10px;
}

.wg-empty-state p {
    margin: 0 0 20px;
    color: var(--wg-text-soft);
}

.wg-empty-cta {
    display: inline-flex;
}

.wg-single-hero h1 {
    max-width: 28ch;
}

.wg-single-cats {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.wg-single-cats a {
    color: #2a3168;
    text-decoration: none;
    border-bottom: 1px solid rgba(42, 49, 104, 0.35);
}

.wg-single-cats a:hover {
    color: #151a45;
}

.wg-single-meta {
    font-size: 15px;
    color: #394264;
}

.wg-single-meta-sep {
    margin: 0 8px;
}

.wg-single-featured-wrap {
    margin-top: -24px;
    margin-bottom: 8px;
}

.wg-single-featured {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--wg-shadow);
    border: 1px solid rgba(117, 223, 214, 0.35);
}

.wg-single-featured-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.wg-single-wrap {
    max-width: 760px;
}

.wg-single-article {
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 10px 28px rgba(49, 54, 143, 0.06);
}

.wg-entry-content {
    font-size: 17px;
    line-height: 1.7;
    color: var(--wg-text);
}

.wg-entry-content > *:first-child {
    margin-top: 0;
}

.wg-entry-content h2,
.wg-entry-content h3,
.wg-entry-content h4 {
    margin: 1.4em 0 0.5em;
    line-height: 1.25;
    color: #1a1f4a;
}

.wg-entry-content p {
    margin: 0 0 1em;
}

.wg-entry-content ul,
.wg-entry-content ol {
    margin: 0 0 1em;
    padding-left: 1.35em;
}

.wg-entry-content a {
    color: #3d4490;
    font-weight: 600;
}

.wg-entry-content img,
.wg-entry-content video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.wg-entry-content blockquote {
    margin: 1.2em 0;
    padding: 16px 20px;
    border-left: 4px solid var(--wg-cyan);
    background: rgba(117, 223, 214, 0.12);
    border-radius: 0 12px 12px 0;
}

.wg-page-links {
    margin: 2em 0;
    padding-top: 1em;
    border-top: 1px solid var(--wg-border);
    font-weight: 600;
}

.wg-single-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--wg-border);
}

.wg-single-tags {
    margin: 0;
    font-size: 14px;
    color: var(--wg-text-soft);
}

.wg-single-tags a {
    color: var(--wg-primary);
    font-weight: 600;
    text-decoration: none;
}

.wg-single-tags a:hover {
    text-decoration: underline;
}

.wg-post-nav {
    margin-top: 28px;
}

.wg-post-nav .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wg-post-nav .nav-previous a,
.wg-post-nav .nav-next a {
    display: block;
    padding: 18px 20px;
    background: var(--wg-surface);
    border: 1px solid var(--wg-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--wg-text);
    box-shadow: 0 8px 20px rgba(49, 54, 143, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wg-post-nav .nav-previous a:hover,
.wg-post-nav .nav-next a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(49, 54, 143, 0.1);
}

.wg-post-nav .nav-next {
    text-align: right;
}

.wg-post-nav-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--wg-primary);
    margin-bottom: 4px;
}

.wg-post-nav-title {
    display: block;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .wg-header-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .wg-logo {
        order: 1;
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 190px);
    }

    .wg-logo-img {
        height: 50px;
        max-width: 100%;
    }

    .wg-header-end {
        order: 2;
        margin-left: auto;
        gap: 8px;
    }

    .wg-main-nav {
        order: 3;
        display: none;
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        padding: 6px 0 2px;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .wg-site-header.wg-nav-is-open .wg-main-nav {
        display: flex;
    }

    .wg-site-header.wg-nav-is-open .wg-nav-toggle {
        background: rgba(255, 255, 255, 0.28);
    }

    .wg-main-nav a {
        padding: 14px 2px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .wg-main-nav a:last-child {
        border-bottom: none;
    }

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

    .wg-btn-header {
        padding: 9px 12px;
        font-size: 13px;
    }

    .wg-hero-layout,
    .wg-grid-3,
    .wg-grid-2,
    .wg-where-layout {
        grid-template-columns: 1fr;
    }

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

    .wg-hero-visual-group {
        grid-template-columns: 1fr;
    }

    .wg-float-card-wide {
        grid-column: span 1;
    }

    .wg-hero .wg-wrap,
    .wg-grid,
    .wg-stats,
    .wg-testimonials,
    .wg-split {
        grid-template-columns: 1fr;
    }

    .wg-pricing-grid {
        grid-template-columns: 1fr;
    }

    .wg-pricing-content {
        margin-top: -28px;
    }

    .wg-hero h1 {
        font-size: clamp(30px, 8vw, 40px);
        letter-spacing: -0.025em;
    }

    .wg-page-hero h1 {
        font-size: 32px;
    }

    .wg-post-grid {
        grid-template-columns: 1fr;
    }

    .wg-blog-layout {
        grid-template-columns: 1fr;
    }

    .wg-blog-sidebar {
        position: static;
    }

    .wg-footer-aside {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .wg-crm-visual-grid {
        grid-template-columns: 1fr;
    }

    .wg-investment-grid {
        grid-template-columns: 1fr;
    }

    .wg-crm-visual-panel {
        padding: 22px 16px 26px;
    }

    .wg-crm-visual {
        margin-top: 32px;
    }

    .wg-post-nav .nav-links {
        grid-template-columns: 1fr;
    }

    .wg-post-nav .nav-next {
        text-align: left;
    }

    .wg-single-article {
        padding: 24px 20px;
    }

    .wg-blog-hero h1,
    .wg-single-hero h1 {
        max-width: none;
    }

    .wg-legal-hero h1 {
        max-width: none;
    }

    .wg-legal-body {
        margin-top: -36px;
    }

    .wg-legal-hero {
        padding: 56px 0 72px;
    }

    .wg-legal-prose {
        padding: 24px 20px 32px;
    }

    .wg-legal-meta {
        padding: 14px 18px;
    }
}
