/* ====== XDunamis — Brand styles ======
   Cores oficiais (Brandbook v1.0):
   Laranja  #ef7a2c | Preto #000000 | Cinza #9d9d9c | Cinza claro #ededed
   Tipografia oficial da marca: Nexa Heavy (títulos) / Louis George Cafe Light (corpo)
   Substitutos web completos (fontes da marca são proprietárias):
     Títulos -> Montserrat (geométrica, próxima da Nexa)
     Corpo   -> Poppins (geométrica/arredondada, próxima da Louis George Cafe)
====================================== */

:root {
  --orange: #ef7a2c;
  --orange-2: #ff9a4d;
  --black: #000000;
  --ink: #0a0a0a;
  --gray: #9d9d9c;
  --light: #ededed;
  --white: #ffffff;
  --grad: linear-gradient(100deg, #ef7a2c 0%, #ff9a4d 60%, #ffb56b 100%);

  --container: 1140px;
  --radius: 16px;
  /* Tipografia */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Montserrat", "Poppins", -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--light);
  background: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ====== Header / Nav ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 157, 156, 0.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 15px; width: auto; object-fit: contain; display: block; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav__menu a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--light);
  transition: color 0.2s ease;
}
.nav__menu a:hover { color: var(--orange); }
.nav__cta {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--black) !important;
  font-weight: 700 !important;
}
.nav__cta:hover { opacity: 0.92; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: clamp(70px, 12vw, 140px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(239, 122, 44, 0.30) 0%, rgba(239, 122, 44, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
}
.hero__text {
  margin: 26px auto 34px;
  max-width: 620px;
  font-size: 0.95rem;
  color: var(--gray);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__mark { display: flex; justify-content: center; }
.hero__logo {
  width: min(360px, 80%);
  filter: drop-shadow(0 24px 60px rgba(239, 122, 44, 0.28));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary {
  background: var(--grad);
  color: var(--black);
  box-shadow: 0 10px 28px rgba(239, 122, 44, 0.32);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(237, 237, 237, 0.55);
  color: var(--light);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

/* ====== Sections ====== */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: #070707; border-top: 1px solid rgba(157,157,156,0.1); border-bottom: 1px solid rgba(157,157,156,0.1); }
.section__index {
  display: block;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--orange);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.1;
  color: var(--white);
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__lead { margin-top: 18px; color: var(--gray); font-size: 1.05rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.section__body p { margin-bottom: 18px; font-size: 1.08rem; color: var(--light); }
.section__body .concept { color: var(--gray); }
.section__body strong { color: var(--orange); font-weight: 700; }

/* ====== Cards ====== */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(157, 157, 156, 0.18);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--orange); }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(239, 122, 44, 0.12);
  color: var(--orange);
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.card h3 { font-family: var(--font-head); color: var(--white); font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; letter-spacing: 0.01em; }
.card p { color: var(--gray); font-size: 0.98rem; }
.card--feature { padding: 38px 34px; }
.card__kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.card--feature p { color: var(--light); font-size: 1.05rem; }

/* ====== Valores ====== */
.values {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}
.values li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(157,157,156,0.16);
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
}
.values__num {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--grad);
  color: var(--black);
  font-weight: 900;
}

/* ====== CTA ====== */
.cta__inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta__title { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4.8vw, 3.2rem); line-height: 1.1; color: var(--white); }
.cta__text { margin: 22px 0 36px; color: var(--gray); font-size: 1.12rem; }

/* ====== Footer ====== */
.footer {
  border-top: 1px solid rgba(157,157,156,0.16);
  padding: 40px 0;
  background: #050505;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; }
.footer__logo { height: 30px; width: auto; object-fit: contain; display: block; }
.footer__copy { color: var(--gray); font-size: 0.9rem; }

/* ====== Responsive ====== */
@media (max-width: 880px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(0,0,0,0.97);
    border-bottom: 1px solid rgba(157,157,156,0.18);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__menu.open { max-height: 360px; }
  .nav__menu li { width: 100%; text-align: center; }
  .nav__menu li a { display: block; padding: 16px; }
  .hero__actions { justify-content: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cards-4 { grid-template-columns: 1fr; }
  .nav__name { display: none; }
}

/* ====== Banner de cookies (LGPD) ====== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  background: rgba(10, 10, 10, 0.97);
  border: 1px solid rgba(239, 122, 44, 0.35);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  animation: cookie-in 0.35s ease;
}
.cookie-banner[hidden] { display: none; }
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner__text {
  margin: 0;
  color: var(--light);
  font-size: 0.92rem;
  line-height: 1.5;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px;
  }
  .cookie-banner__actions { justify-content: center; }
  .cookie-btn { flex: 1; }
}

/* ====== Página legal (Privacidade) ====== */
.legal { padding: clamp(48px, 8vw, 90px) 0; }
.legal__container { max-width: 820px; }
.legal__back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
}
.legal__back:hover { text-decoration: underline; }
.legal__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 10px;
}
.legal__updated {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 36px;
}
.legal h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  margin: 38px 0 14px;
}
.legal h3 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--orange);
  margin: 22px 0 10px;
}
.legal p { color: var(--light); margin-bottom: 16px; line-height: 1.7; }
.legal ul { margin: 0 0 16px 22px; color: var(--light); }
.legal li { margin-bottom: 8px; line-height: 1.6; }
.legal a { color: var(--orange); text-decoration: underline; }
.legal a:hover { color: var(--orange-2); }
.legal strong { color: var(--white); font-weight: 600; }

/* Link dentro do banner de cookies */
.cookie-banner__link { color: var(--orange); text-decoration: underline; }
.cookie-banner__link:hover { color: var(--orange-2); }

/* Links do rodapé */
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--orange); }
