/* =============================================
   ZARDIN DESIGN SYSTEM v3.0
   Enterprise Visual Platform — Reengineered
   ============================================= */

/* --- DESIGN TOKENS --- */
:root {
    /* Gold — Institucional / CTAs */
    --gold-main: #C6A86A;
    --gold-hover: #A98E57;
    --gold-light: #E0CFA3;

    /* Blue — Wealth & Legados (Universe A) */
    --blue-main: #2A5F9E;
    --blue-hover: #1F4B7E;
    --blue-accent: #4A7FC2;

    /* Green — Organização & Performance (Universe B1) */
    --green-main: #2F6F68;
    --green-hover: #255B55;
    --green-accent: #4C9089;

    /* Plum — Economia Estratégica (Universe B2) */
    --plum-main: #5B3A5E;
    --plum-hover: #452C48;
    --plum-accent: #7A5A7D;

    /* Neutrals */
    --neutral-bg: #F6F4EF;
    --neutral-alt: #FBFAF7;
    --input-bg: #ECE9E2;
    --divider: #E6E2DA;

    --text-primary: #242424;
    --text-secondary: #666666;
    --white: #FFFFFF;

    /* Active-universe alias (overridden by body class) */
    --primary: var(--text-primary);
    --primary-hover: #111111;
    --accent: var(--gold-main);

    /* Typography */
    --ff-display: 'Playfair Display', 'Georgia', serif;
    --ff-body: 'Inter', 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --ff-logo: 'Outfit', 'Inter', sans-serif;

    --fs-hero: clamp(2.75rem, 5.5vw, 4.5rem);
    --fs-h1: clamp(2.25rem, 4.5vw, 3rem);
    --fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
    --fs-h3: 1.75rem;
    --fs-body: 1.0625rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.75rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Spacing */
    --sp-xs: 8px;
    --sp-sm: 16px;
    --sp-md: 32px;
    --sp-lg: 64px;
    --sp-xl: 96px;
    --sp-2xl: 128px;

    /* Grid */
    --container: 1280px;
    --grid-gap: 32px;
    --margin-lateral: 32px;

    /* Radii */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 16px;

    /* Shadows & Glassmorphism - AMPLIFIED HOLLYWOOD */
    --shadow-sm: 0 8px 32px rgba(0, 0, 0, .08);
    --shadow-md: 0 16px 48px rgba(0, 0, 0, .15);
    --shadow-lg: 0 32px 80px rgba(0, 0, 0, .25);
    --shadow-xl: 0 40px 100px rgba(0, 0, 0, .4);
    --shadow-glow: 0 0 40px rgba(198, 168, 106, 0.6);

    --glass-bg-light: rgba(255, 255, 255, 0.08);
    --glass-bg-dark: rgba(0, 0, 0, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.25);
    --glass-blur: blur(24px);

    /* Transitions */
    --ease-hover: .4s cubic-bezier(0.16, 1, 0.3, 1);
    --ease: .6s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-entrance: 1.2s cubic-bezier(0.16, 1, 0.3, 1);

    /* Z layers */
    --z-dropdown: 100;
    --z-header: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-cursor: 9999;
}

/* --- UNIVERSE OVERRIDES --- */
body.universo-a {
    --primary: var(--blue-main);
    --primary-hover: var(--blue-hover);
    --accent: var(--blue-accent);
}

body.universo-b1 {
    --primary: var(--green-main);
    --primary-hover: var(--green-hover);
    --accent: var(--green-accent);
}

body.universo-b2 {
    --primary: var(--plum-main);
    --primary-hover: var(--plum-hover);
    --accent: var(--plum-accent);
}

body.portal-empresas {
    --primary: var(--green-main);
    --primary-hover: var(--green-hover);
}

