/* 
   ==========================================================================
   Portal Delivery (Enbala Shop) - Stylesheet Principal
   ========================================================================== 
*/

/* 1. Imports de Fontes Google */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* 2. Variáveis de Design / Design Tokens */
:root {
    /* Cores Principais */
    --color-bg-darkest: #07080d;
    --color-bg-darker: #0d0f17;
    --color-bg-card: #151825;
    
    /* Cores de Destaque */
    --color-primary: #8b5cf6;          /* Roxo Violeta */
    --color-primary-glow: rgba(139, 92, 246, 0.4);
    --color-secondary: #06b6d4;        /* Ciano Neon */
    --color-secondary-glow: rgba(6, 182, 212, 0.4);
    
    /* Cores Auxiliares */
    --color-success: #10b981;          /* Verde Sucesso */
    --color-text-white: #ffffff;
    --color-text-primary: #e2e8f0;      /* Cinza Claro */
    --color-text-muted: #94a3b8;        /* Cinza Muted */
    --color-border: rgba(255, 255, 255, 0.08);
    
    /* Gradientes */
    --gradient-hero: linear-gradient(135deg, #0d0f17 0%, #07080d 100%);
    --gradient-accent: linear-gradient(90deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-card-hover: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.02) 100%);
    
    /* Fontes */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Efeitos */
    --blur-glass: blur(16px);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.7);
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 25px 50px rgba(0, 0, 0, 0.85);
    --shadow-accent: 0 0 25px rgba(139, 92, 246, 0.35);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
}

/* 3. Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html,
body {
    background-color: var(--color-bg-darkest);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Animações Globais */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.7;
        filter: blur(50px) scale(1);
    }
    50% {
        opacity: 1;
        filter: blur(70px) scale(1.1);
    }
}

/* 4. Layout e Contêineres */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 15, 23, 0.85);
    backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--color-secondary);
}

.cta-header-btn {
    background: var(--gradient-accent);
    color: var(--color-text-white);
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    transition: var(--transition-smooth);
}

.cta-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--color-primary-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-toggle-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
    border-color: rgba(6, 182, 212, 0.4);
    transform: scale(1.05);
    box-shadow: 0 0 12px var(--color-secondary-glow);
}

.menu-toggle-btn:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero-glow-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
    animation: pulseGlow 8s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-secondary-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(60px);
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-delivery {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--color-primary);
    color: #a78bfa;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge-delivery span {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-primary);
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--color-text-white);
    font-family: var(--font-headings);
    font-weight: 700;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-accent);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--color-primary-glow);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.04);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}

/* Mockup Lateral no Hero */
.hero-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 2;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1), float 6s ease-in-out infinite;
}

/* Container do Slider de Lojas no Hero */
.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    perspective: 1000px; /* Habilita profundidade 3D */
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
}

/* Slides do Slider de Lojas */
.card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.6s ease,
                border-color 0.6s ease;
    transform-origin: bottom center;
    user-select: none;
}

/* Card ativo: em destaque na frente */
.card-slide.active {
    transform: scale(1) translateY(0) translateZ(0);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
}

/* Próximo card: atrás e um pouco abaixo */
.card-slide.next {
    transform: scale(0.92) translateY(20px) translateZ(-50px);
    opacity: 0.6;
    z-index: 5;
    pointer-events: none;
}

