/* =========================================================
   Alícia Curado – Psicóloga
   Folha de estilo única (mobile-first)
   ========================================================= */

:root {
  /* Cores da marca (extraídas do novo logo) */
  --plum-900: #5a1236;
  --plum-700: #8c2455;
  --plum-600: #9e1d5a;
  --plum-300: #e3a9c4;
  --plum-100: #f6dfea;
  --plum-50: #fcf3f7;
  --teal-900: #0f4a40;
  --teal-700: #1b7262;
  --teal-500: #2e9480;
  --teal-300: #9dd8c8;
  --teal-50: #eef8f5;
  --mint: #b9e4d9;
  --rose-600: var(--plum-600);
  --rose-50: var(--plum-50);
  --sand-50: #fdf2f0;
  --sand-600: #b0445f;
  --green-50: #edf7f3;
  --green-700: #2e7d5b;

  --ink: #2a1a24;
  --text: #54494f;
  --muted: #7a6d74;
  --bg: #fffcfd;
  --surface: #ffffff;
  --line: #efe3e9;

  --font-title: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.75rem;
  --shadow-sm: 0 1px 2px rgb(90 18 54 / 0.05), 0 2px 8px rgb(90 18 54 / 0.05);
  --shadow: 0 10px 30px -10px rgb(90 18 54 / 0.16);
  --shadow-lg: 0 24px 60px -20px rgb(90 18 54 / 0.28);

  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font: 400 1.0625rem/1.7 var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--teal-700);
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

p + p {
  margin-top: 1rem;
}

strong {
  color: var(--plum-600);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

:focus-visible {
  outline: 3px solid var(--plum-600);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--plum-100);
  color: var(--plum-900);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--plum-600);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, 1160px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
}

.section-tint {
  background: var(--teal-50);
}

.section-head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem);
  text-align: center;
}

.section-head h2 {
  margin-bottom: 0.75rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.75rem;
}

/* folhinha da árvore do logo antes dos rótulos */
.eyebrow::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 0 100% 0 100%;
  background: var(--teal-500);
  flex-shrink: 0;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem var(--font-body);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s, color 0.25s, border-color 0.25s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--plum-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgb(158 29 90 / 0.6);
}

.btn-primary:hover {
  background: var(--plum-900);
  box-shadow: 0 12px 26px -10px rgb(158 29 90 / 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-300);
}

.btn-ghost:hover {
  background: var(--teal-50);
  border-color: var(--teal-700);
}

.btn-light {
  background: #fff;
  color: var(--plum-700);
}

.btn-light:hover {
  box-shadow: 0 12px 26px -10px rgb(0 0 0 / 0.45);
}

.btn-sm {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
}

/* ---------- Header / Navegação ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgb(255 252 253 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo img {
  width: 150px;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  z-index: 2;
}

.nav-toggle .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-menu {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-menu ul {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.nav-menu ul a {
  font: 700 1.5rem var(--font-title);
  color: var(--ink);
  text-decoration: none;
  position: relative;
}

.nav-menu ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--plum-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-menu ul a:hover::after,
.nav-menu ul a.active::after {
  transform: scaleX(1);
}

.nav-menu ul a.active {
  color: var(--plum-600);
}

body.menu-open {
  overflow: hidden;
}

/* backdrop-filter cria um novo contexto para elementos fixos;
   removemos com o menu aberto para ele ocupar a tela inteira */
body.menu-open .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--bg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 2.5rem) 0 clamp(3.5rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(60rem 32rem at 100% 0%, rgb(185 228 217 / 0.45), transparent 60%),
    radial-gradient(42rem 26rem at 0% 100%, rgb(246 223 234 / 0.8), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--plum-600);
}

.lead {
  font-size: 1.15rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust .icon {
  color: var(--teal-500);
}

.hero-media {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
  width: 100%;
  padding: 1.25rem 1.25rem 0;
}

/* forma em arco atrás da foto */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 0 2.5rem;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(160deg, var(--plum-100), var(--mint));
  z-index: 0;
}

.hero-photo {
  position: relative;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  border: 6px solid var(--surface);
}