/* --- MAJESTIC DARK MODE SHIFT --- */
body.transition-bg {
    transition: background-color 0.8s ease, color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.portal-empresas:has(.card-green:hover) {
    background-color: #1a2723;
    /* Deep Green Dark Mode */
}

body.portal-empresas:has(.card-plum:hover) {
    background-color: #2b1f2e;
    /* Deep Plum Dark Mode */
}

/* Transform internal typography to high-contrast white on hover */
body.portal-empresas:has(.card-green:hover) h1,
body.portal-empresas:has(.card-green:hover) h2,
body.portal-empresas:has(.card-green:hover) .hero-subtitle,
body.portal-empresas:has(.card-plum:hover) h1,
body.portal-empresas:has(.card-plum:hover) h2,
body.portal-empresas:has(.card-plum:hover) .hero-subtitle {
    color: var(--white);
    transition: color 0.8s ease;
}

/* --- CUSTOM CURSOR --- */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--gold-main);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(198, 168, 106, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

.cursor-follower.active {
    width: 54px;
    height: 54px;
    background-color: rgba(198, 168, 106, 0.08);
    border-color: transparent;
}

/* --- RESET --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    /* Managed by Lenis */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--ease-hover);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: var(--fs-body);
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-display);
    font-weight: var(--fw-regular);
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: var(--fs-h1);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

h2 {
    font-size: var(--fs-h2);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-sm);
}

h4 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-xs);
}

p {
    margin-bottom: var(--sp-sm);
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

/* --- LAYOUT --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--margin-lateral);
}

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--margin-lateral);
}

.grid {
    display: grid;
    gap: var(--grid-gap);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

section {
    padding: var(--sp-xl) 0;
    position: relative;
    /* Default context */
}

/* --- STAKING SECTIONS EFFECT --- */
.section-stack {
    position: sticky;
    top: 0;
    z-index: 10;
    /* Allow min-height to push following sections below */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
    /* Ensures solid overlap */
    transform-origin: top center;
    will-change: transform, filter;
    /* Smooth transition handled by GSAP */
}

/* Dividers */
hr,
.divider {
    height: 1px;
    background: var(--divider);
    border: none;
    margin: var(--sp-lg) 0;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 28px;
    font-family: var(--ff-body);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    letter-spacing: 1px;
    text-indent: 1px;
    /* offset the last letter's spacing for perfect horizontal centering */
    line-height: 1;
    /* fix vertical centering offset */
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--r-sm);
    transition: all var(--ease);
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: transparent;
    color: var(--gold-main);
    border-color: var(--gold-main);
}

.btn-primary:hover {
    background: var(--gold-main);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

/* Universe-specific primary buttons — scoped to dark contexts */
.universo-a .hero .btn-primary,
.universo-a .section-dark .btn-primary,
.split-left .btn-primary {
    color: var(--white);
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, .1);
}

.universo-a .hero .btn-primary:hover,
.universo-a .section-dark .btn-primary:hover,
.split-left .btn-primary:hover {
    background: var(--gold-main);
    border-color: var(--gold-main);
    color: var(--white);
}

.universo-b1 .hero .btn-primary,
.universo-b1 .section-dark .btn-primary {
    color: var(--white);
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, .1);
}

.universo-b1 .hero .btn-primary:hover,
.universo-b1 .section-dark .btn-primary:hover {
    background: var(--gold-main);
    border-color: var(--gold-main);
    color: var(--white);
}

.universo-b2 .btn-primary {
    color: var(--gold-main);
    border-color: var(--gold-main);
}

.universo-b2 .btn-primary:hover {
    background: var(--gold-main);
    color: var(--white);
}

.split-right .btn-primary {
    color: var(--white);
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, .1);
}

.split-right .btn-primary:hover {
    background: var(--gold-main);
    border-color: var(--gold-main);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: none;
    height: auto;
    padding: var(--sp-xs) 0;
    position: relative;
    text-transform: none;
    letter-spacing: 0;
    font-size: var(--fs-body);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--ease);
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .35);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: var(--white);
}

.btn-lg {
    height: 56px;
    padding: 0 36px;
    font-size: var(--fs-small);
}

.btn-sm {
    height: 40px;
    padding: 0 16px;
    font-size: var(--fs-xs);
}

.btn-block {
    width: 100%;
}

/* --- CARDS --- */
.card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 56px 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: var(--neutral-alt);
    z-index: 10;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- HOVER REVEAL INNER CONTENT (Pillars & Services) --- */
