/**
 * Ponto Time - Estilos Modernos Customizados
 * Melhorias de layout e design
 */

/* Importar fontes modernas */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Variáveis CSS modernas */
:root {
  --primary-color: #2a910b;
  --primary-dark: #1f6a08;
  --primary-light: #3db815;
  --secondary-color: #6366f1;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e base modernos */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografia moderna */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Open Sans', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

/* Cards modernos */
.card, .block {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover, .block:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Block no footer não deve ter background branco */
.footer-main .block {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.footer-main .block:hover {
  transform: none !important;
}

.footer-main .block img {
  max-height: 50px;
  margin-bottom: 1rem;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-main .block img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

/* Botões modernos */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

.btn-main-md, .btn-main-sm {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow);
}

.btn-main-md:hover, .btn-main-sm:hover {
  background: var(--primary-dark);
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline-main-md {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-main-md:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.btn-rounded-icon {
  border-radius: var(--radius-xl);
  padding: 0.875rem 1.75rem;
}

/* Formulários modernos */
.form-control {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(42, 145, 11, 0.1);
  outline: none;
}

.form-control.main {
  border-radius: var(--radius);
  background: var(--bg-white);
}

/* Seções */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.page-title {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.page-title h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-title p {
  font-size: 1.125rem;
  color: var(--text-gray);
}

/* Navegação moderna */
.navbar {
  box-shadow: var(--shadow-sm);
  background: var(--bg-white) !important;
  padding: 1rem 0;
}

.navbar-brand img {
  max-height: 40px;
  transition: var(--transition);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius);
  transition: var(--transition);
  font-size: 0.9375rem;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(42, 145, 11, 0.05);
}

.nav-item.active .nav-link {
  color: var(--primary-color) !important;
  background: rgba(42, 145, 11, 0.1);
}

/* Barra de versão */
.version-bar {
  font-size: 0.875rem;
  padding: 0.5rem 0;
  background: var(--text-dark) !important;
}

.version-bar .btn {
  font-size: 0.8125rem;
  padding: 0.375rem 0.875rem;
}

/* Footer moderno */
.footer-main {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 0 2rem;
}

.footer-main h6 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-main ul li {
  margin-bottom: 0.5rem;
}

.footer-main ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9375rem;
}

.footer-main ul li a:hover {
  color: var(--primary-light);
  padding-left: 0.25rem;
}

/* Social icons no footer */
.footer-main .social-icon a:hover {
  color: var(--primary-light) !important;
  transform: translateY(-2px);
}

/* Cards de serviço */
.service-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.service-item:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.service-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Job/Plano cards */
.job {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.job .content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.job .content p {
  margin-bottom: 0;
  color: var(--text-gray);
}

/* Modais modernos */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.modal-title {
  font-weight: 600;
  color: var(--text-dark);
}

.modal-body {
  padding: 1.5rem;
}

.modal-body .block-2 {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-body .block-2:last-child {
  border-bottom: none;
}

.modal-body .title h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.modal-body ul {
  list-style: none;
  padding: 0;
}

.modal-body ul li {
  padding: 0.5rem 0;
  color: var(--text-gray);
}

.modal-body ul li .ti-check {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Alertas modernos */
.alert {
  border-radius: var(--radius);
  border: none;
  padding: 1rem 1.25rem;
}

.alert-info {
  background: rgba(99, 102, 241, 0.1);
  color: var(--secondary-color);
  border-left: 4px solid var(--secondary-color);
}

.alert-success {
  background: rgba(42, 145, 11, 0.1);
  color: var(--primary-dark);
  border-left: 4px solid var(--primary-color);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-left: 4px solid #dc2626;
}

/* Testimonial */
.testimonial {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  border-left: 4px solid var(--primary-color);
}

.testimonial p {
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Feature sections */
.feature-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-content h2 a {
  color: var(--primary-color);
  text-decoration: none;
}

.feature-content .desc {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-gray);
}

/* Call to action */
.call-to-action-app {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  border-radius: 0;
}

.call-to-action-app h2 {
  color: white;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.call-to-action-app p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.call-to-action-app a {
  color: white;
  text-decoration: underline;
}

/* Hero section */
.gradient-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.gradient-banner h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
}

.gradient-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

/* Listas modernas */
ul.list-unstyled li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

ul.list-unstyled li strong {
  color: var(--text-dark);
  margin-right: 0.5rem;
  min-width: 150px;
}

/* Espaçamentos melhorados */
.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.py-4 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Responsividade */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .job {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .apply-button {
    margin-top: 1rem;
    width: 100%;
  }
  
  .apply-button .btn {
    width: 100%;
  }
}

/* Animações suaves */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Melhorias gerais */
.shadow {
  box-shadow: var(--shadow) !important;
}

.rounded {
  border-radius: var(--radius) !important;
}

.rounded-lg {
  border-radius: var(--radius-lg) !important;
}

/* Links modernos */
a {
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
}

/* Ícones */
i[class^="ti-"] {
  transition: var(--transition);
}

.btn:hover i[class^="ti-"] {
  transform: translateX(2px);
}

/* Ajuste do botão voltar ao topo */
.scroll-top-to {
  position: fixed !important;
  right: 20px !important;
  bottom: 100px !important; /* Acima do WhatsApp */
  width: 50px !important;
  height: 50px !important;
  line-height: 50px !important;
  text-align: center !important;
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: 50% !important;
  transition: var(--transition) !important;
  z-index: 1001 !important; /* Acima do WhatsApp */
  cursor: pointer !important;
  box-shadow: var(--shadow-md) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.scroll-top-to:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-lg) !important;
}

.scroll-top-to i {
  font-size: 24px !important;
  line-height: 1 !important;
}

@media (max-width: 768px) {
  .scroll-top-to {
    bottom: 90px !important; /* Acima do WhatsApp no mobile */
    right: 15px !important;
    width: 45px !important;
    height: 45px !important;
    line-height: 45px !important;
  }
  
  .scroll-top-to i {
    font-size: 20px !important;
  }
}

/* Melhorias adicionais */
.content {
  padding: 2rem;
}

.content h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.content ul {
  padding-left: 1.5rem;
}

.content ul li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Address blocks */
.address-block {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.address-block:hover {
  background: var(--bg-light);
}

.address-block .icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.address-block .details h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

/* Contact form */
.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* Job list improvements */
.job-list .block {
  padding: 2rem;
}

.job-list .title h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

/* Service boxes */
.service-box {
  padding: 2rem;
}

.service-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

/* Feature improvements */
.feature {
  padding: 4rem 0;
}

.image-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Video promo */
.video-promo {
  position: relative;
  padding: 6rem 0;
}

.video-promo .content-block {
  text-align: center;
}

.video-promo h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.video-promo p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.video-promo .video {
  font-size: 4rem;
  color: white;
  transition: var(--transition);
}

.video-promo .video:hover {
  transform: scale(1.1);
  color: var(--primary-light);
}

