/* ============================================================
   Artêmis — Stylesheet
   Organização: tokens → reset → tipografia → layout → componentes → seções → responsivo
   ============================================================ */

/* ----------------------------------------------------------
   1. TOKENS (variáveis CSS)
   ---------------------------------------------------------- */
:root {
  /* Cores de fundo */
  --bg:     #08070a;
  --bg-2:   #0d0b10;
  --bg-3:   #121017;

  /* Texto */
  --ink:      #f4f0e6;
  --ink-soft: #c5c1b5;
  --muted:    #8b887d;
  --muted-2:  #605d56;

  /* Dourado */
  --gold-1:    #ffe6a0;
  --gold-2:    #f5c518;
  --gold-3:    #d99a0b;
  --gold-deep: #a96f08;
  --gold-grad:      linear-gradient(168deg, #ffe784 0%, #f5c518 46%, #d6960e 100%);
  --gold-grad-text: linear-gradient(170deg, #ffeaa0 0%, #f5c518 50%, #caa017 100%);

  /* Bordas e sombras */
  --line:   rgba(245, 197, 24, .16);
  --line-2: rgba(255, 255, 255, .07);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);

  /* Layout */
  --maxw: 1240px;

  /* Tipografia */
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

img {
  display: block;
  max-width: 100%;
}

/* ----------------------------------------------------------
   3. EFEITOS DE FUNDO (grain + glow ambiente)
   ---------------------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -8%,  rgba(245, 197, 24, .10), transparent 60%),
    radial-gradient(700px 600px at 8%  12%,  rgba(217, 154, 11, .06), transparent 55%),
    radial-gradient(1000px 800px at 50% 120%, rgba(245, 197, 24, .05), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------
   4. LAYOUT BASE
   ---------------------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: 120px 0;
}

.sec-head {
  max-width: 740px;
  margin-bottom: 64px;
}

.sec-head h2 {
  margin: 18px 0 20px;
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  width: 100%;
}

/* ----------------------------------------------------------
   5. TIPOGRAFIA
   ---------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -.012em;
}

.display { font-size: clamp(2.7rem, 7vw, 5.6rem); }
h2       { font-size: clamp(2rem, 4.4vw, 3.5rem); }

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 300;
  max-width: 60ch;
}

.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2));
}

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

em.it {
  font-style: italic;
  color: var(--gold-1);
  font-weight: 300;
}

/* ----------------------------------------------------------
   6. ANIMAÇÕES GLOBAIS
   ---------------------------------------------------------- */
/* Reveal ao scrollar */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* Draw (stroke SVG) */
.draw {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.4s cubic-bezier(.6, .1, .2, 1) forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* ----------------------------------------------------------
   7. COMPONENTES — BOTÕES
   ---------------------------------------------------------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .86rem;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  cursor: pointer;
  border: none;
  padding: .85em 1.5em;
  border-radius: 100px;
  transition: .35s cubic-bezier(.2, .7, .2, 1);
}

.btn .arr {
  transition: .35s;
}

.btn:hover .arr {
  transform: translateX(4px);
}

.btn-gold {
  background: var(--gold-grad);
  color: #000;
  box-shadow: 0 8px 30px -8px rgba(245, 197, 24, .5);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px rgba(245, 197, 24, .65);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold-2);
  background: rgba(245, 197, 24, .06);
}

/* ----------------------------------------------------------
   8. NAVEGAÇÃO
   ---------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: .45s cubic-bezier(.2, .7, .2, 1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  transition: .45s;
}

header.scrolled {
  background: rgba(8, 7, 10, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-2);
}

header.scrolled .nav {
  padding: 13px 0;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 46px;
  width: auto;
  transition: .45s;
}

header.scrolled .brand img {
  height: 38px;
}

/* Links de navegação */
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .01em;
  position: relative;
  padding: 4px 0;
  transition: .3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold-2);
  transition: .35s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Botão CTA do header — sobrescreve cor herdada de .nav-links a */
.nav-links .nav-cta {
  color: #000;
  padding-left:  calc(1.5em + 5px);
  padding-right: calc(1.5em + 5px);
}

.nav-links .nav-cta::after {
  display: none; /* remove underline animado do link */
}

/* Burger (mobile) */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 9px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: .3s;
}

/* ----------------------------------------------------------
   9. HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  padding: 190px 0 110px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero h1 { margin: 26px 0 28px; }
.hero .lead { margin-bottom: 38px; }

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Padding extra no botão CTA do hero */
.hero-cta .btn-gold {
  padding-left:  calc(1.5em + 5px);
  padding-right: calc(1.5em + 5px);
}

.hero-trust {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .04em;
}

.hero-trust .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px var(--gold-2);
}

.platform-ticker {
  margin-top: 14px;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink-soft);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
}

/* Visual / emblema */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-emblem {
  position: absolute;
  width: min(78%, 360px);
  opacity: .96;
  filter: drop-shadow(0 0 60px rgba(245, 197, 24, .22));
  z-index: 2;
  animation: floaty 7s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ----------------------------------------------------------
   10. SEÇÃO — PILARES (Serviços)
   ---------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pcard {
  position: relative;
  padding: 46px 40px 44px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0));
  overflow: hidden;
  transition: .5s cubic-bezier(.2, .7, .2, 1);
}

.pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: .5s;
}

.pcard:hover {
  transform: translateY(-6px);
  background: linear-gradient(165deg, rgba(245, 197, 24, .05), rgba(255, 255, 255, .01));
}

.pcard:hover::before { opacity: .7; }

.pcard .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-2);
}

.pcard h3 { font-size: 1.9rem; margin: 14px 0 16px; }
.pcard p  { color: var(--muted); font-weight: 300; margin-bottom: 26px; }

