/* ============================================
   Terapia Energética a Distância
   Premium motion + visual polish
   ============================================ */

:root {
  --sage: #a9c9ab;
  --sage-soft: #c5dcc6;
  --sage-deep: #8fb392;
  --forest: #0e2c1f;
  --forest-muted: #163528;
  --cream: #f7f9f6;
  --white: #ffffff;
  --text: #0e2c1f;
  --text-soft: #1f3d2e;
  --text-body: #163528;
  --line: rgba(14, 44, 31, 0.12);
  --shadow: 0 12px 40px rgba(14, 44, 31, 0.08);
  --shadow-glow: 0 14px 40px rgba(14, 44, 31, 0.28);
  --radius: 4px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --container: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --duration: 0.85s;
  --stagger: 0ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.1rem);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2rem, 720px);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 560;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s var(--ease-out),
    background 0.35s var(--ease),
    box-shadow 0.4s var(--ease-out),
    filter 0.35s;
}

.btn:hover {
  transform: translateY(-3px) scale(1.015);
}

.btn:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 0.12s;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow:
    0 10px 28px rgba(14, 44, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: var(--forest-muted);
  box-shadow:
    var(--shadow-glow),
    0 0 0 1px rgba(169, 201, 171, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(14, 44, 31, 0.18);
}

.btn-whatsapp:hover {
  box-shadow: var(--shadow-glow);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.15rem 2.15rem;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.08rem);
  letter-spacing: 0.015em;
}

.btn-ripple {
  -webkit-tap-highlight-color: transparent;
}

.ripple-ink {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
  transform: scale(0);
  animation: rippleExpand 0.65s var(--ease-out) forwards;
  z-index: 0;
}

@keyframes rippleExpand {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* ---------- Hero ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0a1a12;
  min-height: 0;
}

.hero-media {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: min(78vh, 820px);
  min-height: 220px;
}

.hero-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 3.5rem 1rem 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 26, 18, 0.45) 55%,
    rgba(10, 26, 18, 0.75) 100%
  );
  pointer-events: none;
}

.hero-cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  transform: none;
  pointer-events: auto;
}

.hero-cta .btn {
  margin: 0;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 550;
  box-shadow: 0 5px 14px rgba(14, 44, 31, 0.25);
}

@media (min-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero-media {
    position: absolute;
    inset: 0;
  }

  .hero-banner {
    width: 100%;
    height: 100%;
    max-height: none;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-inner {
    padding: 5rem 1.5rem 0;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(10, 26, 18, 0.55) 45%,
      rgba(10, 26, 18, 0.82) 100%
    );
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(3.75rem, 8.5vw, 6.5rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 1.4rem + 2.8vw, 3.15rem);
  letter-spacing: 0.035em;
  line-height: 1.12;
  text-align: center;
  margin-bottom: 1.35rem;
  color: var(--forest);
  text-wrap: balance;
  overflow: visible;
  padding-block: 0.06em;
}

.section-lead {
  text-align: center;
  color: var(--forest);
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  font-weight: 400;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.15rem);
  line-height: 1.7;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  opacity: 0.92;
}

.section-lead-follow {
  margin-top: -1.75rem;
  margin-bottom: 2.25rem;
}

.section-closing {
  text-align: center;
  max-width: 36rem;
  margin: 2.75rem auto 0;
  color: var(--forest);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.12rem);
  line-height: 1.7;
  font-weight: 500;
  opacity: 0.95;
}

/* ---------- Sinais ---------- */

.section-sinais {
  background: var(--white);
}

.checklist {
  display: grid;
  gap: 0.35rem;
  max-width: 640px;
  margin-inline: auto;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid var(--line);
  border-radius: 12px;
  transition:
    background 0.4s var(--ease),
    transform 0.4s var(--ease-out),
    border-color 0.4s;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item:hover {
  background: rgba(169, 201, 171, 0.12);
  transform: translateX(4px);
  border-color: transparent;
}

.check-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--sage-deep);
  background: rgba(169, 201, 171, 0.28);
  border-radius: 50%;
  transition:
    transform 0.45s var(--ease-spring),
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}

.checklist-item:hover .check-icon {
  transform: scale(1.08);
  background: rgba(169, 201, 171, 0.45);
  color: var(--forest);
  box-shadow: 0 6px 16px rgba(14, 44, 31, 0.08);
}

.check-icon svg {
  width: 20px;
  height: 20px;
}

.checklist-item > span:last-child {
  padding-top: 0.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--forest);
}

/* ---------- Sobre ---------- */

.section-sobre {
  background: linear-gradient(180deg, var(--sage) 0%, var(--sage-soft) 100%);
  overflow: hidden;
}

.waves-bg {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  pointer-events: none;
  opacity: 0.7;
}

.waves-bg svg {
  width: 100%;
  height: 100%;
}

.section-sobre .section-title,
.section-sobre .section-lead {
  color: var(--forest);
}

.section-sobre .section-lead {
  color: var(--forest);
  opacity: 0.95;
  font-weight: 400;
}

