/* Design System Dashboard Agendix — Apple iOS (igual DashboardPage.tsx) */
:root {
    /* Dark Mode — mesmas variáveis que dashboard.css .dark */
    --bg-color: #171717;
    --bg-secondary: #0a0a0a;
    --bg-card: #212121;
    --text-main: #ececec;
    --text-muted: #8e8ea0;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.06);
    --primary-color: #007AFF;
    --primary-glow: rgba(0, 122, 255, 0.08);
    --accent-color: #007AFF;
    --bg-rgb-values: 23, 23, 23;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-3xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.1);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Serif de acento no slogan (rápido. / fast.) — DM Serif Display = elegância marcante (Awwwards style) */
    --font-display: 'DM Serif Display', Georgia, serif;

    --section-padding: 120px 0;
    --guide-line: rgba(255, 255, 255, 0.06);
    --guide-dot: rgba(255, 255, 255, 0.25);
    --glass-bg: rgba(33, 33, 33, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Light Mode — igual dashboard.css (Apple iOS) */
html.light :root {
    --bg-color: #F6F6F6;
    --bg-secondary: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-main: #1C1C1E;
    --text-muted: #8E8E93;
    --border-color: #E5E5EA;
    --border-light: #E5E5EA;
    --primary-color: #007AFF;
    --primary-glow: rgba(0, 122, 255, 0.1);
    --accent-color: #007AFF;
    --guide-line: rgba(0, 0, 0, 0.05);
    --guide-dot: rgba(0, 0, 0, 0.1);
    --bg-rgb-values: 246, 246, 246;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Fundo preto puro — sem gradientes que criavam tom cinza */
    background-image: none;
    position: relative;
    overflow-x: hidden;
}

/* Linhas de guia removidas — design limpo como Dashboard */
body::before,
body::after {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
}

/* Divisores de Seção — sutil como Dashboard */
.section-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    position: relative;
    z-index: 10;
}

.section-divider::before,
.section-divider::after {
    display: none;
}

/* Tipografia */
h1,
h2,
h3,
h4 {
    letter-spacing: -0.04em;
    font-weight: 600;
}

h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
}

.text-gradient {
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 16px;
    overflow: visible;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* Botões — rounded-3xl como Dashboard */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-3xl);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    min-height: 40px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    box-sizing: border-box;
}

a.btn-primary,
a.btn-primary:visited {
    color: #FFFFFF;
}

.btn-primary {
    background: #007AFF;
    color: #FFFFFF;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #0066CC;
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

/* Hero: "Ver documentação" — só texto, sem fundo (todos os viewports) */
body.landing-home section.hero .hero-actions-row .btn-secondary,
.landing-efferd-wrapper section.hero .hero-actions-row .btn-secondary {
    background: transparent !important;
    border: none !important;
}
body.landing-home section.hero .hero-actions-row .btn-secondary:hover,
.landing-efferd-wrapper section.hero .hero-actions-row .btn-secondary:hover {
    background: transparent !important;
    color: var(--primary-color) !important;
}
body.landing-home section.hero .hero-actions-row .btn-secondary:active,
.landing-efferd-wrapper section.hero .hero-actions-row .btn-secondary:active {
    background: transparent !important;
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: rgba(0, 122, 255, 0.3);
    color: var(--primary-color);
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* Navbar — card clean como Dashboard (rounded-3xl) */
.navbar {
    --nav-height: 56px;
    --nav-inset: 8px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100vw - 80px));
    max-width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Inset à direita = igual ao espaço vertical → botão harmonioso com o arredondamento */
    padding: 0 var(--nav-inset) 0 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-3xl);
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    overflow: hidden;
}

.navbar::before {
    display: none;
}

.navbar:hover {
    box-shadow: var(--shadow-lg);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-main);
    transition: opacity 0.2s;
}

.navbar-logo:hover {
    opacity: 0.95;
}

.navbar-logo img {
    height: 32px;
    width: auto;
    border-radius: 6px;
    transition: filter 0.2s;
}

.navbar-logo:hover img {
    filter: drop-shadow(0 0 8px rgba(0, 122, 255, 0.3));
}

/* Nav links — underline animado no hover */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-links > a {
    position: relative;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #71717A;
    padding: 10px 16px;
    border-radius: 8px;
    transition: color 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
}

/* Traço inferior — sólido, alinhado à área clicável, visível e consistente */
.navbar-links > a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-color);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: center;
    transition:
        opacity 0.2s ease,
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(0, 122, 255, 0.45);
}

.navbar-links > a.active {
    color: #007AFF;
    font-weight: 600;
}

/* Página selecionada: sem barra azul por baixo (só destaque de cor) */
.navbar-links > a.active::after {
    opacity: 0;
    transform: scaleX(0);
    pointer-events: none;
}

.navbar-links > a:hover,
.navbar-links > a:focus-visible {
    color: #FAFAFA;
}

.navbar-links > a:hover::after,
.navbar-links > a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Divisor entre links de secção (Funcionalidades, Planos) e páginas (Documentação, Blog) */
.navbar-divider {
    display: inline-block;
    width: 1px;
    height: 20px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 1px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Language Switcher — minimalista */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    margin-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.7rem;
    font-weight: 600;
    color: #52525B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lang-switcher a {
    color: #52525B;
    transition: color 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.lang-switcher a:hover {
    color: #A1A1AA;
}

.lang-switcher .active {
    color: var(--primary-color);
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .navbar-links > a {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .navbar-links > a::after {
        display: none;
    }

    .lang-switcher {
        padding: 0 12px;
        margin-left: 4px;
        font-size: 0.65rem;
    }

    .navbar .btn-primary {
        padding: 8px 16px;
        font-size: 0.75rem;
        height: 36px;
    }
}


.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar .login-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #71717A;
    transition: color 0.2s;
    padding: 10px 14px;
    border-radius: 8px;
}

.navbar .login-link:hover {
    color: #FAFAFA;
}

/* Navbar CTA — pill button encostado à borda (Apple-style nested radius) */
.navbar .btn-primary {
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.875rem;
}

/* Light mode navbar — mantém fundo escuro para contraste e consistência */
html.light .navbar {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

html.light .navbar:hover {
    box-shadow: var(--shadow-lg);
}

/* Override antigo removido */
html.light .navbar-old {
    background: linear-gradient(180deg, rgba(15, 15, 17, 0.94) 0%, rgba(8, 8, 10, 0.92) 100%);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 0 0 1px rgba(0, 122, 255, 0.04),
        0 4px 24px -4px rgba(0, 0, 0, 0.35);
}

html.light .navbar-links > a {
    color: var(--text-muted);
}

html.light .navbar-links > a:hover {
    color: var(--text-main);
}

html.light .navbar .login-link {
    color: var(--text-muted);
}

html.light .navbar .login-link:hover {
    color: var(--text-main);
}

html.light .navbar-logo {
    color: var(--text-main);
}

html.light .lang-switcher,
html.light .lang-switcher a {
    color: #71717A;
}

html.light .lang-switcher a:hover {
    color: var(--text-main);
}

html.light .lang-switcher .active {
    color: var(--primary-color);
}

/* Pill / Tag */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 99px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02);
}

.pill-badge {
    background: #FFFFFF;
    color: #000000;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Hero Section — Premium conversion-focused (Apple/Uber/Meta) */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    z-index: 1;
    box-sizing: border-box;
}

.hero .container-inner {
    width: 100%;
    overflow: visible;
}

/* Hero do artigo do blog: imagem em cima, apresentação por baixo — organizado e profissional */
.blog-article-hero {
    padding: 100px 0 80px;
    min-height: auto;
    display: block !important;
}
.blog-article-hero .container-inner,
.blog-article-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    max-width: 900px;
    margin: 0 auto;
}
.blog-article-hero-image {
    width: 100%;
    order: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}
.blog-article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
.blog-article-hero-content {
    order: 2;
    text-align: center;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.blog-article-hero-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    width: 100%;
    max-width: 560px;
    flex-wrap: wrap;
    order: 3;
}
.blog-article-hero-badge {
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin: 0 !important;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}
.blog-article-hero-content h1 {
    order: 1;
    margin-top: 0;
    margin-bottom: 16px;
}
.blog-article-hero-content .hero-tagline {
    order: 2;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.05rem;
    color: var(--text-muted);
}
.blog-article-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.blog-article-hero-meta span:nth-child(2),
.blog-article-hero-meta span:nth-child(4) {
    opacity: 0.5;
}

/* Blog artigo: permitir sticky na section do artigo.
   overflow-x: hidden em QUALQUER ancestral mata position: sticky.
   Solução: overflow-x: clip faz o mesmo corte visual sem criar scroll container. */

/* Nível 1: html e body — só no contexto blog-post (:has + fallback com classe no body) */
html.landing-efferd-active:has(.blog-post) {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
html.landing-efferd-active:has(.blog-post) body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

/* Fallback para browsers sem :has() — a classe blog-post-active é adicionada pelo React */
body.blog-post-active {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

/* Nível 2: #root */
html.landing-efferd-active:has(.blog-post) #root {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
body.blog-post-active #root {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

/* Nível 3–7: todos os wrappers internos do React e da Landing */
.blog-post,
.blog-post.landing-efferd-wrapper,
.blog-post .landing-efferd,
.blog-post main.section,
.blog-post .container-inner,
.blog-post .article-layout,
body.blog-post-active main, /* Main do Layout.tsx */
body.blog-post-active #root > div, /* Div wrapper do Layout.tsx */
body.blog-post-active .landing-efferd-wrapper {
    overflow: visible !important;
}

/* Mesma lógica para landing-home (se tiver sidebar) */
.landing-home,
.landing-home main.section,
.landing-home .container-inner,
.landing-home .article-layout {
    overflow: visible !important;
}

/* Blog artigo: navbar não acompanha o scroll (rola com a página) */
.blog-post .landing-efferd {
    position: relative;
}
.blog-post .navbar {
    position: absolute !important;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}
@media (max-width: 768px) {
    .blog-post .navbar {
        top: 12px;
        left: 16px;
        right: 16px;
        transform: none !important;
    }
}

/* Layout do artigo: coluna lateral + conteúdo */
.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: stretch !important; /* Forçar as colunas a terem a mesma altura (essencial para o sticky) */
}
/* Wrapper da coluna do sidebar: ocupa a 1.ª coluna no grid para o artigo ficar na 2.ª */
.article-layout-sidebar-col {
    width: 280px;
    min-height: 100%; /* Garantir que a coluna estica até ao fim do artigo */
}
/* Menu lateral: sticky para acompanhar o scroll APENAS dentro da sua secção */
.sidebar.sidebar--sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px !important; /* Ajustado para ficar melhor na secção */
    width: 280px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 20;
    display: block !important;
}
@media (max-width: 767px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-layout-sidebar-col {
        width: 100%;
    }
    .sidebar.sidebar--sticky {
        position: static;
        left: auto;
        width: 100%;
        max-height: none;
    }
}

