@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-brand: #0A2540;      
  --color-primary: #0066FF;    
  --color-primary-hover: #0052cc;
  --color-surface: #F8FAFC;    
  --color-text: #334155;
  --color-heading: #0F172A;
  --color-success: #10B981;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--color-text);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* --- NAVBAR --- */
.navbar-glass {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--color-text) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem !important;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--color-primary) !important; }

.btn-primary-custom {
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 100px;
  padding: 12px 28px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
}

.btn-primary-custom:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
  color: #fff;
}

/* --- HERO SECTION --- */
.hero {
  padding: 180px 0 120px;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.6) 100%);
  z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1.5rem;
}

.hero-title { font-size: 4.5rem; line-height: 1.1; font-weight: 800; margin-bottom: 1.5rem; color: #fff; }
.hero-title .gradient-text { background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.25rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); margin-bottom: 2.5rem; max-width: 90%; }

/* --- STATS SECTION --- */
.stats-section { padding: 40px 0; }
.stat-item h3 { font-size: 2.5rem; color: var(--color-brand); margin-bottom: 0.2rem; }
.stat-item p { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; color: var(--color-text); margin: 0; }

/* --- DUAL BENEFITS --- */
.dual-benefits { padding: 100px 0; }
.benefit-card { background: #fff; border-radius: 24px; padding: 3rem; height: 100%; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.benefit-list li { display: flex; align-items: flex-start; margin-bottom: 1.2rem; font-size: 1.05rem; }
.benefit-list i { color: var(--color-success); font-size: 1.4rem; margin-right: 12px; margin-top: -2px; }

/* --- FUNCIONALIDADES PREMIUM --- */
.features-section { padding: 100px 0; background-color: #fff;}
.section-label { color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85rem; margin-bottom: 1rem; display: block; }
.feature-box { padding: 2.5rem; border-radius: 20px; background: var(--color-surface); border: 1px solid transparent; transition: all 0.3s; height: 100%; }
.feature-box:hover { background: #fff; border-color: #E2E8F0; box-shadow: 0 20px 40px rgba(0,0,0,0.05); transform: translateY(-5px); }
.icon-box { width: 56px; height: 56px; border-radius: 14px; background: rgba(0, 102, 255, 0.1); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.5rem; }

/* --- APP MOCKUP SECTION --- */
.app-showcase-section { padding: 100px 0; background-color: var(--color-surface); overflow: hidden; }
.app-glow-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(255,255,255,0) 70%); z-index: 1; }

.mockups-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.smartphone-mockup.vertical { 
    width: 320px; 
    height: 650px; 
    position: relative; 
    background-color: #1e293b; 
    border-radius: 45px; 
    padding: 12px; 
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3); 
    border: 4px solid #334155; 
    z-index: 10; 
}
.camera-notch { 
    width: 100px; 
    height: 25px; 
    background-color: #1e293b; 
    position: absolute; 
    top: 10px; 
    left: 50%; 
    transform: translateX(-50%); 
    border-radius: 0 0 15px 15px; 
    z-index: 20; 
}

.tablet-mockup {
    width: 650px;
    height: 420px;
    position: relative; 
    background-color: #1e293b; 
    border-radius: 32px; 
    padding: 16px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.4); 
    border: 3px solid #334155; 
    z-index: 9;
}

.tablet-camera {
    width: 10px;
    height: 10px;
    background-color: #0f172a;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 9px;
    transform: translateY(-50%);
    box-shadow: inset 0 0 3px rgba(255,255,255,0.1);
}

.screen-content { 
    width: 100%; 
    height: 100%; 
    background-color: #fff; 
    border-radius: 28px; 
    overflow: hidden; 
    position: relative; 
}

.img-tablet {
    width: 100%; 
    height: 100%; 
    object-fit: cover !important; 
    object-position: top center !important; 
}

.screen-content img:not(.img-tablet) {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: top; 
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float 6s ease-in-out infinite; animation-delay: 2s; }

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

