/* Reset e Variáveis */
:root {
    --primary: #1a56db;
    --primary-dark: #1e429f;
    --secondary: #059669;
    --secondary-dark: #047857;
    --dark: #111827;
    --darker: #0f172a;
    --light: #f8fafc;
    --accent: #f59e0b;
    --text: #ffffff;
    --text-muted: #cbd5e1;
    --card-bg: rgba(30, 41, 59, 0.7);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 85px; /* ESPAÇO PARA O HEADER FIXO */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Header - LOGO RESPONSIVA E CENTRALIZADA NO MOBILE */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 85px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    width: 100%;
}

.logo-container {
    flex: 0 0 auto;
}

/* LOGO RESPONSIVA - Tamanhos ajustados */
.logo {
    height: 45px; /* Altura fixa para manter proporção */
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

/* Tamanhos responsivos para logo */
@media (min-width: 1200px) {
    .logo {
        height: 75px;
    }
}

@media (max-width: 992px) {
    .logo {
        height: 40px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px; /* MENOR ESPAÇO PARA MOBILE */
    }
    
    header {
        height: 75px;
        padding: 15px 0;
    }
    
    .header-container {
        justify-content: center;
        padding: 0 60px 0 20px;
    }
    
    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo {
        height: 35px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px; /* ESPAÇO AINDA MENOR PARA MOBILE PEQUENO */
    }
    
    header {
        height: 70px;
        padding: 12px 0;
    }
    
    .logo {
        height: 30px;
        max-width: 130px;
    }
}

/* Navegação Desktop */
.desktop-nav {
    display: flex;
    gap: 40px;
}

@media (max-width: 992px) {
    .desktop-nav {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
}

.desktop-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.desktop-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--accent);
}

.desktop-nav a:hover:after {
    width: 100%;
}

/* Menu Mobile */
.mobile-menu-btn {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text);
    background: var(--card-bg);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.mobile-menu-btn:hover {
    background: rgba(37, 99, 235, 0.2);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 100%;
    right: 20px;
    width: 250px;
    z-index: 1001;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--text);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover {
    color: var(--accent);
    padding-left: 10px;
}

/* Botão WhatsApp Flutuante */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    background: var(--gradient-dark);
}

