/* ============================================================
   Rosane Nascimento — Psicóloga Clínica & Neuropsicóloga
   Design system: "clínica acolhedora" — verde oliva + script serifado
   Desenvolvido por GNR Tech — https://thegnrtech.com.br
   ============================================================ */

:root {
  /* --- Paleta --- */
  --olive-950: #262f1c;
  --olive-800: #3d4a2e;
  --olive-700: #4a5a38;
  --olive-500: #6b7a54;
  --sage-300: #a9b490;
  --sage-200: #cdd4bd;
  --cream-50: #f8f4ea;
  --cream-100: #f1ead8;
  --ink: #2a2b1f;
  --ink-soft: #4d5142;
  --terracotta: #b08968;
  --terracotta-dark: #8c6239;
  --gold: #a9793f;
  --white: #ffffff;

  /* --- Tipografia --- */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  /* --- Espaçamento / escala --- */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 50px -25px rgba(38, 47, 28, 0.35);
  --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: inherit;
}

h2.section-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
  max-width: 720px;
}

p.lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(182, 87, 63, 0.65);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(182, 87, 63, 0.75);
}

.btn-outline {
  border: 1.5px solid currentColor;
  color: var(--cream-50);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-outline.dark {
  color: var(--olive-800);
}
.btn-outline.dark:hover {
  background: rgba(61, 74, 46, 0.08);
}

/* ============ PRELOADER ============ */
.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;
}

body.is-loading {
  overflow: hidden;
  height: 100vh;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    120% 100% at 50% 30%,
    var(--olive-700) 0%,
    var(--olive-800) 45%,
    var(--olive-950) 100%
  );
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-brain {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 30px;
}

.preloader-brain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.18;
  filter: blur(5px) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
  transform: scale(0.92);
  animation: brainAwaken 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.5s;
}

@keyframes brainAwaken {
  to {
    opacity: 1;
    filter: blur(0) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
    transform: scale(1);
  }
}

.pl-butterfly {
  position: absolute;
  width: 30px;
  opacity: 0;
  will-change: transform, opacity;
}

.pl-butterfly-1 {
  top: 20%;
  left: 14%;
  animation: flyIn1 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.3s;
}
.pl-butterfly-2 {
  top: 12%;
  left: 62%;
  animation: flyIn2 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.6s;
}
.pl-butterfly-3 {
  top: 58%;
  left: 40%;
  animation: flyIn3 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.9s;
}

@keyframes flyIn1 {
  0% {
    opacity: 0;
    transform: translate(-130px, -110px) rotate(-45deg) scale(1);
  }
  18% {
    opacity: 1;
  }
  55% {
    transform: translate(-55px, -50px) rotate(-18deg) scale(0.85);
  }
  82% {
    transform: translate(-6px, 4px) rotate(6deg) scale(0.62);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(0.55);
  }
}

@keyframes flyIn2 {
  0% {
    opacity: 0;
    transform: translate(140px, -120px) rotate(50deg) scale(1);
  }
  18% {
    opacity: 1;
  }
  55% {
    transform: translate(60px, -55px) rotate(20deg) scale(0.82);
  }
  82% {
    transform: translate(6px, 4px) rotate(-6deg) scale(0.58);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(0.5);
  }
}

@keyframes flyIn3 {
  0% {
    opacity: 0;
    transform: translate(10px, 130px) rotate(15deg) scale(1);
  }
  18% {
    opacity: 1;
  }
  55% {
    transform: translate(4px, 55px) rotate(6deg) scale(0.85);
  }
  82% {
    transform: translate(-2px, -6px) rotate(-4deg) scale(0.65);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(0.58);
  }
}

.pl-wings {
  width: 100%;
  display: block;
  transform-origin: 50% 50%;
  animation: plFlutter 1.5s ease-in-out infinite;
}

.pl-butterfly-2 .pl-wings {
  animation-duration: 1.7s;
  animation-delay: 0.15s;
}
.pl-butterfly-3 .pl-wings {
  animation-duration: 1.35s;
  animation-delay: 0.3s;
}

@keyframes plFlutter {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.72);
  }
}

