/* =========================================================
   Bode Digital — Estilos do site
   ========================================================= */
:root {
  --green: #95c11f;
  --green-dark: #7ea315;
  --green-soft: #e9f3cc;
  --green-glow: rgba(149, 193, 31, .35);
  --ink: #0f1115;
  --ink-2: #171a21;
  --ink-3: #20242e;
  --gray: #606060;
  --gray-2: #8a8f9a;
  --line: #e6e8e3;
  --surface: #f6f7f3;
  --white: #ffffff;
  --text: #1c1f26;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-sm: 10px; --r: 18px; --r-lg: 28px;
  --shadow: 0 10px 30px -10px rgba(15, 17, 21, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 17, 21, .3);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.txt-green { color: var(--green); }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head p { color: var(--gray); font-size: 1.1rem; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row > div { max-width: 640px; }
.section__cta { text-align: center; margin-top: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--green); border-radius: 2px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green); color: var(--ink); box-shadow: 0 8px 24px -8px var(--green-glow); }
.btn--primary:hover { background: var(--green-dark); box-shadow: 0 14px 30px -8px var(--green-glow); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--surface); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-dark); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--green); z-index: 1001; transition: width .1s linear; }
.header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); transition: background .35s, box-shadow .35s, height .35s, backdrop-filter .35s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: block; position: relative; height: 56px; width: 154px; }
.logo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .3s; }
.logo__img--dark { opacity: 0; }
.header.is-solid, .header.is-light { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.2); height: 72px; }
.header.is-solid .logo__img--dark, .header.is-light .logo__img--dark { opacity: 1; }
.header.is-solid .logo__img--light, .header.is-light .logo__img--light { opacity: 0; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-weight: 500; color: #fff; position: relative; transition: color .25s, background .25s; }
.nav a:not(.btn):hover { background: rgba(255,255,255,.1); }
.nav a.is-active:not(.btn) { color: var(--green); }
.header.is-solid .nav a:not(.btn), .header.is-light .nav a:not(.btn) { color: var(--text); }
.header.is-solid .nav a:not(.btn):hover, .header.is-light .nav a:not(.btn):hover { background: var(--surface); }
.header.is-solid .nav a.is-active:not(.btn), .header.is-light .nav a.is-active:not(.btn) { color: var(--green-dark); }
.nav__cta { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; border-radius: 10px; }
.burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.header.is-solid .burger span, .header.is-light .burger span, .header.is-open .burger span { background: var(--ink); }
.header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); transform: scale(1.08); animation: kenburns 14s linear infinite alternate; }
.hero__slide--plain { background: radial-gradient(1200px 600px at 20% 30%, #23301a, var(--ink)); }
@keyframes kenburns { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.16) translate(-1.5%, 1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,12,16,.85) 0%, rgba(10,12,16,.55) 45%, rgba(10,12,16,.15) 100%), linear-gradient(0deg, rgba(10,12,16,.9) 0%, transparent 40%); }
.hero__glow { position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: -20vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(closest-side, var(--green-glow), transparent 70%); filter: blur(30px); opacity: .6; pointer-events: none; }
.hero__content { padding: calc(var(--header-h) + 60px) 0 90px; max-width: 760px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 500; margin-bottom: 26px; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--green-glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero__texts { position: relative; min-height: 220px; }
.hero__text { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); pointer-events: none; }
.hero__text.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.05; margin-bottom: 18px; text-wrap: balance; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.82); max-width: 600px; font-weight: 300; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.hero__dots { display: flex; gap: 8px; margin-top: 44px; }
.hero__dots button { width: 36px; height: 6px; border-radius: 6px; border: 0; background: rgba(255,255,255,.3); padding: 0; transition: background .3s, width .3s; }
.hero__dots button.is-active { background: var(--green); width: 56px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; display: flex; justify-content: center; padding-top: 6px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--green); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--green); color: var(--ink); overflow: hidden; padding: 14px 0; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track i { font-style: normal; opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about__visual { position: relative; }
.about__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); transition: transform .6s var(--ease); }
.about__visual:hover .about__img { transform: rotate(0); }
.about__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about__float { position: absolute; background: #fff; border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.2; animation: floaty 5s ease-in-out infinite; }
.about__float strong { font-size: 1.25rem; color: var(--ink); }
.about__float span { font-size: .8rem; color: var(--gray); margin-top: 3px; }
.about__float--1 { right: -18px; top: 30px; border-left: 4px solid var(--green); }
.about__float--2 { left: -18px; bottom: 34px; animation-delay: -2.5s; border-left: 4px solid var(--ink); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.about__text p { color: var(--gray); font-size: 1.05rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--surface); transition: transform .3s var(--ease), background .3s; }
.value:hover { transform: translateY(-3px); background: var(--green-soft); }
.value svg { flex: none; color: var(--green-dark); margin-top: 2px; }
.value strong { display: block; color: var(--ink); }
.value span { font-size: .88rem; color: var(--gray); line-height: 1.4; display: block; }

/* ---------- Serviços ---------- */
.section--services { background: var(--surface); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { position: relative; background: #fff; border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; display: flex; flex-direction: column; }
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(149,193,31,.14), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(149,193,31,.4); }
.service:hover::before { opacity: 1; }
.service__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-dark); margin-bottom: 20px; transition: transform .35s var(--ease), background .35s, color .35s; }
.service:hover .service__icon { background: var(--green); color: var(--ink); transform: rotate(-6deg) scale(1.05); }
.service h3 { font-size: 1.35rem; }
.service p { color: var(--gray); font-size: .97rem; }
.service__feats { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.service__feats li { position: relative; padding-left: 26px; font-size: .93rem; font-weight: 500; }
.service__feats li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ea315' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }
.service__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; flex-wrap: wrap; }