.hero-photo picture {
  height: 100%;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* folhas flutuantes inspiradas na árvore do logo */
.leaf {
  position: absolute;
  z-index: 1;
  width: var(--s, 1.5rem);
  height: var(--s, 1.5rem);
  border-radius: 0 100% 0 100%;
  background: var(--c, var(--teal-500));
  opacity: 0.9;
  animation: leaf 7s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  pointer-events: none;
}

@keyframes leaf {
  50% {
    transform: translateY(-10px) rotate(12deg);
  }
}

.hero-badge {
  position: absolute;
  left: -0.5rem;
  bottom: 1.5rem;
  display: grid;
  padding: 0.85rem 1.2rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.35;
  animation: float 6s ease-in-out infinite;
}

.hero-badge strong {
  font-family: var(--font-title);
  color: var(--ink);
  font-size: 1.05rem;
}

.hero-badge span {
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Destaques ---------- */
.feature-grid {
  display: grid;
  gap: 1.25rem;
}

.feature {
  --accent: var(--teal-700);
  --tint: var(--teal-50);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature--rose {
  --accent: var(--rose-600);
  --tint: var(--rose-50);
}

.feature--sand {
  --accent: var(--sand-600);
  --tint: var(--sand-50);
}

.feature--teal {
  --accent: var(--teal-700);
  --tint: var(--teal-50);
}

.feature--green {
  --accent: var(--green-700);
  --tint: var(--green-50);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: var(--tint);
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}

.feature:hover .feature-icon {
  transform: rotate(-6deg) scale(1.06);
}

.feature-icon .icon {
  width: 1.8rem;
  height: 1.8rem;
}

.feature h3 {
  margin-bottom: 0.6rem;
}

.feature p {
  font-size: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 1.5rem;
}

.tags li {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent);
}

.feature-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.feature-link .icon {
  transition: transform 0.25s var(--ease);
}

.feature-link:hover .icon {
  transform: translateX(4px);
}

/* link cobre o card inteiro (área de clique maior) */
.feature-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.other-services {
  margin-top: 3rem;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--teal-50);
}

.other-services h3 {
  margin-bottom: 1.25rem;
}

.other-grid {
  display: grid;
  gap: 1.5rem;
}

.other {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.other > .icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border-radius: 0.8rem;
  background: var(--surface);
  color: var(--teal-700);
}

.other h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.other p {
  font-size: 0.975rem;
}

/* ---------- Por que terapia ---------- */
.why-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.why-grid h2 {
  margin-bottom: 1.25rem;
}

.reasons {
  display: grid;
  gap: 0.75rem;
}

.reasons li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-weight: 500;
  transition: transform 0.3s var(--ease);
}

.reasons li:hover {
  transform: translateX(6px);
}

.reasons .icon {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
}

.reasons .highlight {
  background: var(--rose-600);
  color: #fff;
}

.reasons .highlight .icon {
  background: rgb(255 255 255 / 0.2);
  color: #fff;
}

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.brand-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  max-width: 28rem;
  width: 100%;
  margin-inline: auto;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(20rem 14rem at 0% 100%, rgb(185 228 217 / 0.7), transparent 70%),
    linear-gradient(160deg, var(--plum-50), var(--teal-50));
  text-align: center;
  overflow: hidden;
}

.brand-panel .symbol {
  width: 9rem;
  filter: drop-shadow(0 12px 20px rgb(90 18 54 / 0.15));
}

.brand-panel blockquote {
  font: 700 1.25rem/1.4 var(--font-title);
  color: var(--plum-700);
  max-width: 20rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.stats li {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.stats strong {
  font: 800 1.05rem var(--font-title);
  color: var(--teal-700);
}

/* no celular, o texto vem antes do painel */
@media (max-width: 899px) {
  .about-text {
    order: -1;
  }
}

.about-text h2 {
  margin-bottom: 1.25rem;
}

.credentials {
  display: grid;
  gap: 0.6rem;
  margin: 1.75rem 0 2rem;
}

.credentials li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 500;
}

.credentials .icon {
  color: var(--teal-500);
}

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--plum-600);
  color: #fff;
  font: 800 1.25rem var(--font-title);
}

.step h3 {
  margin-bottom: 0.5rem;
}