/* --- CTA & CONTATO --- */
.cta-section { padding: 100px 0; background: var(--color-brand); position: relative; overflow: hidden; }
.cta-pattern { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05; background-image: radial-gradient(#ffffff 1px, transparent 1px); background-size: 30px 30px; }
.contact-form-wrapper { background: #fff; border-radius: 24px; padding: 3rem; box-shadow: 0 25px 50px rgba(0,0,0,0.2); }
.form-control-modern { background: var(--color-surface); border: 1px solid #E2E8F0; border-radius: 12px; padding: 14px 20px; font-weight: 500; }
.form-control-modern:focus { background: #fff; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1); }
.btn-whatsapp-outline { border: 2px solid #25D366; color: #25D366; font-weight: 700; border-radius: 100px; padding: 12px 28px; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn-whatsapp-outline:hover { background: #25D366; color: #fff; }

/* Acessibilidade */
.a-btn { background: none; border: 1px solid #cbd5e1; border-radius: 50%; width: 32px; height: 32px; font-weight: bold; color: #475569; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; }
.a-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* =========================================
   RODAPÉ (FOOTER PREMIUM)
========================================= */
.footer-premium { background-color: #051626; color: #ffffff; }
.logo-footer-white { filter: brightness(0) invert(1); opacity: 0.95; }
.footer-premium .social-links a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.08); color: #ffffff; text-decoration: none; transition: all 0.3s ease; font-size: 1.1rem; }
.footer-premium .social-links a:hover { background-color: var(--color-primary); transform: translateY(-3px); }
.footer-nav li { margin-bottom: 0.6rem; }
.footer-nav a { color: #94A3B8; text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: #00C6FF; }
.btn-app-store { display: inline-flex; align-items: center; gap: 12px; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #ffffff; padding: 8px 18px; border-radius: 10px; text-decoration: none; transition: all 0.3s ease; width: 100%; max-width: 200px; }
.btn-app-store:hover { background-color: rgba(255, 255, 255, 0.1); border-color: #00C6FF; color: #ffffff; }

/* =========================================
   BOTÕES FLUTUANTES (WhatsApp + Chat)
========================================= */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; left: 30px;
    background-color: #25d366; color: #FFF; border-radius: 50px;
    text-align: center; font-size: 30px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all 0.3s ease;
}
.whatsapp-float:hover { background-color: #128c7e; color: #FFF; transform: scale(1.1); }

.chat-float-btn {
    position: fixed; right: 30px; bottom: 30px; width: 65px; height: 65px;
    background: #0066FF; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
    cursor: pointer; z-index: 10000; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-float-btn:hover { transform: scale(1.1); background: #0052cc; }

.chat-window {
    position: fixed; right: 30px; bottom: 110px; width: 350px; height: 500px;
    background: #ffffff; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; overflow: hidden; z-index: 9999;
    opacity: 0; pointer-events: none; transform: translateY(20px);
    transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.05);
}
.chat-window.active { opacity: 1; pointer-events: auto; transform: translateY(0); }

.chat-header {
    background: linear-gradient(135deg, #0A2540 0%, #0066FF 100%);
    padding: 15px 20px; color: white; display: flex;
    align-items: center; justify-content: space-between;
}
.chat-agent-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); padding: 2px; }
.chat-header-close { cursor: pointer; font-size: 1.2rem; opacity: 0.8; transition: 0.2s; }
.chat-header-close:hover { opacity: 1; transform: scale(1.1); }

.chat-body {
    flex: 1; padding: 20px; background: #F8FAFC; overflow-y: auto;
    display: flex; flex-direction: column; gap: 15px;
}
.chat-msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 0.9rem; line-height: 1.4; animation: fadeIn 0.3s ease; }
.msg-ai { background: white; color: #334155; border-bottom-left-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); border: 1px solid #E2E8F0; }
.msg-user { background: #0066FF; color: white; border-bottom-right-radius: 4px; align-self: flex-end; box-shadow: 0 2px 5px rgba(0, 102, 255, 0.2); }

.typing-indicator { display: none; padding: 12px 16px; background: white; border-radius: 16px; border-bottom-left-radius: 4px; width: fit-content; border: 1px solid #E2E8F0; }
.typing-indicator span { display: inline-block; width: 6px; height: 6px; background: #94A3B8; border-radius: 50%; margin: 0 2px; animation: bounce 1.4s infinite ease-in-out both; }
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

.chat-footer { padding: 15px; background: white; border-top: 1px solid #E2E8F0; display: flex; gap: 10px; }
.chat-input { flex: 1; border: 1px solid #E2E8F0; border-radius: 100px; padding: 10px 15px; font-size: 0.9rem; outline: none; transition: 0.3s; }
.chat-input:focus { border-color: #0066FF; }
.chat-send { background: #0066FF; color: white; border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
.chat-send:hover { background: #0A2540; transform: scale(1.05); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

.enabled[vw] {
    left: 0 !important; right: auto !important;
    top: 50% !important; bottom: auto !important;
    transform: translateY(-50%) scale(0.8) !important; 
    transform-origin: left center !important;
}


/* =========================================================
   RESPONSIVIDADE COMPLETA — TABLETS (max 991px)
   ========================================================= */
@media (max-width: 991px) {
  .hero { padding: 130px 0 70px; }
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1.1rem; max-width: 100%; }

  .dual-benefits { padding: 60px 0; }
  .benefit-card { padding: 2rem !important; }

  .features-section { padding: 60px 0; }
  .app-showcase-section { padding: 60px 0; }

  .mockups-wrapper { flex-direction: column; gap: 2rem; }
  .tablet-mockup { 
      width: 100%; 
      max-width: 550px;
      height: auto; 
      aspect-ratio: 4 / 3;
  }
  .smartphone-mockup.vertical {
      width: 260px;
      height: 530px;
  }

  .cta-section { padding: 60px 0; }
  .contact-form-wrapper { padding: 2rem; }
}


/* =========================================================
   RESPONSIVIDADE — CELULARES (max 767px)
   ========================================================= */
@media (max-width: 767px) {
  /* --- Navbar mobile --- */
  .navbar-glass { padding: 8px 0 !important; }
  .navbar-glass .navbar-brand img { height: 30px !important; }
  .navbar-collapse {
    background: white;
    border-radius: 16px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .navbar-collapse .nav-link { padding: 10px 15px !important; border-radius: 10px; }
  .navbar-collapse .nav-link:active { background: #f0f4ff; }
  .navbar-collapse .d-flex { justify-content: center; }

  /* --- Hero --- */
  .hero { padding: 110px 0 50px; }
  .hero-title { font-size: 2rem; line-height: 1.15; }
  .hero-title br { display: none; }
  .hero-subtitle { font-size: 0.95rem; line-height: 1.5; max-width: 100%; margin-bottom: 1.5rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 12px; margin-bottom: 1rem; }
  .hero .btn-lg { padding: 10px 22px !important; font-size: 0.9rem !important; }
  .hero .d-flex.flex-wrap { gap: 10px !important; }

  /* --- Stats --- */
  .stats-section { margin-top: -30px !important; }
  .stats-section .bg-white { padding: 1.5rem !important; border-radius: 20px !important; }
  .stat-item h3 { font-size: 1.8rem !important; }
  .stat-item p { font-size: 0.7rem !important; }
  .stat-item .d-flex.align-items-center.justify-content-center {
    width: 44px !important; height: 44px !important;
    font-size: 1.2rem !important;
  }
  /* Esconde os separadores verticais no mobile */
  .stat-item .position-absolute { display: none !important; }

  /* --- Vantagens (dual benefits) --- */
  .dual-benefits { padding: 40px 0; }
  .dual-benefits .text-center h2 { font-size: 1.5rem !important; }
  .dual-benefits .text-center h2 br { display: none; }
  .benefit-card { padding: 1.5rem !important; border-radius: 18px !important; }
  .benefit-card h3 { font-size: 1.1rem !important; }
  .benefit-card p { font-size: 0.9rem !important; }
  .benefit-list li { font-size: 0.9rem !important; margin-bottom: 0.8rem !important; }
  .benefit-card .d-flex.align-items-center.gap-3 .d-flex.align-items-center.justify-content-center {
    width: 50px !important; height: 50px !important;
    border-radius: 14px !important; font-size: 1.5rem !important;
  }

  /* --- Funcionalidades --- */
  .features-section { padding: 40px 0; }
  .features-section .display-5 { font-size: 1.5rem !important; }
  .feature-box { padding: 1.5rem; border-radius: 16px; }
  .feature-box h4 { font-size: 1rem; }
  .feature-box p { font-size: 0.85rem; }

  /* --- App showcase (mockups) --- */
  .app-showcase-section { padding: 40px 0; }
  .app-showcase-section .display-5 { font-size: 1.5rem !important; }
  .app-showcase-section .fs-5 { font-size: 0.95rem !important; }
  .app-glow-bg { width: 300px; height: 300px; }
  
  .smartphone-mockup.vertical {
    width: 220px;
    height: 450px;
    border-radius: 36px;
    padding: 10px;
    border-width: 3px;
  }
  .camera-notch { width: 80px; height: 20px; }
  .screen-content { border-radius: 22px; }

  .tablet-mockup {
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    padding: 10px;
  }

  /* --- CTA / Contato --- */
  .cta-section { padding: 40px 0; }
  .cta-section .display-4 { font-size: 1.6rem !important; }
  .cta-section .fs-5 { font-size: 0.95rem !important; }
  .contact-form-wrapper { padding: 1.5rem; border-radius: 18px; }
  .contact-form-wrapper h4 { font-size: 1.1rem; }
  .btn-whatsapp-outline { padding: 10px 20px; font-size: 0.85rem; }

  /* --- Footer --- */
  .footer-premium { text-align: center; }
  .footer-premium .social-links { justify-content: center; }
  .footer-premium .col-lg-4 { margin-bottom: 1rem; }
  .footer-premium h6 { margin-top: 1.5rem; }
  .btn-app-store { max-width: 100%; justify-content: center; }
  .footer-nav { text-align: center; }

  /* --- Chat flutuante --- */
  .chat-window {
    right: 10px; left: 10px; bottom: 100px;
    width: auto; height: calc(100dvh - 160px);
    max-height: 500px;
    border-radius: 16px;
  }
  .chat-float-btn { right: 15px; bottom: 15px; width: 55px; height: 55px; font-size: 1.5rem; }
  .whatsapp-float { left: 15px; bottom: 15px; width: 50px; height: 50px; font-size: 25px; }

  /* --- VLibras --- */
  .enabled[vw] { transform: translateY(-50%) scale(0.65) !important; }
}


/* =========================================================
   RESPONSIVIDADE — CELULARES PEQUENOS (max 400px)
   ========================================================= */
@media (max-width: 400px) {
  .hero-title { font-size: 1.7rem; }
  .hero { padding: 100px 0 40px; }
  .stat-item h3 { font-size: 1.5rem !important; }
  .features-section .col-md-6 { padding-left: 8px; padding-right: 8px; }
  .feature-box { padding: 1.2rem; }
  .smartphone-mockup.vertical { width: 190px; height: 390px; }
  .cta-section .display-4 { font-size: 1.4rem !important; }
  .contact-form-wrapper { padding: 1.2rem; }
}