.aspects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.aspect {
  padding: 0.35rem 0 1.1rem;
  border-top: 1px solid rgba(14, 44, 31, 0.12);
  transition: transform 0.45s var(--ease-out);
}

.aspect:hover {
  transform: translateY(-3px);
}

.aspect-icon {
  width: 48px;
  height: 48px;
  color: var(--forest);
  margin-bottom: 0.85rem;
  transition: transform 0.5s var(--ease-spring);
}

.aspect:hover .aspect-icon {
  transform: scale(1.08) rotate(-3deg);
}

.aspect-icon svg {
  width: 100%;
  height: 100%;
}

.aspect h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.65rem);
  letter-spacing: 0.045em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  font-weight: 400;
  overflow: visible;
  padding-block: 0.06em;
}

.aspect p {
  color: var(--forest);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* ---------- Timeline ---------- */

.section-passos {
  background: var(--cream);
  overflow: visible;
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
  counter-reset: step;
  overflow: visible;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  position: relative;
  overflow: visible;
}

.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 4.2rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--sage-deep), transparent);
}

.step-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--sage);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(14, 44, 31, 0.05);
  transition:
    transform 0.45s var(--ease-spring),
    background 0.35s,
    box-shadow 0.45s,
    border-color 0.35s;
}

.timeline-step:hover .step-num {
  transform: scale(1.08);
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 10px 24px rgba(14, 44, 31, 0.18);
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.98rem + 0.45vw, 1.3rem);
  letter-spacing: 0.035em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  font-weight: 400;
  overflow: visible;
  padding-block: 0.06em;
  text-wrap: balance;
}

.step-body p {
  color: var(--forest);
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.9;
  margin: 0;
}

/* ---------- Diferenciais ---------- */

.section-diferenciais {
  background: var(--white);
}

.section-diferenciais .section-lead {
  color: var(--forest);
  margin-bottom: 2.25rem;
}

.diferenciais-grid {
  display: grid;
  gap: 1.75rem 1.5rem;
  grid-template-columns: 1fr;
}

.diferencial {
  text-align: center;
  padding: 0.25rem 0.5rem 0.5rem;
}

.diferencial-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.85rem;
  color: var(--sage-deep);
}

.diferencial-icon svg {
  width: 100%;
  height: 100%;
}

.diferencial h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--forest);
  margin: 0 0 0.65rem;
  font-weight: 400;
}

.diferencial p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--forest);
  opacity: 0.88;
  max-width: 22rem;
  margin-inline: auto;
}

/* ---------- FAQ ---------- */

.section-faq {
  position: relative;
  background: var(--cream);
  z-index: 1;
  /* Degradê mais perto do FAQ, sem faixa larga vazia */
  padding-bottom: clamp(3.25rem, 6vw, 4.75rem);
}

.section-faq .container {
  position: relative;
  z-index: 3;
}

/* Casamento de cores: branco → sálvia suave (fica no FAQ, não na foto) */
.section-faq::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(56px, 8vw, 96px);
  background: linear-gradient(
    180deg,
    rgba(247, 249, 246, 0) 0%,
    rgba(197, 220, 198, 0.55) 45%,
    rgba(169, 201, 171, 0.75) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.35s;
}

.accordion-item:hover {
  background: rgba(169, 201, 171, 0.06);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0.15rem;
  text-align: left;
  font-weight: 500;
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.1rem);
  letter-spacing: 0.005em;
  color: var(--forest);
  transition: color 0.3s;
}

.accordion-trigger:hover {
  color: var(--forest);
}

.accordion-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  border-radius: 50%;
  background: rgba(169, 201, 171, 0.35);
  transition:
    transform 0.5s var(--ease-out),
    background 0.35s;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
  background: rgba(169, 201, 171, 0.45);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--forest);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-out), opacity 0.35s;
}

.accordion-icon::before {
  width: 12px;
  height: 1.5px;
}

.accordion-icon::after {
  width: 1.5px;
  height: 12px;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0 0.15rem;
  transition:
    grid-template-rows 0.55s var(--ease-out),
    opacity 0.4s var(--ease);
}

.accordion-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion-panel > p {
  overflow: hidden;
  min-height: 0;
  color: var(--forest);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  padding-bottom: 1.4rem;
  opacity: 0.92;
}

.accordion-panel strong {
  font-weight: 560;
  color: var(--forest);
}

.accordion-item h3 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* ---------- CTA ---------- */

.section-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 0;
  background: #0a1a12;
  margin-top: -1px; /* evita fio branco na junção */
}

/* Toque leve no topo da foto — curto e bem transparente */
.section-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(28px, 4.5vw, 48px);
  background: linear-gradient(
    180deg,
    rgba(169, 201, 171, 0.35) 0%,
    rgba(14, 44, 31, 0.12) 45%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.cta-media {
  position: relative;
  width: 100%;
  line-height: 0;
}

.cta-bg-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.cta-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 3rem 1rem 1.25rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 26, 18, 0.35) 55%,
    rgba(10, 26, 18, 0.55) 100%
  );
  pointer-events: none;
  line-height: normal;
}

