/* =============================================
   GIO Estética Alto da Lapa — Depilação a Laser
   Paleta: #9f3cbd | #6f0994 | #cb6ce6 | #fff | #f1f1f1
   ============================================= */

:root {
  --purple-medium: #9f3cbd;
  --purple-dark: #6f0994;
  --purple-light: #cb6ce6;
  --white: #ffffff;
  --gray-light: #f1f1f1;
  --text-dark: #2d2d2d;
  --text-muted: #5a5a5a;
  --shadow: 0 4px 24px rgba(111, 9, 148, 0.12);
  --radius: 12px;
  --transition: 0.25s ease;
  --max-width: 1140px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--purple-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--purple-medium);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ---------- Utilitários ---------- */

.section {
  padding-block: 4.5rem;
}

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

.section__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--purple-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(111, 9, 148, 0.35);
}

.btn--primary:hover {
  background-color: var(--purple-medium);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(111, 9, 148, 0.4);
}

.btn--outline {
  background-color: transparent;
  color: var(--purple-dark);
  border: 2px solid var(--purple-dark);
}

.btn--outline:hover {
  background-color: var(--purple-dark);
  color: var(--white);
}

/* ---------- Imagens das seções ---------- */

.section-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-media--landscape {
  aspect-ratio: 1000 / 714;
}

.section-media--portrait {
  aspect-ratio: 827 / 1000;
  max-width: 420px;
  margin-inline: auto;
}

.section-media--fachada {
  aspect-ratio: 1000 / 685;
}

.section-media--banner {
  aspect-ratio: 926 / 252;
  margin-top: 2rem;
  box-shadow: none;
  border-radius: var(--radius);
  overflow: hidden;
}

.section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.section-image--contain {
  object-fit: contain;
  background-color: var(--purple-dark);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__cta {
  font-size: 0.8rem;
  padding: 0.65rem 1.25rem;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 3rem 4.5rem;
  background: linear-gradient(180deg, var(--white) 0%, #faf5fc 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--purple-dark);
  margin-bottom: 1rem;
}

.hero__title span {
  color: var(--purple-medium);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Grid de conteúdo ---------- */

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.content-grid--reverse .content-grid__media {
  order: -1;
}

/* ---------- Lista de benefícios ---------- */

.benefits-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.benefits-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  background-color: var(--purple-medium);
  border-radius: 50%;
}

.check-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--purple-medium);
  border-radius: 50%;
}

/* ---------- Áreas ---------- */

.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--purple-medium);
}

.area-card h3 {
  font-size: 1.15rem;
  color: var(--purple-dark);
  margin-bottom: 1rem;
}

.area-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
}

.area-card li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.area-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--purple-light);
  font-weight: 700;
}

/* ---------- Passos ---------- */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-medium), var(--purple-dark));
  border-radius: 50%;
}

.step h3 {
  font-size: 1rem;
  color: var(--purple-dark);
  margin-bottom: 0.25rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid #e0e0e0;
}

.faq details:first-child {
  border-top: 1px solid #e0e0e0;
}

.faq summary {
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--purple-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--purple-medium);
  transition: transform var(--transition);
}

.faq details[open] summary::after {
  content: "−";
}

.faq__answer {
  padding: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ---------- Diferenciais ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.feature-item::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background-color: var(--purple-light);
  border-radius: 50%;
}

/* ---------- CTA Final ---------- */

.cta-final {
  padding-block: 5rem;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-medium) 100%);
  color: var(--white);
  text-align: center;
}

.cta-final__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 640px;
  margin-inline: auto;
}

.cta-final__text {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-inline: auto;
}

.cta-final .btn--primary {
  background-color: var(--white);
  color: var(--purple-dark);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-final .btn--primary:hover {
  background-color: var(--gray-light);
  color: var(--purple-dark);
}

/* ---------- Footer ---------- */

.footer {
  background-color: var(--purple-dark);
  color: var(--white);
  padding-block: 3rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__address {
  font-style: normal;
  line-height: 1.7;
  opacity: 0.9;
}

.footer__address a {
  color: var(--purple-light);
}

.footer__address a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--white);
  transition: background-color var(--transition);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.75;
}

/* ---------- WhatsApp flutuante ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* ---------- Responsivo ---------- */

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid--reverse .content-grid__media {
    order: 0;
  }

  .section-media--portrait {
    max-width: none;
    margin-inline: 0;
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
