/* Robotcom - Identidade Visual */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #2563EB;
  --primary-purple: #7C3AED;
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --gradient-light: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --light-gray: #f8fafc;
  --border-light: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
  padding-top: 80px; /* Compensar navbar fixo */
}

/* Prevent horizontal overflow */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.container, .container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

/* Responsive SVG and images */
svg, img {
  max-width: 100%;
  height: auto;
}

/* Gradientes e Cores Principais */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-light {
  background: var(--gradient-light);
}

.text-primary-blue {
  color: var(--primary-blue);
}

.text-primary-purple {
  color: var(--primary-purple);
}

.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box, var(--gradient-primary) border-box;
}

/* Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-blue) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-blue) !important;
}

.nav-link.active::after {
  width: 100%;
}

/* Navbar Toggler */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2837, 99, 235, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

.navbar-toggler:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    gap: 10px;
  }
  
  .nav-link {
    padding: 12px 20px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    background-color: rgba(37, 99, 235, 0.1);
  }
  
  .nav-link::after {
    display: none;
  }
}

/* Botões */
.btn-primary-custom {
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background: var(--gradient-light);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(37,99,235,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Cards */
.card-custom {
  border: none;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  color: white;
}

/* Seções */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  color: white;
}

/* Footer */
.footer-custom {
  background: var(--text-dark);
  color: white;
  padding: 40px 0 20px;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.footer-text-light {
  color: #e5e7eb !important;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: white;
}

/* Formulário */
.form-control-custom {
  border: 2px solid var(--border-light);
  border-radius: 10px;
  padding: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control-custom:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Animações */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Prevent horizontal overflow on mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }
    
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .col-lg-6, .col-lg-4, .col-lg-3, .col-lg-2, .col-lg-1,
    .col-md-6, .col-md-4, .col-md-3, .col-md-2, .col-md-1,
    .col-sm-6, .col-sm-4, .col-sm-3, .col-sm-2, .col-sm-1,
    .col-12, .col {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* SVG responsivo */
    svg {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
    }
    
    /* Container do SVG */
    .hero-illustration,
    .text-center {
        overflow: hidden;
        max-width: 100%;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .card-custom {
        margin-bottom: 20px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-custom {
        text-align: center;
    }
    
    .footer-custom .col-lg-4,
    .footer-custom .col-lg-2,
    .footer-custom .col-lg-3 {
        margin-bottom: 30px;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 11px 22px;
        font-size: 0.92rem;
    }
    
    .hero-section {
        padding: 130px 0 70px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .card-custom {
        margin-bottom: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 150px 0 100px;
    }
    
    .section-padding {
        padding: 80px 0;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 160px 0 120px;
    }
    
    .section-padding {
        padding: 100px 0;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
}

/* Print styles */
@media print {
    .navbar-custom,
    .footer-custom,
    .btn-primary-custom,
    .btn-outline-custom {
        display: none !important;
    }
    
    .hero-section,
    .section-padding {
        padding: 20px 0;
    }
    
    .card-custom {
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .text-primary-blue,
    .text-primary-purple {
        color: #000 !important;
    }
    
    .bg-gradient-primary {
        background: #f8f9fa !important;
        color: #000 !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card-custom {
        border: 2px solid #000;
    }
    
    .btn-primary-custom {
        border: 2px solid #000;
    }
    
    .navbar-custom {
        border-bottom: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .btn-primary-custom,
    .btn-outline-custom,
    .social-icon,
    .footer-link {
        transition: none !important;
    }
    
    .navbar-custom {
        transition: none !important;
    }
}

/* Focus improvements for accessibility */
.btn-primary-custom:focus,
.btn-outline-custom:focus,
.form-control-custom:focus,
.nav-link:focus,
.footer-link:focus,
.social-icon:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Melhor legibilidade do texto no rodapé */
.footer-custom .text-muted {
    color: #d1d5db !important; /* Cor mais clara para melhor contraste */
}

.footer-custom p.text-muted {
    color: #e5e7eb !important; /* Ainda mais claro para parágrafos */
}
/* Logos de parceiros */
.partner-logos {
    gap: 24px;
}

.partner-logos img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
}

/* Botão flutuante WhatsApp */
.whatsapp-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    color: white;
}

.whatsapp-fab:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .whatsapp-fab {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

