/* ============================================================
   LANDING PAGE /start — MamãoFy Ultra Premium
   Aesthetic: Dark OLED Luxury + Glassmorphism accents
   Typography: Space Grotesk (display) + Inter (body)
   Motion: Staggered reveals + cubic-bezier spring
   ============================================================ */

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

:root {
    /* Brand */
    --orange: #F36707;
    --orange-light: #FFA669;
    --orange-dark: #D45500;
    --green: #749A17;

    /* Dark palette (OLED luxury) */
    --dark: #060608;
    --dark-2: #0c0c10;
    --dark-3: #12121a;
    --dark-surface: #16161e;

    /* Light palette */
    --gray-50: #fafafa;
    --gray-100: #f4f5f7;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;

    /* Radius */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --weight-thin: 200;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.7s;
    --duration-fast: 0.3s;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: var(--weight-thin);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* === LAYOUT === */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: 10px;
    font-family: var(--font-display); font-weight: var(--weight-bold); font-size: 1rem;
    text-decoration: none; border: none; cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    position: relative;
}
.btn--primary {
    background: var(--orange); color: var(--white);
    box-shadow: 0 4px 20px rgba(243,103,7,.3);
}
.btn--primary:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(243,103,7,.4);
}
/* Pulsing glow behind primary CTA */
.btn--primary::after {
    content: ''; position: absolute; inset: -2px; border-radius: 12px;
    background: var(--orange); opacity: 0; z-index: -1;
    animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: .12; transform: scale(1.05); }
}
.btn--lg { padding: 18px 44px; font-size: 1.125rem; border-radius: 14px; }
.btn--white { background: var(--white); color: var(--orange); }
.btn--white:hover { background: var(--gray-100); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.btn--ghost { background: transparent; color: rgba(255,255,255,.6); border: 1.5px solid rgba(255,255,255,.1); }
.btn--ghost:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.2); color: var(--white); }
.btn--gray { background: var(--gray-100); color: var(--gray-700); }
.btn--gray:hover { background: var(--gray-200); }
.btn--dark { background: var(--gray-900); color: var(--white); }
.btn--dark:hover { background: #000; transform: translateY(-3px); }
.btn--block { width: 100%; }

/* === SECTIONS === */
.section { padding: 88px 0; position: relative; z-index: 1; }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark-2 { background: var(--dark-2); color: var(--white); }
.section--gray { background: var(--gray-50); }

/* Grain texture overlay (dark sections) */
.section--dark::before, .section--dark-2::before {
    content: ''; position: absolute; inset: 0; z-index: 0; opacity: .028; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Subtle grid (dark sections) */
.section--dark::after, .section--dark-2::after {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .02;
    background-image:
        linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 64px 64px;
}
.section--dark > .container, .section--dark-2 > .container { position: relative; z-index: 1; }

/* === TAGS === */
.tag {
    display: inline-block; padding: 6px 16px; border-radius: 100px;
    font-family: var(--font-display); font-size: .7rem; font-weight: var(--weight-bold);
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
}
.tag--orange { background: rgba(243,103,7,.06); color: var(--orange); border: 1px solid rgba(243,103,7,.12); }
.tag--white { background: rgba(255,255,255,.04); color: var(--orange-light); border: 1px solid rgba(255,255,255,.06); }

/* === TITLES === */
.title { font-size: clamp(1.875rem, 4vw, 2.75rem); margin-bottom: 16px; }
.sub { font-size: 1.0625rem; color: var(--gray-500); max-width: 600px; line-height: 1.75; font-weight: var(--weight-thin); }
.gradient-text {
    background: linear-gradient(135deg, var(--orange) 0%, #ff9a56 50%, var(--orange-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(24px); }
.fade-in.visible {
    opacity: 1; transform: translateY(0);
    transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.stagger-1 { transition-delay: .05s !important; }
.stagger-2 { transition-delay: .15s !important; }
.stagger-3 { transition-delay: .25s !important; }
.stagger-4 { transition-delay: .35s !important; }
.stagger-5 { transition-delay: .5s !important; }

/* === SECTION VIDEO BACKGROUND (reusable) === */
.section-bg-video {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.section-bg-video video, .section-bg-video img {
    width: 100%; height: 100%; object-fit: cover; opacity: .6;
}
.section-bg-video::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(6,6,8,.3) 0%, rgba(6,6,8,.6) 50%, rgba(6,6,8,.9) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; }
    .btn--primary::after { animation: none; }
}

/* === NAVBAR === */
.lp-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    padding: 16px 0; transition: all var(--duration-fast) var(--ease-out);
    background: transparent;
}
.lp-nav--scrolled {
    background: rgba(6,6,8,.88); backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid rgba(255,255,255,.04); padding: 10px 0;
}
.lp-nav__inner { display: flex; align-items: center; justify-content: space-between; }
.lp-nav__logo { text-decoration: none; display: flex; align-items: center; }
.lp-nav__logo img { height: 34px; width: auto; }
.lp-nav__links { display: flex; align-items: center; gap: 6px; }
.lp-nav__link {
    color: rgba(255,255,255,.5); text-decoration: none;
    font-family: var(--font-display); font-size: .8125rem; font-weight: var(--weight-medium);
    padding: 8px 14px; border-radius: 8px; transition: all .2s var(--ease-out);
}
.lp-nav__link:hover { color: var(--white); background: rgba(255,255,255,.05); }
.lp-nav__cta {
    padding: 9px 20px; background: var(--orange); color: var(--white); border-radius: 8px;
    font-family: var(--font-display); font-size: .8125rem; font-weight: var(--weight-bold);
    text-decoration: none; transition: all .2s var(--ease-out); margin-left: 4px;
}
.lp-nav__cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* === HERO === */
.hero {
    padding: 140px 0 80px;
    background: var(--dark);
    color: var(--white);
    position: relative; overflow: hidden;
}
/* Mesh gradient orbs */
.hero::before {
    content: ''; position: absolute; top: -30%; right: -15%; width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
    background: radial-gradient(circle, rgba(243,103,7,.08) 0%, transparent 60%);
    pointer-events: none; animation: orbFloat 20s ease-in-out infinite;
}
.hero::after {
    content: ''; position: absolute; bottom: -20%; left: -10%; width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
    background: radial-gradient(circle, rgba(116,154,23,.05) 0%, transparent 60%);
    pointer-events: none; animation: orbFloat 25s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -30px); }
    66% { transform: translate(-15px, 15px); }
}
/* Grain on hero */
.hero .grain-overlay {
    position: absolute; inset: 0; opacity: .03; pointer-events: none; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero > .container { position: relative; z-index: 1; }
.hero__content { max-width: 720px; }
.hero__title { font-size: clamp(2.25rem, 5.5vw, 3.5rem); margin-bottom: 20px; letter-spacing: -0.035em; }
.hero__sub { font-size: 1.125rem; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 36px; max-width: 540px; font-weight: var(--weight-thin); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__metrics { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.05); }
.hero__metric-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--weight-bold); color: var(--white); display: block; }
.hero__metric-label { font-size: .7rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .06em; font-weight: var(--weight-regular); }
/* Hero media as BACKGROUND (behind text) or as showcase (below text) */
.hero__media--bg {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero__media--bg img, .hero__media--bg video {
    width: 100%; height: 100%; object-fit: cover; opacity: .85;
}
.hero__media--bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(6,6,8,.15) 0%, rgba(6,6,8,.5) 60%, rgba(6,6,8,.95) 100%);
}
/* Hero media as showcase (below text, with border/shadow) */
.hero__media { margin-top: 48px; position: relative; z-index: 1; }
.hero__media img, .hero__media video {
    width: 100%; border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03);
}

