/* =====================================================================
   GestorAdv Landing — redesign visual premium (CSS only)
   Brief: CURSOR-GESTORADV-REDESIGN
   ===================================================================== */

/* Tokens e fundo escuro — somente página principal */
body.inst-page--home {
    --ga-bg-primary: #06172d;
    --ga-bg-secondary: #0b2240;
    --ga-surface: #102b4f;
    --ga-surface-elevated: #14345c;
    --ga-primary: #2488ff;
    --ga-primary-light: #5eaeff;
    --ga-primary-hover: #1a6fd9;
    --ga-success: #29d3a2;
    --ga-text-primary: #f7faff;
    --ga-text-secondary: #a9b9cd;
    --ga-border: rgba(132, 181, 255, 0.16);
    --ga-border-strong: rgba(132, 181, 255, 0.28);
    --ga-shadow: 0 24px 70px rgba(0, 10, 28, 0.34);
    --ga-dark: #06172d;
    --ga-dark-2: #0b2240;
    --ga-bg: #06172d;
    --ga-white: #ffffff;
    --ga-light: #f7faff;
    --ga-glass: rgba(255, 255, 255, 0.04);
    --ga-text: #f7faff;
    --ga-muted: #a9b9cd;
    --ga-positive: #29d3a2;
    --inst-navy: #06172d;
    --inst-navy-mid: #0b2240;
    --inst-accent: #2488ff;
    --inst-accent-bright: #5eaeff;
    --inst-accent-hover: #1a6fd9;
    --inst-accent-soft: rgba(36, 136, 255, 0.14);
    --inst-bg: #06172d;
    --inst-bg-elevated: #0b2240;
    --inst-bg-card: rgba(255, 255, 255, 0.04);
    --inst-border: rgba(132, 181, 255, 0.16);
    --inst-text: #f7faff;
    --inst-text-muted: #a9b9cd;
    --inst-radius: 16px;
    --inst-radius-lg: 20px;
    --inst-header-h: 80px;
    --inst-shadow: var(--ga-shadow);
    --inst-shadow-lg: 0 28px 80px rgba(0, 10, 28, 0.4);
    --inst-space-1: 8px;
    --inst-space-2: 16px;
    --inst-space-3: 24px;
    --inst-space-4: 32px;
    --inst-space-5: 48px;
    --inst-space-6: 64px;
    --inst-space-7: 96px;
    background:
        radial-gradient(circle at 88% 0%, rgba(36, 136, 255, 0.16), transparent 42%),
        radial-gradient(circle at 8% 88%, rgba(11, 34, 64, 0.9), transparent 48%),
        var(--ga-bg-primary);
    color: var(--ga-text-primary);
    font-family: Inter, system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
    padding-top: 0;
}

body.inst-page--home::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.inst-page--home > *:not(.skip-link):not(.inst-header):not(.ga-lp-topbar) {
    position: relative;
    z-index: 1;
}

/* Topbar e header precisam permanecer fixed no viewport */
body.inst-page--home > .ga-lp-topbar,
body.inst-page--home > .inst-header {
    position: fixed;
    z-index: 100;
}

body.inst-page--home > .ga-lp-topbar {
    z-index: 110;
}

body.inst-page--home > .skip-link {
    position: fixed;
    z-index: 100000;
}

.inst-container {
    width: min(1200px, calc(100% - var(--inst-container-pad, 24px) * 2));
}

.inst-page--home .inst-container {
    width: min(1440px, calc(100% - var(--inst-container-pad, 24px) * 2));
}