.card .service-tags {
    margin-top: var(--sp-sm);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card:hover .service-tags,
.card.mobile-hover-sim .service-tags {
    max-height: 200px;
    /* arbitrary high value to allow expansion */
    opacity: 1;
    transform: translateY(0);
    margin-top: var(--sp-md);
}

.service-tag {
    background: rgba(198, 168, 106, 0.1);
    color: var(--gold-hover);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(198, 168, 106, 0.2);
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: var(--gold-main);
    color: var(--white);
}

/* --- HEADER / NAV --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-header);
    transition: box-shadow var(--ease);
    display: flex;
    align-items: center;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--margin-lateral);
}

.nav-logo {
    font-family: var(--ff-logo);
    font-size: 1.75rem;
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    min-width: 120px;
    transition: color var(--ease-hover);
}

/* Logo color per universe */
.universo-a .nav-logo {
    color: var(--blue-main);
}

.universo-b1 .nav-logo,
.portal-empresas .nav-logo {
    color: var(--green-main);
}

.universo-b2 .nav-logo {
    color: var(--plum-main);
}

.logo-kern-rd {
    letter-spacing: -0.08em;
    margin-right: -0.02em;
}

.nav-menu {
    display: flex;
    gap: var(--sp-md);
    align-items: center;
}

.nav-link {
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: var(--sp-xs) 0;
    transition: color var(--ease-hover);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width var(--ease);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: var(--sp-xs);
    cursor: pointer;
    position: relative;
    width: 28px;
    height: 20px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    transition: all var(--ease);
}

.menu-toggle::before {
    top: 0;
}

.menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle::after {
    bottom: 0;
}

.menu-toggle.active::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span {
    opacity: 0;
}

.menu-toggle.active::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    padding-top: 85px;
}

/* --- HERO LUXURY PARALLAX --- */
.hero-luxury-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-luxury-img {
    width: 100%;
    height: 125%;
    /* Space for parallax push */
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

.hero-luxury-overlay-a {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 50, 90, 0.9) 0%, rgba(5, 15, 25, 0.7) 100%);
}

.hero-luxury-overlay-b {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 60, 55, 0.9) 0%, rgba(5, 20, 15, 0.7) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 580px;
    padding: var(--sp-lg) 0;
}

.hero h1 {
    font-size: var(--fs-hero);
    font-weight: var(--fw-light);
    line-height: 1.1;
    margin-bottom: var(--sp-md);
}

.hero-subtitle {
    font-size: var(--fs-lg);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
    color: var(--text-secondary);
}

.hero-ctas {
    display: flex;
    gap: var(--sp-sm);
    flex-wrap: wrap;
    align-items: center;
}

.hero-badge {
    margin-top: var(--sp-md);
    font-size: var(--fs-xs);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .6;
}

/* Universe A hero (Blue) */
.universo-a .hero {
    color: var(--white);
}

.universo-a .hero h1,
.universo-a .hero .hero-subtitle {
    color: var(--white);
}

.universo-a .hero .hero-subtitle {
    opacity: .85;
}

.universo-a .hero-badge {
    color: var(--white);
}

/* Universe B1 hero (Green) */
.universo-b1 .hero {
    color: var(--white);
}

.universo-b1 .hero h1,
.universo-b1 .hero .hero-subtitle {
    color: var(--white);
}

.universo-b1 .hero .hero-subtitle {
    opacity: .85;
}

/* Universe B2 hero (Plum — light bg) */
.universo-b2 .hero {
    background-color: var(--neutral-bg);
}

.universo-b2 .hero h1 {
    color: var(--plum-main);
}

.universo-b2 .hero .hero-subtitle {
    color: var(--text-secondary);
}

/* --- SPLIT SCREEN (Portal Home) --- */
.hero-split {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--text-primary);
}

.split-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.split-side {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-lg) var(--sp-md);
    text-align: center;
    color: var(--white);
    transition: width var(--ease-entrance);
    cursor: pointer;
}

.split-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.25);
    transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1025px) {
    .split-right .split-bg {
        /* Aligns the image to the top specifically for the woman's photo on desktop */
        background-position: center top;
    }
}

