/* ═══════════════════════════════════════════════════════════
   RAISSA TIER — styles.css
   Brand System: Azul (#1B3A5C) + Bordô (#7A1F3D)
   Mobile-first approach
   ═══════════════════════════════════════════════════════════ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Brand Colors */
    --azul: #1B3A5C;
    --azul-dark: #132C47;
    --azul-light: #2A5580;
    --azul-subtle: rgba(27, 58, 92, 0.06);
    --azul-subtle-border: rgba(27, 58, 92, 0.12);

    --bordo: #7A1F3D;
    --bordo-dark: #5E1730;
    --bordo-light: #9B2A50;
    --bordo-subtle: rgba(122, 31, 61, 0.06);
    --bordo-subtle-border: rgba(122, 31, 61, 0.12);

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8F8F9;
    --gray-100: #F0F0F2;
    --gray-200: #E2E2E6;
    --gray-300: #CCCCD2;
    --gray-500: #71717A;
    --gray-600: #52525B;
    --gray-700: #3F3F46;
    --gray-800: #27272A;
    --gray-900: #18181B;

    --color-success: #166534;
    --color-success-bg: rgba(22, 101, 52, 0.06);
    --color-error: #991B1B;
    --color-error-bg: rgba(153, 27, 27, 0.06);
    --color-warning: #92400E;

    /* Typography */
    --font-display: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

    /* Sizes */
    --text-xs: 0.8rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.1rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;

    /* Spacing */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.09);
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--gray-900);
    line-height: 1.2;
}

h1 {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl));
    font-weight: 400;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    font-weight: 400;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
    font-weight: 400;
}

p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--gray-600);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
}

@media (min-width: 1024px) {
    .container { max-width: 960px; }
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--azul) 0%, var(--bordo) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.logo-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.logo-name .accent-azul { color: var(--azul); }
.logo-name .accent-bordo { color: var(--bordo); }

/* Nav Toggle (mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:active { background: var(--gray-100); }

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-2) var(--sp-6);
}

.nav.open { display: block; }

.nav a {
    display: block;
    padding: var(--sp-4) 0;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s;
}

.nav a:last-child { border-bottom: none; }
.nav a:hover { color: var(--azul); }

@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .nav {
        display: flex !important;
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: var(--sp-8);
    }
    .nav a {
        display: inline;
        padding: 0;
        border: none;
        font-size: var(--text-sm);
    }
}

/* ===== HERO ===== */
.hero { padding: 0; text-align: left; min-height: calc(100vh - 60px); display: flex; flex-direction: column; }

.hero-split {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: calc(100vh - 60px);
}

.hero-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--sp-12) var(--sp-6) var(--sp-8);
    border-bottom: 1px solid var(--gray-200);
}

.hero-slogan-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-style: italic;
    font-weight: 400;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: var(--sp-10);
    max-width: 520px;
}

.hero-slogan-text .slogan-highlight {
    background: linear-gradient(90deg, var(--azul), var(--bordo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    align-items: flex-start;
}

@media (min-width: 480px) {
    .hero-actions { flex-direction: row; }
}

.hero-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-10) var(--sp-6);
    background: var(--gray-50);
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-align: center;
}

.hero-brand-azul { color: var(--azul); }
.hero-brand-bordo { color: var(--bordo); }

.hero-rt {
    margin-top: var(--sp-6);
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--azul) 0%, var(--bordo) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .hero-split { flex-direction: row; }
    .hero-top {
        flex: 1;
        padding: var(--sp-16) var(--sp-12);
        border-bottom: none;
        border-right: 1px solid var(--gray-200);
    }
    .hero-bottom { flex: 1; padding: var(--sp-16) var(--sp-12); }
    .hero-rt { width: 80px; height: 80px; font-size: var(--text-3xl); }
}