/* Imagem dentro do corpo do artigo — alinhada à esquerda, em cima do texto */
.article-content .article-hero-image {
    max-width: 560px;
    width: 100%;
    margin: 0 0 48px 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
}
.article-content .article-hero-image img {
    width: 100%;
    height: auto;
    max-height: 320px;
    display: block;
}

.hero::before {
    content: '';
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse at center, rgba(0, 122, 255, 0.08) 0%, rgba(0, 122, 255, 0.02) 35%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
    z-index: 2;
}

/* Grid simétrico 50/50 — alinhamento NASA */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    justify-items: stretch;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-bottom: 0;
    margin-top: 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    animation: heroContentFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: visible;
}

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

.hero h1 {
    /* Slogan premium — hierarquia clara para conversão */
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.18;
    margin-bottom: 10px;
    letter-spacing: -0.06em;
    font-weight: 700;
    overflow: visible;
    padding-bottom: 0.06em;
}

/* Desktop: segunda linha do slogan — "Cresça rápido." na mesma linha (rápido à direita de Cresça) */
@media (min-width: 769px) {
    .hero-slogan-line2 {
        white-space: nowrap;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        /* Slogan ainda maior no mobile */
        font-size: clamp(3rem, 11vw, 3.65rem);
        margin-bottom: 8px;
        line-height: 1.05;
    }
}


.text-blue {
    color: #007AFF;
    /* Agendix Blue */
}

/* Palavra em azul na hero — flash de luz que percorre o texto (Rápido. / Fast.) */
.word-accent {
    font-family: var(--font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: 1.1em !important;
    letter-spacing: -0.01em !important;
    display: inline-block !important;
    background-image:
        linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.95) 48%, #FFFFFF 52%, transparent 65%),
        linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%) !important;
    background-size: 400% 100%, 100% 100% !important;
    background-repeat: no-repeat !important;
    background-position: 100% 0, 0 0 !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: lightningShine 3s ease-in-out infinite !important;
    overflow: visible !important;
    padding: 0.1em 4px;
    line-height: inherit;
    vertical-align: baseline;
}

.lightning-text {
    font-family: var(--font-display) !important;
    font-style: italic !important;
    font-weight: 400 !important;
    font-size: 1.1em !important;
    letter-spacing: -0.01em !important;
    display: inline-block !important;
    background-image:
        linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.95) 48%, #FFFFFF 52%, transparent 65%),
        linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%) !important;
    background-size: 400% 100%, 100% 100% !important;
    background-repeat: no-repeat !important;
    background-position: 100% 0, 0 0 !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: lightningShine 3s ease-in-out infinite !important;
    overflow: visible !important;
    padding: 0.1em 4px;
    line-height: inherit;
    vertical-align: baseline;
}

/* Só quando .lightning-text tem spans filhos (estilo alternativo por letra) */
.lightning-text span {
    display: inline-block;
    background-image: 
        linear-gradient(110deg, transparent 40%, #FFFFFF 50%, transparent 60%),
        linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%) !important;
    background-size: 200% 100%, 100% 100% !important;
    background-position: -150% 0, 0 0 !important;
    background-repeat: no-repeat !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: letterBeam 1s linear infinite;
}

.lightning-text span:nth-child(1) { animation-delay: 0.0s; }
.lightning-text span:nth-child(2) { animation-delay: 0.1s; }
.lightning-text span:nth-child(3) { animation-delay: 0.2s; }
.lightning-text span:nth-child(4) { animation-delay: 0.3s; }
.lightning-text span:nth-child(5) { animation-delay: 0.4s; }
.lightning-text span:nth-child(6) { animation-delay: 0.5s; }
.lightning-text span:nth-child(7) { animation-delay: 0.6s; }

/* .lightning-text agora é alias de .word-accent para paridade total */

/* Evitar que a palavra em azul com efeito (.lightning-text) apareça cortada */
section.hero .hero-content h1,
section.hero h1,
.hero-content h1 {
    overflow: visible !important;
}
section.hero .hero-content,
.hero-content {
    overflow: visible !important;
}

/* Docs-hero: usa as mesmas classes globais */

@keyframes letterBeam {
    0% { background-position: -150% 0, 0 0; }
    50% { background-position: 150% 0, 0 0; }
    100% { background-position: 150% 0, 0 0; }
}

@keyframes lightningShine {
    0% { background-position: 150% 0, 0 0; }
    40% { background-position: 150% 0, 0 0; }
    60% { background-position: -50% 0, 0 0; }
    100% { background-position: -50% 0, 0 0; }
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1.5;
    overflow: visible;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 440px;
    line-height: 1.6;
    overflow: visible;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 12px;
        opacity: 0.9;
    }

    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
}


/* Hero CTAs — conversion-focused, CTA primário domina */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 520px;
}

.hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    width: 100%;
}

/* CTA primário maior — destaque absoluto para conversão */
.hero-actions-row .btn {
    min-height: 52px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.hero-actions-row .btn-primary {
    min-height: 56px;
    padding: 16px 32px;
    font-size: 1rem;
}

.hero-actions-row .btn svg {
    flex-shrink: 0;
    margin-left: 0;
}

/* "Ver documentação" — só texto, sem fundo (todos os viewports) */
body.landing-home section.hero .hero-actions-row .btn-secondary,
.landing-efferd-wrapper section.hero .hero-actions-row .btn-secondary {
    background: transparent !important;
    border: none !important;
}
body.landing-home section.hero .hero-actions-row .btn-secondary:hover,
.landing-efferd-wrapper section.hero .hero-actions-row .btn-secondary:hover {
    background: transparent !important;
    border: none !important;
    color: var(--primary-color);
}
body.landing-home section.hero .hero-actions-row .btn-secondary:active,
.landing-efferd-wrapper section.hero .hero-actions-row .btn-secondary:active {
    background: transparent !important;
    border: none !important;
}

/* Link terciário — não compete com os botões; alinhado à esquerda */
.hero-actions-anchor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-actions-anchor::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    margin-top: 2px;
    opacity: 0.7;
}

.hero-actions-anchor:hover {
    color: #FFFFFF;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

/* Mobile hero CTAs: coluna centrada — stretch quebrava alinhamento visual */
@media (max-width: 768px) {
    .hero-actions {
        align-items: center;
        width: 100%;
        max-width: min(100%, 360px);
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
        gap: 12px;
    }

    .hero-actions-row {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        width: 100%;
    }

    .hero-actions-row .btn {
        width: 100%;
        min-height: 44px;
    }

    .hero-actions-anchor {
        justify-content: center;
        width: 100%;
        padding: 10px 0;
        text-align: center;
    }
}


/* Hero CTA: mobile só "Começar", tablet/desktop "Começar agora" */
.hero-cta-btn .hero-cta-mobile {
    display: inline;
}

.hero-cta-btn .hero-cta-desktop {
    display: none;
}

@media (min-width: 768px) {
    .hero-cta-btn .hero-cta-mobile {
        display: none;
    }

    .hero-cta-btn .hero-cta-desktop {
        display: inline;
    }
}

.btn-tertiary {
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-tertiary:hover {
    color: #FFFFFF;
}

.hero-features {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* h-feature — neutro, alinhado ao restante da página (sem cor) */
.h-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-3xl);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.h-feature:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.08);
}

.h-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.h-feature-icon svg {
    width: 18px;
    height: 18px;
}

.h-feature-text h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.h-feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .h-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .h-feature-icon {
        width: 40px;
        height: 40px;
    }

    .h-feature-text h4 {
        font-size: 0.85rem;
    }

    .h-feature-text p {
        font-size: 0.75rem;
        max-width: 120px;
    }
}

/* Página de contacto — estilos quando carregada via SPA (ContactoPage injeta só body; CSS já está aqui) */
.contact-hero {
    padding: 160px 0 80px;
    text-align: center;
}
.contact-hero h1 {
    margin-bottom: 16px;
}
.contact-hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 2rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 3rem;
}
.contact-card {
    padding: 36px 32px;
    border-radius: var(--radius-3xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.contact-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 28px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
}
.contact-card-icon svg {
    width: 24px;
    height: 24px;
    color: #D4D4D8;
}
.contact-card-icon svg[stroke]:not([stroke="none"]) {
    stroke: #D4D4D8;
}
.contact-card-icon svg[fill]:not([fill="none"]) {
    fill: #D4D4D8;
}
.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #FAFAFA;
    margin-bottom: 14px;
}
.contact-card p {
    color: #A1A1AA;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}
.contact-card .btn {
    width: 100%;
    justify-content: center;
}
.contact-card .btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #D4D4D8;
}
.contact-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #FAFAFA;
}
.contact-hero .back-home {
    margin-bottom: 2rem;
}

/* Pill with Avatars */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 6px;
    border-radius: 99px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.03);
}

.pill-avatars {
    display: flex;
    align-items: center;
}

.pill-avatars img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    margin-left: -8px;
}

.pill-avatars img:first-child {
    margin-left: 0;
}

/* Visuals — mockup grande, centralizado, simétrico
   overflow-x hidden evita scroll horizontal; padding-top dá folga para animação subir sem cortar no topo */
.hero-visuals {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 400px;
    pointer-events: none;
    z-index: 5;
    overflow-x: hidden;
    overflow-y: visible;
    /* Folga no topo para o movimento ascendente + glow não encostar no clip */
    padding-top: 28px;
    padding-bottom: 12px;
    box-sizing: border-box;
}

.hero-dashboard-only {
    width: 100%;
    max-width: min(820px, 100%);
    box-sizing: border-box;
    height: auto;
    max-height: min(850px, 82vh);
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

/* Aurora effect removed */

.mockup-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 122, 255, 0.08) 0%, transparent 80%);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #27272A;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.mockup-desktop .mockup-header {
    height: 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.mockup-body-dashboard {
    padding: 0;
    overflow: hidden;
}

