/* Estilos globais e da seção de Início */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Future Glitch';
    src: url('fonts/Future Glitch.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===== CONTAINER DE CONTEÚDO PRINCIPAL ===== */
.content-wrapper {
    width: 90%;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Novo estilo para o cabeçalho */
.main-header {
    position: sticky;
    top: 20px;
    z-index: 10001;
    width: 90%;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    will-change: transform;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    font-family: 'Future Glitch', monospace, sans-serif;
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    height: 30px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    box-shadow: none;
    background: none;
    outline: none;
    transition: transform 0.3s ease-in-out;
}

.main-header .logo img {
    height: 100%;
    width: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.main-header .logo:hover {
    transform: scale(1.1);
}

.main-header nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease-out;
    display: inline-block;
}

.main-header nav a:hover {
    color: #60a5fa;
    transform: scale(1.05);
}

/* ===== ESTILO DO BOTÃO DE CONTATO ===== */
.contact-button {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 30px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

.contact-button .button-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 32px;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0%,
        rgba(74, 144, 226, 0.8) 5%,
        rgba(74, 144, 226, 0.4) 20%,
        transparent 100%
    );
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 1;
    animation: rotate-light 4s linear infinite;
    z-index: 0;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.contact-button::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: inherit;
    background: #000000;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1;
}

.contact-button:hover {
    color: #ffffff;
    border-color: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.4);
    transform: translateY(-2px) scale(1.03);
}

.contact-button:hover::before {
    filter: blur(12px);
    -webkit-filter: blur(12px);
    opacity: 1;
    transform: rotate(360deg) scale(1.05);
}

.contact-button:hover::after {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.02);
}

@keyframes rotate-light {
    from { transform: rotate(0deg) scale(1); }
    to { transform: rotate(360deg) scale(1); }
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(18, 18, 18, 0.95), rgba(18, 18, 18, 0.95)),
                      url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='4' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: auto, 250px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #444;
    border-radius: 100%;
    animation: natural-float 20s ease-in-out infinite;
}

.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    padding-top: 150px;
    margin-top: 40px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
    to { text-shadow: 0 0 30px rgba(59, 130, 246, 0.8); }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: #9ca3af;
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.main-cta {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.main-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.main-cta:hover::before {
    left: 100%;
}

.main-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.floating-element:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 25%; left: 80%; animation-delay: -2s; }
.floating-element:nth-child(3) { top: 45%; left: 70%; animation-delay: -4s; }
.floating-element:nth-child(4) { top: 70%; left: 25%; animation-delay: -1s; }
.floating-element:nth-child(5) { top: 20%; left: 50%; animation-delay: -3s; }
.floating-element:nth-child(6) { top: 60%; left: 90%; animation-delay: -5s; }
.floating-element:nth-child(7) { top: 35%; left: 5%; animation-delay: -6s; }
.floating-element:nth-child(8) { top: 80%; left: 60%; animation-delay: -1.5s; }
.floating-element:nth-child(9) { top: 15%; left: 35%; animation-delay: -3.5s; }
.floating-element:nth-child(10) { top: 55%; left: 45%; animation-delay: -7s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.4; }
    25% { transform: translateY(-30px) scale(1.3); opacity: 0.8; }
    50% { transform: translateY(-15px) scale(1.1); opacity: 1; }
    75% { transform: translateY(-25px) scale(1.2); opacity: 0.6; }
}

@keyframes natural-float {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.2; }
    25% { transform: translateY(-30px) translateX(20px) rotate(5deg); opacity: 0.8; }
    50% { transform: translateY(20px) translateX(-25px) rotate(-5deg); opacity: 0.5; }
    75% { transform: translateY(-10px) translateX(15px) rotate(3deg); opacity: 0.7; }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); opacity: 0.2; }
}

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

.tech-section {
    background: #000000;
    padding: 40px 0 30px 0;
    text-align: center;
}

.tech-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.tech-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
    background: transparent;
}

.tech-track {
    display: flex;
    align-items: center;
    animation: tech-scroll 30s linear infinite;
}

.tech-carousel:hover .tech-track {
    animation-play-state: paused;
}