.preloader-word {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--cream-50);
  opacity: 0;
  transform: translateY(10px);
  animation: wordReveal 0.9s ease forwards;
  animation-delay: 2.15s;
}

.preloader-word .script {
  color: var(--sage-200);
}

@keyframes wordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preloader-loading {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  opacity: 0;
  animation: wordReveal 0.6s ease forwards;
  animation-delay: 2.4s;
}

.preloader-loading span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: dotPulse 1.2s ease-in-out infinite;
}

.preloader-loading span:nth-child(2) {
  animation-delay: 0.18s;
  background: var(--gold);
}
.preloader-loading span:nth-child(3) {
  animation-delay: 0.36s;
  background: var(--sage-300);
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(0.7);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .preloader-brain {
    width: 128px;
    height: 128px;
  }
  .preloader-word {
    font-size: 1.4rem;
  }
}

/* ============ PROGRESS BAR ============ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  z-index: 1200;
  transition: width 0.1s linear;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 18px 0;
  transition:
    background var(--transition),
    padding var(--transition),
    box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(248, 244, 234, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 8px 24px -18px rgba(38, 47, 28, 0.4);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 42px;
  width: auto;
  transition: opacity var(--transition);
}

.logo-dark {
  opacity: 0;
}

.navbar.scrolled .logo-light {
  opacity: 0;
}
.navbar.scrolled .logo-dark {
  opacity: 1;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream-50);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.navbar.scrolled .nav-logo-text {
  color: var(--olive-800);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--cream-100);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--ink-soft);
}
.navbar.scrolled .nav-links a.nav-cta {
  color: var(--white);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 13px 28px !important;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1200;
}

.hamburger span {
  height: 2px;
  width: 100%;
  background: var(--cream-50);
  transition:
    transform var(--transition),
    opacity var(--transition),
    background var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--olive-800);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(
    120% 100% at 85% 0%,
    var(--olive-700) 0%,
    var(--olive-800) 45%,
    var(--olive-950) 100%
  );
  color: var(--cream-50);
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 80px;
}

.hero-watermark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  max-width: 60vw;
  opacity: 0.08;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--sage-200);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero h1 .script {
  font-size: 1.08em;
  color: var(--sage-200);
  display: inline-block;
}

.hero p.lede {
  color: var(--cream-100);
  margin-top: 28px;
  font-size: 1.15rem;
  max-width: 50ch;
  opacity: 0.9;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-note {
  margin-top: 54px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--sage-200);
  font-size: 0.85rem;
}

.hero-note .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: breathe 3.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sage-200);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-cue .line {
  width: 34px;
  height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--terracotta);
  animation: line-slide 2.4s ease-in-out infinite;
}
@keyframes line-slide {
  0% {
    left: -100%;
  }
  50% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

/* ============ Butterfly signature motif ============ */
.butterfly {
  position: absolute;
  width: 30px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.4s ease;
  z-index: 3;
}

