/* ============================================================
   Curando Relações — Sistema de design "etéreo"
   Paleta extraída do plano de negócio 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..500&family=Inter:wght@400;450;500;600&display=swap');

:root {
  /* Azuis etéreos */
  --mist:        #F4F9FE;  /* fundo mais claro da página */
  --sky:         #EAF3FC;  /* lavagem suave de seção */
  --cloud:       #DCE8F3;  /* bordas e divisores claros */
  --halo:        #CAE2FE;  /* preenchimento de círculos / brilho */
  --azure:       #4E9BD6;  /* azul de destaque principal */
  --azure-deep:  #2E6BA6;  /* azul profundo */
  --slate:       #5E7C99;  /* texto secundário azulado */
  --graphite:    #4A5660;  /* corpo de texto */
  --ink:         #28323B;  /* títulos e seções escuras */
  --white:       #FFFFFF;

  --radius:      20px;
  --radius-sm:   13px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 60px -28px rgba(46,107,166,.30);
  --shadow-lift: 0 36px 80px -30px rgba(46,107,166,.42);
  --ring:        0 0 0 4px rgba(78,155,214,.18);

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1140px;
}

/* ----------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--graphite);
  background: var(--mist);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ----------------------------------------------- Atmosfera etérea */
/* Auras desfocadas que flutuam ao fundo de toda a página */
.aura {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.aura--1 { width: 520px; height: 520px; top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(202,226,254,.95), rgba(202,226,254,0) 70%);
  animation: drift1 26s ease-in-out infinite; }
.aura--2 { width: 460px; height: 460px; top: 30%; right: -160px;
  background: radial-gradient(circle, rgba(134,184,224,.55), rgba(134,184,224,0) 70%);
  animation: drift2 32s ease-in-out infinite; }
.aura--3 { width: 600px; height: 600px; bottom: -240px; left: 20%;
  background: radial-gradient(circle, rgba(220,232,243,.9), rgba(220,232,243,0) 70%);
  animation: drift3 38s ease-in-out infinite; }

@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,40px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-50px,60px)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-50px)} }

/* ----------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--azure-deep);
  margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 400; line-height: 1.1; margin: 0; }
.lead { color: var(--slate); font-size: 1.18rem; line-height: 1.7; }

/* ----------------------------------------------------- Logo / Venn */
.venn { display: inline-block; }
.venn circle { fill: var(--halo); stroke: var(--azure); stroke-width: 2.4; fill-opacity: .55; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display);
  font-size: 1.28rem; color: var(--ink); font-weight: 500; letter-spacing: .01em; }

/* Versão grande que "respira" no hero */
.venn-breathe { animation: breathe 7s ease-in-out infinite; transform-origin: center; }
.venn-breathe .c-left  { animation: pulseL 7s ease-in-out infinite; }
.venn-breathe .c-right { animation: pulseR 7s ease-in-out infinite; }
@keyframes breathe { 0%,100%{transform:scale(1)} 50%{transform:scale(1.03)} }
@keyframes pulseL { 0%,100%{transform:translateX(0)} 50%{transform:translateX(4px)} }
@keyframes pulseR { 0%,100%{transform:translateX(0)} 50%{transform:translateX(-4px)} }

/* ------------------------------------------------------- Navegação */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(244,249,254,.72);
  border-bottom: 1px solid rgba(220,232,243,.8);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14px; color: var(--graphite); font-weight: 450; transition: color .2s; }
.nav__links a:hover { color: var(--azure-deep); }

