/* Maria Fernanda · Psicologia · main stylesheet */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.6; position: relative; min-height: 100vh; }

/* Subtle grain overlay */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image: url('assets/grain.svg'); opacity: .05; mix-blend-mode: multiply;
}
#root { position: relative; z-index: 2; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 120px) 0; }

/* Type system */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; color: var(--ink-2); letter-spacing: -.015em; }
.h-section { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; }
.h-section .em { font-style: italic; color: var(--brand); }

.eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--font-ui); font-size: 15px; font-weight: 500; cursor: pointer; border: 0; text-decoration: none; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-wa { background: #1f8a5b; color: #fff; }
.btn-wa:hover { background: #176d48; transform: translateY(-2px); }

/* Cards */
.card { background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(106,138,122,.35); }

/* Micro-label alternativo (substitui eyebrow em algumas seções p/ variedade visual) */
.tagline { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 17px; color: var(--brand); }
.tagline::before { content: ''; width: 28px; height: 1px; background: var(--brand); display: inline-block; }

/* Meta row (Hero trust chips) */
.meta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 13.5px; }
.chk { display: inline-flex; align-items: center; gap: 6px; }
.chk svg { color: var(--brand); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
  .nav-links { display: none !important; }
  .section { padding: 56px 0; }
}
