:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;

    --secondary: #22c55e;
    --secondary-dark: #16a34a;
    --secondary-soft: #f0fdf4;

    --navy: #0f172a;
    --navy-soft: #1e293b;

    --text: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;

    --white: #ffffff;
    --surface: #f8fafc;
    --border: #e2e8f0;

    --container: 1260px;
    --header-height: 86px;

    --shadow-small: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-medium: 0 22px 55px rgba(15, 23, 42, 0.11);
    --shadow-large: 0 30px 80px rgba(15, 23, 42, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    min-width: 320px;
    background: var(--white);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* CABEÇALHO */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 165px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
}

.nav-links a {
    position: relative;
    color: var(--navy-soft);
    font-size: 15px;
    font-weight: 600;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 20px;
}

/* BOTÕES */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.button span {
    font-size: 19px;
    transition: transform 0.25s ease;
}

.button:hover span {
    transform: translateX(3px);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), #2f6ff2);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.button-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 17px 34px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.86);
    color: var(--navy);
    border-color: var(--border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.button-secondary:hover {
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.button-large {
    min-height: 56px;
    padding: 0 27px;
    border-radius: 16px;
    font-size: 16px;
}

.whatsapp-icon {
    width: 21px;
    height: 21px;
    fill: var(--secondary);
}

/* HERO */

.hero {
    position: relative;
    min-height: 100svh;
    padding: 122px 0 32px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #f8fbff 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 16%,
        black 76%,
        transparent
    );
}

.hero-light {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
}

.hero-light-blue {
    width: 560px;
    height: 560px;
    top: 30px;
    right: -180px;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.16) 0%,
        rgba(37, 99, 235, 0.05) 48%,
        transparent 72%
    );
}

.hero-light-green {
    width: 350px;
    height: 350px;
    left: -160px;
    bottom: -145px;
    background: radial-gradient(
        circle,
        rgba(34, 197, 94, 0.11) 0%,
        transparent 72%
    );
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(470px, 0.97fr);
    align-items: center;
    gap: 62px;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px;
    padding: 10px 15px;
    color: var(--primary);
    background: rgba(239, 246, 255, 0.92);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.06);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1);
}

.hero h1 {
    max-width: 690px;
    margin-bottom: 23px;
    color: var(--navy);
    font-size: clamp(47px, 4.45vw, 65px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2.9px;
}

.hero h1 span {
    position: relative;
    color: var(--primary);
}

.hero h1 span::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 2px;
    right: 0;
    bottom: 3px;
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(37, 99, 235, 0.16),
        rgba(34, 197, 94, 0.13)
    );
}

.hero-description {
    max-width: 650px;
    color: var(--text-light);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.68;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 31px;
}

.hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 19px;
    margin-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

.trust-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    background: var(--secondary-soft);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

/* VISUAL DO HERO */

.hero-visual {
    position: relative;
    min-height: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.095) 0%,
        rgba(37, 99, 235, 0.025) 54%,
        transparent 72%
    );
}

.brand-shape {
    position: absolute;
    z-index: 0;
    width: 255px;
    height: 67px;
    border-radius: 24px 52px 52px 12px;
    transform: skewX(-26deg);
    opacity: 0.1;
}

.brand-shape-top {
    top: 34px;
    right: 2px;
    background: linear-gradient(135deg, var(--primary), #4e81ff);
}

.brand-shape-bottom {
    right: 22px;
    bottom: 28px;
    background: linear-gradient(135deg, var(--secondary), #4ade80);
}

.consultation-panel {
    position: relative;
    z-index: 3;
    width: min(575px, calc(100% + 60px));
    padding: 29px;
    border: 1px solid rgba(226, 232, 240, 0.84);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-large);
    backdrop-filter: blur(16px);
}

.consultation-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 250, 252, 0.9)
    );
}

.panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-heading {
    flex: 1;
    min-width: 0;
    align-self: center;
}

.panel-top-aside {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.panel-label {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel-top h2 {
    max-width: 265px;
    color: var(--navy);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.online-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    color: var(--secondary-dark);
    background: var(--secondary-soft);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
}

.online-status span {
    width: 7px;
    height: 7px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.profile-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 13px;
}

.profile-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-content {
    flex: 1;
    min-width: 0;
}

.profile-content span,
.selection-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-content strong {
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.profile-check {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--secondary);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.selection-card {
    min-height: 128px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.selection-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--shadow-small);
}

.selection-card.active {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
}

.selection-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 11px;
}

.selection-icon.blue {
    color: var(--primary);
    background: var(--primary-soft);
}

.selection-icon.green {
    color: var(--secondary-dark);
    background: var(--secondary-soft);
}

.selection-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.selection-card strong {
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.38;
}

.progress-block {
    margin-top: 17px;
}

.progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
}

.progress-heading strong {
    color: var(--primary);
}

.progress-track {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf0f7;
}