/* ----------------------------------------------------------- Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 500; font-size: 15px;
  padding: 12px 26px; border-radius: var(--radius-pill);
  transition: transform .22s ease, box-shadow .22s ease, background .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--azure-deep); color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(46,107,166,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(46,107,166,.7); }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--azure-deep);
  border: 1px solid var(--cloud); }
.btn--ghost:hover { background: var(--white); transform: translateY(-2px); }
.btn--block { width: 100%; padding: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------ Hero */
.hero { padding: 86px 0 92px; text-align: center; position: relative; }
.hero__halo { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; z-index: 0; pointer-events: none; }
.hero__halo svg { width: min(540px, 84vw); opacity: .42; filter: blur(1.5px); }
.hero__halo .venn circle { stroke-width: 1.6; fill-opacity: .4; }
.hero__content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); letter-spacing: -.015em; }
.hero h1 em { font-style: italic; color: var(--azure-deep); }
.hero .lead { margin: 26px auto 0; max-width: 600px; }
.hero__cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__tag { margin-top: 30px; font-family: var(--display); font-style: italic;
  font-size: 1.15rem; color: var(--slate); }

/* --------------------------------------------------------- Seções */
.band { padding: 92px 0; }
.band--sky { background: linear-gradient(180deg, transparent, var(--sky) 18%, var(--sky) 82%, transparent); }
.band--ink { background: var(--ink); color: #C7D4DF; }
.band--ink h2 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.01em; }
.section-head p { color: var(--slate); font-size: 1.1rem; margin: 16px 0 0; }

/* ---------------------------------------------------------- Cards */
.card {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(220,232,243,.9);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--graphite); font-size: .98rem; }

.icon-orb {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 20px;
  background: radial-gradient(circle at 35% 30%, var(--halo), var(--sky));
  border: 1px solid rgba(78,155,214,.35);
  color: var(--azure-deep);
}
.icon-orb svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* Grids reutilizáveis */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------- Dois caminhos (core) */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.path { position: relative; overflow: hidden; }
.path__label { font-size: 12px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--azure); margin-bottom: 8px; }
.path ul { margin: 18px 0 0; padding: 0; list-style: none; }
.path li { position: relative; padding-left: 24px; margin-bottom: 11px;
  color: var(--graphite); font-size: .96rem; }
.path li::before { content: ''; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--halo); border: 1.5px solid var(--azure); }

/* --------------------------------------------------- Método (4 CNV) */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-num { font-family: var(--display); font-size: 2.4rem; color: var(--halo);
  line-height: 1; margin-bottom: 6px; }

/* ------------------------------------------------------ Jornadas */
.journeys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.journey { display: flex; flex-direction: column; }
.journey__kind { font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.journey h3 { margin-bottom: 12px; }
.journey p { flex: 1; }
.journey__foot { margin-top: 22px; display: flex; align-items: center; gap: 10px;
  color: var(--azure-deep); font-weight: 500; font-size: .92rem; }
.journey__foot svg { width: 18px; height: 18px; transition: transform .2s; }
.journey:hover .journey__foot svg { transform: translateX(4px); }

/* --------------------------------------------------- Ciência/stats */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.proof__item { text-align: left; }
.proof__big { font-family: var(--display); font-size: 1.45rem; color: var(--white);
  line-height: 1.25; margin-bottom: 8px; }
.proof__src { font-size: .8rem; color: var(--azure); font-style: italic; }

/* --------------------------------------------------------- CTA band */
.cta { text-align: center; padding: 96px 0; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 680px; margin: 0 auto 14px; }
.cta p { color: var(--slate); font-size: 1.1rem; max-width: 520px; margin: 0 auto 32px; }

/* ---------------------------------------------------------- Footer */
.footer { padding: 56px 0 48px; border-top: 1px solid var(--cloud); }
.footer__inner { display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap; }
.footer small { color: var(--slate); font-size: .85rem; }

/* ===========================================================
   AUTENTICAÇÃO — login.html
   =========================================================== */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.auth__card {
  width: 100%; max-width: 440px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px; padding: 44px 40px;
  box-shadow: var(--shadow-lift);
  position: relative; z-index: 2;
}
.auth__logo { display: flex; justify-content: center; margin-bottom: 22px; }
.auth__card h1 { font-size: 1.9rem; text-align: center; }
.auth__sub { text-align: center; color: var(--slate); margin: 8px 0 30px; font-size: .96rem; }
.auth__tabs { display: flex; background: var(--sky); border-radius: var(--radius-pill);
  padding: 4px; margin-bottom: 26px; }
.auth__tab { flex: 1; padding: 9px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; color: var(--slate); transition: all .2s; }
.auth__tab.is-active { background: var(--white); color: var(--azure-deep);
  box-shadow: 0 4px 12px -4px rgba(46,107,166,.35); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500;
  color: var(--graphite); margin-bottom: 7px; }
.field input {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1px solid var(--cloud); background: rgba(255,255,255,.9);
  transition: border .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--azure); box-shadow: var(--ring); }