.split-overlay {
    position: absolute;
    inset: 0;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.95;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.split-left .split-overlay {
    background: linear-gradient(160deg, rgba(20, 50, 90, 1), rgba(5, 15, 25, 1));
}

.split-right .split-overlay {
    background: linear-gradient(200deg, rgba(20, 60, 55, 1), rgba(5, 20, 15, 1));
}

.split-side:hover .split-overlay {
    opacity: 0.35;
}

.split-side:hover .split-bg {
    transform: scale(1);
}

.split-content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.split-content h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: var(--fw-light);
    margin-bottom: var(--sp-sm);
}

.split-subtitle {
    color: rgba(255, 255, 255, .75);
    margin-bottom: var(--sp-md);
    font-size: var(--fs-body);
    line-height: 1.7;
}

.split-icon {
    margin-bottom: var(--sp-sm);
    opacity: .8;
}

.split-icon svg {
    stroke-width: 1.5;
}

/* Logo floating center */
.logo-central {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    padding: 32px 56px;
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--r-xl);
    border: var(--glass-border);
    box-shadow: var(--shadow-xl);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s ease;
}

.logo-central:hover {
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.logo-zardin {
    font-family: var(--ff-logo);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: var(--fw-semibold);
    color: var(--white);
    letter-spacing: -0.04em;
}

.claim {
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-top: var(--sp-xs);
}

/* Credibility strip */
.credibility-strip {
    background: var(--white);
    padding: var(--sp-sm) 0;
    text-align: center;
    border-bottom: 1px solid var(--divider);
}

.credibility-text {
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: var(--fs-xs);
    margin: 0;
}

/* --- SERVICE / PILAR ICONS --- */
.pilar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--sp-sm);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pilar-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- SECTION UTILITIES --- */
.section-subtitle {
    color: var(--text-secondary);
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-lg);
    max-width: 600px;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.mx-auto-lg {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mt-md {
    margin-top: var(--sp-md);
}

.mt-lg {
    margin-top: var(--sp-lg);
}

.mb-md {
    margin-bottom: var(--sp-md);
}

.mb-lg {
    margin-bottom: var(--sp-lg);
}

.pt-0 {
    padding-top: 0;
}

.bg-neutral {
    background: var(--neutral-bg);
}

.bg-plum {
    background: var(--plum-main);
}

.hero-md-min {
    min-height: 70vh;
}

.mx-auto-md {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card-green {
    border-top: 3px solid var(--green-main);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-plum {
    border-top: 3px solid var(--plum-main);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cta-card-lg {
    max-width: 580px;
    margin: var(--sp-lg) auto 0;
    text-align: left;
}

.icon-green {
    color: var(--green-main);
}

.icon-plum {
    color: var(--plum-main);
}

.text-green {
    color: var(--green-main);
}

.text-plum {
    color: var(--plum-main);
}

.text-white {
    color: var(--white);
}

.text-white-85 {
    color: rgba(255, 255, 255, .85);
}

.subtitle-quote {
    font-weight: var(--fw-medium);
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--sp-sm);
}

.ideal-box-neutral {
    margin: var(--sp-md) 0;
    background: var(--neutral-bg);
    padding: var(--sp-sm);
    border-radius: var(--r-md);
}

.ideal-box-alt {
    margin: var(--sp-md) 0;
    background: var(--neutral-alt);
    padding: var(--sp-sm);
    border-radius: var(--r-md);
}

.ideal-list {
    margin-top: var(--sp-xs);
    padding-left: var(--sp-sm);
}

.ideal-list li {
    list-style: disc;
    margin-bottom: 4px;
}

.ideal-list li.no-mb {
    margin-bottom: 0;
}

.pillar-ul {
    padding-left: var(--sp-sm);
    line-height: 1.8;
}

.pillar-ul li {
    list-style: disc;
}

.box-desc {
    margin-top: var(--sp-xs);
    color: var(--text-secondary);
    font-size: var(--fs-small);
}

.btn-outline-green {
    border-color: var(--green-main) !important;
    color: var(--green-main) !important;
    background: transparent;
}

.btn-outline-green:hover {
    background: var(--green-main) !important;
    color: var(--white) !important;
}

.btn-outline-plum {
    border-color: var(--plum-main) !important;
    color: var(--plum-main) !important;
    background: transparent;
}

.btn-outline-plum:hover {
    background: var(--plum-main) !important;
    color: var(--white) !important;
}

.btn-plum-filled {
    background: var(--plum-main) !important;
    border-color: var(--plum-main) !important;
    text-decoration: none;
    box-sizing: border-box;
}

.mt-auto {
    margin-top: auto;
}

.mt-xs {
    margin-top: var(--sp-xs);
}

.bg-primary {
    background: var(--text-primary);
    color: rgba(255, 255, 255, .6);
}

.text-sm-70 {
    font-size: var(--fs-small);
    opacity: .7;
}

.text-white-70 {
    color: rgba(255, 255, 255, .7);
}

.footer-logo {
    height: 28px;
    opacity: .85;
    margin-bottom: var(--sp-xs);
}

.footer-disclaimer {
    font-size: var(--fs-xs);
    opacity: .55;
    margin-top: var(--sp-xs);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.footer-disclaimer-min {
    font-size: var(--fs-xs);
    opacity: .5;
    margin-top: var(--sp-xs);
}

.footer-minimal {
    padding: var(--sp-md) 0;
}

.fw-regular {
    font-weight: var(--fw-regular);
}

.text-secondary {
    color: var(--text-secondary);
}

.section-dark {
    background: var(--text-primary);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

/* --- METRICS ROW --- */
.metrics {
    display: flex;
    justify-content: center;
    gap: var(--sp-lg);
    flex-wrap: wrap;
    margin-top: var(--sp-lg);
}

.metric-item {
    text-align: center;
    min-width: 140px;
}

.metric-value {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    font-weight: var(--fw-regular);
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--sp-xs);
}

.metric-label {
    font-size: var(--fs-small);
    color: var(--text-secondary);
}

/* --- TESTIMONIALS --- */
.testimonial {
    border-left: 2px solid var(--gold-main);
    padding-left: 24px;
}

.testimonial-stars {
    color: var(--gold-main);
    font-size: var(--fs-small);
    margin-bottom: var(--sp-xs);
    letter-spacing: 3px;
}

.testimonial-text {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: var(--fs-lg);
    line-height: 1.7;
    margin-bottom: var(--sp-sm);
    color: var(--text-primary);
}

.testimonial-author {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* --- TIMELINE / STEPS --- */
.step-card {
    border-left: 2px solid var(--primary);
    padding-left: 24px;
}

.step-number {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    color: var(--primary);
    opacity: .2;
    font-weight: var(--fw-regular);
    line-height: 1;
}

/* --- CASE CARDS --- */
.case-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--sp-sm);
    color: var(--primary);
}

.case-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.case-result {
    color: var(--primary);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-body);
    margin-top: var(--sp-sm);
    padding-top: var(--sp-sm);
    border-top: 1px solid var(--divider);
}

/* --- FORMS --- */
.form-field {
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    border: 1px solid var(--input-bg);
    border-radius: var(--r-sm);
    background: var(--white);
    font-size: var(--fs-body);
    color: var(--text-primary);
    transition: border-color var(--ease-hover), box-shadow var(--ease-hover);
    margin-bottom: var(--sp-sm);
}

textarea.form-field {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.form-field:focus {
    outline: none;
    border-color: var(--blue-main);
    box-shadow: 0 0 0 3px rgba(42, 95, 158, .1);
}

.form-field::placeholder {
    color: var(--text-secondary);
    opacity: .6;
}

.form-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--sp-xs);
    color: var(--text-primary);
}

/* --- GATE PAGE (B2) --- */
.gate-page {
    background: var(--neutral-bg);
}

.gate-hero {
    padding-top: 140px;
    padding-bottom: var(--sp-md);
    text-align: center;
}

.gate-icon {
    margin-bottom: var(--sp-sm);
}

.gate-form {
    max-width: 560px;
    margin: 0 auto;
}

.eligibility-msg {
    padding: 48px;
    border-radius: var(--r-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

/* --- HIGHLIGHT / GUARANTEE BOX --- */
.highlight-box {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: var(--sp-xl) var(--sp-md);
}

.highlight-box h2 {
    color: var(--white);
}

.highlight-quote {
    font-family: var(--ff-display);
    font-size: clamp(var(--fs-xl), 3vw, var(--fs-h3));
    font-style: italic;
    margin-bottom: var(--sp-sm);
    color: var(--gold-light);
}

/* --- CALCULATOR --- */
.calc-card {
    max-width: 500px;
    margin: 0 auto;
}

.calc-result {
    margin-top: var(--sp-md);
    padding: var(--sp-md);
    background: var(--neutral-alt);
    border-radius: var(--r-md);
    border: 1px solid var(--divider);
}

.calc-result .big-number {
    font-family: var(--ff-display);
    font-size: var(--fs-h2);
    font-weight: var(--fw-regular);
    color: var(--plum-main);
}

/* --- FOOTER --- */
footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, .6);
    padding: var(--sp-xl) 0 var(--sp-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
}

.footer-column h4 {
    color: var(--white);
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: var(--sp-sm);
}

.footer-tagline {
    font-size: var(--fs-small);
    line-height: 1.7;
}

.footer-link {
    display: block;
    margin-bottom: var(--sp-xs);
    transition: color var(--ease-hover);
    font-size: var(--fs-small);
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding-top: var(--sp-sm);
    text-align: center;
    font-size: var(--fs-xs);
}

.footer-bottom p {
    margin-bottom: var(--sp-xs);
}

.footer-minimal {
    padding: var(--sp-md) 0;
}

.footer-minimal p {
    margin-bottom: var(--sp-xs);
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
    z-index: var(--z-float);
    transition: transform var(--ease-hover), box-shadow var(--ease-hover);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, .5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--text-primary);
    color: var(--white);
    padding: var(--sp-sm) var(--sp-md);
    z-index: var(--z-modal);
    border-top: 1px solid rgba(255, 255, 255, .06);
    transform: translateY(100%);
    animation: slideUp .5s .3s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-sm);
}