.cta-inner .btn {
  pointer-events: auto;
  margin: 0;
}

.section-cta .btn-primary {
  background: var(--forest);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.section-cta .btn-primary:hover {
  background: var(--forest-muted);
}

@media (min-width: 768px) {
  .cta-inner {
    padding: 4rem 1.5rem 1.5rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest);
  color: #f2f7f2;
  padding: 3.25rem 0 2.75rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.85rem;
  text-align: center;
}

.footer-mark {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem);
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 0;
  text-transform: uppercase;
  line-height: 1.1;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(228, 239, 229, 0.72);
}

/* ---------- Crédito GS Code (modelo agencia3am — visual escuro/roxo) ---------- */

.developer-credit-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.developer-credit {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  padding: 1.5px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.3s ease-out;
}

.developer-credit:hover {
  transform: scale(1.02);
}

.developer-credit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.developer-credit-ring {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  height: 220%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    transparent 0deg,
    rgba(255, 255, 255, 0.12) 35deg,
    rgba(255, 255, 255, 0.55) 95deg,
    #ffffff 140deg,
    rgba(255, 255, 255, 0.75) 185deg,
    transparent 230deg 360deg
  );
  animation: developer-credit-spin 4s linear infinite;
}

.developer-credit-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #101016;
  transition: background-color 0.3s ease-out;
}

.developer-credit:hover .developer-credit-inner {
  background: #16161e;
}

.developer-credit-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(245, 245, 247, 0.7);
  transition: color 0.3s ease-out;
}

.developer-credit:hover .developer-credit-text {
  color: rgba(245, 245, 247, 0.9);
}

.developer-credit-logo-wrap {
  display: inline-flex;
  background: #000000;
  border-radius: 0.375rem;
  padding: 0.375rem 0.625rem;
}

.developer-credit-logo {
  display: block;
  width: auto;
  height: 2rem;
  object-fit: contain;
  /* sem mix-blend — evita o verde do footer “entrar” no logo */
  mix-blend-mode: normal;
  transition: filter 0.3s ease-out;
}

.developer-credit:hover .developer-credit-logo {
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

@keyframes developer-credit-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.social {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.footer-social-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.social-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  transition:
    background 0.35s var(--ease),
    transform 0.4s var(--ease-out),
    box-shadow 0.35s;
}

.social-link-instagram {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.social-link-instagram:hover {
  background: #ffffff;
  box-shadow:
    0 10px 28px rgba(221, 42, 123, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.social-link:active {
  transform: translateY(-1px) scale(0.98);
}

.social-link svg {
  width: 28px;
  height: 28px;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { --stagger: 80ms; }
.delay-2 { --stagger: 160ms; }
.delay-3 { --stagger: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .wave,
  .ripple-ink {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .accordion-panel,
  .accordion-icon {
    transition: none !important;
  }

  .btn,
  .checklist-item {
    transition: none !important;
  }

  .whatsapp-ring {
    animation: none !important;
  }

  .developer-credit-ring {
    animation: none !important;
  }
}

/* ---------- WhatsApp flutuante (visual gscode.site) ---------- */

.whatsapp-wrap {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  width: 56px;
  height: 56px;
  overflow: visible;
}

.whatsapp-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid rgba(41, 121, 255, 0.22);
  border-top-color: #2979ff;
  border-right-color: #82b1ff;
  animation: whatsappRingSpin 1.4s linear infinite;
  pointer-events: none;
  z-index: 0;
  box-shadow: 0 0 12px rgba(41, 121, 255, 0.45);
}

@keyframes whatsappRingSpin {
  to { transform: rotate(360deg); }
}

.whatsapp-float {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-wrap:hover .whatsapp-float {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #2979ff;
  outline-offset: 6px;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .aspects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2rem;
  }

  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.75rem;
  }
}

@media (min-width: 768px) {
  .checklist {
    gap: 0.2rem;
  }

  .diferenciais-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
  }

  .timeline-step {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0;
  }

  .timeline-step:not(:last-child)::before {
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    top: 24px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--sage-deep), transparent);
  }

  .step-num {
    margin-inline: auto;
    margin-bottom: 1rem;
  }

  .step-body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step-body h3 {
    min-height: calc(2 * 1.2em);
    margin-bottom: 0.55rem;
  }

  .step-body p {
    min-height: calc(3 * 1.55em);
    max-width: 11.5rem;
  }
}

@media (min-width: 960px) {
  .aspects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-cta .btn {
    width: auto;
    max-width: calc(100% - 2rem);
    padding: 0.5rem 0.9rem;
    font-size: 0.76rem;
  }

  .checklist-item:hover {
    transform: none;
  }

  .whatsapp-wrap {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Touch: evita hover “preso” em mobile */
@media (hover: none) {
  .checklist-item:hover,
  .aspect:hover,
  .timeline-step:hover .step-num,
  .btn:hover {
    transform: none;
  }

  .btn:active {
    transform: scale(0.98);
  }
}