/* === PROBLEM CARDS === */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.problem-card {
    padding: 28px; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    transition: all var(--duration-fast) var(--ease-out);
}
.problem-card:hover {
    border-color: rgba(243,103,7,.3);
    box-shadow: 0 0 40px rgba(243,103,7,.06);
    transform: translateY(-4px);
}
.problem-card__emoji { font-size: 2rem; margin-bottom: 14px; display: block; }
.problem-card__title { font-size: 1.0625rem; font-weight: var(--weight-bold); margin-bottom: 8px; color: var(--gray-900); }
.problem-card__text { font-size: .875rem; color: var(--gray-500); line-height: 1.6; font-weight: var(--weight-thin); }

/* === SOLUTION CARDS (Glassmorphism) === */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.solution-card {
    padding: 24px;
    background: rgba(255,255,255,.025);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast) var(--ease-out);
}
.solution-card:hover {
    border-color: rgba(243,103,7,.2);
    background: rgba(255,255,255,.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(243,103,7,.06);
}
.solution-card__emoji { font-size: 1.75rem; margin-bottom: 12px; display: block; }
.solution-card__name { font-size: .9375rem; font-weight: var(--weight-bold); color: var(--white); margin-bottom: 6px; }
.solution-card__desc { font-size: .8125rem; color: rgba(255,255,255,.35); line-height: 1.6; font-weight: var(--weight-thin); }

/* === COMPARE TABLE === */
.compare-wrap { overflow-x: auto; margin-top: 32px; border-radius: var(--radius-lg); box-shadow: 0 4px 24px rgba(0,0,0,.05); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; font-size: .875rem; }
/* === CSS MOCKUPS (AI Chat + Sender Dashboard) === */

/* -- AI Chat Mockup (réplica fiel) -- */
.mockup-ai {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    font-family: var(--font-body); font-size: .7rem; color: var(--gray-800);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

/* Top bar: session selector + logo + usage badges */
.mockup-ai__topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 5px 8px; background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    gap: 4px; min-height: 0; overflow: hidden;
}
.mockup-ai__topbar-left { display: flex; align-items: center; }
.mockup-ai__session {
    font-size: .45rem; color: var(--gray-500); font-weight: var(--weight-medium);
    background: var(--gray-50); padding: 2px 6px; border-radius: 4px;
    border: 1px solid var(--gray-200); white-space: nowrap;
}
.mockup-ai__session small { color: var(--gray-400); }
/* Logo in constrained box — same pattern as home-hero__badge-logo */
.mockup-ai__logo-box {
    display: flex; align-items: center; justify-content: center;
    height: 16px; max-width: 80px; overflow: hidden; flex-shrink: 0;
}
.mockup-ai__logo-box img {
    height: 14px; width: auto; object-fit: contain;
}
.mockup-ai__badges { display: flex; gap: 4px; }
.mockup-ai__badge {
    padding: 2px 5px; border-radius: 3px; font-size: .4rem; font-weight: var(--weight-semibold);
    white-space: nowrap; line-height: 1;
}
.mockup-ai__badge--orange { background: rgba(243,103,7,.1); color: var(--orange); }
.mockup-ai__badge--outline { background: transparent; border: 1px solid var(--gray-200); color: var(--gray-500); }
.mockup-ai__badge--dark { background: var(--gray-100); color: var(--gray-600); }

/* Toolbar: feature tabs */
.mockup-ai__toolbar {
    display: flex; gap: 0; padding: 0 10px;
    border-bottom: 1px solid var(--gray-200); background: var(--gray-50);
}
.mockup-ai__tool {
    padding: 4px 5px; font-size: .4rem; color: var(--gray-400);
    font-weight: var(--weight-medium); white-space: nowrap;
}
.mockup-ai__tool b { color: var(--gray-500); font-weight: var(--weight-semibold); }

/* Chat body */
.mockup-ai__body {
    flex: 1; padding: 12px; display: flex; flex-direction: column;
    gap: 10px; overflow: hidden; background: var(--white);
}
.mockup-ai__row { display: flex; }
.mockup-ai__row--user { justify-content: flex-end; }
.mockup-ai__row--ai { justify-content: flex-start; gap: 8px; align-items: flex-start; }

/* User bubble (orange, right-aligned) */
.mockup-ai__bubble--user {
    background: var(--orange); color: var(--white);
    padding: 8px 14px; border-radius: 14px 14px 4px 14px;
    font-size: .6rem; font-weight: var(--weight-medium); line-height: 1.4;
    max-width: 75%;
}

/* AI avatar */
.mockup-ai__ai-avatar {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--gray-100); display: flex;
    align-items: center; justify-content: center; font-size: .65rem;
    flex-shrink: 0; margin-top: 2px;
}