.note { font-size: 14px; padding: 12px 15px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.note--error { background: #FCEDED; color: #A33; border: 1px solid #F3CFCF; }
.note--ok { background: #EAF6EF; color: #2C7A4B; border: 1px solid #C9E8D5; }
.note[hidden] { display: none; }

.auth__alt { text-align: center; margin-top: 22px; font-size: .9rem; color: var(--slate); }
.auth__alt a { color: var(--azure-deep); font-weight: 500; }
.auth__back { position: fixed; top: 26px; left: 26px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.auth__back:hover { color: var(--azure-deep); }

/* ===========================================================
   ÁREA LOGADA — app.html / jornada.html
   =========================================================== */
.app-nav { position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(244,249,254,.78); border-bottom: 1px solid rgba(220,232,243,.8); }
.app-nav__inner { display: flex; align-items: center; justify-content: space-between;
  height: 70px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.app-nav__user { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--graphite); }
.linkbtn { color: var(--slate); font-size: 14px; font-weight: 500; }
.linkbtn:hover { color: var(--azure-deep); }

.dash { padding: 56px 0 90px; }
.dash__hello { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 2.8rem); }
.dash__hello span { color: var(--azure-deep); }
.dash__sub { color: var(--slate); margin: 0 0 44px; font-size: 1.05rem; }
.dash__section-title { font-family: var(--display); font-size: 1.4rem; color: var(--ink);
  margin: 0 0 22px; }

.progress { height: 7px; border-radius: var(--radius-pill); background: var(--cloud);
  overflow: hidden; margin: 18px 0 4px; }
.progress > span { display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--azure), var(--azure-deep)); transition: width .5s ease; }
.progress-label { font-size: 12px; color: var(--slate); }

.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 11px; border-radius: var(--radius-pill);
  background: var(--sky); color: var(--azure-deep); margin-bottom: 14px; }
.tag--locked { background: #F0EEF2; color: #8A8594; }

.empty { text-align: center; padding: 60px 20px; color: var(--slate); }

/* Jornada — passos */
.steps { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.stepcard { display: flex; gap: 18px; align-items: flex-start; }
.stepcard__num { flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-size: 1.2rem;
  background: var(--sky); color: var(--azure-deep); border: 1px solid var(--cloud); }
.stepcard.is-done .stepcard__num { background: var(--azure-deep); color: var(--white); border-color: var(--azure-deep); }
.stepcard__body { flex: 1; }
.stepcard__body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.stepcard__body p { margin: 0; font-size: .96rem; }
.stepcard__check { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--azure-deep); font-weight: 500; }
.stepcard__check input { width: 18px; height: 18px; accent-color: var(--azure-deep); }

.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--slate);
  font-size: 14px; margin-bottom: 26px; }
.back-link:hover { color: var(--azure-deep); }
.back-link svg { width: 16px; height: 16px; }

/* Spinner */
.loader { display: grid; place-items: center; padding: 80px 0; }
.spinner { width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid var(--cloud); border-top-color: var(--azure);
  animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------- Reveal ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===========================================================
   RESPONSIVO
   =========================================================== */
@media (max-width: 900px) {
  .grid--3, .grid--4, .method, .proof, .journeys { grid-template-columns: repeat(2, 1fr); }
  .paths { grid-template-columns: 1fr; }
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .method, .proof, .journeys { grid-template-columns: 1fr; }
  .band { padding: 64px 0; }
  .hero { padding: 60px 0 70px; }
  .auth__card { padding: 34px 26px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ---------------------------------------- Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
