/* ============================================================
   JOYA — site institucional
   Paleta e tipografia oficiais (ver joya-docs/notebooklm/11-MARCA-E-VOZ.md)
   Fontes auto-hospedadas: privacidade como cultura, sem Google Fonts.
   ============================================================ */

/* ---------- Fontes ---------- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('/fonts/fraunces-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600;
  font-display: swap; src: url('/fonts/fraunces-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('/fonts/fraunces-700.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --coral: #f2584b;
  --coral-ink: #c8362b;     /* coral mais escuro p/ texto sobre cream (AA) */
  --gold: #e9a23b;
  --cream: #fff7f0;
  --cream-2: #fdeee3;       /* superfície levemente off-cream */
  --wine: #1c1013;
  --ink: #22150f;           /* texto principal (light) */
  --muted: #7a6058;         /* texto secundário */
  --line: #efd9ce;          /* bordas sutis */
  --success: #74a37b;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(40, 20, 26, .04), 0 12px 32px -16px rgba(40, 20, 26, .18);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1080px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --coral: #ff6a52;          /* coral mais aceso sobre a ameixa (era #f2584b) */
    --coral-ink: #ff8a78;
    --gold: #f2b551;           /* ouro mais vivo p/ faísca de joia */
    --cream: #2a1620;          /* ameixa quente — fim do preto chapado #1c1013 */
    --cream-2: #361b29;
    --ink: #f6eeda;
    --muted: #d6b3a8;
    --line: #4d2c3c;
    --card: #341a28;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 44px -22px rgba(0, 0, 0, .55);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.6; font-weight: 400;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2.5px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
p { color: var(--ink); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--coral-ink);
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
section { padding-block: clamp(56px, 9vw, 104px); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .lead { margin-top: 14px; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--coral); color: #fff;
  padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(12px);
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s ease-out; }
.nav-links a:hover { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display);
  font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--ink); }
.brand .gem { width: 26px; height: 26px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease-out, background .2s ease-out, box-shadow .2s ease-out;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff7f0; box-shadow: 0 8px 20px -10px rgba(242, 88, 75, .8); }
.btn-primary:hover { background: #e84a3d; box-shadow: 0 10px 26px -10px rgba(242, 88, 75, .9); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral-ink); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 88px) clamp(40px, 7vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 16px 0 20px; }
.hero .lead { max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Empilhado (tablet/mobile): headline e proposta de valor PRIMEIRO; o mockup
     vem abaixo. Antes tinha `order:-1`, que jogava o card pra cima do título. */
  .hero-copy { order: 0; }
  .hero-visual { order: 1; }
}

/* ---------- Mock "lista, não mapa" ---------- */
.mock {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 20px; max-width: 380px; margin-inline: auto; width: 100%;
}
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mock-head .venue { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.mock-head .live { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--success); }
.mock-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(116,163,123,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(116,163,123,.5)} 70%{box-shadow:0 0 0 8px rgba(116,163,123,0)} 100%{box-shadow:0 0 0 0 rgba(116,163,123,0)} }
.mock-sub { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.person { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s; }
.person + .person { margin-top: 2px; }
.person:hover { background: var(--cream-2); }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 700; color: #fff7f0; font-size: 1rem; }
.person .meta { flex: 1; min-width: 0; }
.person .name { font-weight: 600; font-size: .96rem; }
.tag { display: inline-block; white-space: nowrap; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em; }
.person .meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.tag.paquera { background: color-mix(in srgb, var(--coral) 16%, transparent); color: var(--coral-ink); }
.tag.amizade { background: color-mix(in srgb, var(--gold) 22%, transparent); color: #8a5a14; }
.tag.networking { background: color-mix(in srgb, var(--success) 20%, transparent); color: #3f6b46; }
.wave-btn { font-size: .8rem; font-weight: 600; color: var(--coral-ink); border: 1.5px solid var(--line);
  padding: 6px 12px; border-radius: 999px; }
@media (prefers-color-scheme: dark) {
  .tag.amizade { color: #e9b96a; } .tag.networking { color: #93c79b; }
}

/* ---------- Tagline strip ---------- */
.strip { background: var(--wine); color: var(--cream); text-align: center; padding-block: clamp(44px, 7vw, 72px); }
.strip h2 { color: #fff7f0; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 700; }
.strip .joya-word { color: var(--gold); font-style: italic; }
.strip .rule { width: 64px; height: 3px; background: var(--coral); border-radius: 2px; margin: 20px auto; }
.strip p { color: #d9c4bb; max-width: 44ch; margin-inline: auto; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease-out, border-color .2s ease-out;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--coral) 40%, var(--line)); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-2); color: var(--coral); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Passos ---------- */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.step:first-child { border-top: 0; }
.step .num { counter-increment: step; width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600;
  background: var(--coral); color: #fff7f0; }
.step .num::before { content: counter(step); }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); }

/* ---------- Diferenciais (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.diff { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--cream-2); }
.diff .ic { color: var(--coral); flex: none; }
.diff h3 { font-size: 1.08rem; margin-bottom: 4px; }
.diff p { color: var(--muted); font-size: .95rem; }

/* ---------- Privacidade ---------- */
.privacy { background: var(--wine); color: var(--cream); }
.privacy h2, .privacy h3 { color: #fff7f0; }
.privacy .lead { color: #d9c4bb; }
.privacy .pgrid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px 40px; margin-top: 40px; }
@media (max-width: 760px) { .privacy .pgrid { grid-template-columns: 1fr; } }
.privacy .pitem { display: flex; gap: 14px; padding-block: 8px; }
.privacy .pitem svg { color: var(--coral); flex: none; }
.privacy .pitem strong { color: #fff7f0; display: block; }
.privacy .pitem span { color: #c9a89e; font-size: .94rem; }

/* ---------- CTA band ---------- */
.ctaband { text-align: center; }
.ctaband .box { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px); }
.ctaband h2 { margin-bottom: 14px; }
.ctaband .lead { margin-inline: auto; max-width: 40ch; margin-bottom: 28px; }
.ctaband .hero-cta { justify-content: center; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--coral); font-family: var(--font-body); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 70ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding-block: 56px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.foot-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.foot-grid a { display: block; color: var(--ink); font-size: .95rem; padding: 5px 0; transition: color .2s; }
.foot-grid a:hover { color: var(--coral-ink); }
.foot-brand p { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 32ch; }
.foot-legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex;
  flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; color: var(--muted); font-size: .85rem; }

/* ---------- util ---------- */
.center { text-align: center; }
.mt-s { margin-top: 12px; }