.mockup-dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3F3F46;
}

.mockup-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    font-size: 0.9rem;
}

/* ========== Storytelling: scroll reveal + progress bar ========== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    pointer-events: none;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #007AFF, #60A5FA);
    transition: width 0.08s ease-out;
}

/* Secções com reveal ao scroll */
.story-section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger dos elementos dentro das secções */
.story-section.story-visible .grid-3 > .card,
.story-section.story-visible .pricing-grid > .pricing-card,
.story-section.story-visible .faq-grid .faq-item,
.story-section.story-visible .crm-moments-grid > .card {
    animation: story-stagger 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-section.story-visible .grid-3 > .card:nth-child(1),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(1),
.story-section.story-visible .faq-column:nth-child(1) .faq-item,
.story-section.story-visible .crm-moments-grid > .card:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .grid-3 > .card:nth-child(2),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(2),
.story-section.story-visible .faq-column:nth-child(2) .faq-item,
.story-section.story-visible .crm-moments-grid > .card:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .grid-3 > .card:nth-child(3),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(3),
.story-section.story-visible .faq-column:nth-child(3) .faq-item,
.story-section.story-visible .crm-moments-grid > .card:nth-child(3) { animation-delay: 0.15s; }
.story-section.story-visible .crm-moments-grid > .card:nth-child(4) { animation-delay: 0.2s; }
.story-section.story-visible .crm-moments-grid > .card:nth-child(5) { animation-delay: 0.25s; }
.story-section.story-visible .crm-moments-grid > .card:nth-child(6) { animation-delay: 0.3s; }

@keyframes story-stagger {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-section.story-visible .grid-3 > .card,
    .story-section.story-visible .pricing-grid > .pricing-card,
    .story-section.story-visible .faq-grid .faq-item,
    .story-section.story-visible .crm-moments-grid > .card {
        animation: none;
    }
    .story-progress-bar { transition: none; }
}

/* ========== Storytelling: scroll reveal + progress bar ========== */
.landing-efferd-wrapper {
    position: relative;
}

.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 122, 255, 0.7));
    transition: width 0.1s ease-out;
}

/* Secções reveladas ao scroll — narrativa fluida */
.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger: filhos entram em cascata */
.story-section.story-visible .grid-3 > *,
.story-section.story-visible .pricing-grid > *,
.story-section.story-visible .faq-grid .faq-column > *,
.story-section.story-visible .crm-moments-grid > * {
    animation: story-stagger-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.story-section.story-visible .grid-3 > *:nth-child(1),
.story-section.story-visible .pricing-grid > *:nth-child(1),
.story-section.story-visible .crm-moments-grid > *:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .grid-3 > *:nth-child(2),
.story-section.story-visible .pricing-grid > *:nth-child(2),
.story-section.story-visible .crm-moments-grid > *:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .grid-3 > *:nth-child(3),
.story-section.story-visible .pricing-grid > *:nth-child(3),
.story-section.story-visible .crm-moments-grid > *:nth-child(3) { animation-delay: 0.15s; }
.story-section.story-visible .grid-3 > *:nth-child(4),
.story-section.story-visible .crm-moments-grid > *:nth-child(4) { animation-delay: 0.2s; }
.story-section.story-visible .grid-3 > *:nth-child(5),
.story-section.story-visible .crm-moments-grid > *:nth-child(5) { animation-delay: 0.25s; }
.story-section.story-visible .grid-3 > *:nth-child(6),
.story-section.story-visible .crm-moments-grid > *:nth-child(6) { animation-delay: 0.3s; }
.story-section.story-visible .faq-grid .faq-column > *:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .faq-grid .faq-column > *:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .faq-grid .faq-column > *:nth-child(3) { animation-delay: 0.15s; }

@keyframes story-stagger-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-section.story-visible .grid-3 > *,
    .story-section.story-visible .pricing-grid > *,
    .story-section.story-visible .faq-grid .faq-column > *,
    .story-section.story-visible .crm-moments-grid > * {
        animation: none;
    }
}

/* Storytelling — Scroll reveal + progress bar */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #007AFF, #00C48C);
    transition: width 0.08s ease-out;
}
.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}
.story-section.story-visible .card,
.story-section.story-visible .pricing-card,
.story-section.story-visible .faq-item,
.story-section.story-visible .crm-moment-card {
    animation: storyStaggerIn 0.5s ease-out forwards;
}
.story-section .card { opacity: 0; animation-delay: 0.1s; }
.story-section .card:nth-child(2) { animation-delay: 0.15s; }
.story-section .card:nth-child(3) { animation-delay: 0.2s; }
.story-section .card:nth-child(4) { animation-delay: 0.25s; }
.story-section .card:nth-child(5) { animation-delay: 0.3s; }
.story-section .card:nth-child(6) { animation-delay: 0.35s; }
.story-section .pricing-card { opacity: 0; }
.story-section .pricing-card:nth-child(1) { animation-delay: 0.1s; }
.story-section .pricing-card:nth-child(2) { animation-delay: 0.2s; }
.story-section .pricing-card:nth-child(3) { animation-delay: 0.3s; }
@keyframes storyStaggerIn {
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible { transition: none; transform: none; opacity: 1; }
    .story-section .card,
    .story-section .pricing-card { opacity: 1; animation: none; }
}

/* Storytelling — scroll reveal + progress bar */
.landing-efferd-wrapper {
    position: relative;
}
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    pointer-events: none;
}
.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #007AFF, #60A5FA);
    transition: width 0.12s ease-out;
}
.story-section {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}
.story-section.story-visible .grid-3 > .card,
.story-section.story-visible .pricing-grid > .pricing-card,
.story-section.story-visible .faq-grid .faq-column .faq-item,
.story-section.story-visible .crm-moments-grid > .card {
    animation: story-stagger 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.story-section.story-visible .grid-3 > .card:nth-child(1) { animation-delay: 0.08s; }
.story-section.story-visible .grid-3 > .card:nth-child(2) { animation-delay: 0.16s; }
.story-section.story-visible .grid-3 > .card:nth-child(3) { animation-delay: 0.24s; }
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(1) { animation-delay: 0.08s; }
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(2) { animation-delay: 0.16s; }
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(3) { animation-delay: 0.24s; }
@keyframes story-stagger {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible { transition: none; opacity: 1; transform: none; }
    .story-section.story-visible .grid-3 > .card,
    .story-section.story-visible .pricing-grid > .pricing-card,
    .story-section.story-visible .faq-grid .faq-column .faq-item,
    .story-section.story-visible .crm-moments-grid > .card { animation: none; }
}

/* Storytelling: barra de progresso e scroll reveal */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    pointer-events: none;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #007AFF, #60A5FA);
    transition: width 0.12s ease-out;
}

.story-section {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

.story-section.story-visible .card,
.story-section.story-visible .pricing-card,
.story-section.story-visible .faq-item,
.story-section.story-visible .crm-moment-card {
    animation: story-card-reveal 0.5s ease-out forwards;
}

.story-section .card:nth-child(1),
.story-section .pricing-card:nth-child(1) { animation-delay: 0.05s; }
.story-section .card:nth-child(2),
.story-section .pricing-card:nth-child(2) { animation-delay: 0.1s; }
.story-section .card:nth-child(3),
.story-section .pricing-card:nth-child(3) { animation-delay: 0.15s; }
.story-section .card:nth-child(4) { animation-delay: 0.2s; }
.story-section .card:nth-child(5) { animation-delay: 0.25s; }
.story-section .card:nth-child(6) { animation-delay: 0.3s; }

@keyframes story-card-reveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-section.story-visible .card,
    .story-section.story-visible .pricing-card,
    .story-section.story-visible .faq-item,
    .story-section.story-visible .crm-moment-card {
        animation: none;
    }
    .story-progress-bar {
        transition: none;
    }
}

/* ===== Storytelling: scroll reveal + progress bar ===== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 122, 255, 0.7));
    transition: width 0.1s ease-out;
}

.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

.story-section.story-visible .grid-3 > *,
.story-section.story-visible .pricing-grid > *,
.story-section.story-visible .faq-grid > *,
.story-section.story-visible .crm-moments-grid > * {
    animation: story-stagger 0.5s ease-out forwards;
}

.story-section.story-visible .grid-3 > *:nth-child(1),
.story-section.story-visible .pricing-grid > *:nth-child(1),
.story-section.story-visible .faq-column:nth-child(1) .faq-item,
.story-section.story-visible .crm-moments-grid > *:nth-child(1) {
    animation-delay: 0.1s;
}

.story-section.story-visible .grid-3 > *:nth-child(2),
.story-section.story-visible .pricing-grid > *:nth-child(2),
.story-section.story-visible .faq-column:nth-child(2) .faq-item,
.story-section.story-visible .crm-moments-grid > *:nth-child(2) {
    animation-delay: 0.2s;
}

.story-section.story-visible .grid-3 > *:nth-child(3),
.story-section.story-visible .pricing-grid > *:nth-child(3),
.story-section.story-visible .faq-column:nth-child(3) .faq-item,
.story-section.story-visible .crm-moments-grid > *:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes story-stagger {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-section.story-visible .grid-3 > *,
    .story-section.story-visible .pricing-grid > *,
    .story-section.story-visible .faq-grid > *,
    .story-section.story-visible .crm-moments-grid > * {
        animation: none;
    }
}

/* ===== Storytelling: scroll reveal + progress bar ===== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary-color), #60A5FA);
    transition: width 0.15s ease-out;
}

.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger dos filhos em secções com grid/cards */
.story-section.story-visible .grid-3 > .card,
.story-section.story-visible .pricing-grid > .pricing-card,
.story-section.story-visible .faq-grid .faq-column .faq-item,
.story-section.story-visible .crm-moments-grid > .card,
.story-section.story-visible .grid-3 > * {
    animation: story-reveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-section.story-visible .grid-3 > .card:nth-child(1),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(1),
.story-section.story-visible .crm-moments-grid > .card:nth-child(1) { animation-delay: 0.08s; }
.story-section.story-visible .grid-3 > .card:nth-child(2),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(2),
.story-section.story-visible .crm-moments-grid > .card:nth-child(2) { animation-delay: 0.16s; }
.story-section.story-visible .grid-3 > .card:nth-child(3),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(3),
.story-section.story-visible .crm-moments-grid > .card:nth-child(3) { animation-delay: 0.24s; }
.story-section.story-visible .grid-3 > .card:nth-child(4) { animation-delay: 0.32s; }
.story-section.story-visible .grid-3 > .card:nth-child(5) { animation-delay: 0.4s; }
.story-section.story-visible .grid-3 > .card:nth-child(6) { animation-delay: 0.48s; }
.story-section.story-visible .crm-moments-grid > .card:nth-child(4) { animation-delay: 0.32s; }
.story-section.story-visible .crm-moments-grid > .card:nth-child(5) { animation-delay: 0.4s; }
.story-section.story-visible .crm-moments-grid > .card:nth-child(6) { animation-delay: 0.48s; }

@keyframes story-reveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-section.story-visible .grid-3 > .card,
    .story-section.story-visible .pricing-grid > .pricing-card,
    .story-section.story-visible .faq-grid .faq-column .faq-item,
    .story-section.story-visible .crm-moments-grid > .card,
    .story-section.story-visible .grid-3 > * {
        animation: none;
    }
}