.cookie-inner p {
    margin: 0;
    font-size: var(--fs-small);
}

.cookie-inner a {
    color: var(--gold-main);
    text-decoration: underline;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp .6s ease-out both;
}

.fade-in-up:nth-child(2) {
    animation-delay: .1s;
}

.fade-in-up:nth-child(3) {
    animation-delay: .2s;
}

.fade-in-up:nth-child(4) {
    animation-delay: .3s;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease-out, transform .5s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ALERTS --- */
.alert-success {
    background: #EAF5F2;
    color: #2F6F68;
    padding: var(--sp-sm);
    border-radius: var(--r-sm);
}

.alert-warning {
    background: #FFF5E6;
    color: #A98E57;
    padding: var(--sp-sm);
    border-radius: var(--r-sm);
}

.alert-error {
    background: #FDECEC;
    color: #8C2F39;
    padding: var(--sp-sm);
    border-radius: var(--r-sm);
}

/* --- PILLAR CARDS (5-SERVICE LAYOUT) --- */
.grid-5 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-5> :nth-child(4),
.grid-5> :nth-child(5) {
    grid-column: span 1;
}

/* Bottom row of 5: center the 2 remaining cards */
.grid-5-centered {
    grid-template-columns: repeat(6, 1fr);
}

.grid-5-centered> :nth-child(1),
.grid-5-centered> :nth-child(2),
.grid-5-centered> :nth-child(3) {
    grid-column: span 2;
}

.grid-5-centered> :nth-child(4) {
    grid-column: 2 / span 2;
}

.grid-5-centered> :nth-child(5) {
    grid-column: 4 / span 2;
}

.pillar-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 40px 32px;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--ease);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pilar-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto var(--sp-sm);
    color: var(--primary);
}