/* ---------- Depoimentos (carrossel nativo) ---------- */
/* Carrossel com profundidade: o depoimento central fica em foco,
   os vizinhos ficam menores, atrás e desfocados (valores via JS: --d) */
.carousel {
  --slide-w: min(74vw, 26rem);
  position: relative;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--slide-w);
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2rem calc(50% - var(--slide-w) / 2) 2.5rem;
  scrollbar-width: none;
  /* bordas laterais se dissolvem no fundo */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  --d: 1;
  --dir: 0;
  position: relative;
  scroll-snap-align: center;
  transform:
    translateX(calc(var(--dir) * var(--d) * -18%))
    scale(calc(1 - var(--d) * 0.16));
  filter: blur(calc(var(--d) * 2.5px));
  opacity: calc(1 - var(--d) * 0.32);
  cursor: pointer;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.testimonial.is-active {
  cursor: default;
  box-shadow: var(--shadow-lg);
  border-color: var(--plum-100);
}

.testimonial .quote {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--plum-300);
  margin-bottom: 1rem;
}

.testimonial blockquote {
  flex: 1;
  color: var(--ink);
  font-size: 1.05rem;
}

.testimonial figcaption {
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--plum-600);
}

.testimonial figcaption::before {
  content: "— ";
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--teal-700);
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--teal-700);
  color: #fff;
}

.carousel-dots {
  display: flex;
  gap: 0.25rem;
}

.carousel-dots button {
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  padding: 0;
  background: none;
  display: grid;
  place-items: center;
}

.carousel-dots button::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--teal-300);
  transition: width 0.3s var(--ease), background 0.3s;
}

.carousel-dots button[aria-current="true"]::before {
  width: 1.4rem;
  background: var(--plum-600);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  gap: 2rem;
}

.faq-grid h2 {
  margin-bottom: 0.75rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq summary {
  position: relative;
  padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 1.25rem;
  line-height: 1;
  transition: rotate 0.3s var(--ease), background 0.3s;
}

.faq details[open] summary::after {
  rotate: 45deg;
  background: var(--plum-600);
  color: #fff;
}

.faq details p {
  padding: 0 1.35rem 1.25rem;
}

/* ---------- Contato ---------- */
.cta-card {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(30rem 20rem at 100% 0%, rgb(185 228 217 / 0.28), transparent 60%),
    linear-gradient(135deg, var(--plum-600), var(--plum-900));
  color: rgb(255 255 255 / 0.88);
  box-shadow: var(--shadow-lg);
}

.cta-card {
  position: relative;
  overflow: hidden;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card .watermark {
  position: absolute;
  z-index: 0;
  right: -2rem;
  bottom: -3rem;
  width: 16rem;
  opacity: 0.1;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.cta-card h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-card p {
  margin-bottom: 2rem;
  max-width: 30rem;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  align-content: center;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  overflow-wrap: anywhere;
}

.contact-list .icon {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.7rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
}

.contact-list a {
  color: #fff;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand img {
  width: 170px;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  width: fit-content;
}

.footer-links a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}

.social {
  display: flex;
  gap: 0.75rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}

.social a:hover {
  transform: translateY(-4px);
  background: var(--teal-700);
  color: #fff;
}

.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- Botões flutuantes ---------- */
.fab-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: #1f9e55;
  color: #fff;
  box-shadow: 0 10px 25px -8px rgb(31 158 85 / 0.7);
  transition: transform 0.3s var(--ease);
}

.fab-whatsapp .icon {
  width: 1.9rem;
  height: 1.9rem;
}

.fab-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1f9e55;
  z-index: -1;
  animation: pulse 2.6s ease-out infinite;
}

.fab-whatsapp:hover {
  transform: scale(1.08);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  80%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.back-to-top {
  position: fixed;
  right: 1.75rem;
  bottom: 5.75rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--teal-700);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- Modal ---------- */
.dialog {
  width: min(100% - 2rem, 38rem);
  max-height: min(90vh, 40rem);
  margin: auto;
  padding: 2.5rem 2rem 2rem;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.dialog[open] {
  animation: pop 0.35s var(--ease);
}

.dialog::backdrop {
  background: rgb(90 18 54 / 0.45);
  backdrop-filter: blur(4px);
}

.dialog h2 {
  margin-bottom: 1rem;
}

.dialog .btn {
  margin-top: 1.75rem;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.97);
  }
}