/* ========== Storytelling: scroll reveal + progress bar ========== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.06);
    z-index: 9999;
    pointer-events: none;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
    border-radius: 0 2px 2px 0;
    transition: width 0.1s ease-out;
}

/* Secções reveladas ao scroll — narrativa fluida */
.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger nos filhos (cards, logos, etc.) */
.story-section.story-visible .grid-3 > *,
.story-section.story-visible .pricing-grid > *,
.story-section.story-visible .faq-grid > *,
.story-section.story-visible .logos > *,
.story-section.story-visible .crm-moments-grid > * {
    animation: story-stagger-in 0.5s cubic-bezier(0.22,1,0.36,1) backwards;
}

.story-section.story-visible .grid-3 > *:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .grid-3 > *:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .grid-3 > *:nth-child(3) { animation-delay: 0.15s; }
.story-section.story-visible .pricing-grid > *:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .pricing-grid > *:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .pricing-grid > *:nth-child(3) { animation-delay: 0.15s; }
.story-section.story-visible .logos > *:nth-child(n) { animation-delay: calc(0.03s * (var(--i, 0))); }

@keyframes story-stagger-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible { transition: none; transform: none; opacity: 1; }
    .story-section.story-visible .grid-3 > *,
    .story-section.story-visible .pricing-grid > *,
    .story-section.story-visible .faq-grid > *,
    .story-section.story-visible .logos > *,
    .story-section.story-visible .crm-moments-grid > * { animation: none; }
}

/* ===== Storytelling: Scroll progress + reveal ===== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    pointer-events: none;
}

.story-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007AFF, #60A5FA);
    width: var(--progress, 0%);
    transition: width 0.08s ease-out;
}

/* Reveal sections ao scroll (narrativa fluida) */
.story-section {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger nos filhos (cards, grid items) */
.story-section.story-visible .card,
.story-section.story-visible .pricing-card,
.story-section.story-visible .faq-item,
.story-section.story-visible .crm-moment-card {
    animation: story-reveal-child 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-section.story-visible .grid-3 .card:nth-child(1),
.story-section.story-visible .grid-3 .card:nth-child(4) { animation-delay: 0.06s; }
.story-section.story-visible .grid-3 .card:nth-child(2),
.story-section.story-visible .grid-3 .card:nth-child(5) { animation-delay: 0.12s; }
.story-section.story-visible .grid-3 .card:nth-child(3),
.story-section.story-visible .grid-3 .card:nth-child(6) { animation-delay: 0.18s; }

.story-section.story-visible .pricing-card:nth-child(1) { animation-delay: 0.04s; }
.story-section.story-visible .pricing-card:nth-child(2) { animation-delay: 0.08s; }
.story-section.story-visible .pricing-card:nth-child(3) { animation-delay: 0.12s; }

@keyframes story-reveal-child {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section {
        transition: opacity 0.2s ease;
    }
    .story-section.story-visible .card,
    .story-section.story-visible .pricing-card,
    .story-section.story-visible .faq-item,
    .story-section.story-visible .crm-moment-card {
        animation: none;
    }
}

/* ========== Storytelling: scroll reveal + progress bar ========== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.06);
    z-index: 9999;
    pointer-events: none;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, rgba(0,122,255,0.9), rgba(0,122,255,0.6));
    border-radius: 0 2px 2px 0;
    transition: width 0.1s ease-out;
}

/* Secções revelam-se ao scroll (narrativa fluida) */
.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger nos cards dentro das secções (pilares, pricing, etc.) */
.story-section.story-visible .grid-3 > .card,
.story-section.story-visible .grid-3 > div,
.story-section.story-visible .pricing-grid > .pricing-card,
.story-section.story-visible .crm-moments-grid > .card,
.story-section.story-visible .faq-grid .faq-column {
    animation: story-stagger 0.5s ease-out backwards;
}

.story-section.story-visible .grid-3 > .card:nth-child(1),
.story-section.story-visible .grid-3 > div:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .grid-3 > .card:nth-child(2),
.story-section.story-visible .grid-3 > div:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .grid-3 > .card:nth-child(3),
.story-section.story-visible .grid-3 > div:nth-child(3) { animation-delay: 0.15s; }
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(3) { animation-delay: 0.15s; }

@keyframes story-stagger {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-section.story-visible .grid-3 > .card,
    .story-section.story-visible .grid-3 > div,
    .story-section.story-visible .pricing-grid > .pricing-card,
    .story-section.story-visible .crm-moments-grid > .card,
    .story-section.story-visible .faq-grid .faq-column {
        animation: none;
    }
}

/* ===== Storytelling: scroll progress + reveal ===== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    pointer-events: none;
}
.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary-color), #60A5FA);
    transition: width 0.15s ease-out;
}
.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}
.story-section.story-visible .card,
.story-section.story-visible .grid-3 > *,
.story-section.story-visible .feature-split > * {
    animation: story-stagger 0.5s ease-out forwards;
}
.story-section .card:nth-child(1),
.story-section .grid-3 > *:nth-child(1),
.story-section .feature-split > *:first-child { animation-delay: 0.1s; }
.story-section .card:nth-child(2),
.story-section .grid-3 > *:nth-child(2),
.story-section .feature-split > *:last-child { animation-delay: 0.2s; }
.story-section .card:nth-child(3),
.story-section .grid-3 > *:nth-child(3) { animation-delay: 0.3s; }
@keyframes story-stagger {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible { opacity: 1; transform: none; transition: none; }
    .story-progress-bar { transition: none; }
}

/* ===== Storytelling: scroll reveal + progress bar ===== */
.landing-efferd-wrapper {
    position: relative;
}

.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    pointer-events: none;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, transparent, var(--primary-color));
    transition: width 0.1s ease-out;
}

.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

.story-section.story-visible .card,
.story-section.story-visible .pricing-card,
.story-section.story-visible .faq-item,
.story-section.story-visible .crm-moment-card {
    animation: story-reveal 0.5s ease-out forwards;
}

.story-section.story-visible .card:nth-child(1),
.story-section.story-visible .pricing-card:nth-child(1),
.story-section.story-visible .faq-column:nth-child(1) .faq-item { animation-delay: 0.05s; }
.story-section.story-visible .card:nth-child(2),
.story-section.story-visible .pricing-card:nth-child(2),
.story-section.story-visible .faq-column:nth-child(2) .faq-item { animation-delay: 0.1s; }
.story-section.story-visible .card:nth-child(3),
.story-section.story-visible .pricing-card:nth-child(3),
.story-section.story-visible .faq-column:nth-child(3) .faq-item { animation-delay: 0.15s; }

@keyframes story-reveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible,
    .story-progress-bar { transition: none; }
    .story-section { opacity: 1; transform: none; }
    .story-section.story-visible .card,
    .story-section.story-visible .pricing-card,
    .story-section.story-visible .faq-item { animation: none; }
}

/* ========== Storytelling: scroll reveal + progress bar ========== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    pointer-events: none;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary-color), #60A5FA);
    transition: width 0.1s ease-out;
}

/* Secções com reveal ao scroll */
.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger em filhos diretos (cards, etc.) */
.story-section.story-visible .grid-3 > .card,
.story-section.story-visible .pricing-grid > .pricing-card,
.story-section.story-visible .crm-moments-grid > .card,
.story-section.story-visible .faq-grid > .faq-column,
.story-section.story-visible .logos > * {
    animation: story-fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.story-section.story-visible .grid-3 > .card:nth-child(1),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(1),
.story-section.story-visible .crm-moments-grid > .card:nth-child(1),
.story-section.story-visible .faq-grid > .faq-column:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .grid-3 > .card:nth-child(2),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(2),
.story-section.story-visible .crm-moments-grid > .card:nth-child(2),
.story-section.story-visible .faq-grid > .faq-column:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .grid-3 > .card:nth-child(3),
.story-section.story-visible .pricing-grid > .pricing-card:nth-child(3),
.story-section.story-visible .crm-moments-grid > .card:nth-child(3),
.story-section.story-visible .faq-grid > .faq-column:nth-child(3) { animation-delay: 0.15s; }

@keyframes story-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-section.story-visible .grid-3 > .card,
    .story-section.story-visible .pricing-grid > .pricing-card,
    .story-section.story-visible .crm-moments-grid > .card,
    .story-section.story-visible .faq-grid > .faq-column,
    .story-section.story-visible .logos > * {
        animation: none;
    }
}

/* ========== Storytelling (scroll reveal + progress bar) ========== */
.landing-efferd-wrapper {
    position: relative;
}

.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    overflow: hidden;
}

.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
    transition: width 0.15s ease-out;
}

/* Secções com reveal ao scroll */
.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger: filhos revelam em cascata */
.story-section.story-visible .grid-3 > *,
.story-section.story-visible .pricing-grid > *,
.story-section.story-visible .faq-grid > *,
.story-section.story-visible .crm-moments-grid > * {
    animation: story-stagger 0.5s ease-out forwards;
}