/* Segundo card seguinte: mais atrás e mais abaixo */
.card-slide.next-next {
    transform: scale(0.84) translateY(40px) translateZ(-100px);
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

/* Card anterior: jogado para o lado esquerdo com rotação */
.card-slide.prev {
    transform: translateX(-120%) rotate(-10deg) scale(0.9) translateZ(50px);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Cards ocultos */
.card-slide.hidden {
    transform: scale(0.8) translateY(60px) translateZ(-150px);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* Botões do Slider */
.hero-slider-btn {
    position: absolute;
    top: calc(50% - 22px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-slider-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-slider-btn:hover {
    background: var(--color-primary);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.hero-slider-btn:active {
    transform: scale(0.95);
}

.hero-slider-btn.prev-btn {
    left: -60px;
}

.hero-slider-btn.prev-btn:hover svg {
    transform: translateX(-2px);
}

.hero-slider-btn.next-btn {
    right: -60px;
}

.hero-slider-btn.next-btn:hover svg {
    transform: translateX(2px);
}

/* 5. Seção de Benefícios */
.section-title {
    text-align: center;
    font-family: var(--font-headings);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card-hover);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-premium);
}

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

.feature-content-inner {
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.feature-card:hover .feature-icon {
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.feature-title {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* 6. Seção Showcase de Clientes (Lojas de Demonstração) */
.showcase {
    background-color: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.showcase-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1.5rem 1rem 2.5rem 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-darker);
    cursor: grab;
    align-items: flex-start;
}

.showcase-grid.grabbing {
    cursor: grabbing;
    user-select: none;
}

.showcase-grid.grabbing .demo-card {
    pointer-events: none;
}

/* Custom scrollbar for webkit */
.showcase-grid::-webkit-scrollbar {
    height: 10px;
}

.showcase-grid::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
    border-radius: 10px;
}

.showcase-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 10px;
    border: 2px solid var(--color-bg-darker);
}

.showcase-grid::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

.demo-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    /* Dynamic accent custom properties with fallback to purple */
    --store-color: var(--color-primary);
    --store-color-glow: var(--color-primary-glow);
    box-shadow: var(--shadow-card);
    flex: 0 0 320px;
}

@media (max-width: 480px) {
    .demo-card {
        flex: 0 0 280px;
    }
}

.demo-card:hover {
    transform: translateY(-8px);
    border-color: var(--store-color);
    box-shadow: var(--shadow-card-hover), 0 0 30px var(--store-color-glow);
}

.demo-banner {
    height: 120px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, var(--store-color-glow) 100%);
    position: relative;
}

.demo-logo-container {
    width: 80px;
    height: 80px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -40px;
    left: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.demo-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0.4rem;
}

.demo-card:hover .demo-logo-container {
    transform: scale(1.05);
    border-color: var(--store-color);
    box-shadow: 0 0 15px var(--store-color-glow);
}

.demo-body {
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.demo-tag {
    align-self: flex-start;
    background: var(--store-color-glow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--store-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

.demo-title {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* CSS Line Clamping for 3 lines with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: 3.78rem;
}

.demo-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.demo-detail-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.demo-detail-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-detail-item svg {
    width: 14px;
    height: 14px;
    color: var(--store-color);
}

.demo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 0.85rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-family: var(--font-headings);
    font-weight: 600;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.demo-link:hover {
    background: var(--store-color);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 5px 15px var(--store-color-glow);
    transform: translateY(-2px);
}

/* 7. Seção de Como Funciona */
.how-it-works {
    background-color: var(--color-bg-darkest);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
}

.timeline-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-step:hover .step-number {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--color-secondary-glow);
}

.step-title {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

/* 8. Formulário de Contato / Conversão */
.contact-section {
    background-color: var(--color-bg-darker);
    border-top: 1px solid var(--color-border);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-headings);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.contact-info h2 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-md);
    background: rgba(6, 182, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--color-secondary);
}

.contact-item-text {
    font-weight: 500;
}

.contact-form-container {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-premium);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-primary);
    transition: var(--transition-smooth);
    position: relative;
    padding-left: 0;
}

/* Efeito Dinâmico na Label ao focar no campo */
.form-group:focus-within .form-label {
    color: var(--color-secondary);
    transform: translateX(8px);
}

.form-label::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 12px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: var(--transition-smooth);
    opacity: 0;
}

.form-group:focus-within .form-label::before {
    transform: translateY(-50%) scaleY(1);
    opacity: 1;
    left: -8px;
}

