:root {
  /* Branding LynkSoft Premium */
  --brand-cyan: #06b6d4; /* Ciano mais sofisticado */
  --brand-blue: #2563eb; /* Royal Blue vibrante */
  --brand-dark: #0f172a; /* Slate 900 */

  --bg-body: #ffffff;
  --bg-surface: #f8fafc;

  --text-main: #0f172a;
  --text-muted: #64748b;

  /* Efeitos */
  --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
  --shadow-card:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 20px 80px -10px rgba(37, 99, 235, 0.15);
}

html, body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden !important; 
  width: 100%;
  max-width: 100vw;
}
/* --- BACKGROUND MESH (O segredo do Premium) --- */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(6, 182, 212, 0.08),
      transparent 25%
    ),
    radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.08), transparent 25%);
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- NAVBAR FLUTUANTE --- */
.navbar-floating {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 100px;
  padding: 12px 30px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.nav-link {
  color: var(--text-muted) !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.2s;
}
.nav-link:hover {
  color: var(--brand-blue) !important;
}

/* --- BUTTONS --- */

.btn-primary-ls {
  background: var(--brand-dark);
  color: white !important;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 1;
}

.btn-primary-ls:hover {
  background: var(--brand-blue) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

/* Botão Secundário (Outline) */
.btn-outline-ls {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: var(--brand-dark);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
}

.btn-outline-ls:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: white !important;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 180px 0 100px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  color: var(--brand-blue);
  border: 1px solid #dbeafe;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 30px;
}

/* --- SEGMENT CARDS (O PEDIDO ESPECIAL) --- */
.segment-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  transition: 0.3s;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.segment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: var(--brand-cyan);
}
.segment-icon {
  width: 48px;
  height: 48px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-blue);
  margin-bottom: 16px;
}

/* --- BENTO GRID FEATURES --- */
.bento-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: 0.3s;
}
.bento-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}
.bento-dark {
  background: var(--brand-dark);
  color: white;
}
.bento-dark h3,
.bento-dark p {
  color: white;
}
.bento-dark .text-muted {
  color: #94a3b8 !important;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-card);
  transition: 0.3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

/* --- PRICING & TRUST --- */
.pricing-card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid #f1f5f9;
  transition: 0.3s;
}
.pricing-card.popular {
  background: var(--brand-dark);
  color: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
  z-index: 10;
}
.pricing-card.popular h5,
.pricing-card.popular .text-muted {
  color: #cbd5e1 !important;
}
.pricing-card.popular .fw-bold {
  color: white;
}
.pricing-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

/* --- TRUST STRIP PREMIUM (DOCK STYLE) --- */
.trust-dock-container {
  margin-top: 80px;
  background: #f8fafc; /* Fundo levemente cinza */
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Efeito de brilho de fundo */
.trust-dock-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(37, 99, 235, 0.03),
    transparent 70%
  );
  z-index: 0;
}

.trust-item-premium {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  padding: 10px;
  transition: 0.3s;
}

.trust-icon-box {
  width: 64px;
  height: 64px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--brand-blue);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05); /* Sombra suave */
  flex-shrink: 0;
}

.trust-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.trust-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* --- FAQ PREMIUM (ISOLATED CARDS) --- */
.faq-premium-section {
  background: white;
  padding: 120px 0;
  position: relative;
}

.faq-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.faq-header {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-dark);
  margin: 0;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: 1.2rem;
  transition: 0.3s;
}

/* Estado Ativo */
.faq-header[aria-expanded="true"] .faq-question {
  color: var(--brand-blue);
}

.faq-header[aria-expanded="true"] .faq-toggle-icon {
  background: var(--brand-blue);
  color: white;
  transform: rotate(45deg); /* Vira um X */
}

.faq-body {
  padding: 0 30px 30px 30px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- FOOTER --- */
.footer-premium {
  background-color: #f8fafc;
  padding: 80px 0 30px;
  border-top: 1px solid #e2e8f0;
  margin-top: auto; /* Garante que fique no fundo se a página for curta */
}

.footer-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
  display: block;
  padding: 2px 0;
}