.story-section.story-visible .grid-3 > *:nth-child(1),
.story-section.story-visible .pricing-grid > *:nth-child(1),
.story-section.story-visible .faq-column:nth-child(1) .faq-item,
.story-section.story-visible .crm-moments-grid > *:nth-child(1) { animation-delay: 0.05s; }
.story-section.story-visible .grid-3 > *:nth-child(2),
.story-section.story-visible .pricing-grid > *:nth-child(2),
.story-section.story-visible .faq-column:nth-child(2) .faq-item,
.story-section.story-visible .crm-moments-grid > *:nth-child(2) { animation-delay: 0.1s; }
.story-section.story-visible .grid-3 > *:nth-child(3),
.story-section.story-visible .pricing-grid > *:nth-child(3),
.story-section.story-visible .faq-column:nth-child(3) .faq-item,
.story-section.story-visible .crm-moments-grid > *:nth-child(3) { animation-delay: 0.15s; }

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

@media (prefers-reduced-motion: reduce) {
    .story-section,
    .story-section.story-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .story-section.story-visible .grid-3 > *,
    .story-section.story-visible .pricing-grid > *,
    .story-section.story-visible .faq-grid > *,
    .story-section.story-visible .crm-moments-grid > * {
        animation: none;
        opacity: 1;
    }
}

/* ===== Storytelling: Scroll Reveal + Progress Bar ===== */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 9999;
    pointer-events: none;
}
.story-progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #007AFF, #60A5FA);
    transition: width 0.1s ease-out;
}
.story-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.story-section.story-visible {
    opacity: 1;
    transform: translateY(0);
}
.story-section.story-visible .card,
.story-section.story-visible .grid-3 > *,
.story-section.story-visible .pricing-card,
.story-section.story-visible .crm-moment-card {
    animation: story-stagger 0.5s ease-out both;
}
.story-section.story-visible .grid-3 > *:nth-child(1) { animation-delay: 0.1s; }
.story-section.story-visible .grid-3 > *:nth-child(2) { animation-delay: 0.2s; }
.story-section.story-visible .grid-3 > *:nth-child(3) { animation-delay: 0.3s; }
.story-section.story-visible .pricing-card:nth-child(1) { animation-delay: 0.1s; }
.story-section.story-visible .pricing-card:nth-child(2) { animation-delay: 0.2s; }
.story-section.story-visible .pricing-card:nth-child(3) { animation-delay: 0.3s; }
@keyframes story-stagger {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .story-section { transition: none; }
    .story-section.story-visible .card,
    .story-section.story-visible .grid-3 > *,
    .story-section.story-visible .pricing-card,
    .story-section.story-visible .crm-moment-card { animation: none; }
}

/* Logo Cloud — Trusted by */
.logo-cloud {
    padding: 80px 40px;
    text-align: center;
    position: relative;
}

.logo-cloud::before {
    display: none;
}