.pilar-icon svg {
    width: 100%;
    height: 100%;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: var(--sp-sm);
}

.service-tag {
    font-size: 11px;
    font-weight: var(--fw-medium);
    letter-spacing: .5px;
    text-transform: uppercase;
    background: var(--neutral-bg);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--divider);
    transition: all var(--ease-hover);
}

.pillar-card:hover .service-tag {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* --- PROCESS TIMELINE --- */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin-top: var(--sp-lg);
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .4), rgba(255, 255, 255, .15));
}

.process-timeline-fill {
    position: absolute;
    top: 24px;
    left: 8%;
    width: 0%;
    height: 2px;
    background: var(--gold-main);
    z-index: 1;
    box-shadow: 0 0 10px rgba(198, 168, 106, 0.6);
}

.process-step {
    text-align: center;
    padding: 0 8px;
    position: relative;
}

.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue-main);
    border: 2px solid rgba(255, 255, 255, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-sm);
    font-family: var(--ff-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--gold-main);
    line-height: 1;
    transition: all var(--ease);
    position: relative;
    z-index: 2;
}

.process-step:hover .process-step-number {
    background: var(--gold-main);
    color: var(--white);
    border-color: var(--gold-main);
    transform: scale(1.1);
}

.process-step-label {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, .7);
    line-height: 1.4;
    margin-top: var(--sp-xs);
}