.footer-link:hover {
  color: var(--brand-blue);
  transform: translateX(2px);
}

.social-icon {
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.1);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.btn-whatsapp {
  animation: pulse-green 2s infinite;
}

/* --- COOKIE BANNER --- */
#cookie-banner {
  box-sizing: border-box;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 24px;
  border-radius: 24px;
  z-index: 10000;
  box-shadow:
    0 20px 40px -10px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.02);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-icon {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  color: var(--brand-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cookie-text {
  color: var(--brand-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

.cookie-text a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--brand-dark);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-cookie-settings {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.btn-cookie-settings:hover {
  background: #f8fafc;
  color: var(--brand-dark);
  border-color: #cbd5e1;
}

/* --- FINAL CTA (FLOATING CARD) --- */
.cta-final-section {
    padding: 120px 0 120px; /* Espaço inferior para respirar antes do footer */
    position: relative;
    z-index: 10;
}

.cta-box {
    background: var(--gradient-primary); /* O gradiente da marca */
    border-radius: 32px; /* Bordas bem arredondadas (estilo iOS/Modern) */
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    /* Sombra colorida difusa (Glow effect) */
    box-shadow: 0 30px 80px -20px rgba(37, 99, 235, 0.5); 
}

/* Padrão de fundo sutil */
.cta-pattern-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}

/* Círculo de luz decorativo */
.cta-light-orb {
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Botão Branco (Alto Contraste) */
.btn-white-action {
    background: white;
    color: var(--brand-blue);
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-white-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background-color: var(--brand-dark);
}

/* Botão Transparente */
.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-outline-white:hover {
    background: white;
    color: var(--brand-blue);
    border-color: white;
}

@media (max-width: 768px) {
    .cta-box { padding: 60px 20px; }
    .btn-white-action, .btn-outline-white { width: 100%; }
}


@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .navbar-floating {
    width: 95%;
    padding: 10px 20px;
  }
  .hero-section {
    padding-top: 140px;
  }
  .pricing-card.popular {
    transform: none;
  }
}

/* --- ESTADO EXPANDIDO DO MENU MOBILE --- */
.navbar-floating.navbar-expanded-mobile {
    border-radius: 16px; /* Tira o formato de pílula */
    background: rgba(255, 255, 255, 0.98); /* Fundo mais sólido */
    padding-bottom: 20px;
}

/* Garante que os botões do menu mobile não fiquem esmagados */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 15px;
    }
    .navbar-collapse .d-flex {
        flex-direction: column;
        width: 100%;
    }
    .navbar-collapse .btn {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        justify-content: center;
    }
}

/* --- BORDAS DO TRUST DOCK APENAS NO DESKTOP --- */
.trust-item-middle {
    border-left: none;
    border-right: none;
}

@media (min-width: 768px) {
    .trust-item-middle {
        border-left: 1px solid #e2e8f0;
        border-right: 1px solid #e2e8f0;
    }
}

/* --- CORREÇÃO DEFINITIVA DO BANNER DE COOKIES (Mobile) --- */
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column !important; /* Força a quebra para coluna */
        align-items: center !important;
        gap: 15px !important;
        padding: 20px 15px !important;
    }
    
    .cookie-content {
        width: 100%;
    }
    
    .cookie-text {
        width: 100%;
        text-align: center; /* Centraliza o texto no mobile */
        font-size: 0.9rem;
    }

    .cookie-icon {
        display: none !important;
    }

    .cookie-actions {
        width: 100%;
        display: flex;
        flex-direction: column !important; /* Empilha os botões */
        gap: 10px !important;
        margin-top: 5px;
    }

    .btn-cookie-accept,
    .btn-cookie-settings {
        width: 100%; /* Botões ocupando 100% da largura */
        margin: 0;
        padding: 12px; /* Aumenta a área de toque no celular */
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        width: 160px; /* Reduz levemente a logo em telas muito estreitas */
    }
}