/* Importação da fonte */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Variáveis */
:root {
  --primary-color: #FFC300;
  --text-color: #21211F;
  --bg-color: #21211F;
  --white: #FFFFFF;
  --gray: #CACACA;
  --box-1-color: #2793E6;
  --box-2-color: #FA6600;
  --box-3-color: #350665;
  --box-4-color: #711717;
  --box-5-color: #1B4E03;
  --box-6-color: #2C8A00;
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding-top: 64px;
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-color);
  width: 100%;
  height: 460px;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.hero-content {
  padding: 20px 90px;
  max-width: 570px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-logo {
  width: 150px;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 12px;
  color: var(--text-color);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  opacity: 0.5;
}

/* Calculator Container */
.calculator-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Calculation Section */
.calculation-section {
  text-align: center;
  padding: 40px 20px;
}

.calculation-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.calculation-subtitle {
  font-size: 11px;
  font-weight: 300;
  color: var(--primary-color);
}

/* Divider */
.divider {
  border-top: 1px solid var(--gray);
  margin: 20px auto;
  width: 40%;
}

/* Step Container */
.step-container {
  margin: 30px 0;
  text-align: center;
}

.step-number {
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color);
  background-color: var(--primary-color);
  border: 1px solid var(--gray);
  border-radius: 50%;
  margin: 0 auto 10px;
}

.step-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Step Options */
.step-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.step-button-gender,
.step-button-bike-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
  background-color: var(--white);
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-icon {
  font-size: 20px;
}

.step-button-gender:hover,
.step-button-bike-selector:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.step-button-gender.clicked,
.step-button-bike-selector.clicked {
  background-color: var(--primary-color);
}

/* Measurement Container */
.measurement-container {
  display: flex;
  gap: 20px;
  max-width: 431px;
  margin: 0 auto;
  align-items: flex-start;
}

.image-container {
  width: 162px;
}

.measurement-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Input Container */
.input-instructions-container {
  width: 269px;
  display: flex;
  flex-direction: column;
}

.input-container {
  margin-bottom: 10px;
}

.measurement-input {
  width: 100%;
  height: 50px;
  padding: 8px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--gray);
  background-color: var(--white);
}

.input-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  margin-top: 5px;
}

/* Instructions */
.instructions {
  margin-top: 15px;
}

.instructions-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.instructions-text {
  font-size: 10px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.4;
}

/* Result Button */
.result-button {
  width: 269px;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 40px auto;
  transition: all 0.3s ease;

}

.result-button:hover {
  background-color: var(--text-color);
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
}

/* Result Button */
.download-button {
  width: 269px;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 40px auto;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1000; 
  pointer-events: auto; 
}

.download-button:hover {
  background-color: var(--text-color);
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
}



/* Results Container */
.results-container {
  margin-top: 40px;
}

/* Section Styles */
.section-1,  .section-3 {
  width: 780px;
  height: 540px;
  margin: 40px auto;
  background-color: var(--bg-color);
}

.section-2 {
  width: 780px;
  height: auto;
  margin: 40px auto;

  background-color: var(--bg-color);
}


.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--primary-color);
  text-align: center;
  margin-top: 150px;

}

.section-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--white);
  text-align: center;

}

.section-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.section-1 .section-image {
  position: absolute;
  top: 87px;
  left: 95px;
  width: 591px;
  height: 388px;
}


.section-2 .section-image {
  position: relative; /* Mude para relative se não precisar de absolute */
  top: 20px;
  left: 144px;
  width: 441px;
  height: 295px;

}

.section-3 .section-image {
  position: absolute;
  top: 70px;
  left: 239px;
  width: 489px;
  height: 314px;
}

/* Boxes */
.box {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 8px;
  padding: 15px;
}

/* Section 2 Boxes */
.horizontal-speed {
  top: 50px;
  left: 50px;
  width: 230px;
  height: 81px;
  background-color: var(--box-1-color);
}

.vertical-speed {
  left: 525px;
  top: 50px;
  width: 223px;
  height: 81px;
  background-color: var(--box-6-color);
}

/* Section 3 Boxes */
.straight-seat {
  left: 52px;
  top: 120px;
  width: 250px;
  height: 100px;
  background-color: var(--box-3-color);
}

.orange-box {
  left: 52px;
  top: 230px;
  width: 250px;
  height: 100px;
  background-color: var(--box-2-color);
}

.blue-box {
  left: 368px;
  top: 32px;
  width: 223px;
  height: 81px;
  background-color: var(--box-1-color);
}

/* Box Content Styles */
.box h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 8px;
}

.measurement {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
}

.important-note {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--white);
}

/* Section 1 Specific Boxes */
.box-1, .box-2, .box-3, .box-4, .box-5, .box-6 {
  position: absolute;
}

.box-1 {
  top: 38px;
  left: 105px;
  width: 151px;
  height: 110px;
  background-color: var(--box-1-color);
}

.box-2 {
  top: 27px;
  left: 305px;
  width: 250px;
  height: 81px;
  background-color: var(--box-2-color);
}

.box-3 {
  top: 38px;
  left: 575px;
  width: 250px;
  height: 58px;
  background-color: var(--box-3-color);
}

.box-4 {
  top: 220px;
  left: 50px;
  width: 100px;
  height: 55px;
  background-color: var(--box-4-color);
}

.box-5 {
  top: 432px;
  left: 275px;
  width: 201px;
  height: 81px;
  background-color: var(--box-5-color);
}

.box-6 {
  top: 445px;
  left: 485px;
  width: 201px;
  height: 59px;
  background-color: var(--box-6-color);
}

/* Utilities */
.hide {
  display: none;
}

.footer {
  background-color: #FFC300; /* Cor amarela */
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  bottom: 0;
  left: 0;
}

.footer-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500; /* Poppins Medium */
  color: #FFFFFF; /* Fonte branca */
   text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    padding: 20px;
  }

  .section-1, .section-2, .section-3 {
    width: 100%;
    height: auto;
    margin: 20px auto;
    padding: 20px;
  }

 .hero-bg-image {
  display: none;
 }

  .box {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
  }

  .navbar-container {
    padding: 0 12px;
  }
  
  .navbar-logo img {
    height: 24px;
  }
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: var(--bg-color);
  background-color: rgba(33, 33, 31, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-left, .navbar-right {
  flex: 1;
}

.navbar-center {
  display: flex;
  justify-content: center;
  flex: 1;
}

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

.navbar-right {
  display: flex;
  justify-content: flex-end;
}

.navbar-login {
  padding: 8px;
  border-radius: 50%;
  color: var(--gray);
  transition: color 0.2s ease;
}

.navbar-login:hover {
  color: var(--white);
}

.user-icon {
  stroke: currentColor;
}

