/* ===========================================================
   Power Mídia — Digital Out-of-Home
   Paleta elétrica (verde/navy) derivada dos criativos DOOH.
   HTML/CSS/JS puro — sem build.
   =========================================================== */

:root {
  --bg:        #0A0A0A;
  --bg-2:      #111111;
  --surface:   #161616;
  --surface-2: #1D1D1D;
  --border:    #2A2A2A;
  --primary:   #FFD600;
  --primary-2: #FFC400;
  --accent:    #FFB300;
  --text:      #F5F5F2;
  --muted:     #9A9A96;
  --white:     #ffffff;

  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1160px;
  --gutter:    clamp(20px, 5vw, 40px);
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --shadow:    0 20px 60px -20px rgba(0,0,0,.7);
  --glow:      0 0 40px -6px rgba(255,214,0,.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(60% 40% at 50% 0%, rgba(255,214,0,.10), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
}

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

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; margin: 0; }

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

.accent { color: var(--primary); }
.mt-xs { margin-top: .5rem; }
.mt-sm { margin-top: 1rem; }
.mt-lg { margin-top: 2.5rem; }
.mb-0  { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #0A0A0A; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-wa { background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #0A0A0A; box-shadow: var(--glow); }
.btn-wa:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ---------- Nav ---------- */
#nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.nav-logo svg { width: 34px; height: 34px; }
.nav-logo .lg-2 { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a.nav-link { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav-links a.nav-link:hover { color: var(--text); }
.nav-trailing { display: flex; align-items: center; gap: .8rem; }
.lang-toggle {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: .35rem .7rem; font-size: .8rem; font-weight: 600; cursor: pointer;
  font-family: var(--font-head); letter-spacing: .5px;
}
.lang-toggle:hover { color: var(--primary); border-color: var(--primary); }
.nav-burger { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
#hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,214,0,.1); border: 1px solid rgba(255,214,0,.3);
  color: var(--primary); padding: .4rem .9rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; font-family: var(--font-head); letter-spacing: .5px;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; margin-top: 1.2rem; }
.hero-desc { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); margin-top: 1.2rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-head); font-size: 1.8rem; color: var(--primary); display: block; }
.hero-stats .stat span { color: var(--muted); font-size: .85rem; }

/* Totem mockup in hero */
.totem-showcase { display: flex; justify-content: center; }
.totem {
  width: min(280px, 72vw); aspect-ratio: 1080/1920; border-radius: 22px;
  background: #000; border: 6px solid #1C1C1C; box-shadow: var(--shadow), var(--glow);
  overflow: hidden; position: relative;
}
.totem img { width: 100%; height: 100%; object-fit: cover; }
.totem::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(0,0,0,.5); pointer-events: none; }

/* Pôster (hero): mostra a arte inteira, sem cortar, na proporção natural */
.totem-poster { aspect-ratio: auto; width: min(340px, 82vw); border-width: 4px; }
.totem-poster img { height: auto; object-fit: contain; }
.totem-poster::after { display: none; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-surface { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02)); }
.section-label { color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 .6rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 20ch; }
.section-desc { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin-top: 1rem; }

/* ---------- Feature / cards grid ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: .2s ease;
}
.card:hover { border-color: rgba(255,214,0,.4); transform: translateY(-3px); }
.card .ico {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255,214,0,.12); color: var(--primary); font-size: 1.4rem; margin-bottom: 1rem;
}

/* Ícones SVG (Lucide/brand) — line por padrão, fill nos de marca */
.ico svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ico svg.ico-fill { fill: currentColor; stroke: none; }
.hero-badge svg { width: 15px; height: 15px; fill: currentColor; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Steps (como funciona) ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #0A0A0A; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Audience blocks ---------- */
.aud-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column;
}
.aud-card .ico { width: 56px; height: 56px; font-size: 1.6rem; }
.aud-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.aud-card p { color: var(--muted); }
.aud-card ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .55rem; }
.aud-card li { display: flex; gap: .55rem; align-items: flex-start; color: var(--text); font-size: .95rem; }
.aud-card li::before { content: "▹"; color: var(--primary); font-weight: 700; }
.aud-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Showcase (criativos reais) ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.8rem; max-width: 840px; margin-inline: auto; justify-items: center; }
.showcase-item { text-align: center; width: 100%; }
.showcase-item .totem { width: 100%; max-width: 230px; margin: 0 auto .9rem; }
.showcase-item span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; } }
@media (max-width: 440px) { .showcase-grid { grid-template-columns: 1fr; max-width: 280px; } }

/* ---------- Metrics band ---------- */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.metric b { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3rem); color: var(--primary); display: block; }
.metric span { color: var(--muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(120deg, rgba(255,214,0,.14), rgba(255,196,0,.06));
  border: 1px solid rgba(255,214,0,.3); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; position: relative; overflow: hidden;
}
.cta-box h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta-box p { color: var(--muted); font-size: 1.1rem; margin-top: .6rem; }
.cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.contact-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-list a { display: flex; gap: .8rem; align-items: center; color: var(--text); }
.contact-list .ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,214,0,.12); color: var(--primary); display: grid; place-items: center; font-size: 1.1rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 2.5rem 0; margin-top: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-inner p { color: var(--muted); font-size: .9rem; margin: 0; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { max-width: none; }
  .hero-actions, .hero-stats { justify-content: center; }
  .totem-showcase { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 1rem var(--gutter); gap: 1rem;
  }
  .nav-links.open a.nav-link { color: var(--text); }
  .nav-burger { display: block; }
}

/* Legal pages */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; color: var(--primary); }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--primary); }
.legal .container { max-width: 800px; }