.butterfly.in-view {
  opacity: 0.85;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.in-view {
  transition-delay: 0.12s;
}
.reveal-delay-2.in-view {
  transition-delay: 0.24s;
}
.reveal-delay-3.in-view {
  transition-delay: 0.36s;
}
.reveal-delay-4.in-view {
  transition-delay: 0.48s;
}

/* ============ SECTION generic ============ */
section {
  position: relative;
  padding: 120px 0;
}
.section-cream {
  background: var(--cream-50);
}
.section-cream-alt {
  background: var(--cream-100);
}
.section-olive {
  background: var(--olive-800);
  color: var(--cream-50);
}
.section-olive-dark {
  background: var(--olive-950);
  color: var(--cream-50);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.section-olive .eyebrow,
.section-olive-dark .eyebrow {
  color: var(--sage-200);
}
.section-cream .eyebrow,
.section-cream-alt .eyebrow {
  color: var(--olive-700);
}

/* ============ SOBRE ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  aspect-ratio: 4/5;
}

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

.about-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: var(--olive-800);
  color: var(--cream-50);
  padding: 20px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  max-width: 220px;
}

.about-badge .script {
  font-size: 1.5rem;
  display: block;
  color: var(--sage-200);
}
.about-badge small {
  font-size: 0.72rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
}

.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: var(--olive-800);
  line-height: 1.35;
  margin: 30px 0 26px;
}

.about-body p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 58ch;
}

.about-credentials {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.credential {
  border-left: 2px solid var(--terracotta);
  padding-left: 16px;
}

.credential strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--olive-800);
}
.credential span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ============ FORMAÇÃO ACADÊMICA ============ */
.formacao-list {
  border-top: 1px solid rgba(248, 244, 234, 0.16);
}

.formacao-row {
  display: grid;
  grid-template-columns: 84px minmax(230px, 300px) 1fr;
  grid-template-areas: "mark heading desc";
  align-items: start;
  gap: 12px 40px;
  padding: 34px 4px;
  border-bottom: 1px solid rgba(248, 244, 234, 0.16);
  transition:
    padding-left var(--transition),
    border-color var(--transition);
}

.formacao-row:hover {
  padding-left: 18px;
  border-color: rgba(248, 244, 234, 0.32);
}

.formacao-mark {
  grid-area: mark;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2.1rem;
  color: var(--sage-300);
  opacity: 0.8;
  line-height: 1;
  padding-top: 4px;
}

.formacao-heading {
  grid-area: heading;
}

.formacao-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.formacao-heading h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--cream-50);
}

.formacao-desc {
  grid-area: desc;
  color: var(--sage-200);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 48ch;
  opacity: 0.9;
  padding-top: 6px;
}

@media (max-width: 860px) {
  .formacao-row {
    grid-template-columns: 84px 1fr;
    grid-template-areas:
      "mark heading"
      ".    desc";
    row-gap: 10px;
  }
  .formacao-desc {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .formacao-row {
    grid-template-columns: 44px 1fr;
    padding: 26px 4px;
    gap: 10px 14px;
  }
  .formacao-mark {
    font-size: 1.5rem;
  }
}

/* ============ SERVIÇOS ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 42px 34px;
  border: 1px solid rgba(61, 74, 46, 0.08);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cream-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--terracotta);
  font-size: 1.3rem;
}

.service-card.featured .service-icon {
  background: rgba(169, 121, 63, 0.14);
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--olive-800);
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.service-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 12px;
}

/* ============ EBOOKS ============ */
.ebooks-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.ebooks-intro .script {
  font-size: 2.6rem;
  color: var(--sage-200);
  display: block;
  margin-top: 8px;
}

.ebook-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ebook-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(248, 244, 234, 0.06);
  border: 1px solid rgba(248, 244, 234, 0.14);
  border-radius: var(--radius-md);
  padding: 22px;
  transition:
    background var(--transition),
    transform var(--transition);
}

.ebook-card:hover {
  background: rgba(248, 244, 234, 0.11);
  transform: translateX(6px);
}

.ebook-thumb {
  width: 72px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(248, 244, 234, 0.14);
}

.ebook-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition);
}

.ebook-card:hover .ebook-thumb img {
  transform: scale(1.06);
}

.ebook-info {
  flex: 1;
}
.ebook-info h4 {
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--cream-50);
}
.ebook-info p {
  font-size: 0.85rem;
  color: var(--sage-200);
}

.ebook-download {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(248, 244, 234, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-50);
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.ebook-card:hover .ebook-download {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: scale(1.08);
}

/* ============ DEPOIMENTOS marquee ============ */
.marquee-outer {
  overflow: hidden;
  position: relative;
  margin-top: 20px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.marquee-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-outer:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  width: 380px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px;
  border: 1px solid rgba(61, 74, 46, 0.08);
  flex-shrink: 0;
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 22px;
  line-height: 1.55;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--olive-800);
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--olive-800);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(61, 74, 46, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--olive-800);
  gap: 24px;
}

.faq-question .icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--olive-500);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    transform var(--transition),
    background var(--transition);
}