/* AI message (left-aligned, markdown-style) */
.mockup-ai__ai-msg {
    max-width: 85%; font-size: .6rem; line-height: 1.6; color: var(--gray-700);
}
.mockup-ai__ai-msg p { margin-bottom: 4px; }
.mockup-ai__ai-msg b { font-weight: var(--weight-semibold); color: var(--gray-900); }
.mockup-ai__divider { height: 1px; background: var(--gray-200); margin: 6px 0; }
.mockup-ai__heading {
    font-family: var(--font-display); font-weight: var(--weight-bold);
    font-size: .6rem; color: var(--gray-900); margin-bottom: 4px;
    letter-spacing: .02em;
}
.mockup-ai__list {
    padding-left: 14px; margin: 0; display: flex; flex-direction: column; gap: 2px;
}
.mockup-ai__list li { font-size: .55rem; color: var(--gray-600); line-height: 1.5; }
.mockup-ai__list li b { color: var(--gray-800); }
.mockup-ai__typing {
    font-size: .5rem; color: var(--orange); font-weight: var(--weight-semibold);
    margin-top: 6px; display: block;
}
.mockup-ai__dots { animation: mockupDotsPulse 1.2s ease-in-out infinite; }
@keyframes mockupDotsPulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }

/* Staggered entrance */
.mockup-ai__anim { opacity: 0; animation: mockupMsgIn .6s var(--ease-out) forwards; }
.mockup-ai__anim--1 { animation-delay: .4s; }
.mockup-ai__anim--2 { animation-delay: 1.4s; }
@keyframes mockupMsgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Input bar */
.mockup-ai__input {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border-top: 1px solid var(--gray-200);
    background: var(--white);
}
.mockup-ai__input-text { color: var(--gray-300); font-size: .6rem; }
.mockup-ai__send {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--orange); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: var(--weight-bold);
}

