:root {
  --dark: #23272A;
  --light: #ffffff;
  --bg-gray: #f6f6f6;
  --font-main: 'Open Sans', sans-serif;
  --font-title: 'Luckiest Guy', cursive;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-background {
  width: 100%;
  min-width: 1280px;
  height: 100%;
  margin: 0 auto;
}

.hero-content {
  position: absolute;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 757px;
  gap: 1.5rem;
  padding: 2rem;
  color: var(--light);
}

.hero-title {
  max-width: 313px;
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 32px;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
  gap: 16px;
  max-width: 600px;
}

.btn {
  padding: 16px 0px;
  width: 281px;
  border-radius: 28px;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--light);
  color: var(--dark);
}

.btn-primary:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--dark);
  color: var(--light);
}

.btn-secondary:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.content-section {
  background-color: var(--light);
}

.section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px;
  gap: 80px;
}

.section.reverse-section .section-content {
  order: 1;
}

.section.reverse-section .section-image {
  order: 2;
}

.even-section {
  background-color: var(--bg-gray);
}

/* Seções */
.section-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 348px;
  color: var(--dark);
}

.section-content p {
  font-size: 1rem;
  line-height: 1.4;
  max-width: 348px;
  color: var(--dark);
}

.cta-section {
  background-color: var(--bg-gray);
  text-align: center;
  padding: 120px 40px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 602px;
}

.cta-content p {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 40px;
  max-width: 802px;
}

.cta-video {
  margin-bottom: 32px;
}

.cta-video img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
}

/* Footer */
.footer {
  background-color: var(--dark);  
  min-height: 134px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  max-width: 230px;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    min-height: 602px;
  }

  .hero-content {
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    text-align: start;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-title {
    max-width: 278px;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .section {
    grid-template-columns: 1fr;
    padding: 80px 20px;
    gap: 40px;
    place-items: start;
  }

  .section .section-image {
    order: 1 !important;
  }

  .section .section-content {
    order: 2 !important;
  }

  .section-image img {
    width: 100%;
    height: auto;
  }

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

  .section-content p {
    font-size: 1.1rem;
  }

  .cta-section {
    text-align: start;
  }

  .cta-section {
    padding: 80px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .footer {
    padding: 60px 20px;
  }

  .footer-logo img {
    max-width: 162px;
  }
}

/* Responsividade - Mobile */
@media (max-width: 480px) {
  .hero-content {
    padding: 20px 15px;
    max-width: 428px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn {
    font-size: 1rem;
  }

  .section {
    padding: 60px 15px;
    gap: 30px;
  }

  .section-content h2 {
    font-size: 1.5rem;
  }

  .section-content p {
    font-size: 1rem;
  }

  .cta-section {
    padding: 60px 15px;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .footer {
    padding: 40px 15px;
  }
}