/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Paleta de cores baseada no logo VCR */
:root {
  --primary-red: #e31e24;
  --dark-red: #b71c1c;
  --light-red: #ffebee;
  --dark-gray: #2e2e2e;
  --medium-gray: #555;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: rgba(227, 30, 36, 0.1);
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.header.header-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  backdrop-filter: saturate(180%) blur(8px);
}

.header.header-scrolled .container {
  padding: 0.6rem 20px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: var(--primary-red);
}

.nav-list a.active {
  color: var(--primary-red);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-red);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-red) 0%, var(--white) 100%);
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  color: var(--primary-red);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--medium-gray);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:focus-visible,
.nav-list a:focus-visible,
.whatsapp-btn:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid rgba(227, 30, 36, 0.35);
  outline-offset: 2px;
  border-radius: 6px;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background: var(--primary-red);
  color: var(--white);
}

.hero-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow);
  text-align: center;
  margin-left: auto;
  max-width: 300px;
}

.hero-card h3 {
  font-size: 3rem;
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-card p {
  color: var(--medium-gray);
  font-size: 1.1rem;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--medium-gray);
}

/* About Section */
.about {
  background: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--medium-gray);
  line-height: 1.8;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--medium-gray);
  font-weight: 500;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--primary-red);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--medium-gray);
  line-height: 1.6;
}

/* Differentials Section */
.differentials {
  background: var(--light-gray);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.differential-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.differential-card:hover {
  transform: translateY(-5px);
}

.differential-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.differential-card h3 {
  font-size: 1.3rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-weight: 600;
}

.differential-card p {
  color: var(--medium-gray);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--medium-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-red);
}

/* Contact Section */
.contact {
  background: var(--light-gray);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h3 {
  color: var(--dark-gray);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-item p {
  color: var(--medium-gray);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1db954;
  transform: translateY(-2px);
}

.whatsapp-icon {
  font-size: 1rem;
}

.contact-map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 280px;
}

.map-overlay h3 {
  color: var(--dark-gray);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.map-overlay p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.map-overlay .btn {
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-text p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--primary-red);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .differentials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-overlay {
    position: static;
    max-width: none;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero-card {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .service-card,
  .contact-form {
    padding: 1.5rem;
  }

  .about-stats {
    flex-direction: column;
  }
}