/* ---------- Animações de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal-left {
  transform: translateX(-40px);
}

.js .reveal-right {
  transform: translateX(40px);
}

.js .reveal-zoom {
  transform: scale(0.94);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Efeitos de rolagem ---------- */

/* barra de progresso de leitura no topo */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 150;
  height: 3px;
  background: linear-gradient(90deg, var(--plum-600), var(--teal-500));
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}

/* header encolhe ao rolar */
.site-header {
  transition: box-shadow 0.3s, border-color 0.3s, height 0.35s var(--ease);
}

.site-header.is-scrolled {
  height: calc(var(--header-h) - 0.75rem);
}

.nav-logo img {
  transition: width 0.35s var(--ease);
}

.site-header.is-scrolled .nav-logo img {
  width: 130px;
}

/* parallax suave (o deslocamento vem do JS) */
[data-parallax] {
  translate: 0 var(--parallax, 0px);
}

/* linha que "desenha" ligando os passos */
.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 3.4rem;
  left: 3.25rem;
  right: calc((100% - 2.5rem) / 3 - 3.25rem);
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--plum-300), var(--teal-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease) 0.3s;
  display: none;
}

.steps.is-drawn::before {
  transform: scaleX(1);
}

.step {
  z-index: 1;
}

.step-num {
  position: relative;
  z-index: 3;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.step:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 0 0 8px var(--plum-50);
}

/* ---------- Efeitos de hover ---------- */

/* brilho que atravessa o botão */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after,
.btn-light::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}

.btn-primary:hover::after,
.btn-light:hover::after {
  transform: translateX(120%);
}

.btn .icon {
  transition: transform 0.3s var(--ease);
}

.btn-ghost:hover .icon {
  transform: translateX(4px);
}

/* foto: inclinação 3D + zoom suave */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}

.hero-photo img {
  transition: transform 1.2s var(--ease);
}

.hero-photo:hover img {
  transform: scale(1.05);
}

.hero-badge {
  z-index: 2;
}

/* cards de destaque: luz que segue o mouse */
.feature[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature[data-spotlight]:hover::after {
  opacity: 1;
}

.feature:hover h3 {
  color: var(--accent);
}

.feature h3 {
  transition: color 0.3s;
}

/* outros cards */
.step,
.faq details,
.other {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.testimonial:not(.is-active):hover {
  filter: blur(calc(var(--d) * 1px));
  opacity: calc(1 - var(--d) * 0.25);
}

.faq details:hover {
  box-shadow: var(--shadow);
}

.faq summary {
  transition: color 0.25s;
}

.faq summary:hover {
  color: var(--plum-600);
}

.other:hover {
  transform: translateX(4px);
}

.stats li {
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.stats li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-list .icon {
  transition: background 0.3s, transform 0.3s var(--ease);
}

.contact-list li:hover .icon {
  background: rgb(255 255 255 / 0.25);
  transform: scale(1.08);
}

.reasons li:hover .icon {
  background: var(--plum-600);
  color: #fff;
}

.reasons .icon {
  transition: background 0.3s, color 0.3s;
}

/* ---------- Responsivo ---------- */
@media (min-width: 640px) {
  .feature-grid,
  .other-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel {
    --slide-w: min(70vw, 28rem);
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }

  .hero {
    min-height: min(100vh, 52rem);
    display: grid;
    align-items: center;
  }

  .why-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }

  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }

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

  .steps::before {
    display: block;
  }

  .cta-card {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 5rem;
  }

  .nav-logo img {
    width: 170px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    gap: 2rem;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-menu ul {
    display: flex;
    gap: 1.75rem;
  }

  .nav-menu ul a {
    font: 500 0.975rem var(--font-body);
    color: var(--text);
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .carousel {
    --slide-w: 30rem;
  }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .testimonial {
    filter: none !important;
  }

  [data-parallax],
  [data-tilt] {
    translate: none;
    transform: none;
  }
}
