
/* ===== Estilos Gerais ===== */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Hero Section (Dinâmico) ===== */
.hero {
    padding: 100px 20px;
    background: linear-gradient(135deg, #2a23af, #1976D2);
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.hero .actions {
    margin-top: 35px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .actions .btn i {
    margin-right: 8px;
}

/* ===== Botões (Dinâmicos) ===== */
.btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background: #FFD700;
    color: #000 !important; /* Garante legibilidade no ouro/amarelo */
    border: 2px solid #FFD700;
}

.btn-primary:hover {
    background: #FFC107;
    border-color: #FFC107;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff !important;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: #2a23af !important;
    transform: translateY(-3px) scale(1.02);
}

/* ===== Ajuste Mobile ===== */
@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.2rem; }
    
    .hero .actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero .actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ===== Navbar (Dinâmica) ===== */
.navbar {
  background: #2a23af;
  padding: 15px 20px;
  color: #fff;
}

.navbar .logo a {
  color: #FFD700;
  text-decoration: none;
}

.navbar .nav-links li a:hover {
  color: #FFD700;
  background: rgba(255, 255, 255, 0.12);
}

/* ===== Footer (Dinâmico) ===== */
.site-footer {
  background: #2a23af;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

.site-footer a {
  color: #FFD700;
}

.site-footer a:hover {
  color: #FFC107;
}

/* ===== CONTINUAÇÃO: Serviços, Sobre, Benefícios e Stats ===== */

/* ===== Serviços ===== */
.services {
  padding: 60px 20px;
  background: #fff;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2a23af; /* Título dinâmico */
}

.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.services .card {
  background: #f1f1f1;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border-bottom: 3px solid transparent; /* Preparado para o hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.services .card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  border-color: #2a23af; /* Borda destaca com a cor do sistema */
}

/* ===== Sobre Nós ===== */
.about {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2a23af;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* ===== Benefícios ===== */
.benefits {
  padding: 60px 20px;
  background: #fff;
}

.benefits h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2a23af;
}

.benefits .card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefits .card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ===== Estatísticas (Stats) Dinâmico ===== */
.stats {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.stats h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2a23af;
    font-weight: 700;
}

.stats .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stats .card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.stats .card h3 {
    color: #2a23af; /* Cor vinda do seu banco de dados */
    font-size: 2.8rem;
    margin: 0 0 10px 0;
    font-weight: 800;
    line-height: 1;
}

.stats .card p {
    color: #666;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
}

/* Efeito ao passar o mouse */
.stats .card:hover {
    transform: translateY(-10px) scale(1.02);
    border-bottom-color: #FFD700; /* Borda brilha na cor de acento */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: #fff;
}

/* Ícones globais das seções */
section i {
    color: #1976D2;
    margin-bottom: 20px;
    display: inline-block;
}

/* Ajuste para dispositivos móveis */
@media (max-width: 768px) {
    .stats .card h3 {
        font-size: 2.2rem;
    }
}

/* ===== CONTINUAÇÃO: Depoimentos, FAQ e Contato ===== */

/* ===== Depoimentos ===== */
.testimonials {
  padding: 60px 20px;
  background: #fff;
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2a23af;
}

.testimonials .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonials .card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  border-top: 4px solid transparent; /* Transição suave para a cor principal */
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonials .card:hover {
  transform: translateY(-5px);
  border-color: #2a23af;
}

.testimonials strong {
  color: #1976D2; /* Nome do cliente com cor de destaque secundária */
}

/* ===== FAQ (Central de Ajuda) ===== */
.faq {
  padding: 60px 20px;
  background: #f9f9f9;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2a23af;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.faq-item h3 {
  margin-bottom: 10px;
  color: #1976D2; /* Pergunta com cor secundária para facilitar leitura */
}

/* ===== Contato (Conversão) Dinâmico ===== */
.contact {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem; /* Aumentei um pouco para o novo título */
    margin-bottom: 10px;
    color: #2a23af;
    font-weight: 800;
    text-transform: uppercase; /* Título em maiúsculas */
}

.contact .section-header p {
    text-transform: uppercase; /* Subtítulo em maiúsculas */
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact form {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fcfcfc;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.contact .form-group {
    text-align: left;
    width: 100%;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
    /* FORÇA LETRAS MAIÚSCULAS NO INPUT */
    text-transform: uppercase; 
}

/* Garante que o placeholder não fique estranho em maiúsculas se você preferir */
.contact input::placeholder,
.contact textarea::placeholder {
    text-transform: none;
    font-weight: 400;
    color: #a0aec0;
}

/* Efeito de Foco Dinâmico */
.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: #2a23af;
    background: #fff;
    box-shadow: 0 0 0 4px #2a23af15;
}

/* Estilo do Botão de Envio */
.contact .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-transform: uppercase; /* Botão em maiúsculas */
}

.contact .btn-submit i {
    margin-right: 12px;
}

/* Responsividade do Formulário */
@media (max-width: 600px) {
    .contact {
        padding: 60px 15px;
    }
    .contact form {
        padding: 25px 20px;
    }
    .contact h2 {
        font-size: 1.8rem;
    }
}

/* ===== Call to Action (Final) Dinâmico ===== */
.cta {
    /* Gradiente dinâmico entre as duas cores da marca */
    background: linear-gradient(135deg, #1976D2, #2a23af);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Botão Especial para o fechamento (CTA) */
.cta .btn-cta {
    background: #fff; /* Fundo branco para máximo contraste */
    color: #2a23af; /* Texto na cor da marca */
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px; /* Estilo arredondado pill-shape */
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.cta .btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    background: #FFD700; /* Muda para a cor de acento (Ouro) no hover */
    color: #000;
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .cta { padding: 60px 20px; }
    .cta h2 { font-size: 1.8rem; }
    .cta p { font-size: 1.1rem; }
    .cta .btn-cta { width: 100%; max-width: 280px; }
}

/* ===== ID Larinster (Infraestrutura) ===== */
.id-larinster {
  padding: 70px 20px;
  background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
  text-align: center;
}

.id-larinster h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #2a23af;
  font-weight: 700;
}

.id-larinster h3 {
  font-size: 1.5rem;
  margin: 40px 0 20px 0;
  color: #1976D2;
  font-weight: 600;
}

/* Lista de serviços com efeito de entrada lateral */
.id-larinster .services-list li {
  background: #fff;
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.id-larinster .services-list li strong {
  color: #2a23af;
}

.id-larinster .services-list li:hover {
  transform: translateX(6px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.12);
  background: #f5faff;
  border-left-color: #FFD700; /* Destaque lateral ao passar o mouse */
}

/* ===== Sistema Larinster (Módulos) ===== */
.system-larinster {
  padding: 70px 20px;
  background: #f9f9f9;
  text-align: center;
}

.system-larinster h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #2a23af;
  font-weight: 700;
}

.system-larinster .modules-list li {
  background: #fff;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: left;
}

.system-larinster .modules-list li strong {
  color: #1976D2;
}

.system-larinster .modules-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  background: #fcfdff;
  border-bottom: 3px solid #2a23af;
}

/* Responsividade Geral */
@media (max-width: 768px) {
  .id-larinster h2, .system-larinster h2 { font-size: 1.8rem; }
  .cta h2 { font-size: 1.7rem; }
}


/* ===== CONTINUAÇÃO: Protocolos, Segurança e Visão Global ===== */

/* ===== Protocolos (Dinâmico) ===== */
.protocols {
  padding: 70px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
  text-align: center;
}

.protocols h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #2a23af; /* Título com cor do ID */
  font-weight: 700;
}

.protocols p strong {
  color: #1976D2; /* Destaque técnico com cor secundária */
  font-weight: 600;
}

/* Caixa de destaque (Highlight Box) */
.protocols .highlight-box {
  background: #fff;
  border-left: 5px solid #1976D2; /* Borda lateral dinâmica */
  padding: 18px 20px;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: left;
  max-width: 800px;
  transition: all 0.3s ease;
}

.protocols .highlight-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  background: #fcfdff;
  border-left-color: #FFD700; /* Troca para a cor de acento no hover */
}

