/* ============================================
   ELEVA3 — style.css
   Palette: Navy #0B1F3A | Gold #D4A017 | White #FFFFFF
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0B1F3A;
  --navy2:  #0d2444;
  --navy3:  #112952;
  --gold:   #D4A017;
  --gold2:  #b88a10;
  --white:  #FFFFFF;
  --text:   #c8d4e8;
  --text2:  #8fa3bf;
  --border: rgba(212,160,23,0.15);
  --r:      12px;
  --r2:     20px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ---------- TYPOGRAPHY ---------- */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 560px;
  margin-bottom: 3.5rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.82em 1.7em;
  border-radius: var(--r);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: #e8b31e; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,160,23,0.32); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--full { width: 100%; justify-content: center; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(11,31,58,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  max-width: 1160px;
  margin-inline: auto;
  padding: 1.1rem clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
}
.logo-e3 {
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1;
}
.logo-accent { color: var(--gold); }
.logo-name {
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.55em 1.2em;
  border-radius: var(--r);
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: var(--transition) !important;
}
.nav__cta:hover { background: #e8b31e !important; transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 1rem clamp(1.25rem, 5vw, 2.5rem) 1.5rem;
  gap: 1.2rem;
  background: rgba(11,31,58,0.97);
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--white); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,160,23,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: var(--gold);
  top: -200px; right: -150px;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: #1c5fa8;
  bottom: -100px; left: -100px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  padding-block: 6rem 4rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.4em 1em;
  border-radius: 50px;
  background: rgba(212,160,23,0.06);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s 0.1s both;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.7s 0.2s both;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.4;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text2);
  max-width: 560px;
  margin-bottom: 2.4rem;
  animation: fadeUp 0.7s 0.3s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
  animation: fadeUp 0.7s 0.4s both;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  animation: fadeUp 0.7s 0.55s both;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat__num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat__unit { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.stat p { font-size: 0.78rem; color: var(--text2); margin-top: 0.2rem; max-width: 120px; line-height: 1.3; }
.stat__divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 22px; height: 36px;
  border: 2px solid rgba(212,160,23,0.4);
  border-radius: 20px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

/* ---------- SOLUÇÕES ---------- */
.solucoes {
  padding: 7rem 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.4rem;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  border-color: rgba(212,160,23,0.35);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 48px; height: 48px;
  margin-bottom: 1.2rem;
  background: rgba(212,160,23,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.card__icon svg { width: 100%; height: 100%; }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.card p {
  font-size: 0.9rem;
  color: var(--text2);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.card__list li {
  font-size: 0.82rem;
  color: var(--text);
  padding: 0.3rem 0;
  padding-left: 1.1rem;
  position: relative;
}
.card__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.card--accent {
  background: rgba(212,160,23,0.07);
  border-color: rgba(212,160,23,0.25);
}

.card__tag {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,160,23,0.12);
  padding: 0.25em 0.75em;
  border-radius: 50px;
  border: 1px solid rgba(212,160,23,0.3);
}

/* ---------- PROCESSO ---------- */
.processo {
  padding: 7rem 0;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
}

.step__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 10px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.step__body p {
  font-size: 0.95rem;
  color: var(--text2);
  max-width: 580px;
}

.step__connector {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin-left: 26px;
}

/* ---------- CASES ---------- */
.cases {
  padding: 7rem 0;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.4rem;
}

.case {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 2rem;
  transition: var(--transition);
}
.case:hover {
  border-color: rgba(212,160,23,0.3);
  transform: translateY(-3px);
}

.case__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  display: block;
}

.case h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.case p {
  font-size: 0.88rem;
  color: var(--text2);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.case__metrics {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.case__metric span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.case__metric p {
  font-size: 0.75rem;
  color: var(--text2);
  margin: 0;
  line-height: 1.3;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,160,23,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta__orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--gold);
  filter: blur(120px);
  opacity: 0.07;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.cta__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.cta__sub {
  font-size: 1.05rem;
  color: var(--text2);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cta__form input,
.cta__form select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.85em 1.1em;
  font-size: 0.92rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.cta__form input::placeholder { color: var(--text2); }
.cta__form select { color: var(--text2); cursor: pointer; }
.cta__form select option { background: var(--navy2); color: var(--white); }
.cta__form input:focus,
.cta__form select:focus {
  border-color: var(--gold);
  background: rgba(212,160,23,0.05);
}

.form__note {
  font-size: 0.75rem;
  color: var(--text2);
  text-align: center;
  margin-top: 0.25rem;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  padding-bottom: 3rem;
}

.footer__brand {
  max-width: 260px;
}
.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.55;
}

.footer__nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.footer__col a {
  font-size: 0.88rem;
  color: var(--text2);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.4rem clamp(1.25rem, 5vw, 2.5rem);
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text2);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- KEYFRAMES ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}
@keyframes scrollDown {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 0; transform: translateX(-50%) translateY(12px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__stats {
    gap: 1.2rem;
  }
  .stat__divider { display: none; }
  .stat { flex-direction: row; align-items: baseline; gap: 0.3rem; }
  .stat p { max-width: none; }

  .form__row {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .hero__title { font-size: 2.4rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

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