.pcard ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.pcard li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.pcard li svg { flex: none; margin-top: 5px; width: 13px; height: 13px; }
.pcard li svg path { stroke: var(--gold-2); }

/* ----------------------------------------------------------
   11. SEÇÃO — PLATAFORMAS
   ---------------------------------------------------------- */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.chip {
  position: relative;
  padding: 30px 24px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .015);
  transition: .4s cubic-bezier(.2, .7, .2, 1);
  cursor: default;
  overflow: hidden;
}

.chip .glow {
  position: absolute;
  inset: 0;
  background: var(--gold-grad);
  opacity: 0;
  transition: .4s;
}

.chip:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.chip:hover .glow { opacity: .92; }

.chip:hover .chip-name,
.chip:hover .chip-desc {
  color: #1a1304;
  position: relative;
  z-index: 2;
}

.chip-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 400;
  transition: .3s;
  position: relative;
  z-index: 2;
}

.chip-desc {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 6px;
  transition: .3s;
  position: relative;
  z-index: 2;
}

.chip-dot {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  opacity: .5;
  z-index: 2;
  transition: .3s;
}

.chip:hover .chip-dot {
  background: #1a1304;
  opacity: .7;
}

/* ----------------------------------------------------------
   12. SEÇÃO — MÉTODO
   ---------------------------------------------------------- */
.method { position: relative; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 30px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--gold-2), var(--line));
}

.step { padding: 0 22px; position: relative; }

.step .node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--gold-2);
  position: relative;
  margin: 28px 0 30px;
  box-shadow: 0 0 0 6px var(--bg), 0 0 16px rgba(245, 197, 24, .5);
}

.step .stnum {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gold-2);
  line-height: 1;
  opacity: .85;
}

.step h3 { font-size: 1.28rem; margin: 14px 0 12px; }
.step p  { font-size: .92rem; color: var(--muted); font-weight: 300; }

/* ----------------------------------------------------------
   13. SEÇÃO — DIFERENCIAL
   ---------------------------------------------------------- */
.edge {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.edge-body p {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.08rem;
  margin-top: 24px;
}

.edge-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.epoint {
  display: flex;
  gap: 20px;
  padding: 24px 26px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .015);
  transition: .4s;
}

.epoint:hover {
  border-color: var(--line);
  transform: translateX(6px);
}

.epoint .ei {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-2);
  flex: none;
  width: 42px;
}

.epoint h4 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.epoint p { font-size: .9rem; color: var(--muted); font-weight: 300; }

/* ----------------------------------------------------------
   14. SEÇÃO — STATS
   ---------------------------------------------------------- */
.stats {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 70px 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat .n {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 380;
  background: var(--gold-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat .l {
  color: var(--muted);
  font-size: .86rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* ----------------------------------------------------------
   15. SEÇÃO — CONTATO
   ---------------------------------------------------------- */
.contact { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact h2  { margin: 18px 0 22px; }
.contact .lead { margin-bottom: 34px; }

.contact-alt {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

.alt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: .98rem;
}

.alt-item svg { width: 18px; height: 18px; }
.alt-item svg path,
.alt-item svg circle,
.alt-item svg rect { stroke: var(--gold-2); }
.alt-item b { font-weight: 600; }

/* Formulário */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field label {
  display: block;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .98rem;
  transition: .3s;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  background: rgba(245, 197, 24, .04);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form .btn-gold {
  justify-content: center;
  margin-top: 6px;
  padding: 1.05em;
}

.form-note {
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}

.form-success {
  display: none;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(245, 197, 24, .05);
  text-align: center;
}

.form-success.show { display: block; }

.form-success h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-1);
  margin-bottom: 8px;
}

/* ----------------------------------------------------------
   16. RODAPÉ
   ---------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line-2);
  padding: 80px 0 36px;
  position: relative;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.foot-brand img { height: 54px; margin-bottom: 20px; }
.foot-brand p   { color: var(--muted); font-weight: 300; font-size: .92rem; max-width: 34ch; }

.foot-col h5 {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
  font-weight: 600;
}

.foot-col a {
  display: block;
  color: var(--ink-soft);
  font-size: .92rem;
  margin-bottom: 11px;
  transition: .3s;
  font-weight: 300;
}

.foot-col a:hover {
  color: var(--gold-1);
  transform: translateX(3px);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 14px;
}

.socials { display: flex; gap: 16px; }

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.socials a:hover {
  border-color: var(--gold-2);
  background: rgba(245, 197, 24, .08);
}

.socials svg { width: 16px; height: 16px; }
.socials svg path { fill: var(--ink-soft); transition: .3s; }
.socials a:hover svg path { fill: var(--gold-1); }

/* ----------------------------------------------------------
   17. RESPONSIVO
   ---------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid  { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { min-height: 340px; order: -1; margin-bottom: 10px; }

  .pillars,
  .edge,
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }

  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps     { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .steps::before { display: none; }
  .foot-top  { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: rgba(11, 9, 14, .97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: .45s cubic-bezier(.2, .7, .2, 1);
    border-left: 1px solid var(--line);
    z-index: 60;
    padding: 40px;
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a    { font-size: 1.1rem; }
  .nav-links .nav-cta { margin-top: 10px; }

  .burger { display: block; z-index: 70; }

  .hero    { padding: 140px 0 80px; }
  section  { padding: 84px 0; }
  .sec-head { margin-bottom: 44px; }

  .stat-row  { grid-template-columns: 1fr; gap: 40px; }
  .form-row  { grid-template-columns: 1fr; }
  .foot-top  { grid-template-columns: 1fr; }
  .pcard     { padding: 36px 28px; }
  .wrap      { padding: 0 20px; }
}
