/* Reset e variáveis CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #dc143c;
  --secondary: #000000;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --border-color: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Geist", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVEGAÇÃO */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  animation: slideInLeft 0.5s ease-out;
}

.company-name {
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-gray);
  border-radius: 2px;
  transition: 0.3s;
}

/* SEÇÃO HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

/* BOTÕES */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* SEÇÕES PADRÃO */
section {
  padding: 80px 20px;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 20px;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* SEÇÃO SOBRE */
.about {
  background-color: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.about-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.15);
}

.about-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.about-card p {
  text-align: justify;
  line-height: 1.8;
}

/* SEÇÃO SERVIÇOS */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-card p {
  text-align: justify;
  line-height: 1.7;
}

/* SEÇÃO TIME */
.team {
  background-color: var(--light-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.team-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(220, 20, 60, 0.2);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}

.team-card h3 {
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.team-card h3 a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-card h3 a:hover {
  color: var(--primary);
}

.team-card .role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-card .description {
  font-size: 0.9rem;
  text-align: justify;
  line-height: 1.6;
  color: var(--dark-gray);
}

/* SEÇÃO SWOT / F.O.F.A */
.swot {
  background-color: var(--white);
}

.swot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.swot-card {
  padding: 25px;
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.swot-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.swot-card ul {
  list-style: none;
  line-height: 1.8;
}

.swot-card li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.swot-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
}

.strength {
  background: linear-gradient(135deg, #27ae60, #229954);
}

.weakness {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.opportunity {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.threat {
  background: linear-gradient(135deg, #f39c12, #d68910);
}

/* SEÇÃO DIFERENCIAIS */
/* Ajustado CSS para diferenciais sem descrição */
.differentials {
  background-color: var(--light-gray);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.diff-card {
  background-color: var(--white);
  padding: 40px 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.diff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(220, 20, 60, 0.15);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.diff-card:hover h3 {
  color: var(--white);
}

.diff-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 0;
  transition: color 0.3s ease;
}

/* SEÇÃO CONTATO */
.contact {
  background-color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.contact-info p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(220, 20, 60, 0.2);
}

.contact-form button {
  margin-top: 10px;
}

/* RODAPÉ */
.footer {
  background-color: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  border-top: 3px solid var(--primary);
}

.footer p {
  margin-bottom: 8px;
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .swot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    flex-direction: column;
    gap: 5px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .company-name {
    font-size: 1.1rem;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  section {
    padding: 50px 20px;
  }

  section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}