.faq-question .icon::before,
.faq-question .icon::after {
  content: "";
  position: absolute;
  background: var(--olive-800);
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.faq-question .icon::before {
  width: 11px;
  height: 1.4px;
}
.faq-question .icon::after {
  width: 1.4px;
  height: 11px;
}

.faq-item.active .faq-question .icon {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.faq-item.active .faq-question .icon::before,
.faq-item.active .faq-question .icon::after {
  background: var(--cream-50);
}
.faq-item.active .faq-question .icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer-inner {
  padding: 0 4px 28px;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ============ LOCALIZAÇÃO ============ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-soft);
  filter: sepia(8%) saturate(85%);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(61, 74, 46, 0.12);
}

.location-item:first-of-type {
  padding-top: 0;
}

.location-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-item strong {
  display: block;
  color: var(--olive-800);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.location-item span,
.location-item a {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ============ CTA FINAL ============ */
.cta-final {
  text-align: center;
  padding: 150px 0;
}

.cta-final h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  max-width: 780px;
  margin: 0 auto 30px;
}

.cta-final p.lede {
  margin: 0 auto 46px;
  text-align: center;
  max-width: 50ch;
  color: var(--cream-100);
  opacity: 0.85;
}

.cta-final .hero-actions {
  justify-content: center;
}

/* ============ FOOTER ============ */
footer {
  background: var(--olive-950);
  color: var(--sage-200);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(248, 244, 234, 0.1);
}

.footer-brand img {
  height: 46px;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 32ch;
  opacity: 0.75;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(248, 244, 234, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    border-color var(--transition);
}
.footer-social a:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.footer-col h4 {
  color: var(--cream-50);
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  opacity: 0.8;
}
.footer-col ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.7rem;
  z-index: 1000;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.65);
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* ============ MOBILE MENU ============ */
@media (max-width: 960px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--olive-950);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    color: var(--cream-50);
    font-size: 1.1rem;
  }
  .navbar.scrolled .nav-links a {
    color: var(--cream-50);
  }
  .navbar.scrolled .nav-links a.nav-cta {
    color: var(--white);
  }
  .nav-cta {
    margin-top: 10px;
  }

  .about-grid,
  .ebooks-wrap,
  .location-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-badge {
    bottom: -22px;
    left: 0;
    z-index: 2;
  }
}

@media (max-width: 960px) {
  .hero .butterfly {
    display: none;
  }
}

/* ============ TABLET (~768–960px) ============ */
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .location-grid {
    gap: 36px;
  }
  .about-grid {
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  section {
    padding: 80px 0;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-watermark {
    opacity: 0.06;
    width: 420px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-card {
    width: 300px;
  }
  .cta-final {
    padding: 90px 0;
  }
  .service-card {
    padding: 34px 26px;
  }
  .ebook-card {
    padding: 18px;
    gap: 16px;
  }
  .location-item {
    gap: 14px;
    padding: 18px 0;
  }
}

/* ============ TELAS PEQUENAS (≤480px) ============ */
@media (max-width: 480px) {
  .hero-actions,
  .cta-final .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .cta-final .btn {
    justify-content: center;
    width: 100%;
  }
  .btn {
    padding: 14px 22px;
    font-size: 0.9rem;
  }
  .about-badge {
    max-width: 168px;
    padding: 16px 18px;
  }
  .about-badge .script {
    font-size: 1.25rem;
  }
  .ebook-thumb {
    width: 56px;
    height: 74px;
  }
  .ebook-card {
    flex-wrap: wrap;
  }
  .testimonial-card {
    width: 84vw;
    padding: 26px;
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.45rem;
    bottom: 18px;
    right: 18px;
  }
  .location-item .icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .faq-question {
    font-size: 1.08rem;
    gap: 16px;
  }
  .about-photo-frame {
    aspect-ratio: 3/4;
  }
}

/* ============ TELAS MUITO PEQUENAS (≤360px) ============ */
@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }
  .hero h1 {
    font-size: 2.15rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .nav-logo-text {
    font-size: 1rem;
  }
  .nav-logo-icon {
    width: 34px;
    height: 34px;
  }
  .logo-img {
    height: 34px;
  }
  .about-badge {
    max-width: 140px;
    padding: 14px 16px;
  }
}

/* ============ LANDSCAPE MOBILE (telas baixas) ============ */
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .preloader-brain {
    width: 110px;
    height: 110px;
  }
  .scroll-cue {
    display: none;
  }
}