.form-input {
    width: 100%;
    background: var(--color-bg-darker);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 0.85rem 1rem;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.form-input::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px var(--color-secondary-glow);
    background: var(--color-bg-darkest);
}

select.form-input {
    cursor: pointer;
}

select.form-input option {
    background: var(--color-bg-card);
    color: var(--color-text-primary);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.05rem;
    justify-content: center;
}

/* 8.5. Preço no Contato */
.price-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 320px;
}

.price-badge-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-secondary);
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.price-badge-value {
    font-size: 2rem;
    font-family: var(--font-headings);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.price-badge-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.price-badge-info {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* 9. Footer */
.app-footer {
    background-color: var(--color-bg-darkest);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    text-align: left;
}

.footer-brand-side {
    flex: 1;
}

.footer-logo {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-credits {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-invite-side {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    max-width: 480px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.footer-invite-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.footer-invite-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.footer-invite-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-invite-link svg {
    transition: transform 0.3s ease;
}

.footer-invite-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px var(--color-secondary-glow);
}

.footer-invite-link:hover svg {
    transform: translateX(3px);
}

/* 9.5. Drawer Menu */
.menu-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    transition: visibility 0.4s ease;
}

.menu-drawer.open {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 8, 13, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: 100%;
    background: rgba(21, 24, 37, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.menu-drawer.open .drawer-content {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.drawer-title {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.drawer-close-btn svg {
    width: 18px;
    height: 18px;
}

.drawer-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-primary);
    border-color: rgba(139, 92, 246, 0.4);
    transform: scale(1.05);
}

.drawer-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.drawer-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drawer-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.drawer-nav-link {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.drawer-nav-link:hover {
    color: var(--color-secondary);
    padding-left: 6px;
}

.drawer-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2rem 0;
}

.drawer-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.drawer-action-btn.primary-action {
    background: var(--gradient-accent);
    color: var(--color-text-white);
    box-shadow: var(--shadow-accent);
    margin-bottom: 0.75rem;
}

.drawer-action-btn.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.drawer-action-btn.secondary-action {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.drawer-action-btn.secondary-action:hover {
    background: var(--color-secondary);
    color: #ffffff;
    border-color: transparent;
}

/* 10. Responsividade / Media Queries */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding-top: 7.5rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .timeline-step {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-info {
        text-align: left;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-details-list {
        align-items: flex-start;
    }
    
    .contact-form-container {
        padding: 2.5rem 2rem;
    }

    .footer-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-invite-side {
        max-width: 100%;
    }
}

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

    .brand {
        font-size: 1.4rem;
    }

    .cta-header-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-slider-container {
        max-width: 280px;
        height: 520px;
    }

    .hero-slider-btn {
        width: 38px;
        height: 38px;
        top: calc(50% - 19px);
    }

    .hero-slider-btn svg {
        width: 18px;
        height: 18px;
    }

    .hero-slider-btn.prev-btn {
        left: -12px;
    }

    .hero-slider-btn.next-btn {
        right: -12px;
    }

    .demo-body {
        padding: 2.5rem 1.25rem 1.25rem 1.25rem;
    }

    .demo-tag {
        margin-bottom: 0.75rem;
    }

    .demo-desc {
        margin-bottom: 1rem;
    }

    .demo-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .contact-item-text {
        font-size: 0.85rem;
        overflow-wrap: anywhere;
        max-width: calc(100vw - 100px);
    }

    .btn-submit {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }

    .contact-form-container {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .brand {
        font-size: 1.15rem;
    }

    .cta-header-btn {
        font-size: 0;
        padding: 0.4rem 0.75rem;
    }

    .cta-header-btn::after {
        content: "Começar";
        font-size: 0.8rem;
        font-weight: 700;
    }
    
    .hero-title {
        font-size: 1.65rem;
    }

    .contact-info h2 {
        font-size: 1.65rem;
    }

    .btn-submit {
        font-size: 0.8rem;
        padding: 0.85rem 0.5rem;
    }
}