.tech-logo {
    margin: 0 32px;
    filter: brightness(0) invert(1) grayscale(1);
    opacity: 0.85;
    transition: opacity 0.2s;
    object-fit: contain;
    image-rendering: optimizeQuality;
    transform: translateZ(0);
}

.tech-logo:hover {
    opacity: 1;
}

@keyframes tech-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%) translateZ(0); }
}

.tech-carousel::before,
.tech-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    width: 25%;
    border-radius: 0;
}

.tech-carousel::before {
    left: 0;
    background: linear-gradient(to right, #000000 20%, transparent 100%);
}

.tech-carousel::after {
    right: 0;
    background: linear-gradient(to left, #000000 20%, transparent 100%);
}

.about-us-section {
    width: 90%;
    max-width: 950px;
    margin: 120px auto;
    padding: 4rem 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-us-section h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-us-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #ccc;
    max-width: 950px;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 2;
    position: relative;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

.subtitle {
    font-size: 1.1rem;
    color: #888;
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto;
}

/* ===== GRID DE PRODUTOS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 144, 226, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-card:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
}

.icon {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.product-card:hover .icon {
    animation: iconPulse 1s ease-in-out infinite alternate;
}

@keyframes iconPulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    flex: 1;
}

.product-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    color: #d1d5db;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* ===== BOTÃO WHATSAPP ===== */
.whatsapp-button {
    display: inline-flex;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.whatsapp-button:hover::before {
    left: 100%;
}

.whatsapp-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-icon {
    font-size: 1.3rem;
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== SEÇÃO DE DEMONSTRAÇÃO ===== */
.demo-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    z-index: 2;
    position: relative;
    align-items: flex-start;
    margin-top: 60px;
}

.sectors-panel {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 100px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* LARGURA E ENCOLHIMENTO PARA DESKTOP */
    width: 480px;
    min-width: 480px;
    flex-shrink: 0;
}

.sectors-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.sector-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sector-item:hover {
    background: rgba(74, 144, 226, 0.1);
    border-color: #4a90e2;
    transform: translateX(5px);
}

.sector-item.active {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-color: #4a90e2;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

.sector-item.active .sector-icon {
    animation: sectorPulse 1s ease-in-out infinite alternate;
}

@keyframes sectorPulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.sector-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sector-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.sector-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.sector-info p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

.sector-arrow {
    font-size: 1.2rem;
    color: #888;
    transition: all 0.3s ease;
}

.sector-item:hover .sector-arrow {
    color: #4a90e2;
    transform: translateX(5px);
}

.sector-item.active .sector-arrow {
    color: #fff;
    transform: rotate(90deg);
}

.whatsapp-container {
    flex: 1;
    min-width: 480px; /* LARGURA MÍNIMA PARA IGUALAR AO PAINEL */
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 600px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.phone-header {
    background: #202C33;
    border-radius: 20px 20px 0 0;
    color: white;
    margin: -25px -25px 20px -25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    padding: 0 15px;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    background-image: url('https://i.postimg.cc/HWbNPFhq/Prancheta-1-c-pia-2.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.phone-name {
    font-weight: 600;
    font-size: 1rem;
}

.phone-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.phone-status span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 100%;
    animation: statusPulse 1.5s ease-in-out infinite;
}

.phone-status span:nth-child(2) { animation-delay: 0.2s; }
.phone-status span:nth-child(3) { animation-delay: 0.4s; }

@keyframes statusPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.chat-messages {
    flex: 1 1 0%;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    animation: messageSlide 0.3s ease-out;
    position: relative;
}

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

.message.received {
    background: #202C33;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.sent {
    background: #005C4B;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

.sector-description {
    display: none;
    padding: 20px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sector-description.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
    margin-bottom: 20px; /* ESPAÇAMENTO INFERIOR ADICIONADO */
}

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

.sector-description h4 {
    color: #4a90e2;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.sector-description p {
    color: #ccc;
    line-height: 1.6;
}

.contact-section {
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.contact-content {
    max-width: 950px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 600;
    color: #ffffff;
}

.contact-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #ccc;
    max-width: 600px;
    line-height: 1.6;
}

.contact-link {
    color: #60a5fa;
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffffff;
}

.contact-section .impact-metrics-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 950px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
}

.contact-section .impact-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.impact-metrics-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 950px;
    margin: 0 auto;
    padding: 30px;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 100px;
    flex-grow: 1;
}

.metric-value {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.metric-label {
    font-size: 1rem;
    color: #cccccc;
    margin-top: 10px;
    line-height: 1.4;
}

.impact-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

/* ===== ANIMAÇÕES DE SCROLL ===== */
.fade-in-section {
    opacity: 1 !important;
    transform: none !important;
    transition: all 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-left,
.scroll-right,
.scroll-top,
.scroll-bottom,
.l1, .l2, .l3, .l4, .l5, .l6, .l7, .l8, .l9, .l10,
.perspectiva {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-left { transform: translateX(-50px); }
.scroll-right { transform: translateX(50px); }
.scroll-top { transform: translateY(-50px); }
.scroll-bottom { transform: translateY(50px); }

.scroll-left.ativo7,
.scroll-right.ativo7,
.scroll-top.ativo7,
.scroll-bottom.ativo7,
.l1.ativo7, .l2.ativo7, .l3.ativo7, .l4.ativo7, .l5.ativo7,
.l6.ativo7, .l7.ativo7, .l8.ativo7, .l9.ativo7, .l10.ativo7,
.perspectiva.ativo7 {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.l1.ativo7 { transition-delay: 0.1s; }
.l2.ativo7 { transition-delay: 0.2s; }
.l3.ativo7 { transition-delay: 0.3s; }
.l4.ativo7 { transition-delay: 0.4s; }
.l5.ativo7 { transition-delay: 0.5s; }
.l6.ativo7 { transition-delay: 0.6s; }
.l7.ativo7 { transition-delay: 0.7s; }
.l8.ativo7 { transition-delay: 0.8s; }
.l9.ativo7 { transition-delay: 0.9s; }
.l10.ativo7 { transition-delay: 1s; }

/* ===== CURSOR PERSONALIZADO ===== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(74,144,226,0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.main-footer {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 15px 20px;
    margin-top: 50px;
    position: relative;
    z-index: 5;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: 1px;
}

.main-footer p {
    font-size: 0.9rem;
    color: #cccccc;
    margin-top: 5px;
}

/* ===== DESTAQUES DE TEXTO ===== */
.highlight-text {
    color: #60a5fa;
    font-weight: 600;
}

/* ===================================================
   === ESTILOS PARA O MENU OFF-CANVAS (MOBILE) ===
   =================================================== */
.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 40px;
}

.offcanvas-menu.is-open {
    left: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease-out;
    display: inline-block;
}

.mobile-nav a:hover {
    color: #60a5fa;
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    align-items: center;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ===================================================
   === RESPONSIVIDADE E AJUSTES PARA MOBILE ===
   =================================================== */

@media (max-width: 950px) {
    .main-header {
        width: 95%;
        padding: 10px 20px;
    }
    .main-header .desktop-nav, 
    .main-header .contact-button {
        display: none;
    }
    .main-header .menu-toggle,
    .main-header .header-placeholder {
        display: flex;
    }
    .main-header .logo {
        width: max-content;
        min-width: 0;
        padding: 0;
        margin: 0 auto;
        height: auto;
        line-height: 1;
    }
    .header-placeholder {
        display: block;
        width: 30px;
        height: 22px;
        flex-shrink: 0;
    }
    .demo-container {
        flex-direction: column;
        gap: 0; /* REMOVIDO O GAP PARA CONTROLAR O ESPAÇO COM MARGENS */
    }
    .sectors-panel {
        position: static;
        width: 100%;
        min-width: unset;
        border: none !important;
        padding: 0;
        background: none;
        backdrop-filter: none;
    }
    .whatsapp-container {
        height: 500px;
        /* Remover o border: none !important; para restaurar a borda */
        width: 100%;
        min-width: unset;
        border: 1px solid rgba(255, 255, 255, 0.1); /* Adiciona a borda de volta */
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    .main-content {
        padding-top: 120px;
    }
    .about-us-section {
        padding: 3rem 1rem;
    }

    /* CONTROLE TOTAL DA VISIBILIDADE NO MOBILE */
    .whatsapp-container,
    #description-wrapper {
        transition: max-height 0.5s ease-out, opacity 0.4s ease-out, margin-top 0.5s ease-out, transform 0.5s ease-out;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        transform: translateY(-20px);
        pointer-events: none;
    }
    .whatsapp-container.active,
    #description-wrapper.active {
        max-height: 1200px; /* Altura grande para não cortar o conteúdo */
        opacity: 1;
        margin-top: 20px;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .main-header {
        top: 10px;
        width: 90%;
        padding: 10px 15px;
    }
    .hero-title, .main-title {
        font-size: 2.5rem;
    }
    .hero-subtitle, .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .main-content, .container {
        padding: 1rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .product-card {
        padding: 30px 25px 25px 25px;
        min-height: 400px;
    }
    .whatsapp-button {
        margin-top: 40px;
        padding: 16px 30px;
        font-size: 1rem;
    }
    .main-title {
        font-size: 2.2rem;
    }
    .main-content {
        padding-top: 120px;
    }
    .about-us-section h2 {
        font-size: 2.5rem;
    }
    .about-us-section p {
        font-size: 1rem;
    }
    .demo-container {
        padding: 0 20px;
    }
    .whatsapp-container {
        height: 450px;
        padding: 25px;
    }
    .impact-metrics-box {
        padding: 30px 20px;
    }
    .metric-value {
        font-size: clamp(2.5rem, 10vw, 3rem);
    }
    .metric-label {
        font-size: 0.9rem;
    }
    .contact-section .metrics-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 45px 20px;
        justify-items: center;
    }
    .contact-section .metric-item:last-child {
        grid-column: 1 / -1;
    }
    .contact-section .metric-value {
        font-size: clamp(2.5rem, 10vw, 3.2rem);
    }
}

@media (max-width: 700px) {
    .tech-logo { margin: 0 16px; height: 32px; }
    .tech-title { font-size: 1.1rem; }
    .tech-section { padding: 30px 0 20px 0; }
    .tech-carousel { height: 48px; }
}

.contact-section .contact-button {
    margin-top: 20px;
}

#produtos {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================================
   === ANIMAÇÃO DO MENU HAMBÚRGUER PARA 'X'      ===
   =================================================== */
.menu-toggle {
    position: relative;
}
.hamburger-line {
    display: block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-origin: center;
}
.menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-header nav a,
.mobile-nav a {
    cursor: pointer;
}

#contato {
    margin-bottom: 40px;
}

/* FIXO DE ALTURA DO CHAT */
.whatsapp-container {
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
}
@media (max-width: 950px) {
    .whatsapp-container {
        height: 500px !important;
        min-height: 500px !important;
        max-height: 500px !important;
    }
}
@media (max-width: 768px) {
    .whatsapp-container {
        height: 450px !important;
        min-height: 450px !important;
        max-height: 450px !important;
    }
}

/* AJUSTES PARA NOVA INTERAÇÃO DO CHAT (APENAS DESKTOP) - VERSÃO FINAL */
@media (min-width: 951px) {
    .demo-container {
        justify-content: center;
        align-items: stretch;
    }
    .sectors-panel {
        margin-left: auto;
        margin-right: auto;
        flex-shrink: 0;
    }
    .demo-container.chat-active {
        justify-content: space-between;
        align-items: flex-start;
    }
    .whatsapp-container {
        display: none;
        opacity: 0;
        transform: translateX(30px);
        pointer-events: none;
        transition: opacity 0.4s ease-out, transform 0.4s ease-out, min-width 0.5s ease-out;
        min-width: 0 !important;
    }
    .whatsapp-container.active {
        display: flex;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        min-width: 480px !important;
    }
    .demo-container {
        min-height: 80vh;
    }
    .demo-container:not(.chat-active) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .demo-container:not(.chat-active) .sectors-panel {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto;
    }
    .demo-container.chat-active {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .demo-container:not(.chat-active) .sectors-panel {
        width: 900px;
        min-width: 900px;
        max-width: 900px;
    }
    .demo-container.chat-active .sectors-panel {
        width: 480px;
        min-width: 480px;
        max-width: 480px;
    }
}