/* ===== Tokens ===== */
:root {
  --navy-900: #0b152b;
  --navy-800: #0f1b34;
  --navy-700: #142b4d;
  --navy: #16294d;
  --navy-card: #16264a;
  --gold: #f2b03d;
  --gold-soft: #f6c66b;
  --gold-deep: #c98a1e;
  --sand: #f3ede1;
  --sand-2: #efe6d6;
  --sand-ink: #15233f;
  --sand-muted: #5c6a82;
  --ink: #e8edf6;
  --muted: #9fb0cc;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 16px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--navy-900);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo, .logo-footer {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

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

.grad {
  background: linear-gradient(100deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(100deg, var(--gold), var(--gold-soft));
  color: var(--navy-900);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(242, 176, 61, 0.5); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); box-shadow: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 21, 43, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
}
.logo-text { color: var(--ink); }
.logo-mark { color: var(--gold); margin-left: 1px; font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a { color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: var(--navy-900); }

/* Link discreto para a área restrita (app VOLLONE Finanças) */
.nav-restricted {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-restricted:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
  background: rgba(242, 176, 61, 0.08);
}
.nav-restricted svg { opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 165px;
  background: radial-gradient(circle at 70% -10%, rgba(242, 176, 61, 0.14), transparent 55%),
              linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

/* Silhueta carioca no rodapé do hero */
.rio-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(140px, 20vw, 220px);
  pointer-events: none;
  z-index: 0;
}
.rio-back { fill: #11203f; opacity: 0.85; }
.rio-front { fill: #060d1d; }
.hero-inner { z-index: 1; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 75% 10%, #000 0%, transparent 60%);
  opacity: 0.5;
}
.hero-inner { position: relative; max-width: 820px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.hero-stats strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
}
.hero-stats span { color: var(--muted); font-size: 0.92rem; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--navy-800); }

/* Areia/Off-White — o "respiro" da marca */
.section-sand {
  background: linear-gradient(160deg, var(--sand), var(--sand-2));
  color: var(--sand-ink);
  text-align: center;
}
.eyebrow-dark { color: var(--gold-deep); }
.manifesto {
  max-width: 900px;
  margin: 22px auto 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.9rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--sand-ink);
}
.manifesto strong { color: var(--gold-deep); font-weight: 700; }
.manifesto em { font-style: normal; color: var(--gold-deep); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 14px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Cards ===== */
.card {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 176, 61, 0.4);
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.7);
}
.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(242, 176, 61, 0.12);
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ===== Projects ===== */
.project {
  background: linear-gradient(180deg, var(--navy-card), var(--navy-800));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.project:hover { transform: translateY(-5px); border-color: rgba(242, 176, 61, 0.4); }
.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.project-logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--gold);
  background: rgba(242, 176, 61, 0.12);
  padding: 4px 11px;
  border-radius: 999px;
}
.project h3 { font-size: 1.3rem; margin-bottom: 10px; }
.project p { color: var(--muted); font-size: 0.97rem; flex: 1; margin-bottom: 18px; }
.project-link {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}
.project-link:hover { color: var(--gold-soft); }
.project-link.muted { color: var(--muted); cursor: default; }

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text .btn { margin-top: 10px; }
.about-list { list-style: none; display: grid; gap: 16px; }
.about-list li {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.about-list strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }

/* ===== Contact ===== */
.section-cta {
  background: radial-gradient(circle at 50% 0%, rgba(242, 176, 61, 0.1), transparent 60%), var(--navy-800);
}
.contact-form { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.form-status { font-size: 0.92rem; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: #57d6a0; }
.form-status.err { color: #f08a8a; }

/* ===== Ondas de Copacabana ===== */
.copacabana {
  height: 22px;
  background-color: var(--navy-900);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 11 C25 -2 25 24 50 11 C75 -2 75 24 100 11 C112 5 116 5 120 8' fill='none' stroke='%23f2b03d' stroke-width='2.6' stroke-opacity='0.9'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding: 50px 0 28px; }
.footer-carioca {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold);
  font-weight: 500;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.logo-footer { font-size: 1.4rem; }
.footer-tag { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  padding-top: 22px;
}

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

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--navy-800);
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 10px 0; }
  .nav-links a.btn { justify-content: center; margin-top: 8px; }
  .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); }

  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 70px; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 28px; }
}
