@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Roboto:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Nunito', sans-serif;
  background-color: #fff;
  color: #2e2e2e;
}

h1, h2, h3 {
  font-family: 'Roboto', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Typography */
.title-xl { font-size: 52px; margin-bottom: 1rem; font-weight: 700; line-height: 64px; }
.title-lg { font-size: 2rem; margin-bottom: 1rem; }
.title-md { font-size: 1.5rem; margin-bottom: 0.5rem; }

.primary { color: #FF5F1F; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.block { display: block; }
.flex { display: flex; flex-wrap: wrap; }
.grid { display: grid; }

@media(min-width: 768px){
  .g-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media(min-width: 992px){
  .g-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }

/* Buttons */
.btn {
  background-color: #FF5F1F;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  font-weight: bold;
  transition: background 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background-color: #e2541c;
}

/* Header */
.header {
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FF5F1F;
}
.logo img {
  height: 48px;
}

/* NAVIGATION */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle .hamburger {
  width: 24px;
  height: 2px;
  background-color: #FF5F1F;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #FF5F1F;
  transition: all 0.3s ease;
}

.nav-toggle .hamburger::before {
  transform: translateY(-8px);
}

.nav-toggle .hamburger::after {
  transform: translateY(8px);
}

.nav-toggle.active .hamburger {
  background-color: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a{
  opacity: .6;
}
.nav-links a:hover{
  color: #FF5F1F;
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}

/* Seções */
.section {
  padding: 64px 0;
}

.hero-content,
.funciona-content,
.agendamento-content,
.download-content {
  flex-direction: row;
  gap: 2rem;
}

.hero-text,
.funciona-text,
.agendamento-text {
  flex: 1;
}

.download-text,
.hero-text {
  max-width: 361px;
  margin: 0 auto;
}

.download-text p,
.hero-text p {
  opacity: .6;
  margin-bottom: 32px;
}

.hero-image img,
.funciona-image img,
.agendamento-image img {
  max-width: 100%;
  height: auto;
}

.hero-image {
  background: url('img/logo_click_personal_border.png') no-repeat center;
  background-size: contain;
}

@media(min-width: 992px){
  .hero-image {
    width: 50%;
    height: 520px;
  }
}

.fluxo-etapas,
.beneficios {
  gap: 2rem;
  justify-content: space-between;
  text-align: center;
  margin-top: 2rem;
}

.beneficios {
  flex-direction: column;
  gap: 48px;
  position: relative;
}

.beneficios:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 2px;
  border-left: 2px dotted #2e2e2e;
  left: 45px;
  z-index: -1;
}

.etapa {
  display: flex;
  gap: 16px;
  align-items: center;
}

.etapa-content {
  width: 248px;
  text-align: left;
}

.etapa,
.beneficio {
  flex: 1;
  min-width: 200px;
}

.beneficio {
  display: flex;
  gap: 16px;
}

.beneficio-block {
  text-align: left;
}

.beneficio-block > p,
.etapa-content > p {
  opacity: .6;
}

.beneficio img {
  width: 90px;
}

.download-bg {
  background-color: #e4643269;
  background-image: url(img/pattern.png);
  color: #fff;
  width: 50%;
  display: block;
  height: 420px;
  border-radius: 16px;
}

.store-buttons {
  gap: 1rem;
}

.footer {
  padding: 2rem 1rem;
  background-color: #f8f8f8;
  color: #777;
}

.footer h3{
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .flex {
    flex-direction: column;
  }
  .header > .flex, .flex.store-buttons{
    flex-direction: row;
  }
  .logo span{
    display: none;
  }

  .hero-content,
  .funciona-content,
  .agendamento-content,
  .download-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 97px;
    right: 0;
    background-color: #fff;
    width: 100%;
    padding: 1.5rem;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

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

  .social-icons {
    margin-left: 0;
    justify-content: center;
    padding: 24px 0;
  }
  .hero-image{
    position: relative;
    width: 100%;
    height: 370px;
  }
  .hero-image img{
    max-width: fit-content;
    width: 140%;
    position: absolute;
    left: -20%;
  }
  .download-bg{
    width: 100%;
  }
}

@media(min-width: 992px){
  .funciona-image {
    width: 45%;
  }

  .funciona-text {
    width: 55%;
    max-width: 462px;
    padding: 32px;
    margin: 0 auto;
  }

  .agendamento-image,
  .profissional-img {
    width: 40%;
  }

  .profissional-content {
    padding: 32px;
    width: 55%;
    margin: 0 auto;
    text-align: left;
  }

  .social-icons {
    justify-content: center;
    padding: 24px 0;
  }
}

#como-funciona {
  background: #ff5f1f21;
}


/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  border: 2px solid #FF5F1F;
  background: none;
  color: #FF5F1F;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: #FF5F1F;
  color: #fff;
}

.tab-button.active {
  background: #FF5F1F;
  color: #fff;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  .tab-button {
    flex: 1;
    font-size: 0.9rem;
  }
}