/* ===== Segurança ===== */
.security {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.security h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2a23af;
}

.security p {
  color: #555;
  line-height: 1.6;
}

/* ===== Visão Global ===== */
.vision {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.vision h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2a23af;
}

.vision p {
  color: #555;
}

/* Responsividade de Títulos */
@media (max-width: 768px) {
  .protocols h2, .security h2, .vision h2 {
    font-size: 1.8rem;
  }
}

/* ===== ANIMAÇÕES (Mantidas Estáveis) ===== */
.fade-in {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}

.slide-up {
  animation: slideUp 1s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }

.hover-zoom {
  transition: transform 0.3s ease;
}

.hover-zoom:hover {
  transform: scale(1.05);
}

.bounce {
  animation: bounce 1.5s infinite;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== INTEGRAÇÃO LARINSTER (CONECTADA AO BANCO) ===== */
.larinster {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  /* Borda superior herda a cor principal do seu painel ID */
  border-top: 4px solid #2a23af;
}

.larinster .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.larinster h2 {
  font-size: 2rem;
  margin: 0 0 20px 0;
  color: #2a23af;
  line-height: 1.3;
}

.larinster p {
  max-width: 820px;
  margin: 0 auto 18px auto;
  color: #555;
  line-height: 1.7;
}

/* ===== INTEGRAÇÃO COM PLATAFORMAS ===== */
.integration {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.integration h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2a23af;
}

.integration ul li {
  background: #f9f9f9;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  /* Borda esquerda discreta com a cor secundária */
  border-left: 3px solid #1976D2;
  transition: all 0.3s ease;
}

.integration ul li:hover {
  transform: translateX(5px);
  background: #f5faff;
  /* Destaque no hover para a cor de acento/ouro */
  border-left-color: #FFD700;
}

/* ===== Estilos de Depoimentos e Badges (Movidos do Header para o Dinâmico) ===== */

.testimonial-card { 
    text-align: left; 
    padding: 25px; 
}

.rating { 
    color: #FFD700; /* Agora segue a cor do banco */
    margin-bottom: 10px; 
    font-size: 0.9rem; 
}

.quote { 
    font-style: italic; 
    margin-bottom: 20px; 
    color: #475569; 
    line-height: 1.6; 
}

.user-info { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    border-top: 1px solid #f1f5f9; 
    padding-top: 15px; 
}

.avatar { 
    width: 40px; 
    height: 40px; 
    background: #2a23af; /* Antes era fixo #6366f1, agora é dinâmico */
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
}

.details strong { 
    display: block; 
    font-size: 0.95rem; 
    color: #1e293b; 
}

.details span { 
    font-size: 0.8rem; 
    color: #64748b; 
}

.trust-badges { 
    text-align: center; 
    margin-top: 50px; 
    padding-top: 30px; 
    border-top: 1px dashed #cbd5e1; 
}

.badges-row { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    font-size: 2rem; 
    color: #94a3b8; 
    margin-top: 20px; 
}

.badge { 
    background: #2a23af; /* Segue a cor principal do sistema */
    color: white; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    display: inline-block; 
    margin-bottom: 10px; 
    font-weight: bold; 
}