/* ===== VARIÁVEIS E RESET ===== */
:root {
  --primary-blue: #023882;
  --secondary-blue: #1a5bb8;
  --accent-green: #2E7D32;
  --light-green: #4CAF50;
  --orange: #F59E0B;
  --white: #FFFFFF;
  --dark: #0F172A;
  --gray: #64748B;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  color: #1E293B;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== ACESSIBILIDADE: SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-blue);
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #ffb74d;
  outline-offset: 2px;
}

/* ===== ACESSIBILIDADE: FOCO VISÍVEL ===== */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid #ffb74d;
  outline-offset: 2px;
  background-color: rgba(255, 183, 77, 0.1);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* HEADER */
header {
  background-color: var(--primary-blue);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo-container img {
  height: 50px;
  width: auto;
}

/* Menu Hamburguer */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  padding: 0;
  z-index: 1001;
}

.hamburger .line {
  display: block;
  height: 3px;
  width: 30px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.menu-nav {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link:hover {
  opacity: 0.9;
}

.nav-link i {
  margin-right: 8px;
}

/* Submenu */
.has-submenu {
  position: relative;
}

.has-submenu:hover .submenu-container,
.has-submenu:focus-within .submenu-container {
  display: block;
}

.submenu-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--primary-blue);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  padding: 0.5rem 0;
}

.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.submenu li a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  display: block;
  transition: all 0.3s ease;
}

.submenu li a:hover {
  background: var(--secondary-blue);
}

.submenu li a i {
  margin-right: 8px;
  width: 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  padding: 4rem 5%;
  position: relative;
  overflow: hidden;
}

.hero::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 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h1 span {
  color: #FFD166;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 5%;
}

/* Seção Problema */
.problem-section {
  background: linear-gradient(135deg, #FFF8E7, #FFF3D6);
  border-radius: 32px;
  padding: 3rem;
  margin-bottom: 4rem;
}

.problem-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.problem-text p {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.problem-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item {
  background: var(--white);
  padding: 1rem;
  border-radius: 16px;
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.problem-icon {
  text-align: center;
  font-size: 8rem;
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards de Serviços */
.services-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.services-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray);
}

/* Como Trabalhamos */
.how-work {
  background: linear-gradient(135deg, #F0F9FF, #E6F4EA);
  border-radius: 32px;
  padding: 3rem;
  margin: 4rem 0;
}

.how-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 3rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.timeline-step {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-green), var(--light-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.timeline-step h4 {
  font-size: 1.2rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

/* Benefícios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Negociador */
.negotiator-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 32px;
  padding: 3rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.negotiator-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.negotiator-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.negotiator-info {
  flex: 1;
}

.negotiator-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.negotiator-info h2 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.negotiator-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFD166;
  margin-bottom: 0.5rem;
}

.negotiator-role {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #25D366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-call:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.negotiator-avatar {
  flex: 0 0 180px;
  text-align: center;
}

.avatar-circle {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, #FFD166, #FFB74D);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-blue);
  box-shadow: var(--shadow-xl);
  animation: float 3s ease-in-out infinite;
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Formulário */
.form-section {
  background: var(--white);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin: 0 5% 4rem;
}

.form-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 4px rgba(26, 91, 184, 0.1);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* FOOTER */
footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 3rem 1.5rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.1rem;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: white;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-link i {
  margin-right: 8px;
  font-size: 0.8rem;
}

.footer-address {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsividade */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  #menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 10px;
    width: 220px;
    background: var(--primary-blue);
    flex-direction: column;
    padding: 15px 0;
    z-index: 1000;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
  }

  #menu.active {
    display: flex;
  }

  .menu-nav {
    flex-direction: column;
    gap: 1px;
    width: 100%;
    padding: 0 8px;
  }

  .menu-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    display: block;
    padding: 10px 6px;
    font-size: 13px;
  }

  .submenu-container {
    position: static;
    display: none;
    padding-left: 1rem;
  }

  .has-submenu.active .submenu-container {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .negotiator-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-buttons {
    justify-content: center;
  }

  .form-section {
    margin: 0 1rem 2rem;
    padding: 1.5rem;
  }

  .problem-section {
    padding: 1.5rem;
  }

  .how-work {
    padding: 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }
}

html {
  scroll-behavior: smooth;
}