/* ===================================================
   SAMARA MENEZES — Psicologia & Neuropsicologia
   Design system: Lora + Lato · Sage · Bege · Rosê
=================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Lato', sans-serif;
  color: #4A4039;
  background: #FAFAFA;
  overflow-x: hidden;
  max-width: 100vw;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
svg, video { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- TOKENS ---------- */
:root {
  --sage:      #A3B18A;
  --sage-dark: #7A9065;
  --beige:     #E8DCC4;
  --beige-dark:#CFC5AA;
  --rose:      #CBA3A6;
  --rose-dark: #B08487;
  --slate:     #A8B5C2;
  --warm-brown:#A06A58;
  --off-white: #FAFAFA;
  --text:      #4A4039;
  --text-light:#7A7068;
  --white:     #FFFFFF;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;

  --shadow-sm:  0 2px 8px rgba(74,64,57,.06);
  --shadow-md:  0 8px 32px rgba(74,64,57,.10);
  --shadow-lg:  0 20px 60px rgba(74,64,57,.14);

  --nav-h: 72px;
  --transition: .35s cubic-bezier(.25,.1,.25,1);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  line-height: 1.2;
  font-weight: 500;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
}

em { font-style: italic; color: var(--rose-dark); }

.section-eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}
.section-eyebrow.light { color: rgba(255,255,255,.65); }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { font-size: 1.05rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(74,64,57,.25);
}
.btn-ghost:hover { border-color: var(--text); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--beige-dark);
}
.btn-outline:hover { border-color: var(--sage); color: var(--sage-dark); }

.btn-warm {
  background: var(--warm-brown);
  color: var(--white);
}
.btn-warm:hover { background: #8A5A49; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-light {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: rgba(255,255,255,.25); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.btn-whatsapp:hover { background: #1EB858; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.45); }
.btn-whatsapp.disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.btn-whatsapp.disabled:hover { transform: none; }

.btn-sm { padding: .65rem 1.4rem; font-size: .85rem; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(74,64,57,.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}
.logo-sub { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .88rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color var(--transition);
  letter-spacing: .03em;
}
.nav-link:hover { color: var(--text); }
.nav-cta {
  background: var(--sage);
  color: var(--white) !important;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .82rem;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--sage-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('hero_bg.png');
  background-size: cover;
  background-position: left center;
  background-attachment: scroll;
  padding: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem)) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(250,247,242,.93) 0%,
    rgba(232,220,196,.7) 50%,
    rgba(163,177,138,.2) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-left: clamp(0px, calc((100vw - 1200px)/2), 4rem);
}
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 1.5rem;
}
.hero-headline {
  margin-bottom: 1.5rem;
  color: var(--text);
  max-width: 640px;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  color: var(--text-light);
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.hero-scroll-hint span {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--sage), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 1; }
}

/* ---------- ABOUT ---------- */
.about {
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1rem, 3vw, 2rem);
  background: var(--beige);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}
.about-photo { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 220px;
}
.badge-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-badge p { font-size: .78rem; line-height: 1.4; color: var(--text-light); }

.about-text h2 { margin-bottom: 1.25rem; }
.about-lead { font-size: 1.15rem; color: var(--text); margin-bottom: 1.5rem; }
.about-text p + p { margin-top: 1rem; }
.about-text .btn { margin-top: 2rem; }

/* ---------- SERVICES ---------- */
.services {
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1rem, 3vw, 2rem);
  background: var(--off-white);
}
.services-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-accent {
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  border-radius: 4px 0 0 4px;
}
.accent-rose { background: var(--rose); }
.accent-green { background: var(--sage); }

