:root {
  --wine: #640101;
  --wine-text: #731a1a;
  --black: #09090a;
  --offwhite: #fbfbfb;
  --muted: #6b6b73;
  --line: #e5e5e8;
  --scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--offwhite); }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--black);
  font-family: "Poppins", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

#viewport {
  width: 100%;
  height: calc(2738px * var(--scale));
  overflow: hidden;
  position: relative;
  background: var(--offwhite);
}

#stage {
  width: 1440px;
  height: 2738px;
  margin: 0;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
  transform: scale(var(--scale));
  overflow: hidden;
  background: var(--offwhite);
}

.header {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1440px;
  height: 88px;
  background: var(--offwhite);
  z-index: 20;
}

.brand {
  position: absolute;
  left: 88px;
  top: -86px;
  width: 260px;
  height: 260px;
  overflow: hidden;
}
.brand img { width: 260px; height: 260px; display: block; object-fit: cover; }
.brand-fallback { display:none; }

.nav {
  position: absolute;
  left: 927px;
  top: 21px;
  width: 425px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.nav > a:not(.button) { transition: opacity .18s ease; }
.nav > a:not(.button):hover { opacity: .58; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-wine { background: var(--wine); color:#fff; }
.button-wine:hover { background:#760101; box-shadow:0 9px 26px rgba(100,1,1,.18); }
.button-light { background:#fff; color:var(--black); border:1px solid var(--line); }
.button-light:hover { box-shadow:0 8px 22px rgba(9,9,10,.07); }
.button-white { background:#fff; color:var(--black); }
.header-cta { width:183px; }

.hero {
  position:absolute;
  left:8px;
  top:88px;
  width:1440px;
  height:620px;
  overflow:hidden;
}
.hero-content {
  position:absolute;
  left:88px;
  top:76px;
  width:690px;
  height:468px;
  overflow:visible;
}
.hero-heading {
  position:absolute;
  left:1px;
  top:55px;
  width:880px;
  margin:0;
  color:var(--black);
  font-size:58px;
  font-weight:700;
  line-height:1.08;
  letter-spacing:-2.1px;
}
.hero-main { display:block; width:690px; }
.hero-system {
  display:flex;
  align-items:baseline;
  width:max-content;
  margin-top:0;
  white-space:nowrap;
}
.type-slot {
  display:inline-flex;
  align-items:baseline;
  width:auto;
}
.typeword {
  display:inline-block;
  color:var(--wine-text);
  white-space:nowrap;
}
.type-caret {
  display:inline-block;
  flex:0 0 auto;
  width:2px;
  height:.88em;
  background:var(--wine-text);
  margin-left:5px;
  transform:translateY(5px);
  animation:caretBlink .76s steps(1, end) infinite;
}
.type-slot.is-typing .type-caret {
  animation:none;
  opacity:1;
}
@keyframes caretBlink { 0%,45% { opacity:1; } 46%,100% { opacity:0; } }
.hero-description {
  position:absolute;
  left:1px;
  top:380px;
  width:666px;
  height:88px;
  margin:0;
  font-size:15px;
  font-weight:600;
  line-height:1.2;
  color:#000;
}
.hero-actions { position:absolute; inset:0; }
.hero-primary { position:absolute; left:1046px; top:222px; width:208px; }
.hero-secondary { position:absolute; left:1081px; top:347px; width:137px; }
.hero-articles {
  position:absolute;
  left:1046px;
  top:287px;
  width:208px;
  height:46px;
}

.services {
  position:absolute;
  left:3px;
  top:708px;
  width:1440px;
  height:650px;
  overflow:hidden;
  background:rgba(255,255,255,.90);
}
.services-header {
  position:absolute;
  left:88px;
  top:78px;
  width:1264px;
  height:110px;
}
.services-intro { position:absolute; left:0; top:0; width:797px; height:116px; }
.kicker {
  margin:0;
  color:var(--wine);
  font-size:12px;
  font-weight:600;
  line-height:1.2;
}
.services-intro h2 {
  margin:10px 0 0;
  font-size:38px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-1.15px;
  white-space:nowrap;
}
.services-intro h2 span { color:var(--wine); }
.services-description {
  position:absolute;
  left:834px;
  top:0;
  width:430px;
  margin:0;
  color:var(--muted);
  font-size:16px;
  font-weight:400;
  line-height:1.2;
}
.service-cards {
  position:absolute;
  left:88px;
  top:222px;
  width:1264px;
  height:350px;
  display:flex;
  gap:18px;
  align-items:flex-start;
}
.service-card {
  position:relative;
  flex:0 0 302px;
  width:302px;
  height:330px;
  border-radius:20px;
  overflow:hidden;
  background:#f7f7f9;
  padding:22px;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.service-card:hover {
  transform:translateY(-7px);
  box-shadow:0 18px 42px rgba(9,9,10,.10);
}
.service-card-featured { background:var(--wine); color:#fff; }
.service-card-featured:hover { background:#700101; box-shadow:0 18px 42px rgba(100,1,1,.22); }
.card-number {
  position:absolute;
  left:22px;
  top:22px;
  color:var(--wine);
  font-size:12px;
  font-weight:600;
  line-height:1.2;
}
.service-card-featured .card-number { color:#f2bfbf; }
.card-icon {
  position:absolute;
  right:30px;
  top:25px;
  width:38px;
  height:38px;
  object-fit:contain;
}
.card-icon-traffic { width:38px; height:31px; top:22px; }
.icon-fallback {
  position:absolute;
  right:30px;
  top:22px;
  color:var(--wine);
  font-size:34px;
  line-height:1;
  z-index:0;
}
.service-card-featured .icon-fallback { color:#fff; }
.card-icon { z-index:1; }
.service-card h3 {
  position:absolute;
  left:22px;
  top:52px;
  width:250px;
  margin:0;
  color:var(--black);
  font-size:23px;
  font-weight:700;
  line-height:1.2;
}
.service-card:nth-child(2) h3 { top:52px; }
.service-card-featured h3 { color:#fff; }
.service-card p {
  position:absolute;
  left:22px;
  top:96px;
  width:250px;
  margin:0;
  color:var(--muted);
  font-size:14px;
  font-weight:400;
  line-height:1.5;
}
.service-card:nth-child(2) p { top:124px; }
.service-card:nth-child(4) p { top:90px; }
.service-card-featured p { color:#e5d1d1; }
.platform-row {
  position:absolute;
  left:50%;
  top:572px;
  transform:translateX(-50%);
  height:56px;
  display:flex;
  align-items:center;
  gap:27px;
}
.platform-row img { width:53px; height:53px; object-fit:contain; }
.platform-row img:nth-of-type(3) { width:49px; height:50px; }
.platform-mark { font-size:45px; color:#1c1c1f; line-height:1; }
.platform-code { font-size:42px; font-weight:700; line-height:1; }

.proof-section {
  position:absolute;
  left:0;
  top:1358px;
  width:1440px;
  height:420px;
  overflow:hidden;
  background:var(--black);
  box-shadow:0 4px 30px 5px rgba(0,0,0,.25);
}
#particles {
  position:absolute;
  inset:0;
  width:1440px;
  height:420px;
  display:block;
}
.proof-overlay { position:absolute; inset:0; background:linear-gradient(90deg, rgba(9,9,10,.15), rgba(9,9,10,.10)); pointer-events:none; }
.proof-copy {
  position:absolute;
  left:88px;
  top:70px;
  width:590px;
  height:280px;
}
.kicker-light { color:#e55252; }
.proof-copy h2 {
  margin:18px 0 0;
  width:570px;
  height:150px;
  color:#fff;
  font-size:36px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.7px;
}
.proof-description {
  position:absolute;
  left:1060px;
  top:366px;
  width:540px;
  margin:0;
  color:#b2b2ba;
  font-size:16px;
  font-weight:400;
  line-height:1.2;
}

.process {
  position:absolute;
  left:-2px;
  top:1778px;
  width:1440px;
  height:520px;
  overflow:hidden;
  padding:74px 88px;
}
.process-kicker { margin:0; }
.process h2 {
  margin:34px 0 0;
  font-size:38px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-1.1px;
}
.steps {
  position:absolute;
  left:88px;
  top:202px;
  width:1264px;
  height:280px;
  display:flex;
  gap:16px;
}
.step-card {
  width:304px;
  height:245px;
  flex:0 0 304px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--offwhite);
  padding:20px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step-card:hover { transform:translateY(-6px); box-shadow:0 16px 34px rgba(9,9,10,.08); border-color:#d5d5da; }
.step-card span { display:block; color:var(--wine); font-size:12px; font-weight:600; line-height:1.2; }
.step-card h3 { margin:10px 0 0; font-size:22px; font-weight:700; line-height:1.2; }
.step-card p { width:245px; margin:10px 0 0; color:var(--muted); font-size:14px; font-weight:400; line-height:1.2; }

.cta-section {
  position:absolute;
  left:88px;
  top:2260px;
  width:1264px;
  height:260px;
  border-radius:28px;
  background:var(--wine);
  overflow:hidden;
}
.cta-copy {
  position:absolute;
  left:42px;
  top:81px;
  width:588px;
  height:98px;
}
.cta-copy h2 {
  margin:0;
  color:#fff;
  font-size:32px;
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.5px;
}
.cta-copy p { margin:8px 0 0; color:#f0d1d1; font-size:15px; line-height:1.2; }
.cta-whatsapp-icon {
  position:absolute;
  left:792px;
  top:100px;
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cta-whatsapp-icon img { width:64px; height:64px; object-fit:contain; z-index:1; }
.cta-whatsapp-icon span { position:absolute; font-size:54px; color:#fff; opacity:.92; }
.cta-button { position:absolute; left:992px; top:107px; width:230px; border:1px solid var(--line); }

.footer {
  position:absolute;
  left:0;
  top:2558px;
  width:1440px;
  height:180px;
  overflow:hidden;
  background:var(--black);
}
.footer-logo {
  position:absolute;
  left:88px;
  top:78px;
  color:#fff;
  font-size:20px;
  font-weight:700;
  line-height:1.2;
}
.footer-logo b { color:var(--wine); }
.footer-right { position:absolute; left:1172px; top:42px; width:180px; }
.footer-right > p { margin:0; color:#a6a6ad; font-size:13px; font-weight:400; line-height:1.2; white-space:nowrap; }
.socials { display:flex; align-items:center; gap:5px; margin-top:10px; }
.socials a { position:relative; width:28px; height:28px; display:flex; align-items:center; justify-content:center; transition:transform .16s ease, opacity .16s ease; }
.socials a:hover { transform:translateY(-2px); opacity:.75; }
.socials img { width:100%; height:100%; object-fit:contain; z-index:1; }
.socials span { position:absolute; color:#fff; font-size:22px; z-index:0; }
.copyright {
  position:absolute;
  left:1172px;
  top:166px;
  width:324px;
  margin:0;
  color:#fff;
  font-size:10px;
  line-height:1.2;
  white-space:nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .type-caret { animation:none; }
  .service-card, .step-card, .button, .socials a { transition:none; }
}

/* =========================================================
   PÁGINAS INTERNAS — ARTIGOS / PORTFÓLIO
   Mantêm a linguagem visual da Home e o frame-base de 1440px.
   ========================================================= */

/* Cabe um item extra (Artigos) sem alterar a linguagem do header. */
.nav {
  left: 869px;
  width: 483px;
  gap: 22px;
}

.internal-page {
  background: var(--offwhite);
}

.internal-hero {
  position:absolute;
  left:0;
  top:88px;
  width:1440px;
  height:500px;
  overflow:hidden;
  background:var(--offwhite);
}
.internal-hero-copy {
  position:absolute;
  left:88px;
  top:116px;
  width:830px;
}
.internal-hero .kicker { margin-bottom:20px; }
.internal-hero h1 {
  margin:0;
  width:820px;
  color:var(--black);
  font-size:58px;
  font-weight:700;
  line-height:1.06;
  letter-spacing:-2.1px;
}
.internal-hero h1 span { color:var(--wine); }
.internal-hero-description {
  position:absolute;
  left:956px;
  top:142px;
  width:396px;
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.45;
}
.internal-hero-rule {
  position:absolute;
  left:88px;
  right:88px;
  bottom:0;
  height:1px;
  background:var(--line);
}

/* -------- Artigos -------- */
.articles-featured {
  position:absolute;
  left:88px;
  top:642px;
  width:1264px;
  height:380px;
  border-radius:28px;
  overflow:hidden;
  background:var(--black);
  color:#fff;
}
.articles-featured-copy {
  position:absolute;
  left:48px;
  top:50px;
  width:650px;
}
.articles-featured .kicker { color:#e55252; }
.articles-featured h2 {
  margin:24px 0 0;
  width:640px;
  font-size:42px;
  line-height:1.08;
  letter-spacing:-1.4px;
}
.articles-featured p.article-excerpt {
  width:570px;
  margin:20px 0 0;
  color:#bdbdc4;
  font-size:15px;
  line-height:1.55;
}
.articles-featured-meta {
  position:absolute;
  left:48px;
  bottom:44px;
  display:flex;
  gap:18px;
  color:#8d8d95;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.article-feature-visual {
  position:absolute;
  right:0;
  top:0;
  width:470px;
  height:380px;
  overflow:hidden;
  background-color:var(--black);
  background-image:url("assets/artigos/capa-site-ia.jpg");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}


.articles-list-section {
  position:absolute;
  left:88px;
  top:1092px;
  width:1264px;
}
.page-section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  width:1264px;
  margin-bottom:34px;
}
.page-section-head h2 {
  margin:10px 0 0;
  font-size:38px;
  line-height:1.15;
  letter-spacing:-1.1px;
}
.page-section-head > p {
  width:380px;
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}
.article-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.article-card {
  position:relative;
  height:290px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#f7f7f9;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.article-card:hover {
  transform:translateY(-6px);
  box-shadow:0 16px 34px rgba(9,9,10,.08);
  border-color:#d5d5da;
}
.article-card .article-no {
  color:var(--wine);
  font-size:12px;
  font-weight:600;
}
.article-card .article-category {
  position:absolute;
  right:24px;
  top:24px;
  color:#85858d;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.article-card h3 {
  margin:44px 0 0;
  max-width:330px;
  font-size:24px;
  line-height:1.18;
  letter-spacing:-.45px;
}
.article-card p {
  margin:14px 0 0;
  width:330px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

/* -------- Portfólio -------- */
.portfolio-featured {
  position:absolute;
  left:88px;
  top:642px;
  width:1264px;
  height:520px;
  border-radius:28px;
  overflow:hidden;
  background:var(--black);
  color:#fff;
}
.portfolio-featured-copy {
  position:absolute;
  left:48px;
  top:54px;
  width:480px;
  z-index:2;
}
.portfolio-featured .kicker { color:#e55252; }
.portfolio-featured h2 {
  margin:24px 0 0;
  width:470px;
  font-size:42px;
  line-height:1.08;
  letter-spacing:-1.4px;
}
.portfolio-featured p {
  width:435px;
  margin:20px 0 0;
  color:#bdbdc4;
  font-size:15px;
  line-height:1.55;
}
.portfolio-featured-tags {
  position:absolute;
  left:48px;
  bottom:45px;
  display:flex;
  gap:9px;
}
.portfolio-featured-tags span {
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  color:#d9d9de;
  font-size:11px;
  font-weight:600;
}
.portfolio-visual {
  position:absolute;
  right:0;
  top:0;
  width:690px;
  height:520px;
  overflow:hidden;
  background:linear-gradient(135deg,#120000,#050505 65%);
}
.portfolio-visual .visual-window {
  position:absolute;
  left:92px;
  top:70px;
  width:520px;
  height:350px;
  border-radius:18px;
  background:#fbfbfb;
  box-shadow:0 30px 80px rgba(0,0,0,.38);
  overflow:hidden;
  transform:rotate(-2.4deg);
}
.visual-window-bar {
  height:34px;
  border-bottom:1px solid #ececef;
  display:flex;
  align-items:center;
  gap:6px;
  padding:0 12px;
}
.visual-window-bar i {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#d5d5da;
}
.visual-window-hero {
  position:absolute;
  left:28px;
  top:72px;
  width:300px;
}
.visual-window-hero b {
  display:block;
  width:270px;
  font-size:32px;
  line-height:1.04;
  letter-spacing:-1px;
  color:var(--black);
}
.visual-window-hero span {
  display:block;
  width:220px;
  height:7px;
  margin-top:17px;
  border-radius:99px;
  background:#dddde1;
  box-shadow:0 16px 0 #ececef, 0 32px 0 #ececef;
}
.visual-window-card {
  position:absolute;
  right:30px;
  bottom:28px;
  width:145px;
  height:180px;
  border-radius:14px;
  background:var(--wine);
}
.visual-window-card::after {
  content:"LX";
  position:absolute;
  left:18px;
  bottom:13px;
  color:#fff;
  font-size:28px;
  font-weight:700;
}

.portfolio-grid-section {
  position:absolute;
  left:88px;
  top:1230px;
  width:1264px;
}
.project-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.project-card {
  position:relative;
  height:330px;
  overflow:hidden;
  border-radius:20px;
  border:1px solid var(--line);
  background:#f7f7f9;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.project-card:hover {
  transform:translateY(-6px);
  box-shadow:0 18px 38px rgba(9,9,10,.09);
  border-color:#d5d5da;
}
.project-thumb {
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:210px;
  overflow:hidden;
  background:#ededf0;
}
.project-thumb.wine { background:#640101; }
.project-thumb.dark { background:#09090a; }
.project-thumb::before,
.project-thumb::after {
  content:"";
  position:absolute;
}
.project-thumb::before {
  width:190px;
  height:105px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) rotate(-5deg);
  border-radius:12px;
  background:#fff;
  box-shadow:0 12px 32px rgba(0,0,0,.12);
}
.project-thumb::after {
  width:54px;
  height:72px;
  left:57%;
  top:35%;
  border-radius:8px;
  background:#731a1a;
  transform:rotate(4deg);
}
.project-thumb.wine::before { background:#120000; border:1px solid rgba(255,255,255,.12); }
.project-thumb.wine::after { background:#fff; }
.project-thumb.dark::before { background:#f7f7f9; }
.project-card-copy {
  position:absolute;
  left:22px;
  right:22px;
  bottom:20px;
}
.project-card-copy span {
  color:var(--wine);
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.project-card-copy h3 {
  margin:6px 0 0;
  font-size:22px;
  line-height:1.18;
}

.internal-cta {
  position:absolute;
  left:88px;
  width:1264px;
  height:230px;
  border-radius:28px;
  overflow:hidden;
  background:var(--wine);
}
.internal-cta-copy {
  position:absolute;
  left:42px;
  top:63px;
}
.internal-cta h2 {
  margin:0;
  color:#fff;
  font-size:32px;
  line-height:1.12;
  letter-spacing:-.6px;
}
.internal-cta p {
  margin:8px 0 0;
  color:#f0d1d1;
  font-size:14px;
}
.internal-cta .button {
  position:absolute;
  right:42px;
  top:92px;
}
.articles-cta { top:1925px; }
.portfolio-cta { top:2050px; }

.internal-footer {
  position:absolute;
  left:0;
  width:1440px;
  height:180px;
  overflow:hidden;
  background:var(--black);
}
.articles-footer { top:2205px; }
.portfolio-footer { top:2330px; }

.internal-footer .footer-logo,
.internal-footer .footer-right,
.internal-footer .copyright { position:absolute; }

@media (prefers-reduced-motion: reduce) {
  .article-card, .project-card { transition:none; }
}

/* ===== Portfólio real ===== */
.portfolio-real-hero { height:500px; }
.portfolio-featured-real { top:570px; height:520px; }
.portfolio-featured-real .portfolio-featured-copy { width:485px; }
.portfolio-featured-real h2 { margin-top:22px; font-size:46px; }
.portfolio-featured-real .featured-type { margin-top:10px; color:#e3e3e7; font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; }
.portfolio-featured-real .featured-open { margin-top:24px; border:0; cursor:pointer; }
.portfolio-featured-real .portfolio-featured-tags { bottom:38px; }
.portfolio-cover-button {
  position:absolute;
  right:0;
  top:0;
  width:690px;
  height:520px;
  padding:0;
  border:0;
  overflow:hidden;
  cursor:pointer;
  background:#111;
}
.portfolio-cover-button img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease, filter .35s ease; }
.portfolio-cover-button::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.62)); opacity:.62; transition:opacity .25s ease; }
.cover-hover { position:absolute; left:34px; bottom:30px; z-index:2; display:flex; align-items:baseline; gap:12px; color:#fff; text-align:left; transform:translateY(5px); transition:transform .25s ease; }
.cover-hover b { font-size:18px; }
.cover-hover small { color:rgba(255,255,255,.64); font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; }
.portfolio-cover-button:hover img { transform:scale(1.018); filter:brightness(.86); }
.portfolio-cover-button:hover::after { opacity:.86; }
.portfolio-cover-button:hover .cover-hover { transform:translateY(0); }

.portfolio-video-section { top:1155px; }
.video-project-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.video-project-card { appearance:none; padding:0; text-align:left; cursor:pointer; font-family:inherit; color:inherit; }
.video-project-card .project-thumb::before,
.video-project-card .project-thumb::after { display:none; }
.video-thumb { height:210px; background:#0a0a0a; }
.video-thumb img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .28s ease, filter .28s ease; }
.video-thumb::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.26)); }
.video-play { position:absolute; left:50%; top:50%; z-index:2; width:54px; height:54px; display:grid; place-items:center; transform:translate(-50%,-50%); border-radius:50%; background:rgba(100,1,1,.92); box-shadow:0 12px 34px rgba(0,0,0,.28); transition:transform .2s ease, background .2s ease; }
.video-play img { width:24px; height:24px; display:block; object-fit:contain; }
.video-project-card:hover .video-thumb img { transform:scale(1.035); filter:brightness(.80); }
.video-project-card:hover .video-play { transform:translate(-50%,-50%) scale(1.08); background:#7b0101; }
.video-project-card .project-card-copy h3 { font-size:18px; line-height:1.22; }
.portfolio-real-cta { top:1655px; }
.portfolio-real-footer { top:1935px; }

/* Modais de portfólio ficam fora do stage escalado */
.portfolio-modal[hidden] { display:none; }
.portfolio-modal { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:28px; }
.portfolio-modal-backdrop { position:absolute; inset:0; background:rgba(4,4,5,.86); backdrop-filter:blur(10px); }
.pdf-viewer-shell,
.video-viewer-shell { position:relative; z-index:1; width:min(1280px,96vw); height:min(900px,92vh); overflow:hidden; border:1px solid rgba(255,255,255,.10); border-radius:22px; background:#111113; box-shadow:0 35px 100px rgba(0,0,0,.52); }
.viewer-toolbar { height:78px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:0 22px 0 28px; border-bottom:1px solid rgba(255,255,255,.09); color:#fff; background:#0b0b0c; }
.viewer-title-wrap { min-width:0; }
.viewer-title-wrap span,
.video-modal-head span { display:block; margin-bottom:2px; color:#a4a4ac; font-size:10px; font-weight:600; letter-spacing:.08em; }
.viewer-title-wrap h2,
.video-modal-head h2 { margin:0; font-size:17px; line-height:1.2; }
.viewer-controls { display:flex; align-items:center; gap:8px; }
.viewer-control,
.viewer-close { width:40px; height:40px; display:grid; place-items:center; padding:0; border:1px solid rgba(255,255,255,.10); border-radius:10px; color:#fff; background:#171719; font:inherit; font-size:24px; cursor:pointer; transition:background .16s ease, border-color .16s ease; }
.viewer-control:hover,
.viewer-close:hover { background:#222225; border-color:rgba(255,255,255,.18); }
.zoom-control { font-size:20px; }
.viewer-page,
.viewer-zoom { color:#babac1; font-size:12px; min-width:52px; text-align:center; }
.viewer-page b { color:#fff; }
.viewer-separator { width:1px; height:24px; background:rgba(255,255,255,.10); margin:0 3px; }
.viewer-open-original { height:40px; display:flex; align-items:center; padding:0 14px; border-radius:10px; color:#fff; background:#640101; font-size:12px; font-weight:600; }
.viewer-close { margin-left:4px; font-size:25px; }
.pdf-stage { position:absolute; left:0; right:0; top:78px; bottom:0; overflow:auto; display:flex; justify-content:center; align-items:flex-start; padding:30px; background:#19191c; }
#pdf-canvas { display:block; max-width:none; background:#fff; box-shadow:0 15px 45px rgba(0,0,0,.35); }
#pdf-fallback { width:100%; height:100%; border:0; background:#fff; }
.pdf-loading { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); color:#aaaab1; font-size:13px; }

.video-viewer-shell { height:auto; max-width:1120px; }
.video-modal-head { height:78px; display:flex; align-items:center; justify-content:space-between; padding:0 22px 0 28px; color:#fff; background:#0b0b0c; border-bottom:1px solid rgba(255,255,255,.09); }
.video-frame-wrap { position:relative; aspect-ratio:16/9; background:#000; }
.video-frame-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

body.modal-open { overflow:hidden; }

@media (max-width: 760px) {
  .portfolio-modal { padding:0; }
  .pdf-viewer-shell,
  .video-viewer-shell { width:100vw; height:100vh; max-width:none; border-radius:0; border:0; }
  .viewer-toolbar { height:auto; min-height:74px; align-items:flex-start; padding:14px; flex-direction:column; gap:10px; }
  .viewer-controls { width:100%; flex-wrap:wrap; }
  .viewer-title-wrap h2 { font-size:15px; }
  .pdf-stage { top:132px; padding:14px; }
  .viewer-open-original { margin-left:auto; }
  .video-viewer-shell { height:auto; }
}


/* ===== Artigo individual ===== */
.article-page { background:var(--offwhite); }
.article-shell { position:absolute; left:0; top:88px; width:1440px; height:8682px; }
.article-header { position:absolute; left:238px; top:94px; width:964px; }
.article-back { display:inline-block; margin-bottom:38px; color:#73737b; font-size:13px; font-weight:500; transition:color .18s ease; }
.article-back:hover { color:var(--wine); }
.article-header .kicker { margin-bottom:20px; }
.article-header h1 { margin:0; width:960px; font-size:60px; line-height:1.04; letter-spacing:-2.4px; }
.article-byline { display:flex; align-items:center; gap:10px; margin-top:28px; color:#8a8a92; font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
.article-byline strong { color:var(--wine); font-weight:700; }
.article-lead { width:830px; margin:44px 0 0; color:#303035; font-size:21px; line-height:1.62; letter-spacing:-.16px; }
.article-rule { width:964px; height:1px; margin-top:54px; background:var(--line); }
.article-content { position:absolute; left:310px; top:600px; width:820px; }
.article-content > p,
.article-section > p,
.article-conclusion > p { margin:0 0 22px; color:#29292e; font-size:17px; line-height:1.82; }
.article-content strong { color:#111114; font-weight:700; }
.article-section { margin-top:78px; }
.article-section h2,
.article-conclusion h2,
.article-sources h2 { margin:0 0 28px; color:#0b0b0d; font-size:36px; line-height:1.14; letter-spacing:-1.15px; }
.article-media { position:relative; width:820px; height:430px; margin:30px 0 34px; overflow:hidden; border-radius:22px; background:#111113; border:1px solid #dedee2; }
.article-media img { width:100%; height:100%; display:block; object-fit:cover; }
.article-media figcaption { position:absolute; left:18px; right:18px; bottom:14px; z-index:2; margin:0; padding:10px 12px; border-radius:10px; color:rgba(255,255,255,.78); background:rgba(0,0,0,.58); backdrop-filter:blur(8px); font-size:10px; line-height:1.45; opacity:0; transition:opacity .18s ease; }
.article-media:hover figcaption { opacity:1; }
.article-media.missing { display:grid; place-items:center; background:linear-gradient(135deg,#0d0d0f,#190000); border-color:#2b2b30; }
.article-media.missing::before { content:"ADICIONE:  " attr(data-fallback); color:#b2b2ba; font-size:14px; font-weight:600; letter-spacing:.02em; }
.article-media.missing::after { content:"A foto entra automaticamente quando o arquivo existir em assets/artigos/"; position:absolute; left:0; right:0; top:55%; text-align:center; color:#6d6d75; font-size:11px; }
.article-media.missing figcaption { opacity:0; }
.article-conclusion { margin-top:92px; padding:52px; border-radius:28px; background:#09090a; color:#fff; }
.article-conclusion .kicker { color:#e55252; }
.article-conclusion h2 { margin-top:18px; color:#fff; font-size:40px; }
.article-conclusion > p { color:#bcbcc3; }
.article-conclusion blockquote { margin:34px 0 0; padding:28px 0 0; border-top:1px solid rgba(255,255,255,.10); color:#fff; font-size:28px; line-height:1.35; font-weight:500; }
.article-conclusion blockquote strong { color:#e55252; }
.article-sources { margin-top:82px; padding-top:44px; border-top:1px solid var(--line); }
.article-sources h2 { margin-top:12px; }
.article-sources ol { margin:28px 0 0; padding-left:23px; }
.article-sources li { margin:0 0 15px; padding-left:7px; color:#6d6d75; font-size:13px; line-height:1.55; }
.article-sources a { text-decoration:underline; text-decoration-color:#c9c9ce; text-underline-offset:4px; transition:color .18s ease; }
.article-sources a:hover { color:var(--wine); }
.article-cta-box { position:absolute; left:88px; top:8320px; width:1264px; height:230px; border-radius:28px; background:var(--wine); }
.article-cta-box > div { position:absolute; left:42px; top:57px; width:760px; }
.article-cta-box .kicker { color:#e7aaaa; }
.article-cta-box h2 { margin:10px 0 0; color:#fff; font-size:31px; line-height:1.16; }
.article-cta-box .button { position:absolute; right:42px; top:92px; }
.article-footer { top:8670px; }
.article-read-link { display:inline-flex; margin-top:22px; color:#fff; font-size:13px; font-weight:600; border-bottom:1px solid rgba(255,255,255,.35); padding-bottom:3px; transition:border-color .18s ease,color .18s ease; }
.article-read-link:hover { color:#e55252; border-color:#e55252; }


/* Ajustes do artigo: card inteiro clicável, fontes azuis e layout sem sobreposição */
.articles-featured-link {
  display:block;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.articles-featured-link:hover {
  transform:translateY(-4px);
  box-shadow:0 20px 48px rgba(9,9,10,.14);
}
.articles-featured-link:focus-visible {
  outline:3px solid #2563eb;
  outline-offset:5px;
}
.article-content a.source-link,
.article-sources a {
  color:#2563eb;
  text-decoration:underline;
  text-decoration-color:rgba(37,99,235,.35);
  text-underline-offset:3px;
  font-weight:500;
  transition:color .16s ease, text-decoration-color .16s ease;
}
.article-content a.source-link:hover,
.article-sources a:hover {
  color:#1d4ed8;
  text-decoration-color:#1d4ed8;
}
.article-content a.source-link strong { color:inherit; }
.article-cta-box,
.article-footer { z-index:3; }


/* Ajustes finais do artigo em destaque e fechamento editorial */
.articles-featured-copy { z-index:2; }
.articles-featured h2 {
  display:block !important;
  position:relative;
  z-index:3;
  color:#fff !important;
  opacity:1 !important;
  visibility:visible !important;
}
.articles-featured-meta { z-index:2; }
.article-feature-visual { z-index:1; pointer-events:none; }

.article-final-section {
  margin-top:82px;
  padding-top:58px;
  border-top:1px solid var(--line);
}
.article-final-section h2 {
  margin:0 0 30px;
  color:#0b0b0d;
  font-size:36px;
  line-height:1.14;
  letter-spacing:-1.15px;
}
.article-final-section > p {
  margin:0 0 22px;
  color:#29292e;
  font-size:17px;
  line-height:1.82;
}
.article-final-section .article-whatsapp-copy {
  margin-top:34px;
  padding-top:28px;
  border-top:1px solid var(--line);
  font-weight:600;
}
.article-whatsapp-link {
  color:var(--wine);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
  transition:color .16s ease, text-decoration-color .16s ease;
}
.article-whatsapp-link:hover { color:#8d0707; }


/* Cards editoriais inteiros clicáveis */
.article-card-link {
  display:block;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}
.article-card-link:focus-visible {
  outline:3px solid #2563eb;
  outline-offset:4px;
}

/* =========================================================
   MOBILE — layout adaptado, sem reduzir o desktop como miniatura
   ========================================================= */
.mobile-menu-toggle { display:none; }
.article-media figcaption { display:none !important; }

@media (max-width: 820px) {
  html, body { width:100%; min-width:0; overflow-x:hidden; }
  body { background:var(--offwhite); }

  #viewport {
    width:100%;
    height:auto !important;
    overflow:visible;
    position:relative;
  }
  #stage,
  #stage.internal-page,
  #stage.article-page {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto !important;
    min-height:0;
    margin:0;
    transform:none !important;
    transform-origin:initial;
    overflow:visible;
  }

  /* Header vira navegação de telefone, não uma versão encolhida do desktop. */
  .header {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:74px;
    z-index:200;
    border-bottom:1px solid rgba(9,9,10,.05);
  }
  .brand {
    position:absolute;
    left:14px;
    top:-57px;
    width:190px;
    height:190px;
    overflow:hidden;
  }
  .brand img { width:190px; height:190px; object-fit:cover; }

  .mobile-menu-toggle {
    position:absolute;
    right:18px;
    top:17px;
    z-index:202;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    color:var(--black);
    cursor:pointer;
  }
  .mobile-menu-toggle span,
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after {
    content:"";
    display:block;
    width:18px;
    height:2px;
    border-radius:99px;
    background:currentColor;
    transition:transform .18s ease, opacity .18s ease;
  }
  .mobile-menu-toggle span { position:absolute; }
  .mobile-menu-toggle::before { transform:translateY(-6px); }
  .mobile-menu-toggle::after { transform:translateY(6px); }
  .header.menu-open .mobile-menu-toggle span { opacity:0; }
  .header.menu-open .mobile-menu-toggle::before { transform:rotate(45deg); }
  .header.menu-open .mobile-menu-toggle::after { transform:rotate(-45deg); }

  .nav {
    position:absolute;
    left:14px;
    right:14px;
    top:66px;
    width:auto;
    height:auto;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px;
    border:1px solid var(--line);
    border-radius:18px;
    background:rgba(251,251,251,.98);
    box-shadow:0 22px 55px rgba(9,9,10,.13);
    white-space:normal;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-8px);
    transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
  }
  .header.menu-open .nav {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
  }
  .nav > a:not(.button) {
    width:100%;
    padding:13px 12px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
  }
  .nav > a:not(.button):active { background:#f1f1f3; }
  .header-cta {
    width:100%;
    height:48px;
    margin-top:6px;
    border-radius:11px;
  }

  /* Home */
  .hero {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    min-height:0;
    overflow:visible;
    padding:54px 20px 54px;
  }
  .hero-content {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
  }
  .hero-heading {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    margin:0;
    font-size:clamp(36px, 10.7vw, 46px);
    line-height:1.04;
    letter-spacing:-1.65px;
  }
  .hero-main { width:100%; }
  .hero-system {
    width:100%;
    max-width:100%;
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    white-space:normal;
    margin-top:6px;
  }
  .hero-system > span:last-child {
    flex-basis:100%;
    margin-left:0;
  }
  .type-caret { height:.82em; margin-left:4px; transform:translateY(3px); }
  .hero-description {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    margin:28px 0 0;
    font-size:15px;
    font-weight:500;
    line-height:1.58;
  }
  .hero-actions {
    position:relative;
    inset:auto;
    width:100%;
    margin-top:30px;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .hero-primary,
  .hero-secondary,
  .hero-articles {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:52px;
  }

  .services {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    overflow:visible;
    padding:62px 20px 44px;
  }
  .services-header,
  .services-intro {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
  }
  .services-intro h2 {
    margin-top:12px;
    font-size:33px;
    line-height:1.12;
    letter-spacing:-1px;
    white-space:normal;
  }
  .services-description {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    margin:18px 0 0;
    font-size:15px;
    line-height:1.55;
  }
  .service-cards {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:34px;
  }
  .service-card {
    width:100%;
    height:205px;
    flex:none;
    border-radius:18px;
  }
  .service-card h3,
  .service-card:nth-child(2) h3 { top:55px; width:calc(100% - 44px); font-size:22px; }
  .service-card p,
  .service-card:nth-child(2) p,
  .service-card:nth-child(4) p { top:98px; width:calc(100% - 44px); font-size:14px; line-height:1.5; }
  .platform-row {
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    width:100%;
    height:auto;
    margin:30px auto 0;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px 22px;
  }
  .platform-row img { width:44px; height:44px; }
  .platform-row svg { max-width:46px; max-height:46px; }

  .proof-section {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:470px;
    overflow:hidden;
    box-shadow:none;
  }
  #particles { width:100%; height:100%; }
  .proof-overlay { z-index:1; background:linear-gradient(180deg,rgba(5,0,0,.08),rgba(5,0,0,.28)); }
  .proof-copy {
    position:relative;
    left:auto;
    top:auto;
    z-index:2;
    width:100%;
    height:auto;
    padding:60px 20px 0;
  }
  .proof-copy h2 {
    width:100%;
    height:auto;
    margin-top:16px;
    font-size:32px;
    line-height:1.15;
    letter-spacing:-.7px;
  }
  .proof-description {
    position:relative;
    left:auto;
    top:auto;
    z-index:2;
    width:100%;
    margin:74px 0 0;
    padding:0 20px;
    font-size:15px;
    line-height:1.45;
  }

  .process {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    overflow:visible;
    padding:62px 20px 52px;
  }
  .process h2 { margin-top:15px; font-size:34px; }
  .steps {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:32px;
  }
  .step-card {
    width:100%;
    height:auto;
    min-height:142px;
    padding:20px;
  }
  .step-card p { width:100%; line-height:1.45; }

  .cta-section {
    position:relative;
    left:auto;
    top:auto;
    width:calc(100% - 32px);
    height:auto;
    min-height:0;
    margin:0 16px 46px;
    padding:34px 24px 24px;
    border-radius:22px;
    overflow:visible;
  }
  .cta-copy {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
  }
  .cta-copy h2 { font-size:30px; line-height:1.13; }
  .cta-copy h2 br { display:none; }
  .cta-copy p { font-size:14px; margin-top:12px; }
  .cta-button {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:50px;
    margin-top:26px;
  }

  .footer,
  .internal-footer,
  .article-footer {
    position:relative;
    left:auto;
    top:auto !important;
    width:100%;
    height:auto;
    min-height:220px;
    overflow:visible;
    padding:42px 20px 28px;
  }
  .footer-logo,
  .internal-footer .footer-logo {
    position:relative;
    left:auto;
    top:auto;
    display:inline-block;
    font-size:20px;
  }
  .footer-right,
  .internal-footer .footer-right {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    margin-top:34px;
  }
  .footer-right > p { white-space:normal; font-size:13px; }
  .socials { gap:10px; margin-top:14px; }
  .socials a { width:34px; height:34px; }
  .copyright,
  .internal-footer .copyright {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    margin-top:34px;
    font-size:9px;
    white-space:normal;
  }

  /* Páginas internas */
  .internal-hero,
  .portfolio-real-hero {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto;
    overflow:visible;
    padding:58px 20px 44px;
  }
  .internal-hero-copy {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
  }
  .internal-hero .kicker { margin-bottom:14px; }
  .internal-hero h1 {
    width:100%;
    font-size:43px;
    line-height:1.06;
    letter-spacing:-1.7px;
  }
  .internal-hero-description {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    margin:24px 0 0;
    font-size:15px;
    line-height:1.55;
  }
  .internal-hero-rule {
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    width:100%;
    margin-top:38px;
  }

  .articles-featured {
    position:relative;
    left:auto;
    top:auto;
    width:calc(100% - 32px);
    height:auto;
    min-height:0;
    margin:12px 16px 0;
    display:flex;
    flex-direction:column;
    border-radius:22px;
  }
  .article-feature-visual {
    position:relative;
    right:auto;
    top:auto;
    order:0;
    width:100%;
    height:220px;
    flex:none;
  }
  .articles-featured-copy {
    position:relative;
    left:auto;
    top:auto;
    order:1;
    width:100%;
    padding:28px 24px 18px;
  }
  .articles-featured h2 {
    width:100%;
    margin-top:16px;
    font-size:31px;
    line-height:1.1;
    letter-spacing:-.9px;
  }
  .articles-featured p.article-excerpt {
    width:100%;
    margin-top:18px;
    font-size:14px;
  }
  .articles-featured-meta {
    position:relative;
    left:auto;
    bottom:auto;
    order:2;
    display:flex;
    flex-wrap:wrap;
    gap:8px 14px;
    padding:0 24px 26px;
    font-size:10px;
  }

  .articles-list-section,
  .portfolio-grid-section,
  .portfolio-video-section {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    padding:58px 20px 0;
  }
  .page-section-head {
    width:100%;
    display:block;
    margin-bottom:26px;
  }
  .page-section-head h2 { font-size:32px; }
  .page-section-head > p { width:100%; margin-top:16px; font-size:14px; }
  .article-grid,
  .project-grid,
  .video-project-grid {
    grid-template-columns:1fr;
    gap:12px;
  }
  .article-card {
    width:100%;
    height:auto;
    min-height:250px;
    padding:22px;
  }
  .article-card .article-category { right:22px; top:22px; }
  .article-card h3 { max-width:none; margin-top:40px; font-size:23px; }
  .article-card p { width:100%; font-size:13px; padding-right:20px; }

  .internal-cta,
  .articles-cta,
  .portfolio-cta,
  .portfolio-real-cta {
    position:relative;
    left:auto;
    top:auto;
    width:calc(100% - 32px);
    height:auto;
    min-height:0;
    margin:58px 16px 40px;
    padding:32px 24px 24px;
    border-radius:22px;
  }
  .internal-cta-copy {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
  }
  .internal-cta h2 { font-size:29px; }
  .internal-cta p { line-height:1.5; }
  .internal-cta .button {
    position:relative;
    right:auto;
    top:auto;
    width:100%;
    height:50px;
    margin-top:24px;
  }

  /* Portfólio */
  .portfolio-featured,
  .portfolio-featured-real {
    position:relative;
    left:auto;
    top:auto;
    width:calc(100% - 32px);
    height:auto;
    margin:10px 16px 0;
    display:flex;
    flex-direction:column;
    border-radius:22px;
  }
  .portfolio-cover-button {
    position:relative;
    right:auto;
    top:auto;
    order:0;
    width:100%;
    height:280px;
    flex:none;
  }
  .cover-hover { left:22px; bottom:20px; }
  .portfolio-featured-copy,
  .portfolio-featured-real .portfolio-featured-copy {
    position:relative;
    left:auto;
    top:auto;
    order:1;
    width:100%;
    padding:28px 24px 18px;
  }
  .portfolio-featured h2,
  .portfolio-featured-real h2 {
    width:100%;
    margin-top:16px;
    font-size:36px;
  }
  .portfolio-featured p,
  .portfolio-featured-real p { width:100%; font-size:14px; }
  .portfolio-featured-real .featured-open { width:100%; height:50px; }
  .portfolio-featured-tags,
  .portfolio-featured-real .portfolio-featured-tags {
    position:relative;
    left:auto;
    bottom:auto;
    order:2;
    display:flex;
    flex-wrap:wrap;
    padding:0 24px 26px;
  }
  .project-card,
  .video-project-card {
    width:100%;
    height:310px;
  }
  .project-thumb,
  .video-thumb { height:205px; }
  .video-project-card .project-card-copy h3 { font-size:18px; }

  /* Modais no telefone */
  .portfolio-modal { padding:0; }
  .pdf-viewer-shell,
  .video-viewer-shell {
    width:100%;
    height:100%;
    max-width:none;
    border:0;
    border-radius:0;
  }
  .viewer-toolbar {
    min-height:0;
    height:auto;
    padding:12px;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .viewer-controls { width:100%; display:flex; flex-wrap:wrap; gap:6px; }
  .viewer-control, .viewer-close { width:38px; height:38px; }
  .viewer-open-original { margin-left:auto; }
  .pdf-stage { top:126px; padding:10px; }
  .video-modal-head { height:70px; padding:0 14px; }
  .video-modal-head h2 { max-width:280px; font-size:14px; }

  /* Artigos individuais */
  .article-shell {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    height:auto !important;
  }
  .article-header {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    padding:42px 20px 0;
  }
  .article-back { margin-bottom:28px; }
  .article-header h1 {
    width:100%;
    font-size:40px;
    line-height:1.06;
    letter-spacing:-1.55px;
    overflow-wrap:anywhere;
  }
  .article-byline {
    flex-wrap:wrap;
    gap:6px 9px;
    margin-top:22px;
    font-size:10px;
  }
  .article-lead {
    width:100%;
    margin-top:30px;
    font-size:18px;
    line-height:1.62;
  }
  .article-rule { width:100%; margin-top:38px; }
  .article-content {
    position:relative;
    left:auto;
    top:auto;
    width:100%;
    padding:0 20px;
    margin-top:48px;
  }
  .article-content > p,
  .article-section > p,
  .article-conclusion > p,
  .article-final-section > p {
    font-size:16px;
    line-height:1.74;
    margin-bottom:19px;
  }
  .article-section { margin-top:56px; }
  .article-section h2,
  .article-conclusion h2,
  .article-sources h2,
  .article-final-section h2 {
    margin-bottom:22px;
    font-size:30px;
    line-height:1.14;
    letter-spacing:-.8px;
  }
  .article-media {
    width:100%;
    height:auto;
    aspect-ratio:16 / 10;
    margin:24px 0 28px;
    border-radius:17px;
  }
  .article-media img { width:100%; height:100%; object-fit:cover; }
  .article-sources { margin-top:60px; padding-top:34px; }
  .article-sources ol { padding-left:20px; }
  .article-sources li { font-size:12px; line-height:1.6; }
  .article-final-section { margin-top:60px; padding-top:42px; }
  .article-final-section .article-whatsapp-copy { margin-top:26px; padding-top:24px; }
}

@media (max-width: 390px) {
  .hero-heading { font-size:35px; }
  .internal-hero h1 { font-size:39px; }
  .article-header h1 { font-size:36px; }
  .portfolio-cover-button { height:245px; }
}
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #640101;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #7a0101;
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}