/* Seção Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section - COM ESPAÇAMENTO ADEQUADO */
.hero {
    padding: 80px 0; /* ESPAÇAMENTO ADEQUADO */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.hero:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

@media (max-width: 992px) {
    .hero .container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero {
        padding: 60px 0; /* MENOR ESPAÇAMENTO NO MOBILE */
    }
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero-content p {
        font-size: 1.1rem;
    }
}

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

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* COMPUTADOR COM TELA DO SISTEMA */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.computer-device {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.computer-monitor {
    position: relative;
    width: 100%;
    background: #1e293b;
    border-radius: 15px 15px 0 0;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.computer-monitor:hover {
    transform: perspective(1000px) rotateX(0) rotateY(0);
}

.computer-screen {
    width: 100%;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.screen-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.system-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s ease;
}

.computer-monitor:hover .system-screenshot {
    transform: scale(1.02);
}

.monitor-frame {
    position: relative;
    width: 100%;
}

.monitor-stand {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 15px;
    background: #1e293b;
    border-radius: 5px 5px 0 0;
}

.monitor-base {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 20px;
    background: #1e293b;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsividade do computador */
@media (max-width: 992px) {
    .computer-monitor {
        transform: perspective(1000px) rotateX(0) rotateY(0);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .computer-device {
        max-width: 500px;
    }
    
    .computer-monitor {
        padding: 15px;
    }
}

/* Botões */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    background: var(--gradient-dark);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Serviços */
.services {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
}

.services:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.02)"/></svg>');
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .services {
        padding: 80px 0; /* MENOR ESPAÇAMENTO NO MOBILE */
    }
}

.service-card {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(37, 99, 235, 0.3);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Nova Seção: Sistema de Delivery */
.delivery-system {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker) 0%, rgba(15, 23, 42, 0.95) 100%);
}

@media (max-width: 768px) {
    .delivery-system {
        padding: 80px 0; /* MENOR ESPAÇAMENTO NO MOBILE */
    }
}

.delivery-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

@media (max-width: 992px) {
    .delivery-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .delivery-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

.delivery-text {
    flex: 1;
    
}

.delivery-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .feature-item {
        text-align: left;
        flex-direction: column;
        gap: 15px;
    }
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-text p {
    color: var(--text-muted);
    line-height: 1.6;
}

.delivery-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* NOVO: Dispositivo Mobile com IFRAME do site real */
.mobile-device {
    position: relative;
    width: 320px; /* Ligeiramente maior para melhor visualização */
    height: 640px;
    background: #1e293b;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 10px solid #0f172a;
    transition: transform 0.3s ease;
}

.mobile-device:hover {
    transform: translateY(-5px) scale(1.02);
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: #0f172a;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

/* Container para o vídeo dentro do mockup */
.delivery-video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.delivery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ajuste específico para o vídeo dentro do mockup */
.mobile-device .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Se o vídeo estiver com proporção errada, ajuste com: */
.delivery-video {
    object-fit: contain; /* Mostra vídeo inteiro sem cortar */
    background-color: #000; /* Fundo preto se tiver bordas */
}

/* Ou se quiser que ocupe toda a tela: */
.delivery-video.fill {
    object-fit: cover; /* Preenche toda a tela, pode cortar bordas */
}

/* Controles do vídeo (opcional) */
.video-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.video-play-btn {
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Ajuste para o banner de cookies ficar sobre o vídeo */
.cookie-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid #ddd;
    padding: 15px;
}

/* IFRAME para mostrar o site real */
.delivery-iframe-container {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.delivery-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    transform: scale(0.8); /* Ajusta o zoom para caber melhor */
    transform-origin: top left;
    pointer-events: none; /* Impede interação dentro do iframe no preview */
}



/* Overlay com link para abrir o site */
.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 2;
}



.iframe-overlay:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.iframe-overlay a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    padding: 20px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.iframe-overlay:hover a {
    transform: translateY(0);
}

.iframe-overlay i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iframe-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 10px;
}

.mobile-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #0f172a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.mobile-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Botão para visualizar em tela cheia */
.fullscreen-button {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.fullscreen-button:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: var(--gradient-dark);
}

/* Modal para visualização em tela cheia */
.delivery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.delivery-modal.active {
    display: flex;
}

.delivery-modal-content {
    width: 100%;
    max-width: 800px;
    height: 90vh;
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.delivery-modal-header {
    padding: 20px;
    background: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.delivery-modal-header h3 {
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-modal-header h3 i {
    color: var(--accent);
}

.close-modal {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

.delivery-modal-iframe {
    width: 100%;
    height: calc(100% - 70px);
    border: none;
}

/* Responsividade do dispositivo mobile */
@media (max-width: 768px) {
    .mobile-device {
        width: 280px;
        height: 560px;
    }
    
    .fullscreen-button {
        bottom: -45px;
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .mobile-device {
        width: 250px;
        height: 500px;
    }
    
    .delivery-modal-content {
        height: 85vh;
        border-radius: 15px;
    }
}

/* Diferenciais */
.features {
    padding: 100px 0;
    background: var(--dark);
}

@media (max-width: 768px) {
    .features {
        padding: 80px 0; /* MENOR ESPAÇAMENTO NO MOBILE */
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

/* Depoimentos */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, var(--darker) 100%);
}

@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0; /* MENOR ESPAÇAMENTO NO MOBILE */
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

.testimonial-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    line-height: 1.8;
}

.testimonial-text:before {
    content: '"';
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -30px;
    left: -10px;
    font-family: Georgia, serif;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
}

.testimonial-author span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta {
        padding: 80px 0; /* MENOR ESPAÇAMENTO NO MOBILE */
    }
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .cta h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .cta h2 {
        font-size: 1.8rem;
    }
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* Footer - LOGO DO FOOTER TAMBÉM RESPONSIVA */
footer {
    background: var(--darker);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px;
    }
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .footer-logo {
        height: px;
        max-width: 150px;
    }
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-certificates {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.footer-certificates span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-certificates i {
    color: var(--secondary);
}

.footer-contact h3,
.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3:after,
.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-contact p {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 8px 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

/* Ajustes específicos para telas muito pequenas */
@media (max-width: 360px) {
    .mobile-device {
        width: 220px;
        height: 440px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card, .feature-card, .testimonial-card {
        padding: 25px 20px;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    body {
        padding-top: 60px;
    }
    
    header {
        height: 60px;
    }
}

/* CORREÇÕES PARA SCROLL SUAVE - Evita que conteúdo seja cortado */
section[id] {
    scroll-margin-top: 85px; /* Mesma altura do header */
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 75px; /* Ajustado para mobile */
    }
}

@media (max-width: 480px) {
    section[id] {
        scroll-margin-top: 70px; /* Ajustado para mobile pequeno */
    }
}

/* FORÇAR AUMENTO DA LOGO - ADICIONE NO FINAL DO ARQUIVO */
.logo {
    height: 55px !important; /* MUITO MAIOR */
}

@media (max-width: 992px) {
    .logo {
        height: 55px !important;
    }
}

@media (max-width: 768px) {
    .logo {
        height: 55px !important;
    }
}

@media (max-width: 368px) {
    .logo {
        height: 90px !important;
    }
}