/* -- Sender Dashboard Mockup -- */
.mockup-sender {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    font-family: var(--font-body); font-size: .7rem; color: var(--gray-700);
}
.mockup-sender__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; background: var(--dark); color: var(--white);
}
.mockup-sender__logo { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: .8rem; }
.mockup-sender__btn {
    padding: 5px 12px; background: var(--orange); border-radius: 6px;
    font-size: .6rem; font-weight: var(--weight-bold); color: var(--white);
}
.mockup-sender__stats {
    display: flex; gap: 1px; padding: 12px 16px; background: var(--gray-50);
}
.mockup-sender__stat {
    flex: 1; text-align: center; padding: 8px;
    background: var(--white); border-radius: 8px;
}
.mockup-sender__stat:not(:last-child) { margin-right: 8px; }
.mockup-sender__stat-val {
    display: block; font-family: var(--font-display); font-weight: var(--weight-bold);
    font-size: .9rem; color: var(--gray-900);
}
.mockup-sender__stat-label { font-size: .55rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .04em; }
.mockup-sender__flow {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 16px; flex: 1;
}
.mockup-sender__node {
    padding: 8px 12px; border-radius: 8px; font-size: .6rem; font-weight: var(--weight-bold);
    text-align: center; white-space: nowrap;
}
.mockup-sender__node--trigger { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.mockup-sender__node--email { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.mockup-sender__node--wait { background: var(--gray-100); color: var(--gray-500); border: 1px solid var(--gray-200); }
.mockup-sender__arrow { color: var(--gray-300); font-size: .75rem; }
.mockup-sender__tabs {
    display: flex; gap: 0; border-top: 1px solid var(--gray-200); padding: 0 16px;
}
.mockup-sender__tab {
    padding: 10px 14px; font-size: .6rem; font-weight: var(--weight-medium);
    color: var(--gray-400); border-bottom: 2px solid transparent;
}
.mockup-sender__tab--active { color: var(--orange); border-bottom-color: var(--orange); }

.compare-table thead th {
    background: var(--dark); color: var(--white);
    font-family: var(--font-display); font-weight: var(--weight-bold);
    font-size: .75rem; text-transform: uppercase; letter-spacing: .04em;
}
.compare-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.compare-table tbody tr:nth-child(even) { background: var(--gray-50); }
.compare-table .old { color: var(--gray-400); text-decoration: line-through; }
.compare-table .new { color: var(--orange); font-weight: var(--weight-semibold); }
.compare-table tfoot td { background: var(--gray-900); color: var(--white); font-weight: var(--weight-bold); font-size: .9375rem; }

/* === FEATURE ROW === */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat-row--rev { direction: rtl; }
.feat-row--rev > * { direction: ltr; }
.feat-img {
    background: linear-gradient(145deg, var(--dark-2), var(--dark-3));
    border-radius: var(--radius-xl); aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.05); overflow: hidden; position: relative;
}
.feat-img--light { background: linear-gradient(145deg, var(--gray-50), var(--gray-100)); border-color: var(--gray-200); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); }
.feat-img__label { color: rgba(255,255,255,.12); font-size: .8rem; text-align: center; padding: 20px; }
.feat-img--light .feat-img__label { color: var(--gray-300); }
.feat-bullets { list-style: none; margin-top: 20px; }
.feat-bullets li { display: flex; gap: 10px; padding: 8px 0; font-size: .9375rem; color: var(--gray-600); font-weight: var(--weight-thin); }
.feat-bullets li svg, .feat-bullets svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.check-icon { stroke: var(--green); }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.p-card {
    background: var(--white); border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl); padding: 32px;
    position: relative; transition: all var(--duration-fast) var(--ease-out);
}
.p-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.07); }
/* Featured card: gradient border */
.p-card--pop {
    border-color: transparent;
    background-image: linear-gradient(var(--white), var(--white)), linear-gradient(135deg, var(--orange), var(--orange-light));
    background-origin: border-box; background-clip: padding-box, border-box;
    box-shadow: 0 0 48px rgba(243,103,7,.08);
}
.p-card--pop:hover { box-shadow: 0 16px 48px rgba(243,103,7,.12); }
.p-card__badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white);
    padding: 5px 22px; border-radius: 100px;
    font-family: var(--font-display); font-size: .65rem; font-weight: var(--weight-bold);
    letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(243,103,7,.3);
}
.p-card__name { font-size: 1.25rem; margin-bottom: 4px; }
.p-card__price { display: flex; align-items: baseline; gap: 3px; margin: 14px 0 6px; }
.p-card__curr { font-size: 1.125rem; font-weight: var(--weight-bold); color: var(--gray-500); }
.p-card__val { font-size: 2.75rem; font-weight: var(--weight-bold); color: var(--gray-900); letter-spacing: -0.04em; }
.p-card__per { font-size: .875rem; color: var(--gray-400); margin-left: 2px; font-weight: var(--weight-thin); }
.p-card__desc { font-size: .8125rem; color: var(--gray-500); margin-bottom: 20px; line-height: 1.6; font-weight: var(--weight-thin); }
.p-card__list { list-style: none; margin-bottom: 24px; }
.p-card__list li { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .8125rem; color: var(--gray-600); font-weight: var(--weight-regular); }
.p-card__list li svg { width: 16px; height: 16px; flex-shrink: 0; }
.p-card__list li.off { color: var(--gray-300); }
.p-card__list li.off svg { stroke: var(--gray-300); }

