/* ============================================================
   Cysne Finanças — Natália Cysne · landing page
   Paleta e tipografia do brandbook oficial.
   ============================================================ */

:root {
  /* Paleta da marca (brandbook) */
  --roxo: #5E3B60;
  --roxo-claro: #6E4870;
  --azul: #5C6DD1;
  --jade: #5BAA91;
  --laranja: #D4BA57;
  --lavanda: #C7B8DC;
  --coral: #D97A85;
  --nude: #F2E8E4;
  --off-white: #FBF8F3;
  --vinho: #6e2233;        /* tom do fundo das fotos, usado como acento quente */

  /* Texto */
  --tinta: #2a232b;        /* quase-preto levemente arroxeado */
  --tinta-suave: #5d5560;
  --linha: #e7ddd8;

  /* Tipografia. Para usar Cocomat Pro nos títulos, troque --font-head (ver README). */
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1140px;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(94, 59, 96, 0.45);
  --shadow-soft: 0 10px 30px -18px rgba(42, 35, 43, 0.35);
}

/* ---------- reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--tinta);
  background: var(--off-white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--roxo); color: #fff;
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--roxo); color: var(--off-white);
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid var(--roxo);
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-soft);
}
.btn:hover { background: var(--roxo-claro); border-color: var(--roxo-claro); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--roxo); border-color: var(--linha); box-shadow: none; }
.btn-ghost:hover { background: #fff; border-color: var(--roxo); color: var(--roxo); }
.btn-light { background: var(--off-white); color: var(--roxo); border-color: var(--off-white); }
.btn-light:hover { background: #fff; border-color: #fff; }
.btn-ghost-light { background: transparent; color: var(--off-white); border-color: rgba(251,248,243,.55); box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--off-white); }
.btn .ico { display: inline-flex; }

.eyebrow {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .76rem; color: var(--roxo);
  margin: 0 0 14px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--linha);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > li > a { font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--tinta); transition: color .15s; }
.nav-menu > li > a:hover { color: var(--roxo); }
.nav-menu a.btn, .nav-menu a.btn:hover { color: var(--off-white); }
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 480px at 88% -8%, rgba(199,184,220,.55), transparent 60%),
    radial-gradient(540px 420px at -6% 30%, rgba(217,122,133,.18), transparent 60%);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero h1 {
  font-size: clamp(2.9rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.02;
  margin: 0 0 .3em; color: var(--roxo); letter-spacing: -0.02em;
}
.hero-lead { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 2.3vw, 1.6rem); line-height: 1.28; margin-bottom: 1rem; }
.hero-role { color: var(--tinta-suave); font-size: 1rem; margin-bottom: 1.1rem; }
.hero-body { color: var(--tinta-suave); max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }

.hero-media { display: flex; justify-content: center; }
.hero-photo {
  position: relative; width: min(420px, 90%); aspect-ratio: 1133 / 1700;
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--vinho);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 6px rgba(251,248,243,.35);
  pointer-events: none;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ============================================================
   DIFERENCIAIS / TRUST
   ============================================================ */
.trust { background: var(--roxo); color: var(--off-white); padding: clamp(40px, 5vw, 64px) 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.trust-card h3 { font-size: 1.25rem; margin: 10px 0 8px; color: #fff; }
.trust-card p { color: rgba(251,248,243,.82); margin: 0; font-size: .98rem; }
.trust-icon { color: var(--laranja); font-size: 1.1rem; }

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-alt { background: var(--nude); }
.section-head { max-width: 760px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--tinta); }
.section-sub { color: var(--tinta-suave); margin-top: 1rem; font-size: 1.06rem; }

/* ---------- cards "como ajudo" ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--linha); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.card::before {
  content: ""; position: absolute; left: 28px; top: 0; width: 42px; height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--coral), var(--laranja));
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--roxo); }
.card p { color: var(--tinta-suave); margin: 0; font-size: .98rem; }
.card-cta { background: linear-gradient(160deg, var(--roxo), var(--roxo-claro)); border: none; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.card-cta::before { background: var(--laranja); }
.card-cta h3 { color: #fff; }
.card-cta p { color: rgba(251,248,243,.85); margin-bottom: 14px; }
.card-cta .btn { background: var(--off-white); color: var(--roxo); border-color: var(--off-white); margin-top: auto; }
.card-cta .btn:hover { background: #fff; }

/* ============================================================
   SOBRE + DIVERSIDADE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-media { display: flex; justify-content: center; }
.about-photo {
  width: min(360px, 85%); aspect-ratio: 866 / 1300; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--vinho);
  transform: rotate(-1.5deg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); color: var(--tinta); margin-bottom: .6em; }
.about-text p { color: var(--tinta-suave); }
.pull-quote {
  margin: 1.8rem 0 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--coral);
  font-family: var(--font-head); font-weight: 500; font-style: italic;
  font-size: 1.2rem; line-height: 1.45; color: var(--roxo);
}

/* ============================================================
   PALESTRAS
   ============================================================ */
.talks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.talk-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); position: relative; background: #111; }
.talk-figure img { width: 100%; height: auto; display: block; }
.talk-figure figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 28px 20px 16px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  background: linear-gradient(to top, rgba(20,12,20,.78), transparent);
}
.talk-themes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 34px 0; }
.talk-themes li {
  background: #fff; border: 1px solid var(--linha); border-radius: 999px;
  padding: 10px 20px; font-size: .95rem; font-weight: 500; color: var(--tinta);
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   CREDENCIAIS
   ============================================================ */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.creds li {
  background: #fff; border: 1px solid var(--linha); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.cred-mark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--roxo);
  letter-spacing: -0.01em;
}
.cred-label { color: var(--tinta-suave); font-size: .92rem; line-height: 1.4; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--roxo) 0%, #4a2d4c 60%, var(--vinho) 130%);
  color: var(--off-white); padding: clamp(56px, 8vw, 100px) 0; text-align: center;
}
.cta-inner { max-width: 680px; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: .5em; }
.cta-band p { color: rgba(251,248,243,.86); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #2a1c2b; color: rgba(251,248,243,.75); padding: clamp(44px, 5vw, 64px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 36ch; font-size: .95rem; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--lavanda); margin-bottom: 14px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .98rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-legal p { font-size: .82rem; color: rgba(251,248,243,.55); line-height: 1.6; }
.footer-legal .copy { margin-top: 12px; margin-bottom: 0; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-text { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-body { margin-left: auto; margin-right: auto; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .talks { grid-template-columns: 1fr; }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  /* menu mobile */
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
    padding: 8px; cursor: pointer;
  }
  .nav-toggle span { width: 26px; height: 2.5px; background: var(--roxo); border-radius: 2px; transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--off-white); border-bottom: 1px solid var(--linha);
    padding: 8px 24px 20px; box-shadow: var(--shadow-soft);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .3s ease, opacity .25s ease, padding .25s ease;
  }
  .nav-menu.open { max-height: 380px; opacity: 1; visibility: visible; }
  .nav-menu > li { padding: 6px 0; }
  .nav-menu > li > a { display: block; padding: 8px 0; font-size: 1.05rem; }
  .nav-menu .btn { width: 100%; margin-top: 8px; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-photo { border-radius: 160px 160px var(--radius) var(--radius); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