/* ===== HERO ANIMATIONS ===== */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScale {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.hero-anim-1 { opacity: 0; animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; }
.hero-anim-2 { opacity: 0; animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards; }
.hero-anim-3 { opacity: 0; animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards; }
.hero-anim-4 { opacity: 0; animation: heroScale 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    min-height: 52px;
    width: 100%;
}

@media (min-width: 480px) {
    .btn { width: auto; }
}

.btn-azul { background: var(--azul); color: white; }
.btn-azul:hover { background: var(--azul-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(27, 58, 92, 0.25); }

.btn-bordo { background: var(--bordo); color: white; }
.btn-bordo:hover { background: var(--bordo-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(122, 31, 61, 0.25); }

.btn-outline { background: var(--white); color: var(--gray-700); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--gray-300); background: var(--gray-50); }

.btn-sm { padding: 10px 20px; font-size: var(--text-sm); min-height: 44px; }
.btn:active { transform: translateY(0); }

/* ===== SECTIONS ===== */
.section { padding: var(--sp-16) 0; }

.section-head {
    text-align: center;
    margin-bottom: var(--sp-12);
}

.section-head p {
    margin-top: var(--sp-3);
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.section-head::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--azul), var(--bordo));
    margin: var(--sp-5) auto 0;
    border-radius: 2px;
}

/* ===== CAROUSEL ===== */
.carousel-section { margin-bottom: var(--sp-12); }
.carousel-section:last-of-type { margin-bottom: 0; }

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-4);
}

.carousel-header h3 { font-size: var(--text-xl); }

.carousel-nav { display: flex; gap: var(--sp-2); }

.carousel-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: var(--white); color: var(--gray-700);
    font-size: 1.3rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover { border-color: var(--azul); color: var(--azul); background: var(--azul-subtle); }
.carousel-btn:active { transform: scale(0.95); }

.carousel-track-wrapper { overflow: hidden; border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }

.carousel-track {
    display: flex; gap: var(--sp-4);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: grab; user-select: none;
}

.carousel-track:active { cursor: grabbing; }
.carousel-slide { flex: 0 0 72%; min-width: 0; }

@media (min-width: 600px) { .carousel-slide { flex: 0 0 45%; } }
@media (min-width: 1024px) { .carousel-slide { flex: 0 0 30%; } }

.slide-img {
    width: 100%; aspect-ratio: 3/2; border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}

.slide-img-round { aspect-ratio: 1/1; border-radius: 50%; max-width: 180px; margin: 0 auto; }
.slide-img-box { aspect-ratio: 4/3; border-radius: var(--radius-lg); }
.slide-emoji { font-size: 2.8rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15)); }

.slide-info { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-3) var(--sp-1); }
.slide-name { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--gray-800); }
.slide-price { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; color: var(--bordo); }

.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: var(--sp-4); }

.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gray-200); border: none; padding: 0;
    cursor: pointer; transition: all 0.3s;
}

.carousel-dot.active { background: var(--azul); width: 24px; border-radius: 4px; }

/* ===== FEATURES ===== */
.features-bg {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.features-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 600px) { .features-grid { grid-template-columns: 1fr 1fr; } }