/* === PRICING TOGGLE === */
.pricing-toggle {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; margin: 28px auto 0;
    background: var(--gray-100); border-radius: 100px;
    padding: 4px; width: fit-content;
}
.pricing-toggle__btn {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 22px; border-radius: 100px;
    font-size: .875rem; font-weight: var(--weight-semibold);
    color: var(--gray-500); background: transparent;
    border: none; cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    line-height: 1;
}
.pricing-toggle__btn--active {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(243,103,7,.35);
}
.pricing-toggle__save {
    display: inline-block;
    background: rgba(255,255,255,.22);
    border-radius: 100px;
    padding: 2px 8px;
    font-size: .65rem;
    font-weight: var(--weight-bold);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.pricing-toggle__btn:not(.pricing-toggle__btn--active) .pricing-toggle__save {
    background: var(--orange);
    color: var(--white);
}

/* === ANNUAL PRICING ELEMENTS === */
.p-card__price--hidden { display: none !important; }
.p-card__annual-detail {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin: -8px 0 10px;
}
.p-card__original {
    font-size: .8rem; color: var(--gray-400);
    text-decoration: line-through;
}
.p-card__total-year {
    font-size: .8rem; color: var(--gray-600); font-weight: var(--weight-semibold);
}
.p-card__discount {
    display: inline-block;
    background: #22c55e; color: #fff;
    border-radius: 100px; padding: 2px 8px;
    font-size: .7rem; font-weight: var(--weight-bold);
}

/* === VAGAS RESTANTES === */
.p-card__spots {
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: .75rem; font-weight: var(--weight-semibold);
    background: rgba(34,197,94,.08); color: #16a34a;
}
.p-card__spots--warning {
    background: rgba(234,179,8,.1); color: #a16207;
}
.p-card__spots--critical {
    background: rgba(239,68,68,.08); color: #dc2626;
    animation: pulse-spots 1.6s ease-in-out infinite;
}
@keyframes pulse-spots {
    0%, 100% { opacity: 1; }
    50% { opacity: .65; }
}

/* === SECURITY BADGES === */
.sec-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.sec-badge {
    display: flex; align-items: center; gap: 6px;
    padding: 9px 15px;
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    font-family: var(--font-display); font-size: .7rem; font-weight: var(--weight-bold);
    color: rgba(255,255,255,.55); letter-spacing: .02em;
}
.sec-badge svg { width: 15px; height: 15px; stroke: #22c55e; }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 0; cursor: pointer;
    font-family: var(--font-display); font-weight: var(--weight-bold); font-size: .9375rem;
    color: var(--gray-800); background: none; border: none; width: 100%; text-align: left;
}
.faq-q svg { width: 20px; height: 20px; stroke: var(--gray-400); transition: transform var(--duration-fast) var(--ease-out), stroke var(--duration-fast); flex-shrink: 0; }
.faq-q.active svg { transform: rotate(45deg); stroke: var(--orange); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a__inner { padding: 0 0 18px; font-size: .875rem; color: var(--gray-500); line-height: 1.8; font-weight: var(--weight-thin); }

/* === CTA FINAL === */
.cta-final {
    padding: 88px 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white); text-align: center;
    position: relative; overflow: hidden;
}
.cta-final::before {
    content: ''; position: absolute; top: -120px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
    pointer-events: none;
}
.cta-final > .container { position: relative; z-index: 1; }
.cta-final .title { color: var(--white); }

/* === FOOTER === */
.lp-footer {
    padding: 32px 0; background: var(--dark);
    color: rgba(255,255,255,.25); text-align: center;
    font-size: .75rem; font-weight: var(--weight-thin);
}
.lp-footer a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.lp-footer a:hover { color: var(--orange); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .problem-grid, .solution-grid, .pricing-grid { grid-template-columns: 1fr; }
    .feat-row, .feat-row--rev { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
    .hero { padding: 120px 0 60px; }
    .hero__metrics { gap: 24px; }
    .lp-nav__link, .lp-nav__cta { display: none; }
    .lp-nav__burger { display: flex; }
    .section { padding: 64px 0; }
}
@media (min-width: 600px) and (max-width: 900px) {
    .problem-grid, .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === UTILITY CLASSES (replace inline styles) === */
.text-white { color: var(--white) !important; }
.text-muted-white { color: rgba(255,255,255,.45); }
.text-muted-white-2 { color: rgba(255,255,255,.4); }
.text-orange { color: var(--orange) !important; }
.text-gray-note { text-align: center; margin-top: 14px; font-size: .75rem; color: var(--gray-400); }
.mb-20 { margin-bottom: 20px; }
.mt-28 { margin-top: 28px; }
.lh-17 { line-height: 1.7; }

/* Feature description text (dark bg) */
.feat-desc { color: rgba(255,255,255,.45); margin-bottom: 20px; line-height: 1.7; font-weight: var(--weight-thin); }
.feat-desc--light { color: var(--gray-500); }

/* Pricing CTA variants */
.btn--block { width: 100%; }

/* Marca section */
.marca-logo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.marca-logo img { height: 48px; width: auto; }
/* Marca logo with round icon box */
.marca-logo__icon-box {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white); border-radius: 50%; padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.marca-logo__icon-box img { height: 36px; width: 36px; object-fit: contain; }
.marca-logo__r { font-size: 1.5rem; font-weight: var(--weight-bold); color: rgba(255,255,255,.5); }
.marca-text { color: rgba(255,255,255,.55); font-size: .9375rem; max-width: 460px; margin: 0 auto 20px; line-height: 1.6; font-weight: var(--weight-thin); }
.marca-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.marca-links a { color: rgba(255,255,255,.45); font-size: .8rem; text-decoration: none; transition: color .2s; }
.marca-links a:hover { color: var(--orange); }

/* Navbar logo with white box */
.lp-nav__logo-box {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white); border-radius: 10px; padding: 5px 10px;
}
.lp-nav__logo-box img { height: 26px; width: auto; }

/* Feature section logo (AI) */
.feat-logo { height: 44px; width: auto; margin-bottom: 16px; }

/* Footer icon box */
.lp-footer__logo { margin-bottom: 12px; }
.lp-footer__icon-box {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white); border-radius: 12px; padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.lp-footer__icon-box img { height: 32px; width: auto; }
.lp-footer__links { margin-top: 6px; }

/* CTA Final */
.cta-final .title { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 12px; }
.cta-final .sub { color: rgba(255,255,255,.85); max-width: 440px; margin: 0 auto 36px; font-weight: var(--weight-thin); }

/* ============================================================
   CONTRAST FIX: Ensure WCAG AA readability on dark backgrounds
   ============================================================ */

/* Solution card descriptions */
.solution-card__desc { color: rgba(255,255,255,.6); }

/* Feature bullet items on dark bg */
.section--dark .feat-bullets li,
.section--dark-2 .feat-bullets li { color: rgba(255,255,255,.7); }

/* Feature descriptions on dark sections */
.feat-desc { color: rgba(255,255,255,.7); }

/* Hero sub text */
.hero__sub { color: rgba(255,255,255,.65); }

/* Security badge text */
.sec-badge { color: rgba(255,255,255,.75); }

/* Tag on dark bg */
.tag--white { color: var(--orange-light); border-color: rgba(255,255,255,.12); }

/* Muted white utilities */
.text-muted-white { color: rgba(255,255,255,.6); }
.text-muted-white-2 { color: rgba(255,255,255,.55); }

/* Footer text */
.lp-footer { color: rgba(255,255,255,.45); }
.lp-footer a { color: rgba(255,255,255,.6); }

/* Hero metric labels */
.hero__metric-label { color: rgba(255,255,255,.45); }

/* Hero metric labels */
.hero__metric-label { color: rgba(255,255,255,.4); }

/* FAQ answer text on gray bg */
.faq-a__inner { color: var(--gray-600); }

/* Compare table footer total */
.compare-table tfoot td .text-orange { color: var(--orange); }

/* === HAMBURGER BUTTON === */
.lp-nav__burger {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    width: 40px; height: 40px; gap: 5px; cursor: pointer;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: 0; transition: background .2s;
}
.lp-nav__burger:hover { background: rgba(255,255,255,.1); }
.lp-nav__burger span {
    display: block; width: 18px; height: 2px; background: var(--white);
    border-radius: 2px; transition: transform .28s var(--ease-out), opacity .28s;
    transform-origin: center;
}
.lp-nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-nav__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lp-nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === MOBILE MENU === */
.lp-mobile-menu {
    position: fixed; inset: 0; z-index: 19998;
    pointer-events: none; visibility: hidden;
}
.lp-mobile-menu.open {
    pointer-events: auto; visibility: visible;
}
.lp-mobile-menu__backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.72); backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .3s var(--ease-out);
}
.lp-mobile-menu.open .lp-mobile-menu__backdrop { opacity: 1; }
.lp-mobile-menu__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
    background: #0d0d10; border-left: 1px solid rgba(255,255,255,.07);
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .32s var(--ease-out);
    overflow-y: auto;
}
.lp-mobile-menu.open .lp-mobile-menu__panel { transform: translateX(0); }
.lp-mobile-menu__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.lp-mobile-menu__close {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px; cursor: pointer; color: rgba(255,255,255,.7);
    transition: background .2s, color .2s;
}
.lp-mobile-menu__close:hover { background: rgba(255,255,255,.12); color: var(--white); }
.lp-mobile-menu__nav {
    display: flex; flex-direction: column; padding: 12px 16px; flex: 1; gap: 2px;
}
.lp-mobile-menu__link {
    display: block; padding: 14px 16px; border-radius: 10px;
    color: rgba(255,255,255,.65); text-decoration: none;
    font-family: var(--font-display); font-size: 1rem; font-weight: var(--weight-medium);
    transition: background .18s, color .18s;
}
.lp-mobile-menu__link:hover { background: rgba(255,255,255,.06); color: var(--white); }
.lp-mobile-menu__footer {
    padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.06);
}


/* === PROFILE TOGGLE (instrutor / organizacao) === */
.profile-toggle {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; margin: 28px auto 12px;
    background: #0d0d10; border-radius: 100px;
    padding: 4px; width: fit-content;
    border: 1px solid rgba(255,255,255,.08);
}
.profile-toggle__btn {
    display: flex; align-items: center;
    padding: 10px 28px; border-radius: 100px;
    font-size: .9375rem; font-weight: var(--weight-semibold);
    color: rgba(255,255,255,.45); background: transparent;
    border: none; cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    line-height: 1; white-space: nowrap;
}
.profile-toggle__btn--active {
    background: rgba(255,255,255,.1);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.profile-toggle__btn:hover:not(.profile-toggle__btn--active) {
    color: rgba(255,255,255,.75);
}

/* Org plans: 2-column centered grid */
.pricing-grid--2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 640px) {
    .pricing-grid--2col { grid-template-columns: 1fr; }
}