/* --- PURPOSE CARDS --- */
.purpose-card {
    text-align: center;
    padding: 40px 32px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-lg);
    transition: all var(--ease);
}

.purpose-card:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .2);
    transform: translateY(-4px);
}

.purpose-card h3 {
    color: var(--gold-main) !important;
    margin-bottom: var(--sp-xs);
}

.purpose-card p {
    color: rgba(255, 255, 255, .65);
    line-height: 1.7;
}

/* --- PARTNER GRID --- */
.partner-section {
    margin-top: var(--sp-lg);
}

.partner-category {
    margin-bottom: var(--sp-lg);
}

.partner-category-title {
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-main);
    margin-bottom: var(--sp-sm);
    padding-bottom: var(--sp-xs);
    border-bottom: 1px solid var(--divider);
}

/* --- LOGO MARQUEE --- */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 16px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
    will-change: transform;
}

.logo-marquee-track:hover {
    animation-play-state: paused;
}

.logo-marquee-track img,
.logo-marquee-track svg {
    display: block;
    height: 28px !important;
    max-height: 28px !important;
    min-height: 28px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.55);
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    flex-shrink: 0;
}

.logo-marquee-track img:hover,
.logo-marquee-track svg:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.08);
}

@media (max-width: 768px) {

    .logo-marquee-track img,
    .logo-marquee-track svg {
        height: 22px !important;
        max-height: 22px !important;
        min-height: 22px !important;
        max-width: 100px !important;
    }

    .logo-marquee-track {
        gap: 32px;
        animation-duration: 25s;
    }
}

.partner-name {
    /* Retirado trechos corrompidos */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--r-sm);
    color: var(--text-secondary);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    transition: all var(--ease-hover);
    white-space: nowrap;
}

.partner-name:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--white);
}

/* --- ADDITIONAL SERVICES GRID --- */
.services-extra {
    margin-top: var(--sp-lg);
}

.service-extra-card {
    background: var(--neutral-bg);
    border-radius: var(--r-lg);
    padding: 32px;
    border: 1px solid var(--divider);
    transition: all var(--ease);
}

.service-extra-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-extra-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-xs);
    color: var(--primary);
}

.service-extra-card p {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    margin-bottom: var(--sp-sm);
}

.service-extra-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-extra-tag {
    font-size: 11px;
    font-weight: var(--fw-medium);
    letter-spacing: .3px;
    color: var(--text-secondary);
    padding: 3px 10px;
    background: var(--white);
    border-radius: 100px;
    border: 1px solid var(--divider);
}

/* --- ABOUT / QUEM SOMOS --- */
.about-quote {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: var(--fs-xl);
    line-height: 1.6;
    color: rgba(255, 255, 255, .8);
    max-width: 600px;
    margin: 0 auto var(--sp-md);
    text-align: center;
}

.about-quote-author {
    font-family: var(--ff-body);
    font-style: normal;
    font-size: var(--fs-small);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-main);
    text-align: center;
}