.logo-cloud p {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #71717A;
    margin-bottom: 40px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logos h3 {
    font-weight: 600;
}

/* 6 Pilares Section */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.section-header h2 {
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.section-header .text-muted {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Bento Grid Layout para Desktop */
@media (min-width: 1024px) {
    .grid-3 {
        grid-auto-rows: minmax(340px, auto);
    }
    
    .grid-3 > .card:nth-child(1) { grid-column: span 2; }
    .grid-3 > .card:nth-child(2) { grid-column: span 1; }
    
    .grid-3 > .card:nth-child(3) { grid-column: span 1; }
    .grid-3 > .card:nth-child(4) { grid-column: span 2; }
    
    /* Layout Perfeitamente Simétrico para Cards Largos (Página de Reservas) */
    .grid-3 > .card:nth-child(5) { 
        grid-column: span 3; 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: auto auto 1fr; 
        column-gap: 80px;
        row-gap: 0;
        align-items: start;
        padding: 56px 64px;
    }
    .grid-3 > .card:nth-child(5) > .card-plan-badge { position: static; grid-column: 2; grid-row: 1; justify-self: end; margin-bottom: 32px; }
    .grid-3 > .card:nth-child(5) > .card-icon { grid-column: 1; grid-row: 1; margin-bottom: 32px; }
    .grid-3 > .card:nth-child(5) > h3 { grid-column: 1; grid-row: 2; font-size: 1.8rem; margin-bottom: 24px; line-height: 1.25; }
    .grid-3 > .card:nth-child(5) > p { grid-column: 2; grid-row: 2; grid-row-end: span 2; align-self: start; margin-bottom: 0; font-size: 1.15rem; line-height: 1.7; padding-left: 20px; }
    .grid-3 > .card:nth-child(5) > .card-chips { grid-column: 1; grid-row: 3; align-self: end; margin-top: 0; }
    
    .grid-3 > .card:nth-child(6) { grid-column: span 1; }
    .grid-3 > .card:nth-child(7) { grid-column: span 1; }
    .grid-3 > .card:nth-child(8) { grid-column: span 1; }
    
    /* Layout Perfeitamente Simétrico para Cards Largos (Marketing WhatsApp) */
    .grid-3 > .card:nth-child(9) { 
        grid-column: span 3; 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: auto auto 1fr; 
        column-gap: 80px;
        row-gap: 0;
        align-items: start;
        padding: 56px 64px;
    }
    .grid-3 > .card:nth-child(9) > .card-plan-badge { position: static; grid-column: 2; grid-row: 1; justify-self: end; margin-bottom: 32px; }
    .grid-3 > .card:nth-child(9) > .card-icon { grid-column: 1; grid-row: 1; margin-bottom: 32px; }
    .grid-3 > .card:nth-child(9) > h3 { grid-column: 1; grid-row: 2; font-size: 1.8rem; margin-bottom: 24px; line-height: 1.25; }
    .grid-3 > .card:nth-child(9) > p { grid-column: 2; grid-row: 2; grid-row-end: span 2; align-self: start; margin-bottom: 0; font-size: 1.15rem; line-height: 1.7; padding-left: 20px; }
    .grid-3 > .card:nth-child(9) > .card-chips { grid-column: 1; grid-row: 3; align-self: end; margin-top: 0; }
}

/* Cards — estilo Dashboard com um toque Premium Awwwards */
.card {
    padding: 36px 32px;
    border-radius: var(--radius-3xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 24px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

/* Hover premium — suave elevação e brilho subtil na borda */
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 24px 48px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    color: #D4D4D8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 
        inset 0 2px 6px rgba(255, 255, 255, 0.1),
        0 4px 12px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
}

.card:hover .card-icon {
    transform: scale(1.12) translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        inset 0 2px 8px rgba(255, 255, 255, 0.2),
        0 8px 24px rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}

.card-icon svg {
    width: 24px;
    height: 24px;
    transition: color 0.3s ease;
    color: #D4D4D8;
}

.card-icon svg[stroke]:not([stroke="none"]) {
    stroke: #D4D4D8 !important;
}

.card-icon svg[fill]:not([fill="none"]) {
    fill: #D4D4D8 !important;
}

.card h3 {
    margin-bottom: 14px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #FAFAFA;
}

.card p {
    color: #A1A1AA;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 32px;
}

/* Parágrafos dos cards CRM: altura mínima uniforme (~4 linhas) para alinhamento visual */
.crm-moments-grid .card p {
    min-height: 6.6em;
}

/* Chips de funcionalidades dentro dos cards */
.card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: #D4D4D8 !important;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.chip svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: #D4D4D8 !important;
}

.chip svg[stroke]:not([stroke="none"]) {
    stroke: #D4D4D8 !important;
}

.chip svg[fill]:not([fill="none"]) {
    fill: #D4D4D8 !important;
}

/* Classes legadas removidas/neutralizadas para manter consistência Awwwards */

.chip.chip-white {
    color: #FAFAFA;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

/* Badge de plano */
.card-plan-badge {
    position: absolute;
    top: 36px;
    right: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
}

.badge-all {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    color: #D4D4D8;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-prof {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    color: #D4D4D8;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    color: #D4D4D8;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card:hover .card-plan-badge {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 6px 16px rgba(0,0,0,0.3);
}

/* Feature Destaque */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 140px;
    position: relative;
}

.feature-split::before {
    display: none;
}

.feature-split.reverse {
    direction: rtl;
}

.feature-split.reverse>* {
    direction: ltr;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #D4D4D8;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 8px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feature-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #D4D4D8;
    /* Zinc 300 */
}

.feature-list li svg {
    color: #D4D4D8;
    flex-shrink: 0;
}

.feature-image {
    min-height: 500px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-image::before {
    display: none;
}

/* Pricing Resumo */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 24px; /* Adicionado para evitar que a badge popular seja cortada ou fique colada */
}

/* pricing-card — estilo Dashboard */
.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 48px;
    border-radius: var(--radius-3xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: visible; /* Mudado de hidden para visible para mostrar a badge popular */
    box-shadow: 
        0 4px 24px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 24px 48px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card .pricing-cta-wrap {
    margin-top: auto;
    padding-top: 32px;
}

.pricing-card .pricing-gratis {
    font-size: 0.85rem;
    color: #60A5FA;
    margin-bottom: 16px;
    font-weight: 500;
}

.pricing-card.popular {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 24px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 0 40px rgba(255, 255, 255, 0.02);
}

.pricing-card.popular:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 24px 48px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 0 60px rgba(255, 255, 255, 0.04);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Preço: € e número no mesmo tamanho; só /mês fica menor */
.pricing-price {
    font-size: 2.75rem;
    font-weight: 700;
    margin: 16px 0 32px;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.08em;
    line-height: 1.1;
}

/* Número do preço: MESMO tamanho que o € (não herdar o span genérico antigo) */
.pricing-price .price-value {
    font-size: 1em;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: inherit;
    line-height: inherit;
}

/* Só o sufixo /mês fica pequeno e muted */
.pricing-price .pricing-period {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: normal;
    margin-left: 0.15em;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #D4D4D8;
}

.pricing-features svg {
    flex-shrink: 0;
    color: #FFFFFF;
}

/* FAQ - Multi-Column Accordion */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* faq-item — estilo Dashboard */
.faq-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-3xl);
    padding: 24px 28px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 
        0 4px 24px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 12px 32px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.faq-item.active {
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 
        0 12px 32px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(0, 122, 255, 0.2),
        inset 0 1px 0 rgba(0, 122, 255, 0.2),
        inset 0 0 60px rgba(0, 122, 255, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    line-height: 1.4;
    user-select: none;
}

.faq-question svg {
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: #71717A;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: var(--radius-3xl);
    width: 32px;
    height: 32px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: #FFFFFF;
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer {
    overflow: hidden;
    color: #A1A1AA;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer-content {
    padding-top: 20px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Final — Destaque Noir */
.cta-final {
    text-align: center;
    padding: 140px 40px;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    display: none;
}

.cta-final h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    position: relative;
}

.cta-final p {
    position: relative;
}

.cta-final .btn-primary {
    position: relative;
}

/* Footer — Minimal Noir */
.footer {
    padding: 100px 40px 48px;
    background: transparent;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand-heading {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.footer-brand-heading:hover {
    opacity: 0.9;
}

.footer-brand-heading img {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.footer-brand h2 {
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.footer-brand p {
    margin-top: 12px;
    color: #71717A;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer h4 {
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A1A1AA;
}

.footer ul li {
    margin-bottom: 14px;
}

.footer ul a {
    color: #71717A;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer ul a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: #52525B;
    font-size: 0.8125rem;
}

/* Responsivo */
@media (max-width: 1024px) {
    .feature-split {
        grid-template-columns: 1fr;
    }

    .feature-split.reverse {
        direction: ltr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        justify-items: stretch;
        width: 100%;
    }

    /* Hero mobile: coluna full-width + texto/CTAs centrados (evita bloco à esquerda) */
    .hero .hero-content {
        width: 100%;
        max-width: 100%;
        padding-bottom: 0;
        align-items: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .hero .hero-content h1,
    .hero .hero-content .hero-tagline,
    .hero .hero-content .hero-subtitle {
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-content .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions-row {
        justify-content: center;
    }

    .hero-actions-anchor {
        margin-left: auto;
        margin-right: auto;
    }

    /* Features abaixo do hero: já centrado, garantir largura */
    .hero-features {
        width: 100%;
        justify-content: center;
    }

    .hero-visuals {
        width: 100%;
        min-height: 180px;
        margin-top: 0;
        justify-content: center;
        overflow: visible;
        padding-top: 32px;
        padding-bottom: 16px;
    }

    .hero-dashboard-only {
        width: 100%;
        max-width: min(100%, 520px);
        max-height: min(720px, 65vh);
        margin-left: auto;
        margin-right: auto;
        display: block;
        object-position: center center;
        filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(0, 122, 255, 0.12));
    }
}

@media (max-width: 480px) {
    .container-inner {
        padding: 0 15px;
    }

    /* Sem scroll horizontal: hidden em vez de clip (Safari); sombras podem cortar lateralmente mas evita barra */
    .hero {
        overflow-x: hidden;
        overflow-y: visible;
    }

    .hero-visuals {
        padding-top: 36px;
        overflow-x: hidden;
    }

    .hero-dashboard-only {
        /* Nunca 100vw — soma com padding do body e gera scroll horizontal */
        width: 100%;
        max-width: min(520px, 100%);
        max-height: min(550px, 55vh);
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 768px) {

    /* Compressão inteligente das linhas guias em telemóveis */
    body::before {
        left: 16px;
        margin-left: 0;
    }

    body::after {
        left: auto;
        right: 16px;
        margin-left: 0;
    }

    .section-divider::before {
        left: 16px;
        margin-left: -4px;
    }

    .section-divider::after {
        left: auto;
        right: 16px;
        margin-left: 0;
        margin-right: -4px;
    }

    .side-image {
        display: none;
    }

    /* Mobile: esconder links de navegação (Funcionalidades, Planos, FAQ), manter Login e PT|EN */
    .navbar-links {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .navbar-links > a {
        display: none;
    }

    .navbar-links .lang-switcher {
        display: flex;
        padding: 0 10px;
        margin-left: 0;
        font-size: 0.7rem;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .container-inner {
        padding: 0 40px;
    }

    .navbar {
        top: 12px;
        left: 16px;
        right: 16px;
        width: auto;
        height: 52px;
        /* inset = (52 - 38) / 2 = 7px — botão harmonioso à direita */
        padding: 0 7px 0 20px;
        margin: 0;
        transform: none;
        border-radius: var(--radius-3xl);
        max-width: none;
    }

    .navbar::before {
        left: 20%;
        right: 20%;
    }

    .navbar-inner {
        padding: 0;
        gap: 16px;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-logo {
        font-size: 1.15rem;
        font-weight: 600;
        gap: 8px;
        flex-shrink: 0;
    }

    .navbar-logo img {
        height: 28px;
        width: 28px;
    }

    .navbar-actions {
        flex-shrink: 0;
        gap: 10px;
    }

    .navbar .login-link {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .navbar .btn-primary {
        padding: 10px 18px;
        height: 40px;
        font-size: 0.8125rem;
        white-space: nowrap;
    }

    .hero {
        padding: 88px 0 40px;
        min-height: auto;
        display: block;
        overflow: visible;
    }

    .hero h1 {
        /* Reforço mobile: slogan em destaque */
        font-size: clamp(3rem, 11vw, 3.65rem);
        margin-bottom: 14px;
        line-height: 1.05;
    }

    .hero-tagline {
        font-size: 1.15rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-actions {
        margin-bottom: 20px;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-dashboard-only {
        max-width: 550px;
        max-height: min(650px, 60vh);
    }
}

@media (max-width: 480px) {
    .navbar {
        left: 12px;
        right: 12px;
        padding: 0 16px;
    }

    .hero h1 {
        /* Telas estreitas: mínimo alto para o slogan continuar imponente */
        font-size: clamp(2.9rem, 11.5vw, 3.45rem);
        line-height: 1.05;
    }
}

/* ========== HERO MOBILE — ASPECTO APP NATIVO (landing-home) ==========
   Primeira tela = viewport estável; slogan centrado e em destaque tipo onboarding */
@media (max-width: 768px) {
    body.landing-home section.hero {
        /* Mais ar entre header e slogan: navbar + folga extra antes do conteúdo */
        padding-top: calc(12px + 52px + 12px + 44px + env(safe-area-inset-top, 0px));
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        padding-left: 0;
        padding-right: 0;
        min-height: 100vh;
        min-height: 100dvh;
        min-height: 100svh;
        display: flex !important;
        align-items: stretch;
        justify-content: center;
        overflow-x: hidden;
    }

    body.landing-home section.hero .container-inner.hero-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 1;
        width: 100% !important;
        max-width: 100% !important;
        min-height: calc(100svh - 12px - 52px - 12px - 44px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        gap: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* Bloco de texto ocupa a zona central como num app (onboarding) */
    body.landing-home section.hero .hero-content {
        flex: 1 1 auto;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 420px !important;
        margin: 0 auto !important;
        /* Folga extra no topo do bloco = slogan afastado do header */
        padding-top: 24px;
        padding-bottom: 16px;
    }

    /* Slogan = peça principal: maior + premium; “rápido” em serif no .lightning-text */
    body.landing-home section.hero .hero-content h1 {
        font-size: clamp(3.45rem, 13.5vw, 4.5rem) !important;
        line-height: 1.03 !important;
        letter-spacing: -0.055em !important;
        /* Respiro generoso abaixo do slogan — texto abaixo “respira” e o slogan domina */
        margin-bottom: 52px !important;
        margin-top: 0 !important;
        padding: 28px 20px 32px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 24px !important;
        text-align: center !important;
    }

    /* Tagline mais suave = contraste com o slogan (hierarquia visual clara) */
    body.landing-home section.hero .hero-tagline {
        font-size: 1.0625rem !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        margin-bottom: 16px !important;
        margin-top: 0 !important;
        color: rgba(255, 255, 255, 0.78) !important;
        letter-spacing: -0.01em !important;
    }

    /* Subtítulo ainda mais claro/muted — destaca o slogan e a tagline */
    body.landing-home section.hero .hero-subtitle {
        font-size: 0.9375rem !important;
        line-height: 1.55 !important;
        margin-bottom: 40px !important;
        max-width: 22rem !important;
        color: rgba(255, 255, 255, 0.58) !important;
    }

    /* CTAs mais abaixo + mais espaço entre os dois botões = design respira */
    body.landing-home section.hero .hero-actions {
        margin-top: 28px !important;
        margin-bottom: 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        gap: 18px !important;
    }

    body.landing-home section.hero .hero-actions-row {
        gap: 20px !important;
    }

    body.landing-home section.hero .hero-actions-row .btn-primary,
    body.landing-home section.hero .hero-cta-btn {
        min-height: 52px !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border-radius: 999px !important;
        width: 100% !important;
        box-shadow:
            0 2px 0 rgba(0, 0, 0, 0.12),
            0 8px 24px -8px rgba(0, 122, 255, 0.45) !important;
        /* Feedback tátil sem depender só de hover (mobile) */
        -webkit-tap-highlight-color: rgba(0, 122, 255, 0.25);
    }

    body.landing-home section.hero .hero-actions-row .btn-primary:active,
    body.landing-home section.hero .hero-cta-btn:active {
        transform: scale(0.98);
        transition: transform 0.12s ease;
    }

    /* Secundário mais “ghost” — não disputa atenção com o primário */
    body.landing-home section.hero .hero-actions-row .btn-secondary {
        min-height: 48px !important;
        padding: 12px 18px !important;
        font-size: 0.9375rem !important;
        font-weight: 500 !important;
        border-radius: 14px !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        color: rgba(255, 255, 255, 0.88) !important;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
    }

    body.landing-home section.hero .hero-actions-row .btn-secondary:hover {
        background: transparent !important;
        border-color: transparent !important;
        color: var(--primary-color) !important;
    }

    body.landing-home section.hero .hero-actions-row .btn-secondary:active {
        transform: scale(0.99);
        background: transparent !important;
        border-color: transparent !important;
    }

    /* Link terciário: mais ar em relação aos botões */
    body.landing-home section.hero .hero-actions-anchor {
        min-height: 44px !important;
        padding: 14px 16px 8px !important;
        font-size: 0.9375rem !important;
        color: rgba(255, 255, 255, 0.5) !important;
        border-radius: 12px !important;
        margin-top: 12px !important;
    }

    body.landing-home section.hero .hero-actions-anchor:active {
        color: rgba(255, 255, 255, 0.85) !important;
        background: rgba(255, 255, 255, 0.04) !important;
    }

    /* Mockup abaixo, compacto — não rouba o foco do slogan */
    body.landing-home section.hero .hero-visuals {
        flex-shrink: 0 !important;
        width: 100% !important;
        padding-top: 20px !important;
        padding-bottom: 8px !important;
        min-height: 0 !important;
    }

    body.landing-home section.hero .hero-dashboard-only {
        max-height: min(42vh, 380px) !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    /* Features: neutro, alinhado ao restante da página (sem cor) */
    body.landing-home section.hero .hero-features {
        margin-top: 20px !important;
        padding: 16px 12px 20px !important;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 20px !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%) !important;
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
    }

    body.landing-home section.hero .h-feature {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: 160px !important;
    }

    body.landing-home section.hero .h-feature-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
    }
}

/* Reduzir movimento: respeita prefers-reduced-motion (acessibilidade) */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    body.landing-home section.hero .lightning-text,
    body.landing-home section.hero .lightning-text span {
        animation: none !important;
        background-position: 0 0, 0 0 !important;
    }

    body.landing-home section.hero .hero-actions-row .btn-primary:active,
    body.landing-home section.hero .hero-cta-btn:active,
    body.landing-home section.hero .hero-actions-row .btn-secondary:active {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    body.landing-home section.hero .hero-content h1 {
        font-size: clamp(3.2rem, 12vw, 3.95rem) !important;
        padding: 26px 18px 30px !important;
        border-radius: 24px !important;
        /* Telas estreitas: ainda mais ar entre slogan e bloco de texto */
        margin-bottom: 56px !important;
    }
}

/* Floating Device Animations */
@keyframes floatDevice {
    0% {
        transform: translateY(0px) rotate(-2deg);
    }

    50% {
        transform: translateY(-24px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(-2deg);
    }
}

.floating-mockup-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.floating-mockup {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: contain;
    animation: floatDevice 7s ease-in-out infinite;
    transform-origin: center center;
    position: relative;
    z-index: 2;
}

.floating-shadow {
    display: none;
}

@keyframes shadowPulse {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateX(-50%) scale(0.8);
        opacity: 0.2;
    }

    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }
}

/* Landing ativa: impedir scroll horizontal em toda a página */
html.landing-efferd-active {
    overflow-x: hidden;
    max-width: 100%;
}

/* Fundo da landing — cinza escuro elegante (#171717) */
html.landing-efferd-active body {
    background-color: #171717 !important;
    background-image: none !important;
    color: var(--text-main);
    overflow-x: hidden !important;
    max-width: 100%;
}

html.landing-efferd-active #root {
    background: #171717 !important;
    background-image: none !important;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
}

/* Navbar transparente no topo — fundo só aparece ao fazer scroll */
html.landing-efferd-active .navbar,
body.landing-home .navbar {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
html.landing-efferd-active .navbar:hover,
body.landing-home .navbar:hover {
    box-shadow: none !important;
}
html.landing-efferd-active .navbar.navbar-scrolled,
body.landing-home .navbar.navbar-scrolled {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
}
html.landing-efferd-active .navbar.navbar-scrolled:hover,
body.landing-home .navbar.navbar-scrolled:hover {
    box-shadow: var(--shadow-lg) !important;
}

/* Página de contacto: navbar fixa no topo com fundo sólido (sem efeito ao scroll) */
.landing-efferd-wrapper.contacto .navbar {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    box-shadow: var(--shadow-md) !important;
}
.landing-efferd-wrapper.contacto .navbar:hover {
    box-shadow: var(--shadow-lg) !important;
}

/* Guidelines laterais visíveis: ficam à frente do #root */
html.landing-efferd-active body::before,
html.landing-efferd-active body::after {
    z-index: 1;
}

.landing-efferd-wrapper {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    background-color: #171717;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
}

/* WhatsApp flutuante — estilo alinhado aos cards (consistência visual) */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.whatsapp-float:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
}

/* ========== Mobile navbar: hamburger + dropdown com todos os itens ========== */
.navbar-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
    /* Sempre clicável por cima de tudo — evita bloqueio por overlay/stacking */
    position: relative;
    z-index: 1005;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(0, 122, 255, 0.2);
    touch-action: manipulation;
}

.navbar-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar-menu-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #FAFAFA;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s;
}

.navbar.is-open .navbar-menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.is-open .navbar-menu-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar.is-open .navbar-menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Barra mobile: uma linha só — PT|EN + Login + Começar Grátis — SEM dropdown */
.navbar-mobile-inline {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
}

.navbar-mobile-inline .lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.navbar-mobile-inline .login-link {
    font-size: 0.7rem;
    padding: 4px 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.navbar-mobile-inline .btn-primary {
    padding: 0 16px;
    height: 38px;
    min-height: 38px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 999px;
}

@media (max-width: 380px) {
    .navbar-mobile-inline {
        gap: 4px;
    }
    .navbar-mobile-inline .lang-switcher {
        font-size: 0.6rem;
        gap: 4px;
    }
    .navbar-mobile-inline .login-link {
        font-size: 0.65rem;
        padding: 4px 4px;
    }
    .navbar-mobile-inline .btn-primary {
        padding: 0 12px;
        font-size: 0.75rem;
        height: 36px;
        min-height: 36px;
    }
}

/* Legado: barra antiga com chevron — escondida (HTML removido nas landings) */
.navbar-mobile-bar {
    display: none !important;
}

/* Idioma na barra mobile — mesmo estilo visual que desktop (lang-switcher) */
.lang-switcher--mobile-bar {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 10px !important;
    margin-left: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 0.65rem !important;
    flex-shrink: 0 !important;
}

.navbar-mobile-login-bar {
    font-size: 0.75rem !important;
    padding: 6px 8px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.navbar-mobile-panel-lang {
    padding: 8px 16px 4px !important;
}

.navbar-mobile-panel-lang .lang-switcher {
    font-size: 0.75rem !important;
}

.navbar-mobile-start {
    padding: 0 12px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
}

/* Trigger minimalista: só chevron, sem barras */
.navbar-menu-toggle--minimal {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    gap: 0 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
}

.navbar-menu-toggle--minimal .navbar-menu-toggle-bar {
    display: none !important;
}

.navbar-menu-toggle--minimal .navbar-menu-chevron {
    display: block !important;
    color: #FAFAFA;
    transition: transform 0.25s ease;
}

.navbar.is-open .navbar-menu-toggle--minimal .navbar-menu-chevron {
    transform: rotate(180deg);
}

.navbar-mobile-panel {
    display: none;
    /* fixed = segue o viewport; não some ao scroll nem fica preso a pai com overflow */
    position: fixed;
    top: calc(12px + 52px + 12px);
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    padding: 0;
    background: linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(10, 10, 12, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.6);
    z-index: 1002;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .navbar-mobile-panel {
        left: 12px;
        right: 12px;
        top: calc(12px + 52px + 10px);
    }
}

/* Navbar SEMPRE fixed no mobile — NUNCA relative (senão a barra anda com o scroll) */
.navbar.is-open {
    overflow: visible;
}

.navbar.is-open .navbar-mobile-panel {
    display: block;
}

.navbar-mobile-panel-inner {
    display: flex;
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 4px;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.navbar-mobile-link {
    display: block;
    padding: 14px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #A1A1AA;
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.navbar-mobile-link:hover,
.navbar-mobile-link:focus-visible {
    color: #FAFAFA;
    background: rgba(255, 255, 255, 0.04);
}

.navbar-mobile-divider {
    height: 1px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.06);
}

.navbar-mobile-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #52525B;
}

.navbar-mobile-lang .active {
    color: var(--primary-color);
}

.navbar-mobile-lang a {
    color: #71717A;
    text-decoration: none;
    transition: color 0.2s;
}

.navbar-mobile-lang a:hover {
    color: #A1A1AA;
}

.navbar-mobile-lang-sep {
    opacity: 0.3;
}

/* Bloco idioma no dropdown — alinhado ao estilo PT | EN da desktop */
.navbar-mobile-lang--block {
    padding: 14px 16px !important;
    justify-content: flex-start !important;
}

.navbar-mobile-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

/* Backdrop ao abrir menu (opcional — fecha ao clicar fora) */
.navbar-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    /* Atrás da navbar (1000) e do painel — toques na barra e no menu não fecham pelo backdrop */
    z-index: 999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: auto;
    touch-action: manipulation;
}

body.nav-menu-open .navbar-mobile-backdrop {
    display: block;
}

@media (max-width: 768px) {
    /* CRITICAL: manter fixed — relative fazia a barra sair com o scroll e estragava o dropdown */
    .navbar {
        position: fixed !important;
        top: 12px !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        transform: none !important;
        z-index: 1000 !important;
        overflow: hidden;
    }

    .navbar.is-open {
        overflow: visible !important;
    }

    .navbar-inner {
        position: relative;
        z-index: 1006;
        pointer-events: auto;
    }

    .navbar-desktop-only {
        display: none !important;
    }

    /* Uma linha: lang + Login + Começar Grátis — sem chevron, sem painel */
    .navbar-mobile-inline {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    .navbar-inner .navbar-menu-toggle,
    .navbar-menu-toggle--minimal {
        display: none !important;
    }

    .navbar-mobile-panel {
        display: none !important;
    }

    .navbar-brand-text {
        display: none;
    }

    .navbar-logo {
        gap: 0;
    }

    /* Remover regra antiga que escondia só os links — agora o bloco inteiro some */
    .navbar-links > a {
        display: flex;
    }
}

/* Desktop: esconder toggle, painel e barra mobile inline */
@media (min-width: 769px) {
    .navbar-menu-toggle {
        display: none !important;
    }

    .navbar-mobile-panel {
        display: none !important;
    }

    .navbar-mobile-backdrop {
        display: none !important;
    }

    .navbar-mobile-inline {
        display: none !important;
    }
}

html.light .navbar-mobile-panel {
    background: linear-gradient(180deg, rgba(250, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-color: rgba(0, 0, 0, 0.06);
}

html.light .navbar-mobile-link {
    color: #64748B;
}

html.light .navbar-mobile-link:hover,
html.light .navbar-mobile-link:focus-visible {
    color: #0F172A;
    background: rgba(0, 0, 0, 0.04);
}

html.light .navbar-menu-toggle {
    background: rgba(0, 0, 0, 0.05);
}

html.light .navbar-menu-toggle-bar {
    background: #0F172A;
}

/* ========== Subpáginas (doc, contacto): mobile sem Login — só voltar Homepage ========== */
@media (max-width: 768px) {
    body.nav-subpage .navbar-actions .nav-login-only {
        display: none !important;
    }

    body.nav-subpage .navbar-actions .nav-back-home {
        /* Destaque como único CTA principal no header */
        padding: 10px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    /* Doc/contacto: se só sobrar um botão, não ficar espremido */
    body.nav-subpage .navbar-actions {
        flex-wrap: nowrap;
    }
}

/* ========== HERO MOBILE: CENTRO FORÇADO (última palavra no cascade) ==========
   Resolve alinhamento à esquerda quando outras regras/.hero-content flex-start ganham */
@media (max-width: 768px) {
    .landing-efferd-wrapper section.hero,
    section.hero {
        text-align: center;
    }

    .landing-efferd-wrapper section.hero .container-inner.hero-grid,
    section.hero .container-inner.hero-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    .landing-efferd-wrapper section.hero .hero-content,
    section.hero .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .landing-efferd-wrapper section.hero .hero-content h1,
    .landing-efferd-wrapper section.hero .hero-content .hero-tagline,
    .landing-efferd-wrapper section.hero .hero-content .hero-subtitle,
    section.hero .hero-content h1,
    section.hero .hero-content .hero-tagline,
    section.hero .hero-content .hero-subtitle {
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .landing-efferd-wrapper section.hero .hero-actions,
    section.hero .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .landing-efferd-wrapper section.hero .hero-actions-row,
    section.hero .hero-actions-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .landing-efferd-wrapper section.hero .hero-actions-anchor,
    section.hero .hero-actions-anchor {
        justify-content: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .landing-efferd-wrapper section.hero .hero-features,
    section.hero .hero-features {
        justify-content: center !important;
        width: 100% !important;
    }

    /* Landing-home: CTAs podem usar largura útil até 400px (melhor alvo de toque em telas largas) */
    body.landing-home section.hero .hero-actions {
        max-width: min(100%, 400px) !important;
    }

    /* Documentação (docs-hero): mesmo centrado mobile que section.hero — .hero-content é flex-start por defeito */
    .docs-hero .hero-content {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    .docs-hero .hero-content h1,
    .docs-hero .hero-content .hero-tagline,
    .docs-hero .hero-content .hero-subtitle {
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .docs-hero .eyebrow {
        align-self: center !important;
    }

    .docs-hero .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: min(100%, 360px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 24px !important;
    }

    .docs-hero .hero-actions-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    .docs-hero .hero-actions-row .btn {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center !important;
    }

    .docs-hero .hero-actions-anchor {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 10px 0 !important;
    }

    .docs-hero .stats-strip {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ==============================
   PRICING TOGGLE MENSAL / ANUAL
   ============================== */

.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.pricing-toggle {
    display: inline-flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.toggle-btn.active {
    background: rgba(255,255,255,0.08);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.toggle-btn:hover:not(.active) {
    color: #FFFFFF;
}

.toggle-badge {
    display: inline-flex;
    align-items: center;
    background: #34C759;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 999px;
}

.pricing-annual-note {
    font-size: 0.78rem;
    font-weight: 500;
    color: #34C759;
    margin-top: -8px;
    margin-bottom: 16px;
}

/* ==============================
   SEÇÃO: CRM AUTOMÁTICO COM IA
   ============================== */

.section-crm-ai {
    position: relative;
    overflow: hidden;
}

/* Badge da secção CRM — sem gradiente/glow branco */
.section-crm-ai .feature-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.section-crm-ai::before {
    display: none;
}

/* Trigger label acima de cada card — sem gradiente/glow */
.crm-moment-trigger {
    position: absolute;
    top: 32px;
    right: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #D4D4D8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.crm-moment-trigger::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D4D4D8;
    flex-shrink: 0;
}

.crm-moment-card:hover .crm-moment-trigger {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Destaque extra nos cards com IA — estilo Dashboard */

.crm-moment-ai::before {
    display: none;
}

/* Grid dos momentos — 3x2 uniforme (sem espaços vazios) */
.crm-moments-grid {
    margin-bottom: 24px;
}

/* Parágrafos com altura mínima uniforme (~4 linhas) para alinhamento consistente entre cards */
.crm-moments-grid .card p {
    min-height: 6.6em;
}

@media (min-width: 1024px) {
    .crm-moments-grid > .card:nth-child(1),
    .crm-moments-grid > .card:nth-child(4) { grid-column: span 1; }
    .crm-moments-grid > .card:nth-child(5) {
        grid-column: span 1 !important;
        grid-row: unset !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 36px 32px !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
        gap: 0 !important;
        align-items: stretch !important;
    }
    .crm-moments-grid > .card:nth-child(5) > .card-icon {
        grid-column: unset !important;
        grid-row: unset !important;
        margin-bottom: 24px !important;
        width: 48px !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .crm-moments-grid > .card:nth-child(5) > .crm-moment-trigger {
        position: absolute !important;
        top: 32px !important;
        right: 32px !important;
        left: unset !important;
        bottom: unset !important;
    }
    .crm-moments-grid > .card:nth-child(5) > h3 {
        grid-column: unset !important;
        grid-row: unset !important;
        font-size: 1.25rem !important;
        margin-bottom: 14px !important;
        line-height: 1.6 !important;
        padding: 0 !important;
        margin-left: 0 !important;
    }
    .crm-moments-grid > .card:nth-child(5) > p {
        grid-column: unset !important;
        grid-row: unset !important;
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
        grid-column: unset !important;
        grid-row: unset !important;
        margin-bottom: 32px !important;
    }
}

/* IA Features: 2 colunas */
.crm-ai-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* crm-ai-card — estilo Dashboard */
.crm-ai-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-3xl);
    padding: 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 
        0 4px 24px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.crm-ai-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.crm-ai-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 24px 48px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.crm-ai-card:hover::before {
    opacity: 1;
}

.crm-ai-label {
    position: absolute;
    top: 48px;
    right: 48px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #D4D4D8;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 8px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 10;
}

.crm-ai-card:hover .crm-ai-label {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 6px 16px rgba(0,0,0,0.3);
}

.crm-ai-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1.25;
    padding-right: 160px; /* evita sobreposição com o badge */
}

.crm-ai-card > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Mock WhatsApp message preview */
.mock-wa-message {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px 18px;
}

.mock-wa-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.78rem;
    color: #D4D4D8;
    letter-spacing: 0.01em;
}

.mock-wa-header::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #D4D4D8;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
    display: inline-block;
    flex-shrink: 0;
}

/* Query chips — Assistente IA */
.ai-queries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-query-chip {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
    cursor: default;
    font-style: italic;
}

.ai-query-chip:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: #D4D4D8;
}

/* Hover effect para precept banner */
.prepayment-banner:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 24px 48px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.prepayment-banner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-3xl);
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 24px -8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.prepayment-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.prepayment-banner:hover::before {
    opacity: 1;
}

.prepayment-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    color: #D4D4D8;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 8px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.prepayment-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.prepayment-content > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 520px;
}

.prepayment-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prep-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}

.prep-chip-green,
.prep-chip-blue {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #A1A1AA;
}

.prep-chip-white {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #A1A1AA;
}

/* Payment card mockup */
.payment-card-mockup {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-3xl);
    padding: 24px;
    min-width: 230px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.payment-card-mockup-header {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #52525B;
    margin-bottom: 14px;
}

.payment-card-service {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #FFFFFF;
}

.payment-card-amount {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    margin-bottom: 14px;
    line-height: 1;
}

.payment-card-amount span {
    font-size: 0.75rem;
    font-weight: 400;
    color: #71717A;
    letter-spacing: 0;
}

.payment-card-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #D4D4D8;
    padding: 7px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    margin-bottom: 10px;
}

.payment-card-stripe {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #71717A;
}

.payment-card-stripe svg {
    color: #71717A;
}

/* Responsive */
@media (max-width: 900px) {
    .crm-ai-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .prepayment-banner {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 28px;
    }

    .payment-card-mockup {
        min-width: unset;
        width: 100%;
    }

    .crm-ai-features {
        grid-template-columns: 1fr;
    }
}

/* ========== LANDING-HOME HERO: margens + cores (fim do ficheiro = ganha cascade) ==========
   Blocos @media(768) no meio do CSS redefiniam .hero-actions sem margin-top — isto força o “respirar”.
   Sem media query extra: vale em qualquer largura para body.landing-home. */
body.landing-home section.hero .hero-content h1 {
    margin-bottom: 52px !important;
}

body.landing-home section.hero .hero-content .hero-tagline {
    margin-bottom: 16px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500 !important;
}

body.landing-home section.hero .hero-content .hero-subtitle {
    margin-bottom: 40px !important;
    color: rgba(255, 255, 255, 0.58) !important;
}

body.landing-home section.hero .hero-actions {
    margin-top: 28px !important;
    gap: 18px !important;
}

body.landing-home section.hero .hero-actions-row {
    gap: 20px !important;
}

body.landing-home section.hero .hero-actions-anchor {
    margin-top: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 480px) {
    body.landing-home section.hero .hero-content h1 {
        margin-bottom: 56px !important;
    }
}

/* Mobile: separação header ↔ slogan (último = ganha cascade) */
@media (max-width: 768px) {
    body.landing-home section.hero {
        padding-top: calc(12px + 52px + 12px + 44px + env(safe-area-inset-top, 0px)) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ≤480px: ainda mais ar entre navbar e slogan */
@media (max-width: 480px) {
    body.landing-home section.hero {
        padding-top: calc(12px + 52px + 12px + 56px + env(safe-area-inset-top, 0px)) !important;
    }
}

/* ================================================================
   LANDING: DARK MODE ELEGANTE — SEM EFEITOS
   Fundo cinza escuro #171717, sem gradientes nem animações pesadas.
   ================================================================ */

/* Remover pseudo-elementos com gradientes escuros do hero */
html.landing-efferd-active .hero::before,
html.landing-efferd-active .hero::after {
    display: none !important;
}

/* Mobile: h1 sem card escuro com gradientes */
html.dark.landing-efferd-active body.landing-home section.hero .hero-content h1 {
    background: none !important;
    box-shadow: none !important;
}