/* =========================================================
   ART8 · home.css
   Layout das seções da Home. As animações ficam em effects.css.
   ========================================================= */

/* ---------- 1. Abertura ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 72px;
  min-height: min(800px, 100svh);
  display: flex; align-items: center;
}
.hero::before { /* faixa dourada do canto */
  content: ""; position: absolute; right: -150px; top: 40px; width: 480px; height: 44px;
  transform: rotate(35deg); background: linear-gradient(90deg, #7a5600, #ffe08a, #b18000);
}
.hero::after {
  content: ""; position: absolute; right: -190px; top: 112px; width: 480px; height: 12px;
  transform: rotate(35deg); background: linear-gradient(90deg, #b18000, #ffc200);
}
.hero-glow {
  position: absolute; left: 48%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 0;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 0, .1), transparent 62%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; align-items: center; }
.hero h1 { margin-top: 22px; font-size: clamp(34px, 4.3vw, 56px); line-height: 1.08; font-weight: 800; }
.hero .sub { margin-top: 26px; max-width: 640px; font-size: clamp(16px, 1.35vw, 19px); font-weight: 300; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-visual { width: 100%; max-width: 600px; justify-self: end; position: relative; }

@media (max-width: 980px) {
  .hero { min-height: 0; padding-bottom: 48px; }
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { justify-self: center; margin-top: 8px; }
  .hero::before { right: -230px; top: 90px; }
  .hero::after { display: none; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- 2. Áreas de atuação ---------- */
.areas-head { padding: 96px 0 56px; background: var(--bg); }
.areas-head h2 { margin-top: 16px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 800; }
.areas-head p:not(.eyebrow) { margin-top: 20px; max-width: 760px; font-size: clamp(16px, 1.3vw, 18px); font-weight: 300; color: var(--muted); }

.panel { border-top: 1px solid var(--line); position: relative; }
.panel .container { display: grid; grid-template-columns: 2px minmax(0, 1fr); column-gap: clamp(20px, 3.4vw, 48px); }
.thread { background: linear-gradient(#b18000, #ffc200); position: relative; }
.thread::before {
  content: ""; position: absolute; left: -7px; top: 64px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-3); box-shadow: 0 0 0 6px rgba(255, 201, 0, .18);
}
.panel-in { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); padding: 32px 0; min-height: 410px; }
.panel-in.reverse { flex-direction: row-reverse; }
.panel-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px 0; }
.panel-text .area-logo { height: 72px; width: auto; align-self: flex-start; }
.panel-text h3 { margin-top: 4px; max-width: 600px; font-size: clamp(24px, 2.3vw, 31px); line-height: 1.15; font-weight: 800; }
.panel-text p:not(.eyebrow) { max-width: 580px; font-size: 16px; font-weight: 300; color: #c4c4c4; line-height: 1.65; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid #3a3a3a; padding: 6px 12px; font-size: 12px; font-weight: 500; color: #e0e0e0; background: rgba(0, 0, 0, .35); }
.chips span.hl { border-color: var(--gold-2); color: var(--gold-3); }
.panel-text .link-gold { margin-top: 4px; }
.panel-visual { flex: 0 1 540px; min-width: 0; position: relative; }

.panel-1 { min-height: 0; background: radial-gradient(ellipse at 12% 35%, rgba(255, 201, 0, .11), transparent 55%), var(--bg); }
.panel-1 .area-logo { height: 88px; }
.panel-1 h3 { font-size: clamp(26px, 2.8vw, 36px); }
.panel-1 .panel-in { min-height: 470px; }
.panel-2 { background: radial-gradient(ellipse at 88% 50%, rgba(255, 201, 0, .08), transparent 60%), #050505; }
.panel-3 {
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px, #0d0d0e;
}
.panel-4 { background: radial-gradient(rgba(255, 201, 0, .18) 1px, transparent 1.5px) 0 0 / 28px 28px, var(--bg); }

.v-box { background: #111; border: 1px solid var(--line-2); overflow: hidden; position: relative; }
.v-chart { width: 100%; max-width: 600px; }
.v-chart .ev { background: #111; border: 1px solid var(--line-2); }
.v-video { aspect-ratio: 2 / 1; background: #050505; flex-basis: 600px; }
.v-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-video .bar { position: absolute; left: 0; right: 0; height: 15.3%; background: #000; z-index: 1; }
.v-video .bar.t { top: 0; } .v-video .bar.b { bottom: 0; }
.v-video .rec { position: absolute; z-index: 2; top: 20%; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--gold-3); }
.v-video .tc { position: absolute; z-index: 2; top: 20%; right: 20px; font-size: 11px; font-weight: 500; color: #9a9a9a; }
.v-video .rec { left: 20px; }
.v-site svg { width: 100%; height: auto; }
.v-chat { aspect-ratio: 540 / 268; padding: clamp(10px, 2.6%, 20px); }
.bubble { max-width: 62%; padding: 11px 15px; font-size: 13px; line-height: 1.4; }
.bubble.in { background: #1d1d1d; color: #e6e6e6; }
.bubble.out { margin: 10px 0 0 auto; background: linear-gradient(100deg, #b18000, #ffc200); color: #0b0b0b; font-weight: 600; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mod { border: 1px solid #2e2e2e; background: #161616; padding: 10px 12px; font-size: 12px; font-weight: 500; color: #e6e6e6; display: flex; align-items: center; gap: 8px; }
.mod::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-3); flex: none; }
.v-chat small { position: absolute; right: 14px; bottom: 8px; font-size: 10px; color: #8a8a8a; }

@media (max-width: 980px) {
  .panel-in, .panel-in.reverse { flex-direction: column; align-items: stretch; min-height: 0; padding: 28px 0 40px; }
  .panel-1 .panel-in { min-height: 0; }
  .panel-visual { flex: none; width: 100%; max-width: 600px; }
  .panel-text .area-logo { height: 56px; } .panel-1 .area-logo { height: 66px; }
  .thread::before { top: 36px; width: 14px; height: 14px; left: -6px; }
  .v-video { flex-basis: auto; }
}

/* ---------- 3. Método Art8 (exclusivo de Estratégias Digitais) ---------- */
.metodo { position: relative; background: var(--bg-2); padding: 0 0 80px; }
.metodo .tick { position: absolute; left: var(--pad); top: 0; width: 2px; height: 56px; background: linear-gradient(#b18000, #ffc200); }
.metodo-strip { display: flex; align-items: center; gap: 20px; padding-top: 56px; flex-wrap: wrap; }
.metodo-strip img { height: 52px; width: auto; }
.metodo-strip .rule { flex: 1; min-width: 40px; height: 1px; background: linear-gradient(90deg, #b18000, transparent); }
.metodo-body { display: flex; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 56px; }
.metodo-num { font-size: clamp(130px, 17vw, 250px); line-height: 1; font-weight: 800; flex: none; }
.metodo h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; font-weight: 800; }
.metodo p { margin-top: 18px; max-width: 700px; font-size: 17px; font-weight: 300; line-height: 1.65; color: var(--muted); }
.metodo .chips { margin-top: 26px; }
.metodo .chips span { font-size: 14px; padding: 11px 18px; background: none; }
.metodo .note { color: #e6e6e6; font-weight: 500; font-size: 15px; margin-top: 24px; }
@media (max-width: 760px) { .metodo-body { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 36px; } .metodo-num { font-size: 120px; } }

/* ---------- 4. Case + portfólio ---------- */
.case { background: var(--light); color: var(--ink); padding: 64px 0 72px; }
.case .eyebrow { color: var(--ink); display: flex; align-items: center; gap: 14px; font-size: 13px; }
.case .eyebrow::before { content: ""; width: 48px; height: 3px; background: linear-gradient(90deg, #b18000, #ffc900); }
.case-top { display: flex; gap: clamp(32px, 5vw, 72px); margin-top: 22px; align-items: flex-start; }
.case-top > div:first-child { flex: 1; min-width: 0; }
.case h2 { font-size: clamp(38px, 4vw, 54px); line-height: 1.05; font-weight: 800; }
.case h3 { margin-top: 14px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; font-weight: 500; }
.case .lead { margin-top: 16px; max-width: 640px; font-size: 16px; line-height: 1.65; }
.result { flex: 0 0 520px; border: 1px solid var(--ink); padding: 26px 30px; }
.result .lab { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.result .big { margin-top: 6px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.1; font-weight: 800; white-space: nowrap; }
.result .bar { height: 4px; width: 96px; margin: 10px 0 12px; background: linear-gradient(90deg, #b18000, #ffc900); }
.result .cap { font-size: 14px; font-weight: 500; line-height: 1.5; }
.stats { display: flex; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #cfc8b8; }
.stats > div { flex: 1; }
.stats b { display: block; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; font-weight: 800; white-space: nowrap; }
.stats span { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; line-height: 1.4; color: #4a463b; }
.case-label { margin-top: 44px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 22px; }
.tile { position: relative; height: 470px; overflow: hidden; background: #111 center / cover no-repeat; border: 0; padding: 0; width: 100%; display: block; }
.tile .chip {
  position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(11, 11, 11, .85); color: #fff; padding: 7px 12px;
  border-left: 3px solid var(--gold-2); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-align: left;
}
.tile .play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.tile-brand { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, #2159c4 0%, #0f2a6e 55%, #081848 100%); }
.tile-brand img { width: 68%; height: auto; }
.act { padding: 13px 0; border-top: 1px solid #cfc8b8; }
.act:first-child { margin-top: 16px; }
.act p { font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.act .tags { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.act .tag { display: inline-block; border: 1px solid var(--ink); padding: 4px 10px; font-size: 11px; font-weight: 600; }
.act img { height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 2px; }
@media (max-width: 1100px) { .case-top { flex-direction: column; } .result { flex: none; width: 100%; max-width: 560px; } }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } .tile { height: auto; aspect-ratio: 4 / 4.4; max-height: 520px; } .tile-brand { height: 280px; aspect-ratio: auto; } }
@media (max-width: 520px) { .stats { flex-wrap: wrap; } .stats > div { flex: 1 1 40%; } }

.portfolio { background: var(--bg); padding: 56px 0 64px; }
.portfolio-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.portfolio h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.vcard { background: none; border: 0; padding: 0; text-align: left; color: #d6d6d6; font-size: 13px; font-weight: 500; }
.vcard .thumb { display: block; position: relative; aspect-ratio: 16 / 9; background: #161616 center / cover no-repeat; border: 1px solid var(--line-2); margin-bottom: 12px; transition: border-color .2s ease, transform .2s ease; }
.vcard:hover .thumb { border-color: var(--gold-2); transform: translateY(-3px); }
.vcard .thumb svg { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; }
@media (max-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ---------- 5. Integração + chamada final ---------- */
.integra { background: var(--bg); padding: 88px 0 0; text-align: center; }
.integra h2 { margin: 0 auto; max-width: 900px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; font-weight: 800; }
.integra .sub { margin: 20px auto 0; max-width: 760px; font-size: clamp(16px, 1.3vw, 18px); font-weight: 300; color: var(--muted); }
.lacos { width: 100%; max-width: 960px; height: auto; margin: 8px auto 0; }
.scen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 20px; text-align: left; }
.scen > div { border-top: 2px solid var(--gold-2); padding-top: 20px; }
.scen b { display: block; font-size: 18px; font-weight: 700; }
.scen p { margin: 8px 0 16px; font-size: 15px; font-weight: 300; line-height: 1.5; color: #bdbdbd; }
.scen .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.scen .pills span { padding: 5px 10px; border: 1px solid #2e2e2e; font-size: 11px; font-weight: 500; color: #8f8f8f; }
.scen .pills span.on { border-color: var(--gold-2); color: var(--gold-3); background: rgba(255, 201, 0, .08); }
@media (max-width: 860px) { .scen { grid-template-columns: 1fr; gap: 24px; } }

.cta-final { position: relative; overflow: hidden; margin-top: 80px; padding: 72px 0 88px; border-top: 1px solid var(--line-2); }
.cta-final::before { content: ""; position: absolute; left: 50%; top: -240px; width: 640px; height: 640px; margin-left: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 0, .13), transparent 62%); }
.cta-final .container { position: relative; }
.cta-final h2 { margin: 0 auto; max-width: 900px; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.12; font-weight: 800; }
.cta-final p { margin-top: 18px; font-size: 16px; font-weight: 300; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 30px; }
@media (max-width: 560px) { .cta-actions .btn { width: 100%; } }

.tile .play svg { width: 100%; height: 100%; }