.feat { display: flex; gap: var(--sp-4); padding: var(--sp-6); background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
.feat-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.feat-icon-azul { background: var(--azul-subtle); color: var(--azul); }
.feat-icon-bordo { background: var(--bordo-subtle); color: var(--bordo); }
.feat h3 { font-size: var(--text-base); margin-bottom: 2px; }
.feat p { font-size: var(--text-sm); }

/* ===== VERIFICATION SECTION ===== */
.verify-bg {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.verify-box {
    max-width: 540px;
    margin: 0 auto;
    padding: var(--sp-8);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}

.verify-box h2 { text-align: center; margin-bottom: var(--sp-2); }
.verify-box > p { text-align: center; margin-bottom: var(--sp-8); font-size: var(--text-sm); }
.verify-box .section-head::after { display: none; }

.input-row { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-4); }
@media (min-width: 480px) { .input-row { flex-direction: row; } }

.input {
    flex: 1; padding: 14px 18px;
    font-family: var(--font-body); font-size: var(--text-base);
    border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
    background: var(--white); color: var(--gray-900);
    outline: none; min-height: 52px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input::placeholder { color: var(--gray-500); }
.input:focus { border-color: var(--azul); box-shadow: 0 0 0 3px var(--azul-subtle); }

.verify-hint {
    font-size: var(--text-xs) !important;
    color: var(--gray-500) !important;
    text-align: center !important;
}

/* ===== RESULT AREAS ===== */
.result { margin-top: var(--sp-8); display: none; }

.result.show {
    display: block;
    animation: resultIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes resultIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-banner {
    display: flex; align-items: center; gap: var(--sp-4);
    padding: var(--sp-5); border-radius: var(--radius-md);
    margin-bottom: var(--sp-6);
}

.result-banner.ok { background: var(--color-success-bg); border: 1px solid rgba(22,101,52,0.15); }
.result-banner.fail { background: var(--color-error-bg); border: 1px solid rgba(153,27,27,0.15); }

.result-icon {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.2rem; color: white;
}

.ok .result-icon { background: var(--color-success); }
.fail .result-icon { background: var(--color-error); }

.result-banner h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; }
.ok h3 { color: var(--color-success); }
.fail h3 { color: var(--color-error); }
.result-banner p { font-size: var(--text-sm); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   VIRTUAL CARD — PARALLAX 3D EFFECT
   ═══════════════════════════════════════════════════════════ */
.virtual-card-wrapper {
    perspective: 1200px;
    margin-bottom: var(--sp-6);
}

.virtual-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.586 / 1; /* Credit card ratio */
    border-radius: 18px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    cursor: default;
    will-change: transform;
}

/* ── Card Layers (parallax depth) ── */
.card-layer {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* Layer 0: Background gradient + pattern */
.card-layer-bg {
    background: linear-gradient(135deg, var(--azul) 0%, var(--azul-dark) 40%, var(--bordo) 100%);
    z-index: 0;
}

/* Geometric pattern overlay */
.card-layer-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(122, 31, 61, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(27, 58, 92, 0.5) 0%, transparent 70%);
    z-index: 1;
}

/* Mesh/noise texture */
.card-layer-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
}

/* Layer 1: Shine/reflection — moves with parallax */
.card-layer-shine {
    z-index: 3;
    background: radial-gradient(
        ellipse 50% 50% at 50% 50%,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.15s ease-out;
}

.virtual-card:hover .card-layer-shine,
.virtual-card.touching .card-layer-shine {
    opacity: 1;
}

/* Layer 2: Content */
.card-layer-content {
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(20px, 5vw, 28px);
    color: white;
}

/* ── Card Content Elements ── */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-brand-label {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.01em;
}

.card-status-badge {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-status-badge.ativo {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.card-status-badge.inativo,
.card-status-badge.cancelado {
    background: rgba(248, 113, 113, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.card-status-badge.expirado {
    background: rgba(251, 191, 36, 0.2);
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.card-middle {
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-chip-icon {
    width: 42px;
    height: 30px;
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    flex-shrink: 0;
}

.card-chip-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 18px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
}

.card-nfc-icon {
    width: 28px;
    height: 28px;
    opacity: 0.5;
}

.card-nfc-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.card-code-display {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 2.5vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.7);
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder-group {}

.card-holder-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

.card-holder-name {
    font-family: var(--font-body);
    font-size: clamp(0.82rem, 2.2vw, 0.95rem);
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-value-group { text-align: right; }

.card-value-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

.card-value-amount {
    font-family: var(--font-body);
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 700;
    color: white;
}

/* ── Edge glow on hover ── */
.virtual-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    z-index: 5;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.3s;
}

.virtual-card:hover::after,
.virtual-card.touching::after {
    border-color: rgba(255,255,255,0.2);
}

/* ══ Card Not Found — Special Design ══ */
.virtual-card.not-found .card-layer-bg {
    background: linear-gradient(135deg, #2a2a2e 0%, #1a1a1e 40%, #2e2022 100%);
}

.virtual-card.not-found .card-layer-bg::before {
    background:
        radial-gradient(ellipse 80% 60% at 30% 70%, rgba(153, 27, 27, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 70% 30%, rgba(60, 60, 70, 0.3) 0%, transparent 70%);
}

.not-found-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    gap: 8px;
}

.not-found-x {
    font-size: 2.5rem;
    color: rgba(248, 113, 113, 0.5);
    line-height: 1;
}

.not-found-text {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    font-style: italic;
    color: rgba(255,255,255,0.4);
}

.not-found-hint {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.2);
}

/* ===== DETAILS GRID ===== */
.details-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 480px) { .details-grid { grid-template-columns: 1fr 1fr; } }

.detail {
    padding: var(--sp-4) var(--sp-5);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.detail.span { grid-column: 1 / -1; }

.detail-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.detail-val {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
}

.detail-val.green { color: var(--color-success); }
.detail-val.amber { color: var(--color-warning); }

.nfc-row { display: flex; align-items: center; gap: var(--sp-3); }

.nfc-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 12px;
    background: var(--azul); color: white;
    border-radius: var(--radius-full);
    font-size: var(--text-base); font-weight: 700;
}

.nfc-text { font-size: var(--text-sm); color: var(--gray-600); }

/* Spinner */
.spinner {
    display: none; width: 20px; height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white; border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TESTIMONIALS ===== */
.testi {
    padding: var(--sp-6); background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    margin-bottom: var(--sp-5);
}

.testi-stars { color: var(--bordo); font-size: var(--text-base); letter-spacing: 2px; margin-bottom: var(--sp-3); }

.testi-quote {
    font-family: var(--font-display);
    font-size: var(--text-base); font-style: italic;
    color: var(--gray-700); line-height: 1.7;
    margin-bottom: var(--sp-4);
}

.testi-name { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--gray-900); }
.testi-role { font-size: var(--text-xs); color: var(--gray-500); }

/* ===== FAQ ===== */
.faq-bg { background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.faq-item { border-bottom: 1px solid var(--gray-200); }

.faq-q {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: var(--sp-5) 0;
    background: none; border: none;
    font-family: var(--font-body); font-size: var(--text-base); font-weight: 600;
    color: var(--gray-800); text-align: left; cursor: pointer;
    gap: var(--sp-4); -webkit-tap-highlight-color: transparent;
}

.faq-toggle {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    background: var(--gray-100); display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--gray-500);
    transition: transform 0.3s, background 0.2s, color 0.2s;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--azul-subtle); color: var(--azul); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding-bottom: var(--sp-5); }
.faq-a-inner p { font-size: var(--text-sm); }
.faq-item.open .faq-a { max-height: 300px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.6);
    padding: var(--sp-12) 0 var(--sp-6);
}

.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); margin-bottom: var(--sp-10); }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer h4 {
    font-family: var(--font-body); color: white;
    font-size: var(--text-xs); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: var(--sp-4);
}

.footer p { font-size: var(--text-sm); color: rgba(255,255,255,0.5); }

.footer a {
    display: block; color: rgba(255,255,255,0.55);
    text-decoration: none; font-size: var(--text-sm);
    padding: 3px 0; transition: color 0.2s;
}

.footer a:hover { color: white; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--sp-6); text-align: center; }
.footer-bottom p { font-size: var(--text-xs); }

.footer-slogan {
    font-family: var(--font-display);
    font-style: italic;
    color: rgba(255,255,255,0.35);
    font-size: var(--text-sm);
    margin-top: var(--sp-2);
}

/* ===== WHATSAPP FLOAT ===== */
.wpp {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.wpp:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
.wpp svg { width: 28px; height: 28px; }

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed; bottom: 96px; right: 28px; z-index: 998;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--gray-200);
    color: var(--gray-600); display: flex; align-items: center; justify-content: center;
    font-size: var(--text-lg); cursor: pointer;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: var(--shadow-md);
}

.scroll-top.show { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-2px); }

/* ===== FADE IN ===== */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade.in { opacity: 1; transform: translateY(0); }