/* --- Botões premium --- */
.inst-page--home .botao {
    border-radius: 12px;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.inst-page--home .botao-primario {
    background: linear-gradient(135deg, #5eaeff 0%, #2488ff 55%, #1a6fd9 100%);
    border-color: transparent;
    color: #fff;
    box-shadow:
        0 10px 28px rgba(36, 136, 255, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.inst-page--home .botao-primario:hover {
    background: linear-gradient(135deg, #74b8ff 0%, #2488ff 50%, #1860c4 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
        0 14px 32px rgba(36, 136, 255, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.inst-page--home .botao-secundario {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--ga-text);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.inst-page--home .botao-secundario:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
    transform: translateY(-1px);
}

.inst-page--home .botao-accent {
    background: rgba(47, 128, 237, 0.14);
    color: #9FCBFF;
    border-color: rgba(47, 128, 237, 0.28);
}

.inst-page--home .botao-accent:hover {
    background: rgba(47, 128, 237, 0.22);
    color: #fff;
}

/* --- Header home: transparente no hero; branco via .is-scrolled --- */
.inst-page--home .inst-header,
.inst-header--home {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    height: var(--inst-header-h);
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.inst-page--home .inst-container--nav {
    width: min(1200px, calc(100% - 40px));
}

.inst-page--home .inst-marca .marca-gestor-adv__img--logo,
.inst-header--home .marca-gestor-adv__img--logo {
    height: 58px;
    max-width: 280px;
}

.inst-page--home .inst-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.inst-page--home .inst-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 1;
}

.inst-page--home .inst-nav-links__main {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.inst-page--home .inst-nav-links__acoes {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.inst-nav-mais {
    position: relative;
}

.inst-nav-mais__btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 8px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: rgba(247, 250, 255, 0.66);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.inst-nav-mais__btn:hover,
.inst-nav-mais__btn[aria-expanded="true"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.inst-nav-mais__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 240px;
    width: max-content;
    max-width: min(300px, calc(100vw - 24px));
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--ga-border);
    background: #0b2240;
    box-shadow: var(--ga-shadow);
    z-index: 120;
}

.inst-nav-mais__menu a,
.inst-nav-mais__menu a:not(.botao) {
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: 10px 12px !important;
    border-radius: 10px;
    color: var(--ga-text-secondary) !important;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.inst-nav-mais__menu a:hover,
.inst-nav-mais__menu a.ativo {
    color: #fff !important;
    background: rgba(36, 136, 255, 0.14) !important;
}

.inst-nav-links a:not(.botao) {
    color: rgba(247, 250, 255, 0.66);
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.inst-nav-links a:not(.botao):hover,
.inst-nav-links a:not(.botao).ativo {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.inst-nav-cta {
    margin-left: 4px !important;
    padding: 10px 18px !important;
    font-size: 0.875rem !important;
    border-radius: 12px !important;
    background: #2488FF !important;
    border-color: #2488FF !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(36, 136, 255, 0.42) !important;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
}

.inst-nav-cta:hover {
    transform: translateY(-1px);
    background: #1A6FD9 !important;
    border-color: #1A6FD9 !important;
    box-shadow: 0 12px 28px rgba(26, 111, 217, 0.48) !important;
    color: #fff !important;
}

.inst-nav-toggle {
    min-width: 44px;
    min-height: 44px;
}

.inst-nav-toggle span {
    background: #f7faff;
}

/* --- Hero --- */
.inst-hero {
    padding: 80px 0 96px;
    border-radius: 0 0 40px 40px;
    background:
        radial-gradient(circle at 92% 12%, rgba(47, 128, 237, 0.28), transparent 42%),
        radial-gradient(circle at 12% 78%, rgba(16, 45, 87, 0.75), transparent 50%),
        linear-gradient(165deg, #0A2348 0%, #06172D 48%, #04101F 100%);
    overflow: hidden;
}

.inst-hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -30% 40%;
    width: min(680px, 80vw);
    height: min(480px, 60vw);
    background: radial-gradient(circle, rgba(47, 128, 237, 0.22), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
}

.inst-hero-grid {
    gap: 64px;
    align-items: center;
}

.inst-badge {
    margin-bottom: 24px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(47, 128, 237, 0.35);
    background: rgba(47, 128, 237, 0.12);
    color: #B7D7FF;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.inst-hero .inst-badge {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(237, 245, 255, 0.9);
}

.inst-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.048em;
    font-weight: 800;
    color: #fff;
}

.inst-hero-lead {
    margin: 0 0 32px;
    max-width: 44ch;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(237, 245, 255, 0.7);
    font-weight: 400;
}

.inst-hero-actions {
    gap: 16px;
    margin-bottom: 32px;
}

.inst-hero-actions .botao-lg {
    min-height: 54px;
    padding: 16px 28px;
    font-size: 1.02rem;
    border-radius: 16px;
}

.inst-hero .botao-primario {
    background: linear-gradient(135deg, #74B2F8 0%, #2F80ED 48%, #1B6FD9 100%);
    color: #fff;
    border-color: transparent;
    box-shadow:
        0 14px 40px rgba(47, 128, 237, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.inst-hero .botao-primario:hover {
    transform: translateY(-2px) scale(1.02);
    color: #fff;
    box-shadow:
        0 18px 48px rgba(47, 128, 237, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.inst-hero .botao-secundario {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
    color: #EDF5FF;
}

.inst-hero-social span {
    color: rgba(237, 245, 255, 0.58);
}

.inst-hero-avatars img {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero product frame */
.inst-hero-visual {
    padding-bottom: 40px;
    filter: drop-shadow(0 30px 80px rgba(47, 128, 237, 0.22));
}

.inst-hero-photo {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 70% 20%, rgba(47, 128, 237, 0.25), transparent 50%),
        #0A2348;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.35s ease;
}

.inst-hero-visual:hover .inst-hero-photo {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.inst-hero-photo::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: 55%;
    height: 55%;
    background: radial-gradient(circle, rgba(47, 128, 237, 0.35), transparent 70%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 1;
}

.inst-hero-photo img {
    position: relative;
    z-index: 0;
    object-fit: cover;
    object-position: center;
}

/* Metric cards — grid alinhado entre os 3 cards */
.inst-hero-metrics {
    gap: 12px;
    left: 20px;
    right: 20px;
    align-items: stretch;
}

.inst-metric-card {
    position: relative;
    overflow: hidden;
    padding: 14px 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    display: grid;
    grid-template-rows: 32px 2.5em auto auto;
    justify-items: center;
    align-items: center;
    text-align: center;
    row-gap: 6px;
    min-width: 0;
}

.inst-metric-card__icon {
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9FCBFF;
    background: rgba(47, 128, 237, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.inst-metric-card__icon .inst-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 0;
}

.inst-metric-card__icon svg {
    width: 16px !important;
    height: 16px !important;
    display: block;
    flex-shrink: 0;
}

.inst-metric-card__label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    color: rgba(237, 245, 255, 0.62);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
}

.inst-metric-card__value {
    display: block;
    margin: 0;
    color: #fff;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.inst-metric-card__trend {
    display: block;
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2;
    white-space: nowrap;
}

.inst-metric-card__trend--up {
    color: var(--ga-positive);
}

.inst-metric-card__trend--up::before {
    content: "▲ ";
    font-size: 0.65em;
}

.inst-metric-card__trend--info {
    color: #5BA3F5;
}

.inst-metric-card__trend--info::before {
    content: "● ";
    font-size: 0.7em;
}

/* --- Prova / seções --- */
.inst-prova {
    padding: 48px 0 16px;
}

.inst-prova-inner {
    padding: 24px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.inst-prova-copy strong {
    color: #fff;
    font-size: 1.05rem;
}

.inst-prova-copy p {
    color: var(--ga-muted);
}

.inst-secao {
    padding-block: var(--inst-section-y, 96px);
    position: relative;
}

.inst-secao::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(720px, 80vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.inst-secao-header {
    max-width: var(--inst-content-max, 720px);
    margin: 0 auto var(--inst-section-gap, 48px);
}

.inst-secao-header h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #fff;
}

.inst-secao-header p {
    color: var(--ga-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.inst-secao-escura {
    background:
        radial-gradient(circle at 20% 0%, rgba(47, 128, 237, 0.1), transparent 45%),
        rgba(255, 255, 255, 0.02);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

/* Cards */
.inst-card {
    padding: 28px 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.inst-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 128, 237, 0.35);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(47, 128, 237, 0.12);
}

.inst-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    color: #9FCBFF;
    background: rgba(47, 128, 237, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.inst-card-icon .inst-icon,
.inst-card-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.inst-card h3 {
    color: #fff;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.inst-card p {
    color: var(--ga-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

/* Dores — ícones SVG do produto */
.inst-card--dor {
    position: relative;
    overflow: hidden;
}

.inst-card--dor .inst-card-icon {
    color: #9FCBFF;
    background: rgba(47, 128, 237, 0.14);
}

.inst-grid-3 > .inst-card--dor:nth-child(2) .inst-card-icon {
    color: #FBBF24;
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.22);
}

.inst-grid-3 > .inst-card--dor:nth-child(3) .inst-card-icon {
    color: #34D399;
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.22);
}

.inst-card--passo {
    text-align: center;
}

.inst-passo-num {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #5BA3F5, #2F80ED);
    box-shadow: 0 10px 24px rgba(47, 128, 237, 0.35);
}

/* Lifestyle */
.inst-lifestyle-copy {
    padding: 64px;
    background:
        radial-gradient(circle at 100% 0%, rgba(47, 128, 237, 0.22), transparent 50%),
        linear-gradient(160deg, #0A2348 0%, #06172D 100%);
    color: var(--ga-text);
}

.inst-lifestyle-copy h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    letter-spacing: -0.035em;
}

.inst-lifestyle-copy p {
    color: var(--ga-muted);
}

.inst-lifestyle-foto {
    background: #0A2348;
}

.inst-lifestyle-foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6, 23, 45, 0.15), rgba(47, 128, 237, 0.18)),
        radial-gradient(circle at 30% 20%, rgba(47, 128, 237, 0.2), transparent 55%);
    pointer-events: none;
    mix-blend-mode: soft-light;
}

/* Features — cards claros com texto escuro (legível) */
.inst-feature {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.inst-feature-num {
    color: #2F80ED;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.inst-feature-copy h3 {
    color: #0A1A2E;
    letter-spacing: -0.03em;
}

.inst-feature-copy p,
.inst-feature-list {
    color: #5B6B81;
}

.inst-feature-media,
.inst-feature-panel {
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #F4F7FB;
    box-shadow: none;
    overflow: hidden;
}

.inst-feature-chip {
    background: #EDF5FF;
    border: 1px solid #D6E6FF;
    color: #0A1A2E;
    border-radius: 12px;
}

/* Planos */
.inst-plano {
    padding: 32px 28px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
}

.inst-plano:hover {
    border-color: rgba(47, 128, 237, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.inst-plano.destaque {
    background: linear-gradient(180deg, rgba(47, 128, 237, 0.16), rgba(255, 255, 255, 0.03));
    border-color: rgba(47, 128, 237, 0.45);
    box-shadow:
        0 0 0 1px rgba(47, 128, 237, 0.2),
        0 24px 60px rgba(0, 0, 0, 0.24);
}

.inst-plano h3,
.inst-plano-preco {
    color: #fff;
}

.inst-plano-publico,
.inst-plano-moeda {
    color: #5BA3F5;
}

.inst-plano-trial,
.inst-plano-lista,
.inst-plano-periodo {
    color: var(--ga-muted);
}

.inst-plano-tag {
    background: linear-gradient(135deg, #5BA3F5, #2F80ED);
}

.inst-plano-tag--alt {
    background: linear-gradient(135deg, #1E3A5F, #0A1A2E);
}

/* CTA boxes */
.inst-cta {
    padding-block: var(--inst-section-y, 96px);
}

.inst-cta-box,
.inst-cta-box--urgencia {
    border-radius: 32px;
    padding: 64px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 85% 10%, rgba(47, 128, 237, 0.28), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(16, 45, 87, 0.8), transparent 50%),
        linear-gradient(145deg, #0A2348 0%, #06172D 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    color: var(--ga-text);
}

.inst-cta-box h2 {
    color: #fff;
    letter-spacing: -0.035em;
}

.inst-cta-box p {
    color: var(--ga-muted);
}

.inst-cta-box .botao-primario {
    background: linear-gradient(135deg, #74B2F8, #2F80ED);
    color: #fff;
    border-color: transparent;
}

.inst-cta-box .botao-secundario {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
    color: #EDF5FF;
}

/* FAQ */
.inst-faq-item {
    border-radius: 20px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.inst-faq-item:hover {
    border-color: rgba(47, 128, 237, 0.3);
    transform: translateY(-2px);
}

.inst-faq-item h3 {
    color: #fff;
    font-weight: 700;
}

.inst-faq-item p {
    color: var(--ga-muted);
}

/* Page heroes internos: não aplicar tema escuro aqui (páginas internas são claras) */

/* Footer */
.inst-footer {
    margin-top: 48px;
    padding: 64px 0 32px;
    background: #04101F;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(237, 245, 255, 0.62);
}

.inst-footer h4 {
    color: #fff;
}

.inst-footer a {
    color: rgba(237, 245, 255, 0.58);
}

.inst-footer a:hover {
    color: #5BA3F5;
}

.inst-footer-marca p,
.inst-footer-rodape {
    color: rgba(237, 245, 255, 0.42);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Paginação / misc light remnants */
.inst-paginacao a,
.inst-paginacao span,
.inst-mini-card,
.inst-hero-panel {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--ga-muted);
}

.inst-paginacao a.ativo,
.inst-paginacao a:hover {
    background: rgba(47, 128, 237, 0.16);
    border-color: rgba(47, 128, 237, 0.35);
    color: #9FCBFF;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
    .inst-hero-grid > div:first-child {
        animation: ga-premium-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .inst-hero-visual {
        animation: ga-premium-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
    }

    .inst-card,
    .inst-plano,
    .inst-faq-item {
        transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    }
}

@keyframes ga-premium-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 900px) {
    .inst-page--home .inst-marca .marca-gestor-adv__img--logo,
    .inst-header--home .marca-gestor-adv__img--logo {
        height: 48px;
        max-width: min(240px, 62vw);
    }

    .inst-page--home .inst-container--nav,
    .inst-container--nav {
        width: min(100% - 28px, 1320px);
    }

    .inst-header--home .inst-nav,
    .inst-page--home .inst-nav {
        gap: 12px;
        align-items: center;
    }

    .inst-page--home .inst-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .inst-page--home .botao-secundario {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(237, 245, 255, 0.28);
        color: #EDF5FF;
    }

    .inst-hero {
        padding: 40px 0 56px;
        border-radius: 0 0 28px 28px;
    }

    .inst-hero-photo {
        transform: none;
    }

    .inst-hero-visual:hover .inst-hero-photo {
        transform: none;
    }

    .inst-hero-metrics {
        left: 12px;
        right: 12px;
        gap: 8px;
    }

    .inst-metric-card {
        padding: 12px 6px 10px;
        row-gap: 4px;
        grid-template-rows: 28px 2.4em auto auto;
    }

    .inst-metric-card__icon {
        width: 28px;
        height: 28px;
    }

    .inst-metric-card__icon .inst-icon,
    .inst-metric-card__icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .inst-metric-card__label {
        font-size: 0.58rem;
    }

    .inst-metric-card__value {
        font-size: 1.05rem;
    }

    .inst-metric-card__trend {
        font-size: 0.6rem;
        white-space: normal;
        text-align: center;
    }

    .inst-nav-links {
        background: rgba(6, 23, 45, 0.98) !important;
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }

    .inst-nav-links a:not(.botao) {
        color: rgba(237, 245, 255, 0.82) !important;
    }

    .inst-feature {
        padding: 22px 18px;
    }

    .inst-feature-copy .botao {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    .inst-feature-media {
        margin-top: 16px;
        aspect-ratio: 16 / 10;
    }

    .inst-secao-cta .botao-secundario {
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(237, 245, 255, 0.32) !important;
        color: #EDF5FF !important;
    }

    .inst-lifestyle-copy {
        padding: 40px 28px;
    }

    .inst-cta-box,
    .inst-cta-box--urgencia {
        padding: 40px 24px;
        border-radius: 24px;
    }
}