.service-card--featured {
  background: linear-gradient(145deg, #fff 0%, #F0EDE6 100%);
  border: 1.5px solid var(--beige-dark);
}
.service-badge {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--beige);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--sage-dark);
}
.service-card h3 { margin-bottom: .25rem; }
.service-tagline {
  font-size: .82rem;
  color: var(--rose-dark);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.service-card p { margin-bottom: 1.25rem; }
.service-list {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.service-list li {
  font-size: .88rem;
  color: var(--text-light);
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .6rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- PROCESS ---------- */
.process {
  background: linear-gradient(135deg, var(--beige) 0%, #F5EEE0 100%);
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 3vw, 2rem);
}
.process .section-header { margin-bottom: 3.5rem; }
.process-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}
.step-number {
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--beige-dark);
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h4 { margin-bottom: .5rem; font-size: .95rem; }
.process-step p { font-size: .85rem; }
.process-line {
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: var(--beige-dark);
  margin-top: 2.4rem;
}

/* ---------- TEAM ---------- */
.team {
  background: var(--slate);
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1rem, 3vw, 2rem);
}
.team-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.team-text h2 { color: var(--white); margin-bottom: 1.5rem; }
.team-text p { color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.team-text .btn { margin-top: 1rem; }

.team-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.team-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  flex: 1;
  transition: background var(--transition);
}
.team-card:hover { background: rgba(255,255,255,.2); }
.team-card--main {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.45);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.team-avatar {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: rgba(255,255,255,.8);
}
.team-role { font-size: .78rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.team-tag {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 50px;
  margin-top: .5rem;
}
.team-note {
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

/* ---------- PROFESSIONALS ---------- */
.professionals {
  background: var(--warm-brown);
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
}
.professionals-inner { max-width: 760px; margin: 0 auto; }
.professionals .section-eyebrow { color: rgba(255,255,255,.65); }
.professionals h2 { color: var(--white); margin-bottom: 1.25rem; }
.professionals > .professionals-inner > p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.pro-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pro-feature {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  transition: background var(--transition);
}
.pro-feature:hover { background: rgba(255,255,255,.2); }
.pro-icon { font-size: 1.8rem; display: block; margin-bottom: .75rem; }
.pro-feature h4 { color: var(--white); margin-bottom: .5rem; font-size: .9rem; }
.pro-feature p { font-size: .82rem; color: rgba(255,255,255,.65); }
.pro-disclaimer {
  margin-top: 1.25rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ---------- BLOG ---------- */
.blog {
  background: var(--off-white);
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1rem, 3vw, 2rem);
}
.blog-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--beige);
  color: var(--text-light);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 50px;
}
.blog-card h4 { color: var(--text); line-height: 1.35; }
.blog-card p { font-size: .88rem; flex: 1; }
.blog-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--sage-dark);
  letter-spacing: .04em;
  transition: color var(--transition);
  align-self: flex-start;
}
.blog-link:hover { color: var(--text); }

/* ---------- CONTACT ---------- */
.contact {
  background: var(--beige);
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--beige-dark);
}
.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner h2 { margin-bottom: 2.5rem; }

.contact-rules {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}
.contact-rules h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  color: var(--text);
}
.rules-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.rule-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.rule-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--beige);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--sage-dark);
}
.rule-item p { font-size: .9rem; }

