/* ============================================================
   Fernanda Moreira — Psicanalista
   Identidade visual premium: creme, tinta, terracota
   ============================================================ */

:root {
  --cream: #FAF6F0;
  --cream-2: #F3EDE3;
  --ink: #211B14;
  --ink-soft: #4C443A;
  --muted: #8A7F70;
  --line: #E4DCCE;
  --accent: #A4553D;
  --accent-dark: #8A4230;
  --accent-soft: #C97B5F;
  --green: #1E7A4D;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 860px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); }

h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 1.12; letter-spacing: -0.01em; }
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.2; }
h3 { font-size: 1.45rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--accent-soft); }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(33, 27, 20, 0.06); }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-brand span { font-style: italic; font-weight: 400; color: var(--accent); margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 9px 20px;
  border-radius: 999px;
  transition: all 0.25s;
}
.nav-links .nav-cta:hover { background: var(--accent); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- HERO ---------------- */
.hero { padding: 170px 0 110px; }
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero-text .lead { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 20px; max-width: 56ch; }
.hero-text .lead:first-of-type { margin-top: 34px; }
.tagline {
  display: inline-block;
  margin: 8px 0 34px;
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(33, 27, 20, 0.18);
}

/* ---------------- SECTIONS ---------------- */
.section { padding: 104px 0; }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--ink); color: #EDE7DD; }
.section-dark h2 { color: #FAF6F0; }
.section-dark p { color: #CFC7B9; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); margin-top: 18px; font-size: 1.08rem; }
.section-head h2 { margin-bottom: 6px; }

.center-text { text-align: center; color: var(--ink-soft); max-width: 760px; margin: 0 auto 40px; }
.center { text-align: center; margin-top: 52px; }

/* ---------------- CARDS ---------------- */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 38px 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(33, 27, 20, 0.08); }
.card-icon { font-size: 1.7rem; display: block; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; font-size: 1.35rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card-bordered { background: transparent; }
.card-cta { display: flex; flex-direction: column; justify-content: center; }
.card-cta h3 { font-size: 1.6rem; }
.card-cta .btn { align-self: flex-start; margin-top: 18px; }

/* ---------------- LISTAS ---------------- */
.list-mark, .list-check { list-style: none; margin: 30px 0 36px; }
.list-mark li {
  padding: 14px 0 14px 38px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.04rem;
}
.list-mark li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 24px;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--accent);
  transform: rotate(45deg);
}
.list-check li {
  padding: 13px 0 13px 44px;
  position: relative;
  color: #CFC7B9;
  font-size: 1.08rem;
  border-bottom: 1px solid rgba(228, 220, 206, 0.12);
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  color: var(--accent-soft);
  font-size: 1.1rem;
}

/* ---------------- QUOTE ---------------- */
.quote {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-style: italic;
  color: var(--ink);
  padding: 34px 0 8px;
  max-width: 640px;
  margin: 0 auto;
}
.quote span {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------------- FEATURES ---------------- */
.feature { text-align: center; padding: 30px 18px; }
.feature span { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------------- QUEM SOU ---------------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(33, 27, 20, 0.14);
}
.about-text h2 { font-size: clamp(2.2rem, 3.4vw, 2.9rem); }
.role {
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 6px 0 26px;
}
.about-text p { color: var(--ink-soft); margin-bottom: 18px; }
.quote-small {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink) !important;
  margin: 30px 0 26px;
}
.quote-small span { font-size: 0.78rem; font-family: var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

/* ---------------- FORMULÁRIO ---------------- */
.section-form { background: var(--ink); }
.section-form h2 { color: #FAF6F0; }
.section-form .section-head p:not(.eyebrow) { color: #CFC7B9; }

.form { margin-top: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form-field { margin-bottom: 26px; }
.form-field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B7AE9F;
  margin-bottom: 10px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255, 253, 249, 0.05);
  border: 1px solid rgba(228, 220, 206, 0.25);
  border-radius: 6px;
  color: #FAF6F0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.02rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(183, 174, 159, 0.55); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-soft);
  background: rgba(255, 253, 249, 0.09);
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: #E07B5B; }
.form-field .error-msg {
  color: #E9A18A;
  font-size: 0.82rem;
  margin-top: 6px;
  display: none;
}
.form-field.has-error .error-msg { display: block; }
.form-footer { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-note { color: #8F8677; font-size: 0.84rem; }

/* ---------------- BOTÕES ---------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.28s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #FFF9F2; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(164, 85, 61, 0.3); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #FFF9F2; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-ghost { background: none; border-color: rgba(228, 220, 206, 0.4); color: #CFC7B9; }
.btn-ghost:hover { border-color: #CFC7B9; color: #fff; }
.btn-lg { padding: 17px 42px; font-size: 0.9rem; }
button.btn { border: 1px solid transparent; }

/* ---------------- SUCESSO / ERRO ---------------- */
.form-success, .form-error {
  margin-top: 40px;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}
.form-success {
  background: rgba(255, 253, 249, 0.05);
  border: 1px solid rgba(30, 122, 77, 0.5);
}
.form-success h3 { color: #FAF6F0; font-size: 1.9rem; margin-bottom: 12px; }
.form-success p { color: #CFC7B9; margin-bottom: 10px; }
.success-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.form-success .btn { margin: 14px 8px 4px; }
.success-sub { font-size: 0.92rem; margin-top: 14px; }
.form-error {
  background: rgba(164, 85, 61, 0.12);
  border: 1px solid rgba(224, 123, 91, 0.6);
  color: #F2C9BC;
}

/* ---------------- FOOTER ---------------- */
.footer { background: var(--ink); color: #CFC7B9; border-top: 1px solid rgba(228, 220, 206, 0.12); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  padding-top: 72px;
  padding-bottom: 56px;
}
.footer-brand { font-family: var(--serif); font-size: 1.7rem; color: #FAF6F0; line-height: 1.35; }
.footer-brand span { font-style: italic; font-weight: 400; color: var(--accent-soft); font-size: 1.25rem; }
.footer h4 {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8F8677;
  margin-bottom: 16px;
}
.footer p { margin-bottom: 8px; font-size: 0.95rem; }
.footer a:hover { color: #FAF6F0; }
.footer-bottom {
  border-top: 1px solid rgba(228, 220, 206, 0.12);
  padding: 22px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #8F8677;
}

/* ---------------- WHATSAPP FLUTUANTE ---------------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(30, 122, 77, 0.4);
  transition: transform 0.25s;
  z-index: 40;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------------- RESPONSIVO ---------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .about { grid-template-columns: 1fr; gap: 44px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    padding: 34px 24px;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* Placeholder de foto (enquanto a foto real não é enviada) */
img.is-placeholder { background: var(--cream-2); }