.progress-track span {
    display: block;
    width: 75%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.panel-message {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 17px;
    padding: 12px 14px;
    color: var(--text-light);
    background: var(--surface);
    border-radius: 15px;
}

.panel-message p {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
}

.message-symbol {
    width: 34px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
}

.message-symbol span {
    position: absolute;
    left: 3px;
    width: 28px;
    height: 10px;
    border-radius: 4px 10px 10px 2px;
    transform: skewX(-25deg);
}

.message-symbol span:first-child {
    top: 2px;
    background: var(--primary);
}

.message-symbol span:last-child {
    bottom: 2px;
    background: var(--secondary);
}

/* CARDS FLUTUANTES */

.floating-info {
    position: absolute;
    z-index: 5;
    min-width: 238px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(14px);
}

.floating-info-top {
    position: relative;
    top: auto;
    right: auto;
    width: fit-content;
    margin: 0;
}

.floating-info-bottom {
    display: none;
}

.floating-icon {
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
}

.floating-icon.blue {
    color: var(--primary);
    background: var(--primary-soft);
}

.floating-icon.green {
    color: var(--secondary-dark);
    background: var(--secondary-soft);
}

.floating-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-info span {
    display: block;
    margin-bottom: 3px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.floating-info strong {
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
}

/* TELAS MAIS BAIXAS */

@media (min-width: 981px) and (max-height: 820px) {
    .hero {
        padding-top: 108px;
        padding-bottom: 20px;
    }

    .hero-badge {
        margin-bottom: 18px;
    }

    .hero h1 {
        margin-bottom: 18px;
        font-size: clamp(45px, 4.1vw, 59px);
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.58;
    }

    .hero-actions {
        margin-top: 24px;
    }

    .hero-trust {
        margin-top: 18px;
    }

    .hero-visual {
        min-height: 480px;
        transform: scale(0.94);
        transform-origin: center;
    }
}

/* RESPONSIVIDADE */

@media (max-width: 1180px) {
    .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
        gap: 45px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .floating-info-top {
        right: auto;
    }

.floating-info-bottom {
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%);
}
}

@media (max-width: 980px) {
    :root {
        --header-height: 78px;
    }

    .navbar {
        min-height: var(--header-height);
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 122px 0 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .hero-content {
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        max-width: 760px;
        font-size: clamp(45px, 8vw, 64px);
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 620px);
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .header {
        background: rgba(255, 255, 255, 0.95);
    }

    .logo img {
        width: 139px;
    }

    .navbar-button {
        min-height: 44px;
        padding: 0 15px;
        border-radius: 12px;
        font-size: 12px;
    }

    .navbar-button span {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 112px 0 62px;
    }

    .hero-badge {
        margin-bottom: 21px;
        padding: 10px 13px;
        font-size: 11px;
    }

    .hero h1 {
        margin-bottom: 21px;
        font-size: 42px;
        line-height: 1.07;
        letter-spacing: -2.1px;
    }

    .hero h1 span::after {
        bottom: 2px;
        height: 9px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.66;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 29px;
    }

    .button-large {
        width: 100%;
        min-height: 55px;
    }

    .hero-trust {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: fit-content;
        margin: 24px auto 0;
    }

    .hero-visual {
        min-height: auto;
        padding: 50px 0 34px;
    }

    .consultation-panel {
        width: 100%;
        padding: 21px;
        border-radius: 24px;
    }

    .panel-top {
        flex-direction: column;
    }

    .panel-heading {
        width: 100%;
        align-self: stretch;
    }

    .panel-top-aside {
        width: 100%;
        align-items: flex-start;
    }

    .panel-top h2 {
        font-size: 21px;
    }

    .online-status {
        align-self: flex-start;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .selection-card {
        min-height: auto;
    }

    .floating-info {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        min-width: 0;
        width: calc(100% - 28px);
    }

    .floating-info-top {
        width: 100%;
        margin: 0;
    }

    .floating-info-bottom {
        display: none;
    }

    .brand-shape {
        width: 190px;
        height: 52px;
    }
}

@media (max-width: 400px) {
    .logo img {
        width: 123px;
    }

    .navbar-button {
        padding: 0 12px;
        font-size: 11px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -1.7px;
    }

    .consultation-panel {
        padding: 18px;
    }

    .profile-content strong {
        font-size: 12px;
    }
}


/* POR QUE ESCOLHER A PLANOVO */

.why-planovo {
    position: relative;
    padding: 108px 0;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #ffffff 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.why-planovo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.why-decoration {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

.why-decoration-blue {
    width: 460px;
    height: 460px;
    top: -230px;
    left: -220px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
}

.why-decoration-green {
    width: 400px;
    height: 400px;
    right: -210px;
    bottom: -210px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.09), transparent 70%);
}

.why-heading {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px 15px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.section-badge > span:first-child {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1);
}

.why-heading h2 {
    margin-bottom: 19px;
    color: var(--navy);
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2.2px;
}

.why-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.benefit-card {
    position: relative;
    min-height: 235px;
    padding: 29px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.065);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.benefit-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 50px;
    right: -45px;
    bottom: -15px;
    border-radius: 18px 38px 38px 8px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(34, 197, 94, 0.06));
    transform: skewX(-25deg);
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.1);
}

.benefit-icon {
    width: 51px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    border-radius: 16px;
}

.benefit-icon-blue {
    color: var(--primary);
    background: var(--primary-soft);
}

.benefit-icon-green {
    color: var(--secondary-dark);
    background: var(--secondary-soft);
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.benefit-card p {
    max-width: 500px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.65;
}

.why-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 28px;
    padding: 25px 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
}

.why-cta > div > span {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.why-cta h3 {
    color: var(--navy);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@media (max-width: 980px) {
    .why-planovo {
        padding: 92px 0;
    }
}

@media (max-width: 650px) {
    .why-planovo {
        padding: 76px 0;
    }

    .why-heading {
        margin-bottom: 39px;
    }

    .why-heading h2 {
        font-size: 36px;
        letter-spacing: -1.7px;
    }

    .why-heading p {
        font-size: 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        min-height: auto;
        padding: 25px;
        border-radius: 22px;
    }

    .why-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 23px;
    }

    .why-cta .button {
        width: 100%;
    }
}


/* COMO FUNCIONA */

.how-it-works {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--navy);
}

.how-it-works::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.how-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

.how-glow-blue {
    width: 520px;
    height: 520px;
    top: -270px;
    right: -160px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
}

.how-glow-green {
    width: 420px;
    height: 420px;
    left: -220px;
    bottom: -230px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.18), transparent 70%);
}

.how-it-works .section-badge {
    color: #8fb2ff;
    background: rgba(37, 99, 235, 0.13);
    border-color: rgba(143, 178, 255, 0.18);
}

.how-heading {
    max-width: 800px;
    margin: 0 auto 58px;
    text-align: center;
}

.how-heading h2 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2.3px;
}

.how-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: #a8b5c9;
    font-size: 17px;
    line-height: 1.7;
}

.how-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 28px;
    align-items: stretch;
}

.how-steps {
    display: grid;
    gap: 16px;
}

.how-step {
    position: relative;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 22px;
    padding: 26px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(12px);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background-color 0.28s ease;
}

.how-step:hover {
    transform: translateX(7px);
    border-color: rgba(91, 139, 255, 0.36);
    background: rgba(255, 255, 255, 0.075);
}

.how-step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9db9ff;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(91, 139, 255, 0.2);
    border-radius: 18px;
    font-size: 17px;
    font-weight: 800;
}

.how-step-content > span {
    display: block;
    margin-bottom: 7px;
    color: #78e19d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.how-step h3 {
    margin-bottom: 9px;
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.how-step p {
    max-width: 610px;
    color: #a8b5c9;
    font-size: 14px;
    line-height: 1.62;
}

.how-summary {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 27px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.055));
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
}

.how-summary-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.how-summary-icon {
    width: 51px;
    height: 51px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #66dc91;
    background: rgba(34, 197, 94, 0.13);
    border-radius: 16px;
}

.how-summary-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.how-summary-top span {
    display: block;
    margin-bottom: 7px;
    color: #8fb2ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.how-summary-top h3 {
    color: var(--white);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.7px;
}

.how-summary-list {
    display: grid;
    gap: 21px;
    margin: 28px 0 31px;
}

.how-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.how-summary-check {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    color: #65dd91;
    background: rgba(34, 197, 94, 0.13);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.how-summary-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.how-summary-item p {
    color: #9eacc0;
    font-size: 12px;
    line-height: 1.55;
}

.how-summary-button {
    width: 100%;
    min-height: 55px;
    margin-top: auto;
}

@media (max-width: 980px) {
    .how-it-works {
        padding: 92px 0;
    }

    .how-layout {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin: 0 auto;
    }

    .how-summary {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    .how-it-works {
        padding: 76px 0;
    }

    .how-heading {
        margin-bottom: 40px;
    }

    .how-heading h2 {
        font-size: 36px;
        letter-spacing: -1.7px;
    }

    .how-heading p {
        font-size: 16px;
    }

    .how-step {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 23px;
    }

    .how-step:hover {
        transform: none;
    }

    .how-step-number {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .how-summary {
        padding: 24px;
        border-radius: 23px;
    }

    .how-summary-top {
        flex-direction: column;
    }
}

/* PLANOS */

.plans-section {
    position: relative;
    padding: 0 0 108px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #ffffff 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

.plans-section-container {
    position: relative;
    z-index: 1;
    padding-top: 108px;
}

.plans-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.plans-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

.plans-glow-blue {
    width: 460px;
    height: 460px;
    top: -230px;
    right: -220px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
}

.plans-glow-green {
    width: 400px;
    height: 400px;
    left: -210px;
    bottom: -210px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.09), transparent 70%);
}

.plans-heading {
    max-width: 780px;
    margin: 0 auto 54px;
    text-align: center;
}

.plans-heading h2 {
    margin-bottom: 19px;
    color: var(--navy);
    font-size: clamp(38px, 4vw, 55px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2.2px;
}

.plans-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    min-height: 505px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-7px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.11);
}

.plan-card-featured {
    border-color: rgba(37, 99, 235, 0.24);
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
    box-shadow: 0 28px 75px rgba(37, 99, 235, 0.12);
}

.plan-card-label {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 8px 11px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
}

.plan-card-top > span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.plan-icon-blue {
    color: var(--primary);
    background: var(--primary-soft);
}

.plan-icon-green {
    color: var(--secondary-dark);
    background: var(--secondary-soft);
}

.plan-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plan-card h3 {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.plan-card > p {
    min-height: 95px;
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.65;
}

.plan-card ul {
    display: grid;
    gap: 13px;
    margin-bottom: 30px;
}

.plan-card li {
    position: relative;
    padding-left: 27px;
    color: var(--navy-soft);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.plan-card li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: 19px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    background: var(--secondary-soft);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

.plan-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.plan-card > a span {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.plan-card > a:hover span {
    transform: translateX(4px);
}

.plans-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 18px 21px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.plans-note-icon {
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 12px;
}

.plans-note-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.plans-note p {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

/* CONTATO */

.contact-section {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.75);
}

.contact-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

.contact-glow-blue {
    width: 520px;
    height: 520px;
    top: -260px;
    left: -230px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.13), transparent 70%);
}

.contact-glow-green {
    width: 430px;
    height: 430px;
    right: -220px;
    bottom: -230px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1), transparent 70%);
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    align-items: center;
    gap: 74px;
}

