/* Variables */
:root {
  --primary-color: #4D2B99;
  --secondary-color: #7A3EB1;
  --accent-color: #FF6B00;
  --btn-color: #ffad72;
  --light-color: #FFFFFF;
  --dark-color: #333333;
  --gray-color: #F5F5F5;
  --text-color: #4A4A4A;
  --border-radius: 8px;
  --border-dark: #33333328;
  --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --gray-100: #F5F5F5;
  --gray-900: #333333;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-family: 'Inter', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

html {
  font-size: 62.5%;
  background-color: var(--gray-100);
  color: var(--gray-900);
}

body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

section {
  padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  line-height: 120%;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

h5, h6 {
  font-weight: 600;
}

h1 { font-size: 4rem; }
h2 { font-size: 4.8rem; }
h3 { font-size: 4rem; }
h4 { font-size: 2.8rem; }
h5 { font-size: 2.4rem; }
h6 { font-size: 2.2rem; }

p {
  font-size: 1.4rem;
  line-height: 150%;
}

/* Grid */
.container {
  width: 100%;
  max-width: 124.6rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex {
  display: flex;
}

/* Components */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Sora', sans-serif;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--light-color);
  border: none;
}

.btn-primary:hover {
  background-color: var(--btn-color);
  color: var(--light-color);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #01B682;
  color: var(--light-color);
  border: none;
}

.btn-whatsapp:hover {
  background-color: #78c2ad;
  color: var(--light-color);
}

.btn-secondary {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--light-color);
}

.card-post {
  border: 0.2rem solid rgba(255, 255, 255, 0.08);
  background-color: var(--primary-color);
  position: relative;
  color: var(--gray-color);
  padding: 3rem;
  border-radius: 0.5rem;
  width: 260px;
  left: 0;
  transition: transform 0.3s ease;
}

.card-post:not(:first-child) {
  margin-left: -50px;
}

.card-post:hover {
  transform: translateY(-20px);
}

.card-post:hover ~ .card-post {
  left: 50px;
}

.card-post h5 {
  color: aliceblue;
}

.card-post .tag {
  display: inline-block;
  background-color: #F78427;
  border-radius: 0.3rem;
  padding: 1.3rem;
}

.iconset {
  display: flex;
  gap: 7px;
  border-radius: 50px;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 180px;
}

.iconset img {
  width: 24px;
  height: 24px;
}

.iconset p {
  margin: 0;
  text-transform: uppercase;
}

.opcao {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

.d-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Faq */

.b-faq {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
}

.s-faq h6 {
  font-size: 1.6rem;
  font-weight: 400;
}

.accordion-item{
  background-color: transparent;
  border-radius: .4rem;
}

.accordion-item hr{
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.accordion-link{
  color: var(--gray-100);
  text-decoration: none;
  background-color: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.accordion-link i{
  color: var(--gray-color);
  padding: .5rem;
  
}

.accordion-link ul{
  display:flex;
  align-items: flex-end;
  list-style-type: none;
  margin-left: 25px;
}

.accordion-link li{
  color: rgba(255, 255, 255, 0.4);
  padding: 0 0 1px 5px;
}

.accordion-link div{
  display: flex;
}

.accordion-link .ion-md-arrow-down{
  display: none;
}

.answer{
  max-height: 0;
  overflow: hidden;
  position: relative;
  background-color: transparent;
  transition: max-height 650ms;
}

.answer p{
  color: var(--gray-100);
  padding: 2rem;
  
}

.accordion-item:target .answer{
  max-height: 20rem;
}

.accordion-item:target .accordion-link .ion-md-arrow-forward{
  display: none
}

.accordion-item:target .accordion-link .ion-md-arrow-down{
  display: block;
}


.icon-social {
  padding: 5px;
  border-radius: 10px;
  background-color: var(--primary-color);
}

/* Main Styles */
header {
  width: 100%;
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--gray-color);
  padding: 15px;
  border-radius: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  z-index: 100;
}

header .btn-mobile {
  display: none;
}

header nav {
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

header nav ul {
  display: flex;
  gap: 4rem;
}

header nav ul a {
  color: var(--dark-color);
  font-size: 1.6rem;
  letter-spacing: -0.48px;
  transition: opacity .3s ease;
}

header nav ul a:hover {
  opacity: 0.7;
}

.header-bg {
  background-image: url('/imgs/bg-x.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-direction: column;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--gray-color);
}

.header-bg .s-hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 100px;
}

.header-bg .s-hero .container .text {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
}

.header-bg .s-hero .container .text h1 {
  color: var(--gray-color);
}

.s-hero {
  padding-top: 100px;
}

.s-benefico {
  border-bottom: solid 1px var(--border-dark);
}

.s-benefico .box-benefico h2 span {
  color: var(--accent-color);
}

.box-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.passo {
  position: relative;
  width: 300px;
  padding: 20px 30px;
  border: solid 1px #ddd;
  border-radius: 10px;
  background-color: var(--gray-color);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.passo4 {
  background-color: var(--primary-color);
}

.passo:nth-child(1) { order: 1; }
.passo:nth-child(2) { order: 2; margin-left: auto; }
.passo:nth-child(3) { order: 3; }
.passo:nth-child(4) { order: 4; width: 100%; max-width: 420px; margin: 0 auto; }

.box-passo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}

.box-passo4 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 10px;
}

.tag-passo {
  padding: 10px 30px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
}

.passo:nth-child(1) .tag-passo { background-color: var(--primary-color); }
.passo:nth-child(2) .tag-passo { background-color: var(--accent-color); }
.passo:nth-child(3) .tag-passo { background-color: var(--primary-color); }
.passo:nth-child(4) .tag-passo { background-color: #ffffff; color: #333; border: 1px solid #ddd; }

.circulo {
  border-radius: 99px;
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
}

.passo:nth-child(2) .circulo {
  background-color: var(--accent-color);
}

.passo p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.passo4 p {
  color: #ffffff;
  text-align: center;
}

.s-grid {
  width: 880px;
  margin: 0 auto;
}

.s-etapa {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s-exame {
  background-color: var(--primary-color);
}

.box-exame {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  color: var(--gray-color);
}

.s-exame .iconset {
  color: var(--dark-color);
}

.s-plano {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.box-plano {
  display: flex;
  justify-content: center;
  gap: 56px;
}

.plano {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
  padding: 15px;
  background-color: var(--gray-color);
  border: solid 1px var(--border-dark);
  border-radius: 10px;
}

.plano2 {
  color: var(--gray-color);
  background-color: var(--primary-color);
}

.tag-plano {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tag {
  display: inline-block;
  border-radius: 0.3rem;
  padding: 1.3rem;
  background-color: var(--accent-color);
}

.price {
  display: flex;
  align-items: baseline;
}

.price h3 {
  font-weight: 500;
}

.plano .list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.img-review {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 5px;
  border-radius: 30px;
  background-color: var(--accent-color);
  position: relative;
  margin-left: -20px;
  margin-bottom: -30px;
  z-index: 9999;
}

.img-review img {
  width: 28px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 400px;
  padding: 30px;
  border-radius: 20px;
  background-color: var(--gray-color);
}

.star {
  width: 90px;
}

.review h6 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.review span {
  font-size: 1.6rem;
}

.user-review {
  display: flex;
  justify-content: space-between;
}

.img-perfil img {
  width: 42px;
  border-radius: 40px;
}

.t-review {
  display: flex;
  gap: 20px;
}

.s-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.s-review h2 {
  text-align: center;
}

.b-maps {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mapa {
  height: 440px;
  width: 350px;
  border: 0;
  border-radius: 20px;
}

.s-maps .d-box {
  align-items: flex-start;
}

.s-faq {
  color: var(--gray-color);
  background-color: var(--primary-color);
}

.b-faq {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.s-footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 250px;
  margin-top: 30px;
}

.b-footer {
  display: flex;
  justify-content: space-evenly;
}

.reservados {
  padding: 15px;
  color: var(--gray-color);
  text-align: center;
  background-color: var(--primary-color);
}

.b-titulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.franchise-form { 
  max-width: 500px; 
  width: 100%; 
}

.form-group { 
  margin-bottom: 15px; 
}

.form-group label { 
  display: block; 
  font-size: 1.6rem; 
  color: var(--text-color); 
  margin-bottom: 5px; 
}

.form-group input { 
  width: 100%; 
  padding: 10px; 
  border: 1px solid var(--border-dark); 
  border-radius: var(--border-radius); 
  font-size: 1.4rem; 
}

.exame-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  header .container {
    border-radius: 0;
    flex-wrap: wrap;
  }

  header .btn-mobile {
    display: block;
  }

  header nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 20px;
    background-color: var(--gray-color);
    border-radius: 10px;
  }

  header nav.active {
    display: flex;
  }

  header nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  header nav .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }

  .s-hero .container .text h1 {
    font-size: 3.2rem;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card-post {
    width: 100%;
    max-width: 300px;
    margin-left: 0 !important;
  }

  .card-post:hover {
    transform: none;
  }

  .card-post:hover ~ .card-post {
    left: 0;
  }

  .s-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .passo {
    width: 100%;
    max-width: 300px;
    margin-left: 0 !important;
  }

  .passo4 {
    width: 100%;
    max-width: 300px;
    margin-left: 0 !important;
  }

  .passo:nth-child(4) { 
    order: 4; 
    width: 100%; 
    max-width: 300px; 
    margin: auto; 
  }


  .box-exame {
    flex-direction: column;
    gap: 20px;
  }

  .box-plano {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .plano, .plano2 {
    width: 100%;
    max-width: 300px;
  }

  .t-review {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .review {
    width: 100%;
    max-width: 300px;
  }

  .b-maps {
    flex-direction: column;
    gap: 20px;
  }

  .mapa {
    width: 100%;
    height: 300px;
  }

  .b-faq {
    flex-direction: column;
    gap: 20px;
  }

  .faq .pergunta {
    width: 100%;
    max-width: 300px;
  }

  .b-footer {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .s-footer {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 3.6rem; }
  h3 { font-size: 2.8rem; }
  h4 { font-size: 2.4rem; }
  h5 { font-size: 2rem; }
  h6 { font-size: 1.8rem; }

  .container {
    padding: 0 1rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .iconset {
    padding: 5px 15px;
  }

  .iconset img {
    width: 20px;
    height: 20px;
  }
  .passo4 {
    width: 100%;
    max-width: 300px;
    margin-left: 0 !important;
  }


}