/* --- DARK LOGO SECTION (Partner Families) --- */
.section-dark-logos .partner-category-title {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-dark-logos .logo-marquee-track img,
.section-dark-logos .logo-marquee-track svg {
    padding: 4px;
    box-sizing: border-box;
    filter: grayscale(100%) brightness(0) invert(0.9);
    opacity: 0.85;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease, background 0.4s ease;
}

.section-dark-logos .logo-marquee-track img:hover,
.section-dark-logos .logo-marquee-track svg:hover {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 1;
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

@media (max-width: 768px) {

    .section-dark-logos .logo-marquee-track img,
    .section-dark-logos .logo-marquee-track svg {
        padding: 0;
    }
}

.section-dark-logos .partner-name {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

.section-dark-logos .partner-name:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* =============================================
   RESPONSIVE — Mobile-First Enhancement
   ============================================= */

/* Tablet landscape */
@media (max-width: 1024px) {
    :root {
        --margin-lateral: 24px;
    }

    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-5-centered {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-5-centered> :nth-child(1),
    .grid-5-centered> :nth-child(2),
    .grid-5-centered> :nth-child(3),
    .grid-5-centered> :nth-child(4),
    .grid-5-centered> :nth-child(5) {
        grid-column: span 1;
    }

    .grid-5-centered> :nth-child(5) {
        grid-column: 1 / -1;
    }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--sp-md);
    }

    .process-timeline::before,
    .process-timeline-fill {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-container {
        flex-direction: column;
    }

    .split-side {
        width: 100% !important;
        height: 50%;
    }

    .logo-central {
        padding: 20px 32px;
    }

    .logo-zardin {
        font-size: 2rem;
    }

    .metrics {
        gap: var(--sp-md);
    }

    .hero-content {
        max-width: 500px;
    }
}

/* Tablet portrait + mobile */
@media (max-width: 768px) {
    :root {
        --margin-lateral: 20px;
        --grid-gap: 20px;
        --sp-xl: 64px;
    }

    section {
        padding: var(--sp-lg) 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-5-centered {
        grid-template-columns: 1fr;
    }

    .grid-5-centered> :nth-child(1),
    .grid-5-centered> :nth-child(2),
    .grid-5-centered> :nth-child(3),
    .grid-5-centered> :nth-child(4),
    .grid-5-centered> :nth-child(5) {
        grid-column: span 1;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-md);
    }

    /* Mobile nav drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 120px var(--sp-md) var(--sp-md);
        box-shadow: -4px 0 24px rgba(0, 0, 0, .12);
        transition: right var(--ease);
        z-index: var(--z-overlay);
        gap: var(--sp-xs);
        align-items: flex-start;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu .btn {
        width: 100%;
        margin-top: var(--sp-sm);
    }

    .menu-toggle {
        display: block;
        z-index: calc(var(--z-overlay) + 1);
    }

    /* Mobile hero */
    .hero-split {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .split-side {
        height: 50vh;
        height: 50dvh;
        padding: var(--sp-md);
    }

    .split-content h2 {
        font-size: 1.5rem;
    }

    .split-subtitle {
        font-size: var(--fs-small);
    }

    .logo-central {
        padding: 16px 24px;
    }

    .logo-zardin {
        font-size: 1.75rem;
    }

    .claim {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero {
        min-height: 80vh;
        min-height: 80dvh;
        padding-top: 85px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-content {
        max-width: 100%;
        padding: var(--sp-md) 0;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-subtitle {
        font-size: var(--fs-body);
    }

    /* Mobile metrics */
    .metrics {
        flex-direction: column;
        gap: var(--sp-md);
        align-items: center;
    }

    /* Mobile cards */
    .card {
        padding: 32px 24px;
    }

    /* Mobile header */
    header {
        height: 72px;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    /* Portal button in header */
    .header-inner .btn-secondary.btn-sm,
    .header-inner>.btn-sm {
        display: none;
    }

    /* Mobile gate */
    .gate-hero {
        padding-top: 100px;
    }

    /* Mobile highlight */
    .highlight-box {
        padding: var(--sp-lg) var(--sp-sm);
    }

    /* Mobile footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-md);
    }

    /* Mobile credibility */
    .credibility-text {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    :root {
        --margin-lateral: 16px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .btn-lg {
        height: 48px;
        padding: 0 24px;
        font-size: var(--fs-xs);
    }

    .split-side {
        height: 50vh;
        padding: var(--sp-sm);
    }

    .split-content h2 {
        font-size: 1.25rem;
    }

    .card {
        padding: 24px 20px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

/* Dynamic viewport height fallback for older browsers */
@supports not (height: 100dvh) {
    .hero-split {
        min-height: 100vh;
    }

    .split-side {
        height: 50vh;
    }

    .hero {
        min-height: 80vh;
    }
}



/* --- LENIS SMOOTH SCROLL --- */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolled iframe {
    pointer-events: none;
}