.contact-content h2 {
    max-width: 610px;
    margin-bottom: 21px;
    color: var(--navy);
    font-size: clamp(40px, 4.2vw, 58px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -2.5px;
}

.contact-content > p {
    max-width: 600px;
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.72;
}

.contact-benefits {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-benefits > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy-soft);
    font-size: 13px;
    font-weight: 700;
}

.contact-benefits > div > span {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    background: var(--secondary-soft);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.contact-card {
    padding: 34px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 30px 85px rgba(15, 23, 42, 0.13);
}

.contact-card-heading {
    margin-bottom: 25px;
}

.contact-card-heading > span {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-card-heading h3 {
    color: var(--navy);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label > span {
    color: var(--navy-soft);
    font-size: 12px;
    font-weight: 700;
}

.contact-form input,
.contact-form select {
    width: 100%;
    min-height: 51px;
    padding: 0 15px;
    color: var(--navy);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    outline: none;
    font: inherit;
    font-size: 13px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.contact-form input::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus {
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.contact-submit {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 55px;
    margin-top: 4px;
    font-family: inherit;
}

.contact-privacy {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 980px) {
    .plans-section {
        padding: 0 0 92px;
    }

    .plans-section-container {
        padding-top: 92px;
    }

    .contact-section {
        padding: 92px 0;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

    .plan-card {
        min-height: auto;
    }

    .plan-card > p {
        min-height: auto;
    }

    .plans-note {
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-content {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .contact-content > p {
        margin: 0 auto;
    }

    .contact-content .section-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-benefits {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .contact-card {
        width: min(100%, 700px);
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .plans-section {
        padding: 0 0 76px;
    }

    .plans-section-container {
        padding-top: 76px;
    }

    .contact-section {
        padding: 76px 0;
    }

    .plans-heading {
        margin-bottom: 40px;
    }

    .plans-heading h2,
    .contact-content h2 {
        font-size: 36px;
        letter-spacing: -1.7px;
    }

    .plans-heading p,
    .contact-content > p {
        font-size: 16px;
    }

    .plan-card {
        padding: 25px;
        border-radius: 23px;
    }

    .plans-note {
        align-items: flex-start;
    }

    .contact-card {
        padding: 23px;
        border-radius: 23px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        grid-column: auto;
    }
}

/* SIMULADOR DE COTAÇÃO */

.quote-simulator-section {
    padding-bottom: 118px;
}

.simulator-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
    gap: 24px;
    align-items: start;
}

.simulator-filters,
.simulator-results {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.simulator-filters {
    position: sticky;
    top: calc(var(--header-height) + 22px);
    padding: 28px;
}

.simulator-filter-heading {
    margin-bottom: 27px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--border);
}

.simulator-filter-heading > span,
.simulator-results-heading > div:first-child > span {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.simulator-filter-heading h3,
.simulator-results-heading h3 {
    color: var(--navy);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

.simulator-filter-heading p {
    margin-top: 8px;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.55;
}

.simulator-field {
    margin-top: 20px;
}

.simulator-field label,
.simulator-label {
    display: block;
    margin-bottom: 9px;
    color: var(--navy-soft);
    font-size: 12px;
    font-weight: 700;
}

.simulator-field select,
.age-field input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    color: var(--navy);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    outline: none;
    font: inherit;
    font-size: 13px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.simulator-field select:focus,
.age-field input:focus {
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.09);
}

.simulator-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.simulator-choice {
    min-height: 53px;
    padding: 10px 12px;
    color: var(--navy-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.simulator-choice:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3);
}

.simulator-choice.active {
    color: var(--primary);
    background: var(--primary-soft);
    border-color: rgba(37, 99, 235, 0.3);
}

.simulator-choice:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.simulator-choice small {
    display: block;
    margin-top: 3px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.simulator-field-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.simulator-field-line strong {
    color: var(--primary);
    font-size: 14px;
}

.quantity-control {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
    align-items: center;
}

.quantity-control button {
    width: 40px;
    height: 40px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 12px;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.quantity-control input {
    width: 100%;
    accent-color: var(--primary);
}

.beneficiary-ages {
    display: grid;
    gap: 10px;
}

.age-field {
    display: grid;
    grid-template-columns: 1fr 92px;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
}

.age-field span {
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
}

.age-field input {
    min-height: 38px;
    padding: 0 10px;
    text-align: center;
    background: var(--white);
}

.simulator-profile-summary {
    margin-top: 23px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-soft), var(--secondary-soft));
    border-radius: 15px;
}

.simulator-profile-summary span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.simulator-profile-summary strong {
    color: var(--navy);
    font-size: 12px;
    line-height: 1.45;
}

.simulator-results {
    min-height: 620px;
    padding: 30px;
}

.simulator-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.results-count {
    min-width: 72px;
    padding: 10px 13px;
    text-align: center;
    background: var(--primary-soft);
    border-radius: 14px;
}

.results-count strong {
    display: block;
    color: var(--primary);
    font-size: 20px;
    line-height: 1;
}

.results-count span {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.simulator-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 14px 15px;
    color: #7c5d18;
    background: #fff9e8;
    border: 1px solid #f5e3ab;
    border-radius: 15px;
}

.simulator-disclaimer > span {
    width: 23px;
    height: 23px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a6b00;
    background: #ffefba;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.simulator-disclaimer p {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.55;
}

.simulator-plan-list {
    display: grid;
    gap: 15px;
}

.live-plan-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 21px;
    background: var(--white);
    transition:
        transform 0.27s ease,
        border-color 0.27s ease,
        box-shadow 0.27s ease;
}

.live-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
}

.live-plan-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -17px;
    width: 145px;
    height: 48px;
    border-radius: 18px 38px 38px 8px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(34, 197, 94, 0.05));
    transform: skewX(-25deg);
}

.live-plan-main {
    position: relative;
    z-index: 1;
}

.live-plan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.live-plan-tag {
    padding: 7px 9px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.live-plan-tag.green {
    color: var(--secondary-dark);
    background: var(--secondary-soft);
}

.live-plan-card h4 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.live-plan-description {
    max-width: 600px;
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.55;
}

.live-plan-beneficiaries {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
}

.live-plan-beneficiaries span {
    padding: 6px 8px;
    color: var(--navy-soft);
    background: var(--surface);
    border-radius: 9px;
    font-size: 9px;
    font-weight: 700;
}

.live-plan-price {
    position: relative;
    z-index: 1;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
}

.live-plan-price > span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.live-plan-price strong {
    margin: 6px 0 4px;
    color: var(--navy);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
}

.live-plan-price small {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 600;
}

.live-plan-price a {
    min-height: 42px;
    margin-top: 15px;
    padding: 0 15px;
    border-radius: 12px;
    font-size: 11px;
}

.simulator-empty {
    padding: 55px 20px;
    text-align: center;
}

.simulator-empty h4 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 20px;
}

.simulator-empty p {
    color: var(--text-light);
    font-size: 13px;
}

@media (max-width: 980px) {
    .simulator-shell {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin: 0 auto;
    }

    .simulator-filters {
        position: relative;
        top: auto;
    }
}

@media (max-width: 650px) {
    .simulator-filters,
    .simulator-results {
        padding: 22px;
        border-radius: 23px;
    }

    .simulator-choice-grid {
        grid-template-columns: 1fr;
    }

    .live-plan-card {
        grid-template-columns: 1fr;
    }

    .live-plan-price {
        min-width: 0;
        align-items: flex-start;
        padding-top: 16px;
        border-top: 1px solid var(--border);
        text-align: left;
    }

    .live-plan-price a {
        width: 100%;
    }
}

/* EXPLICAÇÕES EM POP-UP */

.simulator-label-with-info {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
}

.simulator-label-with-info label {
    margin-bottom: 0;
}

.info-trigger {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.info-trigger:hover,
.info-trigger[aria-expanded="true"] {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.info-popover {
    position: fixed;
    z-index: 3000;
    width: min(310px, calc(100vw - 28px));
    padding: 18px 42px 18px 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 17px;
    box-shadow: 0 22px 65px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(18px);
    transform: translateY(7px) scale(0.98);
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.info-popover.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.info-popover::before {
    content: "";
    position: absolute;
    top: -7px;
    left: var(--popover-arrow-left, 24px);
    width: 13px;
    height: 13px;
    background: inherit;
    border-top: 1px solid rgba(226, 232, 240, 0.98);
    border-left: 1px solid rgba(226, 232, 240, 0.98);
    transform: rotate(45deg);
}

.info-popover-title {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.info-popover-text {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
}

.info-popover-close {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--text-muted);
    background: var(--surface);
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.info-popover-close:hover {
    color: var(--navy);
    background: var(--border);
}

.live-plan-tag-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.live-plan-tag-group .info-trigger {
    width: 17px;
    height: 17px;
    font-size: 10px;
}

@media (max-width: 650px) {
    .info-popover {
        position: fixed;
        right: 14px !important;
        bottom: 14px !important;
        left: 14px !important;
        top: auto !important;
        width: auto;
        padding: 19px 43px 19px 19px;
        border-radius: 18px;
        transform: translateY(18px);
    }

    .info-popover.open {
        transform: translateY(0);
    }

    .info-popover::before {
        display: none;
    }
}

/* REDE DE ATENDIMENTO */

.network-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
}

.network-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.network-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
}

.network-dialog {
    position: relative;
    z-index: 1;
    width: min(1020px, 100%);
    max-height: min(850px, calc(100vh - 44px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 28px;
    background: var(--white);
    box-shadow: 0 40px 110px rgba(15, 23, 42, 0.28);
    transform: translateY(18px) scale(0.985);
    transition: transform 0.22s ease;
}

.network-modal.open .network-dialog {
    transform: translateY(0) scale(1);
}

.network-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 28px 30px 23px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 88% -20%, rgba(37, 99, 235, 0.14), transparent 35%),
        linear-gradient(145deg, #ffffff, #f8fbff);
}

.network-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.network-dialog-header h2 {
    color: var(--navy);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.network-dialog-header p {
    margin-top: 7px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

.network-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 13px;
    font: inherit;
    font-size: 24px;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.network-close:hover {
    color: var(--navy);
    background: var(--surface);
    transform: rotate(4deg);
}

.network-toolbar {
    display: grid;
    gap: 15px;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border);
}

.network-search {
    position: relative;
    display: block;
}

.network-search svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--text-muted);
    stroke-width: 1.8;
    stroke-linecap: round;
    transform: translateY(-50%);
}

.network-search input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px 0 45px;
    color: var(--navy);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    font: inherit;
    font-size: 13px;
}

.network-search input:focus {
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.network-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.network-tab {
    min-height: 38px;
    flex-shrink: 0;
    padding: 0 14px;
    color: var(--text-light);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.network-tab.active {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.network-summary {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 30px;
    color: var(--text-light);
    background: #fbfdff;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
}

.network-summary strong {
    color: var(--primary);
}

.network-list {
    flex: 1;
    display: grid;
    align-content: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow-y: auto;
    padding: 20px 30px 26px;
    background: #fbfdff;
}

.network-place {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

.network-place-icon {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 12px;
    font-size: 18px;
}

.network-place-icon.green {
    color: var(--secondary-dark);
    background: var(--secondary-soft);
}

.network-place-content {
    min-width: 0;
}

.network-place-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.network-place-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.network-place-meta span {
    padding: 5px 7px;
    color: var(--text-light);
    background: var(--surface);
    border-radius: 8px;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.network-empty {
    padding: 52px 30px;
    text-align: center;
    background: #fbfdff;
}

.network-empty strong {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 17px;
}

.network-empty p {
    color: var(--text-light);
    font-size: 12px;
}

.network-dialog-footer {
    padding: 14px 30px;
    color: #7c5d18;
    background: #fff9e8;
    border-top: 1px solid #f5e3ab;
}

.network-dialog-footer p {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
}

.live-plan-actions {
    display: grid;
    gap: 9px;
    width: 100%;
    margin-top: 15px;
}

.live-plan-actions .button {
    width: 100%;
    margin-top: 0;
}

.button-network {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button-network:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.live-plan-actions a.button-network {
    width: 100%;
    margin-top: 0;
}

.button-network-confirm {
    color: #166534;
    background: #f0fdf4;
    border-color: #bbf7d0;
    text-align: center;
}

.button-network-confirm:hover {
    color: #ffffff;
    background: #16a34a;
    border-color: #16a34a;
}

body.network-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .network-modal {
        align-items: end;
        padding: 0;
    }

    .network-dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 25px 25px 0 0;
    }

    .network-dialog-header,
    .network-toolbar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .network-summary {
        padding-left: 20px;
        padding-right: 20px;
    }

    .network-list {
        grid-template-columns: 1fr;
        padding: 16px 20px 22px;
    }

    .network-dialog-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.network-access-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 30px 0;
    padding: 14px 15px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-soft), #ffffff);
}

.network-access-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 11px;
    font-size: 16px;
}

.network-access-content span {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.network-access-content strong {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
}

.network-access-content p {
    color: var(--text-light);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .network-access-box {
        margin-left: 20px;
        margin-right: 20px;
    }
}


/* INTEGRAÇÃO DAS TABELAS COMPLETAS DE SÃO PAULO */
.simulator-field-help {
    display: block;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
}

.tag-odonto {
    color: #15803d !important;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.plan-official-data {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    margin-top: 12px;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 650;
}

.contract-fee {
    width: 100%;
    margin-top: 13px;
    padding: 12px 13px;
    border: 1px solid #fde68a;
    border-radius: 12px;
    background: #fffbeb;
    text-align: left;
}

.contract-fee span,
.contract-fee small,
.contract-fee em { display: block; }
.contract-fee span { color: #92400e; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contract-fee b { display: block; margin: 4px 0; color: #78350f; font-size: 16px; }
.contract-fee small { color: #a16207; font-size: 9px; line-height: 1.4; }
.contract-fee em { margin-top: 7px; color: #78350f; font-size: 10px; font-weight: 800; font-style: normal; }

.contract-fee-pending {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.contract-fee-pending span,
.contract-fee-pending b {
    color: #334155;
}

.contract-fee-pending small {
    color: #64748b;
}

.cnpj-first-month-promotion {
    width: 100%;
    margin-top: 13px;
    padding: 12px 13px;
    border: 1px solid #86efac;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    text-align: left;
}

.cnpj-first-month-promotion span,
.cnpj-first-month-promotion small {
    display: block;
}

.cnpj-first-month-promotion span {
    color: #15803d;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cnpj-first-month-promotion b {
    display: block;
    margin: 4px 0;
    color: #166534;
    font-size: 20px;
    line-height: 1.1;
}

.cnpj-first-month-promotion small {
    color: #16803f;
    font-size: 9px;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .plan-official-data { flex-direction: column; gap: 4px; }
}

/* =========================================================
   PLANOVO v1.1 — BENEFICIÁRIOS PME POR FAIXA ETÁRIA
   ========================================================= */

.age-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.age-section-heading small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.45;
}

#beneficiary-total-badge {
    flex-shrink: 0;
    padding: 7px 10px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

#individual-quantity-field.is-hidden {
    display: none;
}

.beneficiary-ages.is-pme {
    gap: 7px;
}

.age-band-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 9px 8px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 13px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.age-band-field.has-beneficiaries {
    background: linear-gradient(135deg, var(--primary-soft), var(--white));
    border-color: rgba(37, 99, 235, 0.24);
}

.age-band-label strong {
    display: block;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
}

.age-band-label span {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 600;
}

.age-band-control {
    display: grid;
    grid-template-columns: 31px 48px 31px;
    align-items: center;
    gap: 5px;
}

.age-band-control button {
    width: 31px;
    height: 31px;
    color: var(--primary);
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 9px;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.age-band-control button:hover:not(:disabled) {
    background: var(--primary-soft);
    border-color: rgba(37, 99, 235, 0.32);
}

.age-band-control button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.55;
}

.age-band-control input {
    width: 48px;
    height: 31px;
    padding: 0 4px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    text-align: center;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    -moz-appearance: textfield;
    appearance: textfield;
}

.age-band-control input::-webkit-outer-spin-button,
.age-band-control input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.age-band-control input:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}

.live-plan-beneficiaries.is-grouped span {
    display: block;
}

@media (max-width: 650px) {
    .age-section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    #beneficiary-total-badge {
        align-self: flex-start;
    }

    .age-band-field {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .age-band-control {
        grid-template-columns: 36px minmax(54px, 1fr) 36px;
    }

    .age-band-control button,
    .age-band-control input {
        width: 100%;
        height: 36px;
    }
}

/* =========================================================
   PLANOVO v1.3 — AUTOCOMPLETE DE CIDADE DE MORADIA
   ========================================================= */

.city-autocomplete-field {
    position: relative;
    z-index: 20;
}

.city-autocomplete {
    position: relative;
}

.city-autocomplete input {
    width: 100%;
    min-height: 46px;
    padding: 11px 43px 11px 13px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.city-autocomplete input::placeholder {
    color: var(--text-muted);
    font-weight: 600;
}

.city-autocomplete input:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}

.city-autocomplete input[aria-invalid="true"] {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.city-autocomplete-clear {
    position: absolute;
    top: 50%;
    right: 9px;
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    transform: translateY(-50%);
    place-items: center;
    color: var(--text-muted);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.city-autocomplete-clear:hover {
    color: var(--navy);
    background: var(--surface);
}

.city-autocomplete-list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.city-autocomplete-option {
    display: block;
    width: 100%;
    padding: 10px 11px;
    color: var(--navy);
    background: transparent;
    border: 0;
    border-radius: 9px;
    text-align: left;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.city-autocomplete-option:hover,
.city-autocomplete-option.is-active {
    color: var(--primary);
    background: var(--primary-soft);
}

.city-autocomplete-empty {
    padding: 12px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.city-autocomplete mark {
    color: inherit;
    background: transparent;
    font-weight: 900;
}

@media (max-width: 650px) {
    .city-autocomplete-list {
        max-height: 220px;
    }
}


/* =========================================================
   PLANOVO v1.5 — RESPONSIVIDADE E COPARTICIPAÇÃO
   ========================================================= */

html { scroll-behavior: smooth; }
body.is-menu-open,
body.is-filter-open,
body.is-coparticipation-open { overflow: hidden; }

.mobile-menu-toggle,
.mobile-navigation,
.simulator-mobile-toolbar,
.simulator-mobile-filter-header,
.mobile-sticky-actions {
    display: none;
}

/* COPARTICIPAÇÃO — VISUAL LIMPO */
.coparticipation-action {
    width: auto;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--primary);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.coparticipation-action:hover {
    background: var(--surface);
    border-color: rgba(37, 99, 235, .3);
}

.coparticipation-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    place-items: center;
    padding: 20px;
}
.coparticipation-modal.is-open { display: grid; }
.coparticipation-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(3px);
}
.coparticipation-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(82dvh, 680px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}
.coparticipation-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid var(--border);
}
.coparticipation-heading { min-width: 0; }
.coparticipation-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.coparticipation-dialog-header h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.25rem, 4vw, 1.55rem);
    line-height: 1.2;
}
.coparticipation-dialog-header p {
    margin: 6px 0 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.coparticipation-close {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: var(--surface);
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
}
.coparticipation-content {
    overflow-y: auto;
    padding: 14px 22px 18px;
}
.coparticipation-cards {
    display: grid;
    gap: 0;
}
.coparticipation-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 52px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--border);
}
.coparticipation-card:last-child { border-bottom: 0; }
.coparticipation-card span {
    color: var(--text);
    font-size: .93rem;
    line-height: 1.35;
}
.coparticipation-card strong {
    color: var(--navy);
    font-size: .93rem;
    text-align: right;
    white-space: nowrap;
}
.coparticipation-empty {
    padding: 28px 10px;
    text-align: center;
}
.coparticipation-empty strong { color: var(--navy); }
.coparticipation-empty p { margin: 6px 0 0; color: var(--text-muted); }
.coparticipation-dialog-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}
.coparticipation-dialog-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.4;
}
.coparticipation-dialog-footer .button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 11px;
    font-size: .88rem;
}

@media (max-width: 900px) {
    .nav-links,
    .navbar-button { display: none !important; }
    .mobile-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 10px;
        border: 0;
        border-radius: 12px;
        background: #eef4fb;
    }
    .mobile-menu-toggle span { width: 100%; height: 2px; background: #10233f; border-radius: 2px; }
    .mobile-navigation { position: fixed; inset: 0; z-index: 1300; }
    .mobile-navigation.is-open { display: block; }
    .mobile-navigation-backdrop { position: absolute; inset: 0; background: rgba(8, 20, 40, .58); }
    .mobile-navigation-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(86vw, 360px);
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 18px;
        background: #fff;
        box-shadow: -14px 0 45px rgba(0,0,0,.16);
        overflow-y: auto;
    }
    .mobile-navigation-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
    .mobile-navigation-header img { max-width: 150px; max-height: 46px; object-fit: contain; }
    .mobile-navigation-header button { width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 1.65rem; }
    .mobile-navigation-panel > a:not(.button) { min-height: 48px; display: flex; align-items: center; padding: 10px 6px; font-weight: 700; color: #15263f; }

    .simulator-mobile-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
    .simulator-mobile-filter-button { min-height: 46px; border: 0; border-radius: 12px; background: #0b5ed7; color: #fff; padding: 10px 16px; font-weight: 800; }
    .simulator-mobile-result-summary { font-size: .9rem; color: #5e6a79; }
    .simulator-filter-backdrop { position: fixed; inset: 0; z-index: 1090; background: rgba(7,19,38,.6); }
    .simulator-filters {
        position: fixed !important;
        inset: 0 0 0 auto;
        z-index: 1100;
        width: min(92vw, 420px) !important;
        max-width: 100%;
        height: 100dvh;
        margin: 0 !important;
        padding: 18px !important;
        overflow-y: auto;
        background: #fff;
        transform: translateX(105%);
        transition: transform .25s ease;
        box-shadow: -18px 0 50px rgba(0,0,0,.18);
    }
    .simulator-filters.is-open { transform: translateX(0); }
    .simulator-mobile-filter-header { display: flex; align-items: center; justify-content: space-between; position: sticky; top: -18px; z-index: 3; margin: -18px -18px 18px; padding: 15px 18px; background: #fff; border-bottom: 1px solid #e8edf4; }
    .simulator-mobile-filter-header button { width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 1.6rem; }
    #aplicar-filtros-mobile { position: sticky; bottom: 0; width: 100%; min-height: 50px; margin-top: 16px; }

    .live-plan-card { grid-template-columns: 1fr !important; }
    .live-plan-price { border-left: 0 !important; border-top: 1px solid #e8edf4; padding-top: 18px; }
    .live-plan-actions { display: grid !important; grid-template-columns: 1fr !important; }
    .live-plan-actions .button,
    .live-plan-actions button { width: 100%; min-height: 46px; }

    .mobile-sticky-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 800;
        display: grid;
        grid-template-columns: .85fr 1.15fr;
        gap: 8px;
        padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        background: rgba(255,255,255,.96);
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -10px 30px rgba(0,0,0,.09);
        backdrop-filter: blur(10px);
    }
    .mobile-sticky-actions a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; text-align: center; font-weight: 800; }
    .mobile-sticky-secondary { background: #edf3fb; color: #17406f; }
    .mobile-sticky-primary { background: #0b5ed7; color: #fff; }
    body { padding-bottom: 78px; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 28px), 1200px); }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .button { width: 100%; }
    .hero-trust { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .simulator-choice-grid { grid-template-columns: 1fr !important; }
    .coparticipation-modal { padding: 0; place-items: end center; }
    .coparticipation-dialog {
        width: 100%;
        max-height: 88dvh;
        border-radius: 20px 20px 0 0;
        border-bottom: 0;
    }
    .coparticipation-dialog-header { padding: 18px 18px 15px; }
    .coparticipation-content { padding: 8px 18px 14px; }
    .coparticipation-card { min-height: 50px; padding: 11px 0; gap: 12px; }
    .coparticipation-card span,
    .coparticipation-card strong { font-size: .88rem; }
    .coparticipation-dialog-footer {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    }
    .coparticipation-dialog-footer .button { width: 100%; }
}

/* =========================================================
   CORREÇÃO VISUAL — GUIA ACIMA DOS CARDS
   O bloco explicativo repetia informações que já aparecem
   dentro dos cards e deixava a interface visualmente poluída.
   ========================================================= */

.simulator-results-guide {
    display: none !important;
}

/* Mantém um respiro equilibrado entre o aviso e a lista de planos. */
.simulator-disclaimer {
    margin-bottom: 18px;
}

.simulator-plan-list {
    margin-top: 0;
}

/* Em telas pequenas, reduz ainda mais o espaço antes do primeiro card. */
@media (max-width: 640px) {
    .simulator-disclaimer {
        margin-bottom: 14px;
    }
}

/* ROLAGEM INTERNA DOS RESULTADOS
   A rolagem fica neste contêiner; os cards preservam sua altura natural. */

.simulator-plan-scroll {
    max-height: min(720px, calc(100dvh - var(--header-height) - 70px));
    margin-top: 18px;
    padding-right: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, 0.48) rgba(226, 232, 240, 0.7);
    -webkit-overflow-scrolling: touch;
}

.simulator-plan-scroll::-webkit-scrollbar {
    width: 9px;
}

.simulator-plan-scroll::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.7);
    border-radius: 999px;
}

.simulator-plan-scroll::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.48);
    border: 2px solid rgba(226, 232, 240, 0.7);
    border-radius: 999px;
}

.simulator-plan-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.7);
}

/* Evita margem duplicada, pois o espaço agora pertence ao contêiner de rolagem. */
.simulator-plan-scroll .simulator-plan-list {
    margin-top: 0;
}

/* Mantém estados vazios fora da área rolável com espaçamento normal. */
.simulator-empty {
    margin-top: 18px;
}

@media (max-width: 980px) {
    .simulator-plan-scroll {
        max-height: min(680px, calc(100dvh - 40px));
    }
}

@media (max-width: 650px) {
    .simulator-plan-scroll {
        max-height: min(620px, calc(100dvh - 28px));
        margin-top: 14px;
        padding-right: 5px;
    }
}

/* DIFERENCIAIS COMERCIAIS DOS PLANOS */

.plan-positioning {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 11px;
}

.plan-positioning-badge,
.plan-positioning-network {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.plan-positioning-badge {
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.plan-positioning-network {
    color: var(--secondary-dark);
    background: var(--secondary-soft);
    border: 1px solid rgba(34, 197, 94, 0.13);
}

.live-plan-product-summary {
    max-width: 620px;
    margin: -1px 0 7px;
    color: var(--navy-soft);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.55;
}

.button-plan-details {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 12px;
    color: var(--primary);
    background: var(--primary-soft);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.button-plan-details:hover {
    border-color: rgba(37, 99, 235, 0.38);
    background: #e5efff;
    transform: translateY(-1px);
}

.button-plan-details[aria-expanded="true"] {
    color: var(--navy-soft);
    background: var(--surface);
    border-color: var(--border);
}

.plan-product-details {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    margin-top: -5px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
}

.plan-product-details[hidden] {
    display: none;
}

.plan-product-details-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.75fr);
    gap: 18px;
}

.plan-product-details-label,
.plan-product-context > span {
    display: block;
    margin-bottom: 9px;
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan-product-details ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.plan-product-details li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--navy-soft);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.45;
}

.plan-product-details li > span {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    color: var(--secondary-dark);
    background: var(--secondary-soft);
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
}

.plan-product-context {
    align-self: start;
    padding: 13px 14px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 14px;
    background: var(--primary-soft);
}

.plan-product-context p {
    color: var(--navy-soft);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.5;
}

.plan-product-disclaimer {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.45;
}

.live-plan-card.details-open {
    border-color: rgba(37, 99, 235, 0.24);
}

@media (max-width: 760px) {
    .plan-product-details-grid {
        grid-template-columns: 1fr;
    }

    .plan-product-details ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .plan-positioning {
        margin-bottom: 9px;
    }

    .live-plan-product-summary {
        font-size: 11px;
    }

    .button-plan-details {
        width: 100%;
    }
}


/* =========================================================
   PLANOVO — HUD MOBILE REESTRUTURADO
   ========================================================= */

.simulator-mobile-toolbar-top,
.simulator-mobile-profile-chips,
.simulator-mobile-drag-handle {
    display: none;
}

@media (max-width: 900px) {
    :root {
        --mobile-hud-height: 76px;
    }

    html {
        scroll-padding-top: 74px;
    }

    body {
        padding-bottom: calc(var(--mobile-hud-height) + env(safe-area-inset-bottom));
    }

    body.is-filter-open,
    body.is-menu-open,
    body.is-network-modal-open,
    body.is-coparticipation-modal-open {
        overflow: hidden;
        touch-action: none;
    }

    .quote-simulator-section {
        padding-left: 0;
        padding-right: 0;
    }

    .quote-simulator-section > .container {
        width: 100%;
    }

    .plans-heading {
        width: min(calc(100% - 32px), 720px);
        margin-left: auto;
        margin-right: auto;
    }

    .simulator-shell {
        width: 100%;
        padding: 0 16px 22px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .simulator-mobile-toolbar {
        position: sticky;
        top: calc(var(--header-height) - 1px);
        z-index: 45;
        display: block;
        margin: 0 -16px 16px;
        padding: 10px 16px 11px;
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 9px 24px rgba(15, 23, 42, 0.07);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .simulator-mobile-toolbar-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .simulator-mobile-filter-button,
    .simulator-mobile-result-summary {
        min-height: 46px;
        border-radius: 14px;
        font: inherit;
        cursor: pointer;
    }

    .simulator-mobile-filter-button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 9px;
        padding: 0 14px;
        border: 1px solid rgba(37, 99, 235, 0.18);
        color: var(--primary-dark);
        background: var(--primary-soft);
        font-size: 14px;
        font-weight: 800;
        box-shadow: none;
    }

    .simulator-mobile-filter-button svg,
    .simulator-mobile-result-summary svg,
    .mobile-hud-button svg,
    #simulator-mobile-filter-close svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    .simulator-mobile-filter-button > strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        margin-left: auto;
        padding: 0 6px;
        border-radius: 999px;
        color: #fff;
        background: var(--primary);
        font-size: 11px;
        line-height: 1;
    }

    .simulator-mobile-result-summary {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        padding: 0 8px 0 12px;
        border: 0;
        color: var(--navy);
        background: transparent;
        white-space: nowrap;
    }

    .simulator-mobile-result-summary strong {
        color: var(--primary);
        font-size: 18px;
        font-weight: 850;
    }

    .simulator-mobile-result-summary span {
        color: var(--text-light);
        font-size: 13px;
        font-weight: 700;
    }

    .simulator-mobile-result-summary svg {
        width: 18px;
        height: 18px;
        margin-left: 1px;
    }

    .simulator-mobile-profile-chips {
        display: flex;
        gap: 7px;
        margin-top: 9px;
        padding-bottom: 1px;
        overflow-x: auto;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .simulator-mobile-profile-chips::-webkit-scrollbar {
        display: none;
    }

    .simulator-mobile-profile-chips span {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        min-height: 29px;
        padding: 0 10px;
        border: 1px solid var(--border);
        border-radius: 999px;
        color: var(--text-light);
        background: var(--surface);
        font-size: 11px;
        font-weight: 750;
        white-space: nowrap;
    }

    .simulator-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1390;
        background: rgba(2, 10, 24, 0.62);
        opacity: 0;
        transition: opacity 0.24s ease;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .simulator-filter-backdrop:not([hidden]) {
        opacity: 1;
    }

    .simulator-filters {
        position: fixed !important;
        inset: auto 0 0 !important;
        z-index: 1400;
        width: 100% !important;
        max-width: none !important;
        height: min(92dvh, 860px);
        margin: 0 !important;
        padding: 0 18px calc(98px + env(safe-area-inset-bottom)) !important;
        overflow-x: hidden;
        overflow-y: auto;
        border: 0 !important;
        border-radius: 24px 24px 0 0 !important;
        background: #fff;
        box-shadow: 0 -24px 70px rgba(2, 10, 24, 0.24);
        transform: translateY(105%);
        transition: transform 0.3s cubic-bezier(.22, .8, .28, 1);
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .simulator-filters.is-open {
        transform: translateY(0);
    }

    .simulator-mobile-filter-header {
        position: sticky;
        top: 0;
        z-index: 8;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        min-height: 82px;
        margin: 0 -18px 18px;
        padding: 17px 18px 12px;
        border-bottom: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .simulator-mobile-drag-handle {
        position: absolute;
        top: 8px;
        left: 50%;
        display: block;
        width: 42px;
        height: 5px;
        border-radius: 999px;
        background: #d5dce6;
        transform: translateX(-50%);
    }

    .simulator-mobile-filter-header > div {
        padding-top: 7px;
    }

    .simulator-mobile-filter-header span:not(.simulator-mobile-drag-handle) {
        display: block;
        margin-bottom: 2px;
        color: var(--text-light);
        font-size: 11px;
        font-weight: 750;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .simulator-mobile-filter-header strong {
        color: var(--navy);
        font-size: 18px;
    }

    #simulator-mobile-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-top: 7px;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 50%;
        color: var(--navy);
        background: var(--surface);
    }

    .simulator-filter-heading {
        display: none;
    }

    .simulator-field {
        margin-bottom: 18px;
    }

    .simulator-field label,
    .simulator-label {
        font-size: 13px;
        font-weight: 800;
    }

    .simulator-field select,
    .simulator-field input[type="text"],
    .simulator-field input[type="number"] {
        min-height: 52px;
        font-size: 16px;
    }

    .simulator-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .simulator-choice {
        min-height: 50px;
    }

    .simulator-profile-summary {
        margin-bottom: 0;
    }

    .simulator-mobile-filter-actions {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1410;
        display: grid;
        grid-template-columns: minmax(110px, .72fr) minmax(0, 1.28fr);
        gap: 10px;
        padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -12px 34px rgba(15, 23, 42, 0.1);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .simulator-mobile-filter-actions .button,
    #aplicar-filtros-mobile {
        position: static;
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: 0 14px;
        border-radius: 14px;
    }

    .simulator-results {
        padding: 0 !important;
        overflow: visible;
    }

    .simulator-results-heading {
        position: relative;
        align-items: flex-end;
        margin-bottom: 14px;
        padding: 0 2px;
    }

    .simulator-results-heading h3 {
        font-size: 22px;
    }

    .results-count {
        min-width: 66px;
        padding: 9px 11px;
        border-radius: 14px;
    }

    .simulator-disclaimer {
        padding: 13px 14px;
        border-radius: 15px;
    }

    .simulator-disclaimer p {
        font-size: 12px;
        line-height: 1.55;
    }

    .simulator-plan-scroll {
        max-height: none !important;
        margin-top: 14px;
        padding-right: 0;
        overflow: visible !important;
    }

    .simulator-plan-list {
        gap: 14px;
    }

    .live-plan-card {
        border-radius: 18px !important;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07) !important;
    }

    .live-plan-main {
        padding: 18px 17px !important;
    }

    .live-plan-price {
        padding: 16px 17px 18px !important;
        background: linear-gradient(180deg, #fbfdff, #f6f9ff);
    }

    .live-plan-price strong {
        font-size: clamp(27px, 8vw, 34px) !important;
    }

    .live-plan-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .live-plan-actions > * {
        min-width: 0;
        min-height: 48px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 12px !important;
    }

    .live-plan-actions > a:last-child:nth-child(odd),
    .live-plan-actions > button:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .mobile-sticky-actions {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 850;
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr) 56px;
        gap: 8px;
        min-height: var(--mobile-hud-height);
        padding: 9px max(12px, env(safe-area-inset-right))
            calc(9px + env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
        border-top: 1px solid rgba(226, 232, 240, 0.95);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .mobile-hud-button {
        position: relative;
        min-width: 0;
        min-height: 54px;
        border: 0;
        border-radius: 15px;
        font: inherit;
        cursor: pointer;
    }

    .mobile-hud-filter {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--navy-soft);
        background: var(--surface);
        border: 1px solid var(--border);
        font-size: 10px;
        font-weight: 800;
    }

    .mobile-hud-filter svg {
        width: 20px;
        height: 20px;
    }

    .mobile-hud-filter > strong {
        position: absolute;
        top: 4px;
        right: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        color: #fff;
        background: var(--primary);
        font-size: 9px;
    }

    .mobile-hud-results {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 15px;
        color: #fff;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        box-shadow: 0 9px 22px rgba(37, 99, 235, 0.24);
        text-align: left;
    }

    .mobile-hud-results > span {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .mobile-hud-results small {
        overflow: hidden;
        font-size: 10px;
        font-weight: 650;
        line-height: 1.15;
        opacity: 0.82;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-hud-results strong {
        font-size: 18px;
        line-height: 1.12;
    }

    .mobile-hud-results svg {
        width: 20px;
        height: 20px;
    }

    .mobile-hud-whatsapp {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: #20b95b;
        box-shadow: 0 8px 20px rgba(32, 185, 91, 0.22);
    }

    .mobile-hud-whatsapp svg {
        width: 25px;
        height: 25px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-sticky-actions.is-hidden {
        transform: translateY(calc(100% + 20px));
        pointer-events: none;
    }

    .mobile-sticky-actions {
        transition: transform 0.25s ease;
    }
}

@media (max-width: 420px) {
    .simulator-shell {
        padding-right: 12px;
        padding-left: 12px;
    }

    .simulator-mobile-toolbar {
        margin-right: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .simulator-mobile-result-summary span {
        display: none;
    }

    .simulator-mobile-filter-actions {
        grid-template-columns: 1fr 1.35fr;
        padding-right: 12px;
        padding-left: 12px;
    }

    .live-plan-actions {
        grid-template-columns: 1fr !important;
    }

    .live-plan-actions > * {
        grid-column: auto !important;
    }

    .mobile-sticky-actions {
        grid-template-columns: 68px minmax(0, 1fr) 52px;
    }
}

/* AJUSTES FINAIS DE ACESSIBILIDADE E COMPATIBILIDADE */

.hero::before,
.why-planovo::before,
.how-it-works::before,
.plans-section::before {
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 16%,
        #000 76%,
        transparent
    );
    mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 16%,
        #000 76%,
        transparent
    );
}

.consultation-panel,
.floating-info,
.how-step,
.how-summary {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.75);
    outline-offset: 3px;
}

.button:active,
.simulator-choice:active,
.quantity-control button:active {
    transform: translateY(0);
}

button:disabled,
input:disabled,
select:disabled {
    cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* REDE DE ATENDIMENTO — PLANOVO */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.network-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(205px, 250px);
    gap: 10px;
}

.network-city-filter {
    position: relative;
    display: block;
}

.network-city-filter > span {
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 14px;
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    pointer-events: none;
}

.network-city-filter select {
    width: 100%;
    min-height: 50px;
    padding: 17px 38px 3px 13px;
    color: var(--navy);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.network-city-filter select:focus {
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.network-source-note {
    margin: 0;
    padding: 11px 30px 0;
    color: var(--text-muted);
    background: #fbfdff;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.5;
}

.network-place {
    min-width: 0;
}

.network-place-content {
    flex: 1;
}

.network-empty {
    flex: 1;
    min-height: 210px;
}

.network-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 30px;
}

.network-footer-copy {
    min-width: 0;
}

.network-footer-copy strong {
    display: block;
    margin-bottom: 3px;
    color: #76520c;
    font-size: 10px;
    font-weight: 850;
}

.network-dialog-footer .network-footer-copy p {
    max-width: 540px;
    font-size: 9px;
}

.network-footer-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.network-copy-registration,
.network-consultant-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 10px;
    font: inherit;
    font-size: 9px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.network-copy-registration {
    color: #76520c;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #ead596;
}

.network-copy-registration.copied {
    color: #08783f;
    background: #eafaf1;
    border-color: #a8e5c1;
}

.network-consultant-link {
    color: var(--white);
    background: #16a34a;
    border: 1px solid #16a34a;
    box-shadow: 0 7px 18px rgba(22, 163, 74, 0.2);
}

.network-copy-registration:hover,
.network-consultant-link:hover {
    transform: translateY(-1px);
}

.network-consultant-link:hover {
    background: #12813c;
    border-color: #12813c;
}

@media (max-width: 760px) {
    .network-filter-grid {
        grid-template-columns: 1fr;
    }

    .network-source-note {
        padding-right: 20px;
        padding-left: 20px;
    }

    .network-dialog-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 11px;
    }

    .network-footer-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .network-copy-registration,
    .network-consultant-link {
        width: 100%;
        min-height: 42px;
    }
}

/* RODAPÉ E TRANSPARÊNCIA */
.site-footer {
    color: #cbd5e1;
    background: #0f172a;
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(250px, 1.35fr) repeat(2, minmax(180px, 0.65fr));
    gap: 42px;
    padding-top: 54px;
    padding-bottom: 38px;
}

.site-footer-brand strong {
    display: block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 850;
}

.site-footer-brand p,
.site-footer-column a,
.site-footer-column button,
.site-footer-bottom p {
    font-size: 13px;
    line-height: 1.65;
}

.site-footer-brand p {
    max-width: 520px;
    margin: 0;
    color: #94a3b8;
}

.site-footer-column strong {
    display: block;
    margin-bottom: 13px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.site-footer-column a,
.site-footer-column button {
    display: block;
    width: fit-content;
    margin: 8px 0 0;
    border: 0;
    padding: 0;
    background: transparent;
    color: #cbd5e1;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.site-footer-column a:hover,
.site-footer-column button:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer-column a:focus-visible,
.site-footer-column button:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 4px;
    border-radius: 4px;
}

.site-footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding-top: 22px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.site-footer-bottom p {
    max-width: 860px;
    margin: 0;
    color: #94a3b8;
}

.site-footer-bottom span {
    flex-shrink: 0;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 820px) {
    .site-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .site-footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 42px;
    }

    .site-footer-brand {
        grid-column: auto;
    }

    .site-footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}