.rules-check {
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 1.25rem;
  border-top: 1px solid var(--beige);
  user-select: none;
}
.rules-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkmark {
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid var(--beige-dark);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.rules-check input:checked ~ .checkmark {
  background: var(--sage);
  border-color: var(--sage);
}
.checkmark::after {
  content: '';
  width: 5px; height: 10px;
  border: 2px solid var(--white);
  border-top: 0; border-left: 0;
  transform: rotate(45deg) scale(0);
  transition: transform .2s ease;
  margin-top: -2px;
}
.rules-check input:checked ~ .checkmark::after { transform: rotate(45deg) scale(1); }

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.contact-note { font-size: .82rem; color: var(--text-light); }

/* ---------- FOOTER ---------- */
.footer {
  background: #2E2820;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2rem);
  color: var(--white);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-name {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .25rem;
}
.footer-tagline { font-size: .75rem; color: rgba(255,255,255,.45); letter-spacing: .1em; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-legal { text-align: right; }
.footer-legal p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-crp { margin-top: .35rem; font-size: .72rem; }

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  animation: fadeUp 1.2s cubic-bezier(.25,.1,.25,1) forwards;
  animation-delay: .15s;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- INNER PAGES HEADER ---------- */
.inner-hero {
  position: relative;
  background-color: var(--beige);
  padding: calc(var(--nav-h) + clamp(2rem, 6vw, 4rem)) clamp(1rem, 3vw, 2rem) clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}
.inner-hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.inner-hero h1 {
  margin-bottom: 1rem;
}
.inner-hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- TEXT PAGES CONTENT ---------- */
.text-page-content {
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
  background: var(--off-white);
}
.text-page-inner {
  max-width: 800px;
  margin: 0 auto;
}
.text-page-inner h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.text-page-inner h3 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  color: var(--sage-dark);
}
.text-page-inner p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.text-page-inner ul {
  margin-bottom: 2rem;
  padding-left: 1rem;
}
.text-page-inner li {
  margin-bottom: .75rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-light);
}
.text-page-inner li::before {
  content: '';
  position: absolute;
  left: 0; top: .6rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.text-page-action {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--beige-dark);
  text-align: center;
}

/* ---------- ANIMATED ICONS ---------- */
.animated-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}
.animated-wireframe {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.reveal.visible .animated-wireframe,
.play-anim .animated-wireframe {
  animation: drawWireframe 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes drawWireframe {
  to { stroke-dashoffset: 0; }
}

/* ---------- TWO-COLUMN SPLIT LAYOUT ---------- */
.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .content-split {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.content-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 4rem);
  aspect-ratio: 1;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.content-visual .animated-icon {
  width: 100%;
  height: 100%;
  max-width: 250px;
  color: var(--sage-dark);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 4rem; }
  .about-photo-frame { max-width: 420px; margin: 0 auto; }
  .team-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  /* Safety net — prevent any horizontal overflow */
  html, body { overflow-x: hidden; max-width: 100%; }
  body { overflow-wrap: break-word; word-wrap: break-word; }
  img, svg, video { max-width: 100%; height: auto; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }

  /* Buttons: allow wrap on narrow widths */
  .btn { white-space: normal; text-align: center; line-height: 1.3; }

  /* Navbar */
  .nav-inner { padding: 0 1.25rem; }
  .logo-name { font-size: 1rem; }
  .logo-sub { font-size: .6rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(250,248,245,.97); padding: 1.5rem 1.5rem 2rem; gap: 1.25rem; box-shadow: 0 8px 32px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  /* Section paddings — tighter on mobile */
  .about,
  .services,
  .process,
  .team,
  .professionals,
  .blog,
  .contact { padding: 4.5rem 1.25rem; }

  /* Section header */
  .section-header { margin: 0 auto 2.5rem; }
  .section-header p { font-size: .98rem; }

  /* HERO ----- */
  .hero {
    padding: calc(var(--nav-h) + 2.5rem) 1.25rem 4rem;
    min-height: 88vh;
    background-image: url('https://imagens.keelon.com.br/wp-content/uploads/2026/04/Instagram20story20-2061_converted.webp') !important;
    background-position: center center !important;
  }
  .hero::after { display: none; }
  .hero-content { padding-left: 0; max-width: 100%; }
  .hero-headline { font-size: 2rem; line-height: 1.25; }
  .hero-sub { font-size: 1rem; margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .75rem; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-scroll-hint { display: none; }

  /* INNER HERO */
  .inner-hero { padding: calc(var(--nav-h) + 2.5rem) 1.25rem 3rem; }
  .inner-hero h1 { font-size: 1.9rem; }
  .inner-hero p { font-size: 1rem; }

  /* TEXT PAGES */
  .text-page-content { padding: 3rem 1.25rem; }
  .text-page-inner h2 { margin-top: 2rem; }
  .text-page-inner p { font-size: 1rem; }
  .text-page-action { margin-top: 2.5rem; padding-top: 1.5rem; }
  .text-page-action > div[style*="flex"] { flex-direction: column; gap: .75rem !important; }
  .text-page-action > div[style*="flex"] .btn { width: 100%; justify-content: center; }

  /* ABOUT */
  .about-inner { gap: 2.5rem; }
  .about-photo-frame { max-width: 300px; }
  .about-badge { right: .5rem; bottom: -1rem; padding: .75rem 1rem; max-width: 190px; }
  .about-badge p { font-size: .72rem; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-card { padding: 1.75rem 1.5rem; }
  .service-card h3 { font-size: 1.2rem; }

  /* PROCESS */
  .process .section-header { margin-bottom: 2.5rem; }
  .process-steps { flex-direction: column; align-items: center; gap: 1rem; }
  .process-step { padding: 0; max-width: 320px; }
  .process-line { width: 1px; height: 28px; }

  /* TEAM */
  .team-inner { gap: 2rem; }
  .team-cards { flex-direction: column; gap: .75rem; }
  .team-card { padding: 1.25rem 1rem; }
  .team-card--main { transform: none; }

  /* PROFESSIONALS */
  .pro-features { grid-template-columns: 1fr; gap: 1rem; }
  .pro-feature { padding: 1.5rem 1.25rem; }

  /* BLOG */
  .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-card { padding: 1.75rem 1.5rem; }

  /* CONTACT */
  .contact-rules { padding: 1.75rem 1.25rem; }
  .contact-rules h3 { font-size: 1rem; }
  .rule-item { gap: .75rem; }
  .rule-item p { font-size: .88rem; line-height: 1.6; }
  .rules-check { font-size: .85rem; line-height: 1.5; align-items: flex-start; }

  /* CONTENT SPLIT (projeto, psicoterapia, avaliacao, profissionais) */
  .content-split { gap: 2.5rem; padding: 0 !important; }
  .content-visual {
    padding: 2rem;
    aspect-ratio: auto;
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
  }
  .content-visual .animated-icon { max-width: 140px; max-height: 140px; }

  /* Override inline padding on pages that use content-split */
  .team .content-split,
  .professionals .content-split { padding: 0 !important; }
  .professionals-inner { padding: 0 !important; }

  /* Override inline padding-top/bottom on section wrappers */
  .professionals[style],
  .contact[style] {
    padding-top: calc(var(--nav-h) + 2.5rem) !important;
    padding-bottom: 4.5rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .blog[style] {
    padding-top: 3rem !important;
    padding-bottom: 4.5rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .text-page-content[style] {
    padding-bottom: 4rem !important;
  }

  /* FOOTER */
  .footer { padding: 2.5rem 1.25rem; }
  .footer-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .footer-legal { text-align: center; }
  .footer-links { justify-content: center; gap: 1rem; }

  /* Hero readability overlay on mobile (image backgrounds can be busy) */
  .hero-overlay {
    display: block !important;
    background: linear-gradient(
      180deg,
      rgba(250,247,242,.55) 0%,
      rgba(232,220,196,.35) 60%,
      rgba(250,247,242,.15) 100%
    ) !important;
  }

  /* Team note wraps gracefully */
  .team-note {
    flex-wrap: wrap;
    font-size: .78rem !important;
  }

  /* Contact action full width */
  .contact-action { width: 100%; }
  .contact-action .btn { width: 100%; justify-content: center; max-width: 380px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }

  .btn { padding: .75rem 1.25rem; font-size: .85rem; }
  .btn-whatsapp { padding: .9rem 1.5rem; font-size: .95rem; width: 100%; justify-content: center; }

  .hero-headline { font-size: 1.75rem; }
  .inner-hero h1 { font-size: 1.7rem; }

  .about-photo-frame { max-width: 260px; }
  .about-badge {
    position: static;
    margin: 1.25rem auto 0;
    right: auto; bottom: auto;
    max-width: 260px;
  }

  .contact-rules { padding: 1.5rem 1rem; }
  .contact-rules h3 { font-size: .95rem; }

  .service-card,
  .blog-card,
  .pro-feature { padding: 1.5rem 1.25rem; }

  .content-visual { max-width: 200px; padding: 1.5rem; }
  .content-visual .animated-icon { max-width: 110px; max-height: 110px; }

  .footer-links { flex-direction: column; gap: .75rem; }
}
