/* Fonte personalizada haniva */
@font-face {
    font-family: 'haniva';
    src: url('/font') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --primary-color: #662d91;
    --primary-light: #662d91;
    --primary-dark: #4d2cad;
    --primary-gradient: linear-gradient(135deg, #9844d8 0%, #8100e4 100%);
    --accent-color: #cd8aff;
    --text-light: #f8f9fa;
    --text-dark: #343a40;
    --bg-light: #f0eaff;
    --bg-dark: #190a36;
    
    /* Novas variáveis para glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    --glass-blur: 10px;
    
    /* Variáveis de espaçamento estilo Apple */
    --section-spacing: 120px;
    --element-spacing: 30px;
    --container-width: 1140px;
}

body {
    font-family: 'haniva', sans-serif !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Forçar haniva em absolutamente todos os elementos, exceto ícones Font Awesome */
*:not([class*="fa-"]):not(i[class*="fa-"]),
*:not([class*="fa-"]):not(i[class*="fa-"])::before,
*:not([class*="fa-"]):not(i[class*="fa-"])::after {
    font-family: 'haniva', sans-serif !important;
}

/* Não sobrescrever font-family dos ícones Font Awesome */
.fa, .fas, .fab, .far, .fal, .fad, [class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Forçar negrito em títulos e botões */
h1, h2, h3, h4, h5, h6, .btn, .hero-title, .feature-title, .cta-title, .section-title, .step-title {
    font-family: 'haniva', sans-serif;
    font-weight: 700 !important;
    letter-spacing: -0.02em; /* Apple-style letter spacing */
}

/* Forçar haniva em campos de formulário, navegação, botões, dropdowns, toasts, etc */
input, select, textarea, button, label, .form-control, .form-select, .form-label, .nav-link, .nav-bar, .footer, .contact-icon, .contact-text, .toast, .toast-body, .dropdown-menu, .dropdown-item, .auth-card, .auth-form, .auth-tab, .section-title, .feature-title, .step-title, .cta-title, .feature-description, .step-description, .cta-text {
    font-family: 'haniva', sans-serif !important;
}

/* Container estilo Apple */
.container {
    max-width: var(--container-width);
    padding: 0 20px;
}

/* Hero Section no estilo Apple */
.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 180px 0 120px; /* Mais espaço no topo (estilo Apple) */
    position: relative;
    overflow: hidden;
    min-height: 80vh; /* Altura mínima estilo Apple */
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAyNUw1MCA3NUwxMDAgMjVMMTUwIDc1TDIwMCAyNUwyNTAgNzUiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjEpIiBzdHJva2Utd2lkdGg9IjIiIC8+PC9zdmc+');
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem; /* Título maior estilo Apple */
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
    line-height: 1.1; /* Linha mais apertada estilo Apple */
    max-width: 800px; /* Largura máxima para melhor legibilidade */
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.5rem; /* Subtítulo maior */
    margin-bottom: 2.5rem; /* Mais espaço embaixo */
    position: relative;
    z-index: 1;
    opacity: 0.9;
    animation: fadeIn 1.2s ease-out;
    max-width: 700px; /* Largura máxima para melhor legibilidade */
    margin-left: auto;
    margin-right: auto;
}

/* Auth Card com glassmorphism */
.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px; /* Mais arredondado estilo Apple */
    padding: 2.5rem; /* Mais padding interno */
    box-shadow: var(--glass-shadow);
    animation: fadeIn 1s ease-out;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    border: 1px solid var(--glass-border);
}

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 2px solid rgba(224, 224, 224, 0.3);
    color: rgba(149, 165, 166, 0.8);
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* Form controls estilo Apple com glassmorphism */
.form-control {
    padding: 14px 16px; /* Mais padding para inputs */
    border-radius: 12px; /* Mais arredondado */
    border: 1px solid rgba(221, 221, 221, 0.3);
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(106, 61, 232, 0.15);
    background: rgba(255, 255, 255, 0.2);
}

.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px; /* Mais espaço entre label e input */
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Botões estilo Apple */
.btn {
    padding: 14px 28px; /* Botões maiores */
    border-radius: 12px; /* Mais arredondado */
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 5;
    letter-spacing: -0.01em; /* Estilo Apple */
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 6px 12px rgba(106, 61, 232, 0.2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(106, 61, 232, 0.3);
    filter: brightness(1.1);
}

.btn-light {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Features Section estilo Apple */
.features-section {
    padding: var(--section-spacing) 0;
    background-color: white;
    position: relative;
}

.section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 4rem; /* Mais espaço embaixo do título */
    font-weight: 700;
    position: relative;
    font-size: 2.5rem; /* Título maior estilo Apple */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Feature cards com glassmorphism */
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Estilo Apple */
    color: var(--text-dark);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform-origin: center bottom;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(106, 61, 232, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem; /* Mais espaço abaixo do ícone */
    display: inline-block;
    background-color: rgba(240, 234, 255, 0.5);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Estilo Apple */
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.feature-description {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* How It Works Section estilo Apple */
.how-it-works {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.step-card {
    text-align: center;
    padding: 2.5rem;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 60px; /* Maior */
    height: 60px; /* Maior */
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 2rem; /* Mais espaço */
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(106, 61, 232, 0.3);
    animation: pulse 2.5s infinite;
}

.step-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
}

.step-description {
    color: #6c757d;
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

/* CTA Section com glassmorphism */
.cta-section {
    padding: var(--section-spacing) 0;
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAyNUw1MCA3NUwxMDAgMjVMMTUwIDc1TDIwMCAyNUwyNTAgNzUiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjEpIiBzdHJva2Utd2lkdGg9IjIiIC8+PC9zdmc+');
    opacity: 0.1;
    z-index: 0;
}

.cta-title {
    font-size: 3rem; /* Título maior estilo Apple */
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    margin-bottom: 2.5rem; /* Mais espaço */
    position: relative;
    z-index: 1;
    font-size: 1.4rem; /* Texto maior */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating Devices na CTA Section - Posicionamento melhorado */
.floating-devices {
    position: relative;
    height: 400px; /* Aumentado de 300px para 400px para acomodar os elementos elevados */
    margin-top: 70px; 
    margin-bottom: 50px; /* Aumentado para melhor espaçamento inferior */
}

.device-1 {
    width: 600px;
    height: 600px;
    left: -30%;    /* Mais à esquerda */
    top: -40px;   /* Mais para cima */
    transform: rotate(-8deg);
    animation: floatDevice1 5s infinite alternate ease-in-out;
    z-index: 3;
}

.device-2 {
    width: 600px;
    height: 600px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    top: -90px;   /* Mais para cima */
    animation: floatDevice2 7s infinite alternate ease-in-out;
    z-index: 2;
}

.device-3 {
    width: 600px;
    height: 600px;
    right: -30%;   /* Mais à direita */
    top: -20px;   /* Mais para cima */
    transform: rotate(8deg);
    animation: floatDevice3 6s infinite alternate ease-in-out;
    z-index: 1;
}

/* Ajuste nas animações para manter os elementos elevados */
@keyframes floatDevice1 {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-25px) rotate(-3deg); }
}

@keyframes floatDevice2 {
    0% { transform: translateX(-50%) translateY(0) rotate(2deg); }
    100% { transform: translateX(-50%) translateY(-30px) rotate(4deg); }
}

@keyframes floatDevice3 {
    0% { transform: translateY(0) rotate(5deg); }
    100% { transform: translateY(-20px) rotate(7deg); }
}

/* Ajuste da responsividade para o novo posicionamento */
@media (max-width: 1600px) {
    .device-1 {
        left: -5%;
        top: -30px;
    }
    
    .device-3 {
        right: -5%;
        top: -30px;
    }
}

@media (max-width: 1200px) {
    .device-1 {
        width: 500px;
        height: 500px;
        left: -8%;
    }
    
    .device-2 {
        width: 500px;
        height: 500px;
    }
    
    .device-3 {
        width: 500px;
        height: 500px;
        right: -8%;
    }
}

/* Responsividade para as imagens maiores */
@media (max-width: 1200px) {
    .device-1 {
        width: 250px;
        height: 190px;
    }
    
    .device-2 {
        width: 320px;
        height: 230px;
    }
    
    .device-3 {
        width: 230px;
        height: 180px;
    }
}

@media (max-width: 991.98px) {
    .floating-devices {
        height: 250px;
        margin-top: 50px;
    }
    
    .device-1 {
        width: 200px;
        height: 150px;
        left: 0;
    }
    
    .device-2 {
        width: 250px;
        height: 190px;
        top: -30px;
    }
    
    .device-3 {
        width: 190px;
        height: 140px;
        right: 0;
    }
}

@media (max-width: 767.98px) {
    .floating-devices {
        display: flex; /* Mudado de 'none' para 'flex' para mostrar em dispositivos móveis */
        height: auto;
        position: static;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 40px 0 20px;
    }
    
    .floating-device {
        position: static;
        width: 120px;
        height: 100px;
        transform: none !important;
        animation: none;
        margin: 0 10px;
    }
    
    .device-1, .device-2, .device-3 {
        position: static;
        transform: none !important;
        animation: pulse 3s infinite alternate ease-in-out;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Footer */
.footer {
    background-color: #343a40;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0; /* Mais padding */
    text-align: center;
    font-size: 0.95rem;
}

/* Animações melhoradas */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(106, 61, 232, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(106, 61, 232, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(106, 61, 232, 0.3);
    }
}

/* Toast notification com glassmorphism */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

/* Melhorias de imagem e vídeo - qualidade e tamanho */
img, video {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

/* Arquivos estáticos - forçar alta qualidade */
.feature-image, .step-image, .workflow-image, .device-image, .hero-animation {
    max-width: initial;
    max-height: initial;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

/* Nova seção DYP AI com vídeo MP4 autoplay - melhorada */
.dyp-ai-video-section {
    min-height: 100vh;
    height: auto;
    padding: 100px 0;
    position: relative;
    background: var(--primary-gradient);
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Mantém a proporção do vídeo */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.dyp-video {
    width: 100%;
    max-width: 1600px; /* Aumentado de 1200px */
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transform: translateZ(0); /* Ajuda na renderização */
    will-change: transform; /* Melhora a qualidade em alguns navegadores */
    display: block;
    margin: 0 auto;
}

.dyp-ai-header {
    position: relative; /* Mudado de absolute para relative */
    width: 100%;
    text-align: center;
    color: white;
    z-index: 10;
    padding: 0 20px;
    margin-bottom: 50px;
}

/* Responsive adjustments for video */
@media (max-width: 991.98px) {
    .dyp-ai-video-section {
        padding: 80px 0;
    }
    
    .video-container {
        margin-top: 40px;
    }
    
    .dyp-video {
        width: 95%;
        max-width: none; /* Remove limite de largura em telas menores */
    }
}

@media (max-width: 767.98px) {
    .dyp-ai-video-section {
        padding: 60px 0;
    }
    
    .video-container {
        margin-top: 20px;
        width: 100%;
        padding: 0 15px; /* Garante que o vídeo não grude nas bordas */
    }
    
    .dyp-video {
        width: 100%;
        border-radius: 10px;
    }
}

/* Feature Images - melhorado */
.feature-image-container {
    margin-top: 20px;
    height: 200px; /* Aumentado de 160px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(240, 234, 255, 0.3);
}

/* Step Images - melhorado */
.step-image-container {
    margin-top: 25px;
    height: 220px; /* Aumentado de 180px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
}

/* Device Mockup estilo Apple - melhorado */
.device-frame {
    width: 100%;
    max-width: 550px; /* Aumentado de 450px */
    height: 400px; /* Aumentado de 350px */
    background: var(--primary-dark);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotateX(5deg) rotateY(-10deg);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

/* Workflow Diagram - melhorado */
.workflow-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 30px 0;
    max-width: 90%;
    margin: 0 auto;
}

.workflow-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Remover estilos antigos do ScrollyVideo que não são mais necessários */
#scrolly-video {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .auth-card {
        margin-top: 3rem;
    }
    
    :root {
        --section-spacing: 90px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .features-section, .how-it-works, .cta-section {
        padding: 70px 0;
    }
    
    :root {
        --section-spacing: 70px;
    }
}

/* Telão preview com glassmorphism */
.telao-preview {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.telao-id-display {
    background-color: rgba(240, 234, 255, 0.5);
    color: var(--primary-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.status-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    background-color: rgba(187, 187, 187, 0.15);
    color: var(--accent-color);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Contact Form Styles com glassmorphism */
.contact-section {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-light);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom right, white 0%, white 50%, var(--bg-light) 50%, var(--bg-light) 100%);
    z-index: 0;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-info {
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem; /* Mais espaço */
}

.contact-icon {
    background: var(--primary-gradient);
    color: white;
    width: 50px; /* Maior */
    height: 50px; /* Maior */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem; /* Mais espaço */
    flex-shrink: 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-text strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.4rem; /* Mais espaço */
    font-size: 1.1rem; /* Texto maior */
}

.form-floating {
    margin-bottom: 1.2rem; /* Mais espaço */
}

.form-floating label {
    color: #6c757d;
}

/* Navigation Bar com glassmorphism */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(102, 45, 145, 0.8); /* Semitransparente */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-bar .logo {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    margin-left: 25px; /* Mais espaço entre itens */
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    letter-spacing: -0.01em; /* Estilo Apple */
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hamburger button para mobile */
.nav-toggle {
    display: none !important;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 10px;
    z-index: 1100;
}

@media (max-width: 991.98px) {
    .nav-toggle {
        display: flex !important;
    }
}

/* Menu mobile como overlay com glassmorphism */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(102, 45, 145, 0.9); /* Semitransparente */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.mobile-nav.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav .nav-list {
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.mobile-nav .nav-item {
    margin: 0;
    border-bottom: none;
    width: 100%;
    text-align: center;
}

.mobile-nav .nav-link {
    display: block;
    padding: 20px 0;
    font-size: 1.4rem;
    color: #fff;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: none;
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .nav-list {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
        opacity: 0;
        pointer-events: none;
    }
    
    .mobile-nav.open {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
}

/* Blog preview com glassmorphism */
#blog-preview .card {
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(106, 61, 232, 0.07);
    border: none;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

#blog-preview .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(106, 61, 232, 0.12);
}

/* Efeito de scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* DYP AI section com glassmorphism */
.dyp-ai-section {
    background: linear-gradient(to right, rgba(240, 234, 255, 0.7), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 48px 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.dyp-ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(205, 138, 255, 0.05) 0%, rgba(102, 45, 145, 0.05) 70%);
    z-index: 0;
}

.dyp-ai-container {
    position: relative;
    z-index: 1;
}

.dyp-ai-icon {
    background: linear-gradient(135deg, #9844d8 0%, #cd8aff 100%);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-right: 20px;
    box-shadow: 0 8px 20px rgba(106, 61, 232, 0.25);
}

.dyp-ai-title {
    margin: 0;
    color: #662d91;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.02em; /* Estilo Apple */
}

.dyp-ai-text {
    max-width: 600px;
    margin: 1.5rem auto 0;
    color: #343a40;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Hero Device Animation */
.hero-device-container {
    position: relative;
    height: 400px;
    margin-top: 60px;
    margin-bottom: -100px;
    z-index: 10;
}

.hero-device {
    position: relative;
    width: 80%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-device:hover {
    transform: translateY(-10px) scale(1.02);
}

.hero-animation {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* Círculos decorativos estilo Apple */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    filter: blur(10px);
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: -40px;
    left: -30px;
    animation: float1 15s infinite alternate ease-in-out;
}

.circle-2 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: 10%;
    animation: float2 10s infinite alternate ease-in-out;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 60px;
    right: -10px;
    animation: float3 12s infinite alternate ease-in-out;
}

@keyframes float1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, 20px) rotate(10deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-20px, 10px) rotate(-10deg); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(15px, -15px) rotate(5deg); }
}

/* Feature Images */
.feature-image-container {
    margin-top: 20px;
    height: 200px; /* Aumentado de 160px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(240, 234, 255, 0.3);
}

.feature-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

/* Step Images */
.step-image-container {
    margin-top: 25px;
    height: 220px; /* Aumentado de 180px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.step-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.step-card:hover .step-image {
    transform: scale(1.05);
}

/* DYP AI Animation */
.ai-animation-container {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ai-animation {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCAwTDUwIDUwTDEwMCAwIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIgc3Ryb2tlLXdpZHRoPSIxIiAvPjwvc3ZnPg==');
    opacity: 0.2;
}

/* Device Mockup estilo Apple */
.device-mockup-container {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}

.device-frame {
    width: 100%;
    max-width: 550px; /* Aumentado de 450px */
    height: 400px; /* Aumentado de 350px */
    background: var(--primary-dark);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotateX(5deg) rotateY(-10deg);
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.device-mockup-container:hover .device-frame {
    transform: rotateX(0deg) rotateY(0deg);
}

.device-reflection {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Workflow Diagram */
.workflow-container {
    margin-top: 60px;
}

.workflow-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 30px 0;
    max-width: 90%;
    margin: 0 auto;
}

.workflow-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Floating Devices na CTA Section */
.floating-devices {
    position: relative;
    height: 300px;
    margin-top: 70px;
}

.floating-device {
    position: absolute;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.068);
    transition: transform 0.5s ease;
}

@keyframes floatDevice1 {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-15px) rotate(-3deg); }
}

@keyframes floatDevice2 {
    0% { transform: translateX(-50%) translateY(0) rotate(2deg); }
    100% { transform: translateX(-50%) translateY(-20px) rotate(4deg); }
}

@keyframes floatDevice3 {
    0% { transform: translateY(0) rotate(5deg); }
    100% { transform: translateY(-10px) rotate(7deg); }
}

/* Responsividade para os novos elementos */
@media (max-width: 991.98px) {
    .hero-device-container {
        height: 300px;
        margin-top: 40px;
    }
    
    .hero-device {
        height: 300px;
    }
    
    .device-mockup-container {
        height: 300px;
    }
    
    .device-frame {
        max-width: 400px;
        height: 280px;
    }
    
    .ai-animation-container {
        height: 300px;
        margin-top: 30px;
    }
    
    .floating-devices {
        height: 250px;
    }
    
    .device-1, .device-3 {
        width: 150px;
        height: 120px;
    }
    
    .device-2 {
        width: 180px;
        height: 140px;
    }
    
    #dyp-ai-video {
        max-width: 95%;
    }
}

@media (max-width: 767.98px) {
    .hero-device-container {
        height: 250px;
        margin-top: 30px;
        margin-bottom: -50px;
    }
    
    .hero-device {
        height: 250px;
    }
    
    .feature-image-container, .step-image-container {
        height: 140px;
    }
    
    .device-mockup-container {
        height: 250px;
        margin-top: 30px;
    }
    
    .device-frame {
        max-width: 320px;
        height: 220px;
    }
    
    .ai-animation-container {
        height: 250px;
    }
    
    .floating-devices {
        display: none; /* Ocultar em mobile para melhor layout */
    }
    
    #dyp-ai-video {
        max-width: 100%;
        max-height: 60%;
    }
}

@media (max-width: 575.98px) {
    .hero-device-container {
        height: 200px;
    }
    
    .hero-device {
        height: 200px;
    }
    
    .device-mockup-container {
        transform: scale(0.8);
        margin-top: 0;
    }
    
    .ai-animation-container {
        height: 200px;
    }
}

/* Nova seção DYP AI com vídeo MP4 autoplay */
.dyp-ai-video-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    background: var(--primary-gradient);
    overflow: hidden;
    padding: 0;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dyp-video {
    width: 90%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.dyp-ai-header {
    position: absolute;
    top: 60px;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 10;
    padding: 0 20px;
}

.dyp-ai-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dyp-ai-title {
    margin: 0;
    color: white;
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dyp-ai-subtitle {
    margin-top: 15px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botão de play caso o autoplay seja bloqueado */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Efeitos decorativos */
.dyp-ai-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAwIiBoZWlnaHQ9IjYwMCIgdmlld0JveD0iMCAwIDYwMCA2MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImciIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiPgogICAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuMSIgLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAiIC8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8cGF0aCBkPSJNMCAwIEwzMDAgMzAwIEw2MDAgMCIgc3Ryb2tlPSJ1cmwoI2cpIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIHN0cm9rZS1kYXNoYXJyYXk9IjUsMTAiIC8+Cjwvc3ZnPg==');
    opacity: 0.05;
    z-index: 0;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .dyp-ai-title {
        font-size: 2rem;
    }
    
    .dyp-ai-subtitle {
        font-size: 1.1rem;
    }
    
    .dyp-video {
        width: 95%;
    }
}

@media (max-width: 767.98px) {
    .dyp-ai-header {
        top: 40px;
    }
    
    .dyp-ai-title {
        font-size: 1.8rem;
    }
    
    .dyp-ai-subtitle {
        font-size: 1rem;
    }
    
    .dyp-ai-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        margin-right: 10px;
    }
    
    .dyp-video {
        width: 100%;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Remover estilos antigos do ScrollyVideo que não são mais necessários */
#scrolly-video {
    display: none;
}