/* ---------- Processo ---------- */
.section--process { background: var(--ink); color: #fff; }
.section--process .section__head p, .section--process .eyebrow { color: rgba(255,255,255,.7); }
.section--process .eyebrow { color: var(--green); }
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process li { position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid rgba(255,255,255,.06); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.process li:hover { transform: translateY(-6px); border-color: rgba(149,193,31,.5); background: var(--ink-3); }
.process__num { font-size: 2.6rem; font-weight: 800; color: var(--green); line-height: 1; display: block; margin-bottom: 14px; opacity: .9; }
.process h3 { font-size: 1.2rem; color: #fff; }
.process p { color: rgba(255,255,255,.65); font-size: .95rem; margin: 0; }

/* ---------- Portfólio ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button, .filters a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 500; font-size: .9rem; transition: background .25s, color .25s, border-color .25s, transform .25s; display: inline-flex; align-items: center; gap: 6px; }
.filters small { font-size: .75rem; opacity: .6; }
.filters button:hover, .filters a:hover { border-color: var(--green); transform: translateY(-1px); }
.filters .is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters--scroll { margin-bottom: 40px; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.projects--page { grid-template-columns: repeat(3, 1fr); }
.project-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, opacity .4s; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card.is-hidden { display: none; }
.project-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: var(--surface); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,17,21,.75), transparent 60%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity .4s; }
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__body { padding: 22px 24px 26px; }
.project-card h3 { font-size: 1.2rem; margin: 10px 0 6px; }
.project-card h3 a:hover { color: var(--green-dark); }
.project-card p { color: var(--gray); font-size: .93rem; margin: 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--gray); }
.tag--green { background: var(--green-soft); color: var(--green-dark); }

/* ---------- Blog ---------- */
.section--blog { background: var(--surface); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--surface); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.chip { position: absolute; top: 14px; left: 14px; background: rgba(15,17,21,.85); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.chip--green { position: static; display: inline-block; background: var(--green); color: var(--ink); margin-bottom: 14px; }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--gray-2); margin-bottom: 10px; flex-wrap: wrap; }
.post-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.post-card h3 a:hover { color: var(--green-dark); }
.post-card p { color: var(--gray); font-size: .93rem; flex: 1; }
.post-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.author { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; }
.author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green) 0%, #b7dd45 100%); color: var(--ink); padding: 40px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.18); }
.cta-band__inner { display: flex; align-items: center; gap: 28px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-band__inner > div { flex: 1; min-width: 260px; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band__avatar { width: 96px; height: 96px; border-radius: 50%; border: 4px solid rgba(255,255,255,.6); object-fit: cover; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font: inherit; color: var(--text); transition: border-color .25s, box-shadow .25s, background .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(149,193,31,.18); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: #e5484d; }
.field .error-msg { font-size: .8rem; color: #e5484d; }
.field textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 500; min-height: 1.4em; }
.form-status.is-ok { color: var(--green-dark); }
.form-status.is-err { color: #e5484d; }
.contact__aside { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--green); }
.contact-card__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-dark); }
.contact-card strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-card span { display: block; color: var(--gray); font-size: .92rem; }
.contact-card em { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--green-dark); font-size: .9rem; }
.contact-card--wa { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact-card--wa strong { color: #fff; } .contact-card--wa span { color: rgba(255,255,255,.7); } .contact-card--wa em { color: var(--green); }
.contact-card--wa .contact-card__icon { background: var(--green); color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { width: 170px; margin: -14px 0 8px -6px; }
.footer__brand p { font-size: .95rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { transition: color .25s; }
.footer ul a:hover { color: var(--green); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { flex: none; color: var(--green); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background .25s, color .25s, transform .25s; }
.social a:hover { background: var(--green); color: var(--ink); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; color: rgba(255,255,255,.5); }
.heart { display: inline-block; animation: beat 1.6s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.25); } 28% { transform: scale(1); } 42% { transform: scale(1.2); } }

/* ---------- Flutuantes ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; z-index: 900; box-shadow: 0 10px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2s infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; z-index: 900; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s, background .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green); color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 999px; z-index: 1100; opacity: 0; transition: opacity .3s, transform .3s; font-weight: 500; box-shadow: var(--shadow-lg); max-width: calc(100% - 40px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--success { background: var(--green); color: var(--ink); }
.toast--error { background: #e5484d; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(8,9,12,.95); z-index: 1200; display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); animation: zoomIn .3s var(--ease); }
@keyframes zoomIn { from { transform: scale(.94); opacity: 0; } }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; display: grid; place-items: center; transition: background .25s; }
.lightbox button:hover { background: var(--green); color: var(--ink); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }

/* ---------- Páginas internas ---------- */
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 60px) 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; border-radius: 50%; background: radial-gradient(closest-side, var(--green-glow), transparent 70%); filter: blur(20px); opacity: .5; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb em { font-style: normal; color: #fff; }
.search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 520px; margin-top: 24px; color: var(--gray); }
.search input { flex: 1; border: 0; background: transparent; font: inherit; color: var(--text); min-width: 0; }
.search input:focus { outline: none; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 600; transition: background .25s, color .25s; }
.pagination a:hover { background: var(--surface); }
.pagination a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty img { margin: 0 auto 16px; border-radius: 50%; }
.empty a { color: var(--green-dark); font-weight: 600; }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.featured__media { display: block; overflow: hidden; min-height: 320px; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.featured:hover .featured__media img { transform: scale(1.04); }
.featured__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured__body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.featured__body h2 a:hover { color: var(--green-dark); }
.featured__body p { color: var(--gray); }

/* ---------- Post ---------- */
.post__hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 50px) 0 120px; }
.post__hero-inner { max-width: 860px; }
.post__hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); text-wrap: balance; }
.post__lead { font-size: 1.15rem; color: rgba(255,255,255,.75); font-weight: 300; }
.post__meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; font-size: .92rem; color: rgba(255,255,255,.75); }
.post__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.post__meta .author img { width: 40px; height: 40px; border: 2px solid var(--green); }
.post__meta .author span { display: flex; flex-direction: column; line-height: 1.2; }
.post__meta .author strong { color: #fff; } .post__meta .author small { color: rgba(255,255,255,.55); font-size: .75rem; }
.post__cover { margin-top: -80px; position: relative; z-index: 2; max-width: 1000px; }
.post__cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.post__layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; justify-content: center; padding: 60px 0 80px; }
.post__side { position: sticky; top: 100px; align-self: start; display: grid; gap: 22px; }
.toc { background: var(--surface); border-radius: var(--r); padding: 18px 20px; font-size: .9rem; }
.toc strong { display: block; margin-bottom: 8px; color: var(--ink); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.toc__l3 { padding-left: 12px; font-size: .85rem; }
.toc a { color: var(--gray); transition: color .2s; display: block; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--green-dark); }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share strong { width: 100%; font-size: .85rem; color: var(--ink); }
.share a, .share button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--gray); transition: background .25s, color .25s, transform .25s, border-color .25s; }
.share a:hover, .share button:hover { background: var(--green); color: var(--ink); border-color: var(--green); transform: translateY(-2px); }
.prose { font-size: 1.08rem; line-height: 1.8; color: #2a2e36; }
.prose h2 { font-size: 1.8rem; margin: 2em 0 .6em; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.4rem; margin: 1.8em 0 .5em; scroll-margin-top: 100px; }
.prose h4 { font-size: 1.15rem; margin: 1.5em 0 .4em; }
.prose p { margin-bottom: 1.3em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--green-dark); font-weight: 700; }
.prose img { border-radius: var(--r); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--green); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; font-style: italic; }
.prose pre { background: var(--ink); color: #e8eaf0; padding: 18px 20px; border-radius: var(--r); overflow-x: auto; font-size: .9rem; }
.prose code { background: var(--surface); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--surface); }
.prose iframe { max-width: 100%; border-radius: var(--r); }
.post__author-box { display: flex; gap: 18px; align-items: center; margin-top: 50px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); }
.post__author-box img { width: 72px; height: 72px; border-radius: 50%; flex: none; border: 3px solid var(--green); }
.post__author-box strong { font-size: 1.1rem; color: var(--ink); }
.post__author-box p { margin: 4px 0 0; font-size: .95rem; color: var(--gray); }
.post__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 24px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.post__cta strong { display: block; font-size: 1.15rem; }
.post__cta span { color: rgba(255,255,255,.65); font-size: .95rem; }
.post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post__nav-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, transform .25s; }
.post__nav-item:hover { border-color: var(--green); transform: translateY(-2px); }
.post__nav-item small { color: var(--gray-2); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.post__nav-item span { font-weight: 600; color: var(--ink); font-size: .95rem; }
.post__nav-item--next { text-align: right; align-items: flex-end; }
.section--related { background: var(--surface); }

/* ---------- Projeto ---------- */
.page-hero--project .tags { margin-bottom: 14px; }
.project__facts { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 20px; }
.project__facts > span { display: flex; flex-direction: column; font-weight: 600; }
.project__facts small { color: rgba(255,255,255,.55); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.project { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.project__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project__img { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); cursor: zoom-in; }
.project__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .7s var(--ease); }
.project__img:hover img { transform: scale(1.04); }
.project__img--main { grid-column: 1 / -1; }
.project__img--main img { aspect-ratio: 16/10; }
.project__text { position: sticky; top: 100px; }
.project__text h3 { color: var(--ink); margin-top: 1.4em; }
.project__text ul { list-style: none; padding: 0; }
.project__text li { position: relative; padding-left: 28px; margin-bottom: .8em; }
.project__text li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ea315' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat; }

/* ---------- Serviço ---------- */
.service-hero { display: flex; gap: 28px; align-items: flex-start; }
.service-hero__icon { flex: none; width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; background: var(--green); color: var(--ink); }
.service-hero .hero__actions { margin-top: 24px; }
.service-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.service-page__img { border-radius: var(--r-lg); margin-bottom: 40px; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--surface); font-weight: 500; }
.checklist svg { flex: none; color: var(--green-dark); }
.side-box { background: var(--surface); border-radius: var(--r-lg); padding: 24px; position: sticky; top: 100px; }
.side-box strong { display: block; margin-bottom: 14px; color: var(--ink); }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.side-box a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 500; transition: background .25s, color .25s; }
.side-box a:hover { background: #fff; color: var(--green-dark); }
.side-box svg { color: var(--green-dark); }

/* ---------- 404 ---------- */
.section--404 { padding-top: calc(var(--header-h) + 80px); background: var(--ink); color: #fff; min-height: 100svh; display: flex; align-items: center; }
.nf { text-align: center; max-width: 640px; }
.nf__img { margin: 0 auto 10px; border-radius: 50%; border: 4px solid var(--green); }
.nf__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--green); line-height: 1; display: block; }
.nf p { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.nf .hero__actions { justify-content: center; margin-top: 24px; }

/* ---------- Bio (links) ---------- */
.bare { background: var(--ink); min-height: 100svh; }
.bio { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; position: relative; overflow: hidden; }
.bio__bg { position: absolute; inset: 0; background: radial-gradient(800px 500px at 30% 20%, rgba(149,193,31,.25), transparent 60%), radial-gradient(600px 400px at 80% 90%, rgba(149,193,31,.15), transparent 60%); }
.bio__card { position: relative; width: 100%; max-width: 480px; text-align: center; color: #fff; }
.bio__avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 16px; border: 4px solid var(--green); box-shadow: 0 0 0 8px rgba(149,193,31,.15); object-fit: cover; }
.bio h1 { font-size: 1.7rem; margin-bottom: 4px; }
.bio__card > p { color: rgba(255,255,255,.65); margin-bottom: 28px; }
.bio__links { display: grid; gap: 12px; }
.bio__link { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; text-align: left; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.bio__link:hover { transform: translateY(-3px) scale(1.01); background: rgba(255,255,255,.1); border-color: var(--green); }
.bio__link img, .bio__link-icon { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }
.bio__link-icon { display: grid; place-items: center; background: var(--green); color: var(--ink); }
.bio__link > span:not(.bio__link-icon) { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.bio__link strong { font-size: 1rem; } .bio__link small { color: rgba(255,255,255,.55); font-size: .8rem; }
.bio__link > svg { color: rgba(255,255,255,.4); }
.bio__link--wa { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.35); }
.bio__link--wa .bio__link-icon { background: #25d366; color: #fff; }
.bio__share { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 10px 18px; border-radius: 999px; transition: background .25s, border-color .25s; }
.bio__share:hover { background: rgba(255,255,255,.08); border-color: var(--green); }
.bio__powered { display: block; margin-top: 30px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.bio__powered:hover { color: var(--green); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide img, .marquee__track, .about__float, .wa-float__pulse, .heart, .hero__badge .dot { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .post__layout { grid-template-columns: minmax(0, 760px); }
  .post__side { position: static; display: flex; flex-wrap: wrap; gap: 16px; }
  .toc { flex: 1 1 100%; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .burger { display: flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 4px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s; box-shadow: 0 30px 40px -20px rgba(0,0,0,.25); border-bottom: 1px solid var(--line); }
  .header.is-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .header.is-open { background: #fff; }
  .header.is-open .logo__img--dark { opacity: 1; } .header.is-open .logo__img--light { opacity: 0; }
  .nav a:not(.btn) { color: var(--text) !important; padding: 12px 14px; font-size: 1.05rem; }
  .nav a:not(.btn):hover { background: var(--surface) !important; }
  .nav__cta { margin: 10px 0 0; justify-content: center; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__float--1 { right: 0; } .about__float--2 { left: 0; }
  .projects, .posts, .projects--page { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; }
  .project__text { position: static; }
  .service-page { grid-template-columns: 1fr; }
  .side-box { position: static; }
  .hero__content { padding-bottom: 110px; }
}
@media (max-width: 640px) {
  .container { width: min(1200px, 100% - 32px); }
  .services, .process, .projects, .posts, .projects--page, .values, .grid-2, .checklist, .post__nav, .project__gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .contact__form { padding: 24px 20px; }
  .hero__title { font-size: 2.4rem; }
  .hero__texts { min-height: 260px; }
  .service-hero { flex-direction: column; }
  .cta-band__inner { text-align: center; justify-content: center; }
  .cta-band__inner .btn { width: 100%; }
  .post__cover { margin-top: -50px; }
  .post__hero { padding-bottom: 80px; }
  .post__cta { text-align: center; justify-content: center; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 21px; bottom: 82px; }
  .about__float { padding: 10px 14px; } .about__float strong { font-size: 1rem; }
  .filters--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters--scroll a { flex: none; }
}
