/* Global Styles */
:root {
  --bg-main: #1c1b29;
  --bg-blocks: #292847;
  --accent-gold: #fdc500;
  --accent-red: #f85959;
  --text-white: #ffffff;
  --text-grey: #cfcfcf;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-white);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-red);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(
    90deg,
    var(--accent-red) 0%,
    var(--accent-gold) 100%
  );
  color: var(--text-white);
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(253, 197, 0, 0.3);
  color: var(--text-white);
}

h1,
h2,
h3 {
  margin-bottom: 20px;
}

section {
  padding: 80px 0;
}

/* Header Styles */
header {
  background-color: var(--bg-main);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-white);
  text-transform: lowercase;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-gold);
}

/* Navigation Styles with Burger Menu (CSS only) */
#burger-toggle {
  display: none;
}

.burger-menu {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-white);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--accent-gold);
}

/* Hero Section Styles */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./img/39iq9.jpg");
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* About Section */
.about {
  background-color: var(--bg-blocks);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--bg-blocks);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: var(--accent-gold);
}

/* Benefits Section */
.benefits {
  background-color: var(--bg-blocks);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
}

.benefit-item h3 {
  color: var(--accent-gold);
}

/* Testimonials Section */
.testimonials-slider {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background-color: var(--bg-blocks);
  padding: 30px;
  border-radius: 8px;
  margin: 20px 0;
}

.testimonial-author {
  margin-top: 20px;
  font-weight: bold;
  color: var(--accent-gold);
}

/* Form Section */
.form-section {
  background-color: var(--bg-blocks);
}

form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-white);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

select option {
  background-color: var(--bg-blocks);
  color: var(--text-white);
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 15px;
  background-color: var(--bg-blocks);
  color: var(--text-white);
  cursor: pointer;
  border-radius: 4px;
  position: relative;
}

.faq-label:hover {
  background-color: rgba(41, 40, 71, 0.8);
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-content {
  background-color: rgba(41, 40, 71, 0.6);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  border-radius: 0 0 4px 4px;
}

.faq-content-inner {
  padding: 15px;
}

.faq-question:checked ~ .faq-content {
  max-height: 300px;
}

.faq-question:checked ~ .faq-label::after {
  content: "-";
}

/* Footer */
footer {
  background-color: var(--bg-blocks);
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-blocks);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-text {
  margin-right: 20px;
}

/* Thank You Page (obrigado.php) */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  padding: 40px;
  background-color: var(--bg-blocks);
  border-radius: 8px;
  border: 1px solid var(--accent-gold);
}

/* Policy Pages */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--bg-blocks);
  border-radius: 8px;
}

.policy-content h1 {
  color: var(--accent-gold);
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Burger Menu */
  .burger-menu {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
  }

  .burger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .burger-menu span:nth-child(1) {
    top: 0;
  }

  .burger-menu span:nth-child(2) {
    top: 8px;
  }

  .burger-menu span:nth-child(3) {
    top: 16px;
  }

  nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-main);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
  }

  nav ul {
    display: block;
    padding: 0 20px 20px;
  }

  nav ul li {
    margin: 15px 0;
    text-align: center;
  }

  #burger-toggle:checked ~ nav {
    max-height: 300px;
  }

  #burger-toggle:checked ~ .burger-menu span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }

  #burger-toggle:checked ~ .burger-menu span:nth-child(2) {
    opacity: 0;
  }

  #burger-toggle:checked ~ .burger-menu span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }

  /* Hero Section */
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  /* Sections Padding */
  section {
    padding: 60px 0;
  }
}
