/* ========================================================
   Amanda Calvetti Corrêa — Psicóloga & Psicanalista
   ======================================================== */

:root {
  --vinho: #6d1b3a;
  --vinho-escuro: #4c1229;
  --vinho-claro: #8f2c4d;
  --petroleo: #2e5f63;
  --petroleo-claro: #3f7d81;
  --bege: #f4ede3;
  --bege-claro: #faf6ef;
  --creme: #fffdf9;
  --dourado: #b3854f;
  --carvao: #2b2320;
  --texto-suave: #5c5049;
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --transicao: 0.5s cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--carvao);
  background: var(--creme);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, cite {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--vinho-escuro);
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--petroleo);
  margin-bottom: 14px;
}

.section { padding: 130px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.h2-accent { color: var(--petroleo); }

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--vinho), var(--dourado));
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(.22,.61,.36,1), transform 0.9s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--vinho);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(109,27,58,0.55);
}
.btn-primary:hover { background: var(--vinho-escuro); transform: translateY(-3px); box-shadow: 0 16px 34px -12px rgba(109,27,58,0.6); }
.btn-ghost {
  background: transparent;
  color: var(--vinho-escuro);
  border: 1.5px solid rgba(109,27,58,0.35);
}
.btn-ghost:hover { border-color: var(--vinho); background: rgba(109,27,58,0.06); transform: translateY(-3px); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-3px); }
.btn-small { padding: 12px 24px; font-size: 0.85rem; }
.btn-large { padding: 20px 46px; font-size: 1.05rem; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transicao), padding var(--transicao), box-shadow var(--transicao);
}
.site-header.scrolled {
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(43,35,32,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: auto; filter: brightness(0) saturate(100%); opacity: 0.85; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--vinho-escuro);
  letter-spacing: 0.01em;
}
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--carvao);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--vinho);
  transition: width 0.3s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.main-nav a.nav-cta {
  background: var(--vinho);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.main-nav a.nav-cta:hover { background: var(--vinho-escuro); transform: translateY(-2px); color: #fff; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--vinho-escuro); transition: all 0.3s ease; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 190px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bege-claro) 0%, var(--creme) 100%);
}
.hero-bg-shape {
  position: absolute;
  top: -18%;
  right: -14%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(109,27,58,0.10), rgba(109,27,58,0) 70%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.eyebrow { }
.hero-text h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: 26px;
}
.hero-text h1 span { color: var(--vinho); font-style: italic; }
.hero-lede {
  font-size: 1.05rem;
  color: var(--texto-suave);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-credential {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--petroleo);
  text-transform: uppercase;
}

.hero-media { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: 220px 220px 24px 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 40px 60px -30px rgba(76,18,41,0.45);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-badge {
  position: absolute;
  left: -30px;
  bottom: 40px;
  background: var(--vinho);
  color: #fff;
  padding: 20px 22px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -18px rgba(76,18,41,0.6);
}
.hero-badge-line1 { font-family: var(--serif); font-size: 2rem; }
.hero-badge-line2 { font-size: 0.72rem; line-height: 1.3; letter-spacing: 0.03em; }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(109,27,58,0.4);
  border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--vinho);
  animation: scrollCue 1.8s infinite ease;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; }
}

/* ============ COM O QUE EU TRABALHO ============ */
.work-grid { margin-bottom: 60px; }
.work-text {
  font-size: 1.08rem;
  color: var(--texto-suave);
  max-width: 780px;
}

.modalities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.modality-card {
  background: var(--bege-claro);
  border-radius: 24px;
  padding: 44px 40px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.modality-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -24px rgba(43,35,32,0.25); }
.modality-number {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--dourado);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 18px;
}
.modality-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.modality-card p { color: var(--texto-suave); font-size: 0.97rem; }

/* ============ QUOTE SECTION ============ */
.quote-section {
  background: linear-gradient(160deg, var(--vinho) 0%, var(--vinho-escuro) 100%);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "\201C";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 26rem;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  pointer-events: none;
}
.quote-inner { max-width: 780px; text-align: center; position: relative; z-index: 1; }
.quote-inner blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
}
.quote-inner cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 18px;
}
.quote-reflection {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  margin: 36px 0 44px;
}
.quote-reflection em { font-style: italic; color: #fff; }

/* ============ ACOLHIMENTO ============ */
.section-acolhimento { background: var(--bege); }
.acolhimento-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.acolhimento-media { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(43,35,32,0.35); }
.acolhimento-photo { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.acolhimento-text h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 26px; }
.acolhimento-text p { color: var(--texto-suave); margin-bottom: 20px; font-size: 1rem; }
.acolhimento-text .btn { margin-top: 12px; }

/* ============ SOBRE MIM ============ */
.section-sobre { background: var(--creme); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}
.sobre-text h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 24px; }
.sobre-text p { color: var(--texto-suave); margin-bottom: 18px; }
.sobre-media { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(43,35,32,0.3); }
.sobre-photo { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }

/* ============ ATENDIMENTOS ============ */
.section-atendimentos { background: var(--bege); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-card {
  background: var(--creme);
  border-radius: 20px;
  padding: 34px 32px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(109,27,58,0.08);
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -22px rgba(43,35,32,0.25); }
.info-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--vinho-escuro); }
.info-card p { color: var(--texto-suave); font-size: 0.92rem; }
.info-card-cta { background: var(--vinho); }
.info-card-cta h3, .info-card-cta p { color: #fff; }
.info-card-cta p { color: rgba(255,255,255,0.85); margin-bottom: 22px; }

/* ============ CTA FINAL ============ */
.cta-final {
  background: var(--petroleo);
  padding: 120px 0;
  text-align: center;
}
.cta-final-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 640px;
  margin: 0 auto 40px;
}
.cta-final .eyebrow { color: rgba(255,255,255,0.75); text-align: center; }

/* ============ FOOTER ============ */
.site-footer { background: var(--carvao); color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-mark { width: 32px; filter: invert(1); opacity: 0.85; }
.footer-brand span { font-family: var(--serif); font-size: 1.05rem; color: #fff; }
.footer-brand small { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.footer-info p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-social { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-social a { font-size: 0.88rem; position: relative; }
.footer-social a:hover { color: var(--dourado); }
.footer-bottom { text-align: center; padding: 26px 0; font-size: 0.78rem; color: rgba(255,255,255,0.4); }

@media (min-width: 769px) {
  .footer-social { align-items: flex-end; }
  .footer-inner { text-align: left; }
  .footer-inner .footer-social { text-align: right; }
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6);
  z-index: 900;
  transition: transform 0.3s ease;
  animation: floatPulse 2.6s infinite ease-in-out;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6); }
  50% { box-shadow: 0 14px 30px -6px rgba(37,211,102,0.85); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner, .acolhimento-grid, .sobre-grid { grid-template-columns: 1fr; }
  .acolhimento-media { order: -1; max-width: 420px; margin: 0 auto; }
  .sobre-media { max-width: 420px; margin: 0 auto; order: -1; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-social { align-items: flex-start; }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .section { padding: 90px 0; }

  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--creme);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transicao);
    box-shadow: -14px 0 40px rgba(0,0,0,0.12);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-cta { order: 5; }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 150px 0 90px; }
  .hero-badge { left: 10px; bottom: 20px; padding: 14px 16px; }
  .modalities { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .quote-section::before { font-size: 14rem; top: -20px; }
}
