/* ==========================================================================
   Victorino Consultoria de TI — Site público
   Tokens da marca (skill §4 + "Skill Base visual parte 2")
   ========================================================================== */
:root {
  color-scheme: dark;

  --color-wine-990: #140203;
  --color-wine-950: #260507;
  --color-wine-900: #3a070a;
  --color-wine-800: #600006;
  --color-red-600: #a80008;
  --color-red-500: #d4101a;
  --color-gold-500: #ffae18;
  --color-gold-300: #ffd069;
  --color-white: #ffffff;
  --color-text-muted: #f2e9e8;

  /* Superfícies das seções de conteúdo (tema escuro = padrão) */
  --bg: var(--color-wine-950);
  --bg-alt: #1d0405;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 208, 105, 0.14);
  --border-strong: rgba(255, 208, 105, 0.32);
  --text: var(--color-white);
  --text-soft: rgba(242, 233, 232, 0.78);
  --heading-accent: var(--color-gold-500);
  --link: var(--color-gold-300);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);

  --font-display: "Saira", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --radius-card: 1.25rem;
  --radius-sm: 0.75rem;
  --container-width: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tema claro: afeta apenas as seções de conteúdo. Cabeçalho, hero, bloco do
   assistente e rodapé continuam na cor da marca, como na capa. */
:root[data-theme="light"] {
  --bg: #fbf6f4;
  --bg-alt: #f4ebe8;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --border: #ead9d6;
  --border-strong: #d9b9b4;
  --text: #2a0b0d;
  --text-soft: #6a4a4c;
  --heading-accent: var(--color-red-600);
  --link: var(--color-red-600);
  --shadow: 0 20px 50px -28px rgba(96, 0, 6, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--color-wine-990);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--color-gold-300); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--color-gold-500); color: var(--color-wine-950);
  padding: 0.6rem 1rem; border-radius: 0.5rem; font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container-width)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--color-gold-500);
  --btn-fg: var(--color-wine-950);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(255, 174, 24, 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover { transform: translateY(-2px); background: var(--color-gold-300); box-shadow: 0 16px 36px -12px rgba(255, 174, 24, 0.8); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--color-white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px var(--color-gold-300); }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 2, 3, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 208, 105, 0.1);
  transition: background 0.3s;
}
.site-header.is-scrolled { background: rgba(20, 2, 3, 0.92); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--color-white); flex-shrink: 0; }
.brand__mark { height: 2.6rem; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.02em; color: var(--color-gold-500); }
.brand__sub { font-family: var(--font-display); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.34em; margin-top: 0.3rem; color: var(--color-white); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 0.5rem 0.85rem; border-radius: 999px;
  color: var(--color-text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-white); background: rgba(255, 255, 255, 0.07); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--color-gold-500); border-radius: 0.5rem 0.5rem 0 0; background: transparent; }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04); color: var(--color-white); cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--color-gold-300); }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(20, 2, 3, 0.98); border-bottom: 1px solid rgba(255, 208, 105, 0.15);
    padding: 1rem var(--gutter) 1.5rem;
    transform: translateY(-110%); visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0.25rem; }
  .main-nav a { padding: 0.85rem 1rem; font-size: 1.05rem; border-radius: 0.75rem; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--color-gold-500); border-radius: 0.5rem; }
  .main-nav .btn { display: flex; margin-top: 1rem; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 961px) { .main-nav .nav-cta { display: none; } }
@media (max-width: 420px) {
  .brand__name { font-size: 1.2rem; }
  .brand__sub { font-size: 0.5rem; letter-spacing: 0.28em; }
  .brand__mark { height: 2.2rem; }
}

/* --------------------------------------------------------------------------
   Hero com slides
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60rem 40rem at 18% 8%, rgba(212, 16, 26, 0.55), transparent 60%),
    radial-gradient(40rem 30rem at 95% 110%, rgba(168, 0, 8, 0.45), transparent 60%),
    linear-gradient(160deg, #7a0008 0%, var(--color-wine-800) 30%, var(--color-wine-950) 75%, var(--color-wine-990) 100%);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem);
}
.hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__deco svg { position: absolute; width: 100%; height: 100%; }
.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.hero__kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem); color: var(--color-gold-300);
  margin-bottom: 1.5rem;
}
.hero__kicker::before { content: ""; width: 2.25rem; height: 2px; background: currentColor; border-radius: 2px; }

.slider { position: relative; }
.slider__track { display: grid; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem);
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__text > * { transform: translateY(14px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); }
.slide.is-active .slide__text > * { transform: none; opacity: 1; }
.slide.is-active .slide__text > :nth-child(2) { transition-delay: 0.06s; }
.slide.is-active .slide__text > :nth-child(3) { transition-delay: 0.12s; }
.slide.is-active .slide__text > :nth-child(4) { transition-delay: 0.18s; }

.slide__tag {
  display: inline-flex; align-items: center; gap: 0.45rem; width: fit-content;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: rgba(255, 174, 24, 0.12); border: 1px solid rgba(255, 174, 24, 0.35);
  color: var(--color-gold-300); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.slide__tag svg { width: 1rem; height: 1rem; }
.slide__title {
  font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 800; color: var(--color-white);
  text-wrap: balance;
}
.slide__title em { font-style: normal; color: var(--color-gold-500); }
.slide__lead { margin-top: 1.1rem; max-width: 34rem; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--color-text-muted); }
.slide__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.slide__media { position: relative; }
.slide__frame {
  position: relative; border-radius: 1.5rem; overflow: hidden; aspect-ratio: 16 / 7.2;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 208, 105, 0.25);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.9s var(--ease);
}
.slide.is-active .slide__frame { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.slide__frame img { width: 100%; height: 100%; object-fit: cover; }
.slide__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.14), transparent 35%), linear-gradient(to top, rgba(38,5,7,.35), transparent 40%);
}
.slide__glow {
  position: absolute; inset: -12% -8% -18% -8%; z-index: -1; filter: blur(40px); opacity: 0.55;
  background: radial-gradient(closest-side, rgba(255, 174, 24, 0.45), transparent), radial-gradient(closest-side at 30% 70%, rgba(212, 16, 26, 0.7), transparent);
}
.slide__chip {
  position: absolute; display: flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 0.9rem; border-radius: 0.9rem;
  background: rgba(20, 2, 3, 0.78); border: 1px solid rgba(255, 208, 105, 0.3);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 0.85rem; font-weight: 700; color: var(--color-white);
  box-shadow: 0 16px 30px -16px rgba(0,0,0,.8);
}
.slide__chip svg { width: 1.1rem; height: 1.1rem; color: var(--color-gold-500); }
.slide__chip--a { left: -1rem; bottom: -1.1rem; }
.slide__chip--b { right: -0.6rem; top: -1rem; }

.slider__controls { display: flex; align-items: center; gap: 1rem; margin-top: clamp(2.2rem, 5vw, 3.5rem); flex-wrap: wrap; }
.slider__tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; flex: 1; }
.slider__tab {
  position: relative; overflow: hidden; flex: 1 1 8rem; text-align: left;
  padding: 0.75rem 0.9rem 0.85rem; border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted); cursor: pointer; font-weight: 600; font-size: 0.88rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.slider__tab span { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; color: var(--color-gold-300); opacity: 0.8; }
.slider__tab:hover { background: rgba(255, 255, 255, 0.08); }
.slider__tab[aria-selected="true"] { background: rgba(255, 174, 24, 0.1); border-color: rgba(255, 174, 24, 0.45); color: var(--color-white); }
.slider__tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--color-gold-500); transform-origin: left; transform: scaleX(0); }
.slider__tab[aria-selected="true"] .bar { animation: slide-progress var(--slide-ms, 7000ms) linear forwards; }
.slider.is-paused .slider__tab .bar { animation-play-state: paused; }
@keyframes slide-progress { to { transform: scaleX(1); } }

.slider__buttons { display: flex; gap: 0.5rem; }

@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; }
  .slide__media { order: -1; max-width: 36rem; }
  .slide__frame, .slide.is-active .slide__frame { transform: none; }
  .slide__chip--b { right: 0.6rem; }
  .slide__chip--a { left: 0.6rem; }
}
@media (max-width: 560px) {
  .slider__tabs { flex-basis: 100%; }
  .slider__buttons { margin-inline: auto; }
  .slider__tab { flex-basis: calc(50% - 0.25rem); font-size: 0.82rem; padding: 0.6rem 0.7rem 0.7rem; }
  .hero__deco { opacity: 0.45; }
  .slide__chip { font-size: 0.75rem; padding: 0.45rem 0.7rem; }
  .slide__ctas .btn { flex: 1 1 100%; }
}

/* Faixa de pilares logo abaixo do hero */
.pillars { background: var(--color-wine-990); border-top: 1px solid rgba(255, 208, 105, 0.12); border-bottom: 1px solid rgba(255, 208, 105, 0.12); }
.pillars ul { list-style: none; margin: 0 auto; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pillars li { display: flex; align-items: center; gap: 0.7rem; color: var(--color-text-muted); font-weight: 600; font-size: 0.93rem; }
.pillars svg { width: 1.4rem; height: 1.4rem; color: var(--color-gold-500); flex-shrink: 0; }
@media (max-width: 800px) { .pillars ul { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Seções de conteúdo
   -------------------------------------------------------------------------- */
.section { position: relative; background: var(--bg); padding-block: clamp(4rem, 9vw, 6.5rem); transition: background 0.3s, color 0.3s; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 44rem; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.section__head--center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--heading-accent); margin-bottom: 0.8rem;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 800; color: var(--text); text-wrap: balance; }
.section__title em { font-style: normal; color: var(--heading-accent); }
.section__lead { margin-top: 1rem; color: var(--text-soft); font-size: 1.08rem; }

/* Cards de soluções */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 0.8rem;
  padding: 1.75rem; border-radius: var(--radius-card);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(24rem 12rem at 0% 0%, rgba(255, 174, 24, 0.12), transparent 70%);
  transition: opacity 0.35s;
}
.service:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.service:hover::before { opacity: 1; }
.service__icon {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 0.9rem;
  background: linear-gradient(145deg, var(--color-red-600), var(--color-wine-800));
  color: var(--color-gold-300); box-shadow: 0 10px 24px -10px rgba(168, 0, 8, 0.8);
}
.service__icon svg { width: 1.6rem; height: 1.6rem; }
.service__img { display: block; width: calc(100% + 3.5rem); max-width: none; margin: -1.75rem -1.75rem 0.4rem; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.service h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.service p { color: var(--text-soft); font-size: 0.98rem; }
.service__link { margin-top: auto; padding-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--link); font-weight: 700; text-decoration: none; font-size: 0.95rem; }
.service__link svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.service:hover .service__link svg { transform: translateX(4px); }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* Catálogo / projetos */
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
  font-weight: 700; font-size: 0.9rem; transition: all 0.2s;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--color-gold-500); border-color: var(--color-gold-500); color: var(--color-wine-950); }
.dev-note {
  display: flex; gap: 0.6rem; align-items: flex-start;
  padding: 0.75rem 1rem; border-radius: 0.8rem; font-size: 0.88rem;
  background: rgba(255, 174, 24, 0.1); border: 1px dashed rgba(255, 174, 24, 0.55); color: var(--text);
}
.dev-note svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; color: var(--color-gold-500); }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.project {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: transform 0.35s var(--ease), border-color 0.35s;
}
.project:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.project[hidden] { display: none; }
.project__cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: grid; place-items: center;
  background: var(--cover, linear-gradient(135deg, #a80008, #260507));
}
.project__cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 55%, rgba(255,255,255,.08) 55% 57%, transparent 57%),
    linear-gradient(115deg, transparent 70%, rgba(255,174,24,.18) 70% 71%, transparent 71%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 45%);
}
.project__cover svg { position: relative; width: 3.6rem; height: 3.6rem; color: rgba(255, 255, 255, 0.92); filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); transition: transform 0.5s var(--ease); }
.project:hover .project__cover svg { transform: scale(1.08) rotate(-3deg); }
.project__cover-name { position: absolute; left: 1rem; bottom: 0.8rem; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.badge {
  position: absolute; top: 0.8rem; right: 0.8rem;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(20, 2, 3, 0.75); color: var(--color-gold-300); border: 1px solid rgba(255, 208, 105, 0.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge--draft { left: 0.8rem; right: auto; background: var(--color-gold-500); color: var(--color-wine-950); border-color: transparent; }
.project__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.35rem 1.4rem 1.5rem; flex: 1; }
.project__cat { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--heading-accent); }
.project h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.project p { color: var(--text-soft); font-size: 0.96rem; }
.project__foot { margin-top: auto; padding-top: 0.8rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; border-top: 1px solid var(--border); }
.project__foot a { color: var(--link); font-weight: 700; text-decoration: none; font-size: 0.93rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.project__foot a svg { width: 1rem; height: 1rem; }
.project__mode { font-size: 0.85rem; color: var(--text-soft); font-weight: 600; }
.catalog-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.catalog-more .btn--ghost { --btn-fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
@media (max-width: 960px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .projects { grid-template-columns: 1fr; } }

/* Processo */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 2rem; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 10%, var(--border-strong) 90%, transparent);
}
.step { position: relative; text-align: center; padding: 0 0.5rem; }
.step__num {
  position: relative; display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.2rem;
  border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--color-gold-500);
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--heading-accent);
  box-shadow: 0 0 0 6px var(--bg-alt);
}
.step h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 0.5rem; }
.step p { color: var(--text-soft); font-size: 0.95rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0 1rem; text-align: left; }
  .step__num { width: 3.4rem; height: 3.4rem; margin: 0; grid-row: span 2; font-size: 1.05rem; }
}

/* Por que a Victorino */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why__visual { position: relative; }
.why__visual img { width: 100%; border-radius: 1.4rem; box-shadow: var(--shadow), 0 0 0 1px var(--border); }
.why__visual::after {
  content: ""; position: absolute; inset: auto -1rem -1rem auto; width: 45%; height: 45%; z-index: -1;
  border-radius: 1.4rem; border: 2px solid var(--color-gold-500); opacity: 0.6;
}
.why__visual { isolation: isolate; }
.why__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.why__item { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; }
.why__item svg { width: 2.6rem; height: 2.6rem; padding: 0.6rem; border-radius: 0.75rem; background: rgba(255, 174, 24, 0.14); color: var(--heading-accent); }
.why__item h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 0.2rem; }
.why__item p { color: var(--text-soft); font-size: 0.96rem; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Assistente virtual Victorino (bloco sempre na cor da marca)
   -------------------------------------------------------------------------- */
.assistant {
  position: relative; overflow: hidden; isolation: isolate; color: var(--color-white);
  background:
    radial-gradient(40rem 26rem at 85% 30%, rgba(212, 16, 26, 0.45), transparent 65%),
    linear-gradient(180deg, var(--color-wine-990), var(--color-wine-950));
  padding-block: clamp(4rem, 9vw, 6.5rem);
}
.assistant .eyebrow { color: var(--color-gold-500); }
.assistant .section__title { color: var(--color-white); }
.assistant .section__title em { color: var(--color-gold-500); }
.assistant .section__lead { color: var(--color-text-muted); }
.assistant__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.assistant__points { list-style: none; margin: 1.8rem 0 2rem; padding: 0; display: grid; gap: 0.8rem; }
.assistant__points li { display: flex; gap: 0.7rem; color: var(--color-text-muted); }
.assistant__points svg { width: 1.3rem; height: 1.3rem; color: var(--color-gold-500); flex-shrink: 0; margin-top: 0.2rem; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); font-size: 0.82rem; font-weight: 700; color: var(--color-text-muted);
}
.status-pill i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--color-gold-500); box-shadow: 0 0 0 4px rgba(255,174,24,.2); }

.chat {
  border-radius: 1.4rem; overflow: hidden;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 208, 105, 0.25);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chat__head { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.2rem; background: linear-gradient(90deg, var(--color-red-600), var(--color-wine-800)); }
.chat__avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--color-wine-990); border: 2px solid var(--color-gold-500); }
.chat__avatar img { width: 1.3rem; }
.chat__who strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.chat__who span { font-size: 0.8rem; color: var(--color-gold-300); }
.chat__body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.3rem 1.2rem; min-height: 16rem; }
.msg { max-width: 85%; padding: 0.7rem 0.95rem; border-radius: 1rem; font-size: 0.94rem; line-height: 1.5; }
.msg--bot { background: rgba(255, 255, 255, 0.08); border-bottom-left-radius: 0.3rem; }
.msg--user { align-self: flex-end; background: var(--color-gold-500); color: var(--color-wine-950); font-weight: 600; border-bottom-right-radius: 0.3rem; }
.msg__opts { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.msg__opts span { padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid rgba(255,208,105,.45); color: var(--color-gold-300); font-size: 0.8rem; font-weight: 700; }
.chat__foot { display: flex; gap: 0.6rem; padding: 0.9rem 1.2rem; border-top: 1px solid rgba(255,255,255,.08); }
.chat__foot input { flex: 1; min-width: 0; padding: 0.7rem 1rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--color-white); }
.chat__foot input::placeholder { color: rgba(242,233,232,.55); }
.chat__foot button { flex-shrink: 0; }
.chat__note { padding: 0 1.2rem 1rem; font-size: 0.76rem; color: rgba(242,233,232,.6); }
@media (max-width: 860px) { .assistant__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Contato / proposta
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info { display: grid; gap: 1rem; margin-top: 2rem; }
.contact__card {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 1rem;
  background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
a.contact__card:hover { border-color: var(--border-strong); transform: translateX(4px); }
.contact__card svg { width: 2.6rem; height: 2.6rem; padding: 0.6rem; border-radius: 0.75rem; background: rgba(255,174,24,.14); color: var(--heading-accent); flex-shrink: 0; }
.contact__card small { display: block; color: var(--text-soft); font-size: 0.82rem; }
.contact__card strong { font-weight: 700; word-break: break-word; }

.form {
  padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 1.4rem;
  background: var(--surface-strong); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.field label .req { color: var(--color-red-500); }
:root[data-theme="light"] .field label .req { color: var(--color-red-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: 0.75rem;
  background: var(--bg); border: 1.5px solid var(--border); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-gold-500); box-shadow: 0 0 0 4px rgba(255,174,24,.18); }
.field [aria-invalid="true"] { border-color: var(--color-red-500); }
.field__error { color: #ff8a8f; font-size: 0.84rem; font-weight: 600; }
:root[data-theme="light"] .field__error { color: var(--color-red-600); }
.field__hint { color: var(--text-soft); font-size: 0.82rem; }
.field .check { font-weight: 500; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-soft); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--color-gold-500); flex-shrink: 0; }
.check a { color: var(--link); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.form__submit small { color: var(--text-soft); font-size: 0.82rem; }
.form__status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 0.8rem; font-weight: 600; display: none; }
.form__status.is-ok { display: block; background: rgba(46, 160, 67, 0.14); border: 1px solid rgba(46, 160, 67, 0.5); }
.form__status.is-err { display: block; background: rgba(212, 16, 26, 0.12); border: 1px solid rgba(212, 16, 26, 0.5); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* Chamada final */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 1.6rem; padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: linear-gradient(120deg, var(--color-red-600), var(--color-wine-800) 55%, var(--color-wine-950));
  color: var(--color-white); box-shadow: var(--shadow);
}
.cta-band::after {
  content: ""; position: absolute; right: -4rem; top: -4rem; width: 18rem; height: 18rem; z-index: -1;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255,174,24,.45), transparent);
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 800; max-width: 32rem; }
.cta-band p { color: var(--color-text-muted); margin-top: 0.5rem; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--color-wine-990); color: var(--color-text-muted); padding-top: clamp(3rem, 7vw, 4.5rem); border-top: 1px solid rgba(255, 208, 105, 0.12); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__about p { margin-top: 1rem; max-width: 22rem; font-size: 0.95rem; color: rgba(242,233,232,.75); }
.footer__tagline { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--color-gold-500); margin-top: 0.8rem; }
.site-footer h3, .site-footer .h3 { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(242,233,232,.8); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--color-gold-300); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.08); font-size: 0.85rem; color: rgba(242,233,232,.6);
}
.footer__lock { display: inline-flex; align-items: center; gap: 0.35rem; opacity: 0.55; }
.footer__lock:hover { opacity: 1; }
.footer__lock svg { width: 0.95rem; height: 0.95rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Botão flutuante de WhatsApp (registra clique_whatsapp, não mensagem recebida) */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40;
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.8rem; height: 1.8rem; }

/* Revelação ao rolar (somente se JS ativo e sem movimento reduzido) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--color-white);
  background:
    radial-gradient(40rem 22rem at 12% 0%, rgba(212, 16, 26, 0.55), transparent 65%),
    linear-gradient(160deg, #7a0008 0%, var(--color-wine-800) 35%, var(--color-wine-950) 80%, var(--color-wine-990));
  padding-block: clamp(2.8rem, 7vw, 4.5rem) clamp(2.4rem, 6vw, 3.8rem);
}
.page-hero::after {
  content: ""; position: absolute; right: -6rem; bottom: -8rem; width: 26rem; height: 26rem; z-index: -1;
  background: repeating-linear-gradient(135deg, rgba(255, 42, 51, .22) 0 2px, transparent 2px 38px);
  mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.page-hero .eyebrow { color: var(--color-gold-500); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; text-wrap: balance; max-width: 48rem; }
.page-hero h1 em { font-style: normal; color: var(--color-gold-500); }
.page-hero p { margin-top: 0.9rem; max-width: 42rem; color: var(--color-text-muted); font-size: 1.08rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0 0 1.2rem; padding: 0; font-size: 0.85rem; color: rgba(242,233,232,.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a { color: var(--color-gold-300); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.prose { color: var(--text-soft); font-size: 1.05rem; max-width: 46rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { color: var(--text); font-size: 1.5rem; margin-top: 2.2rem; }
.prose h3 { color: var(--text); font-size: 1.2rem; margin-top: 1.6rem; }
.prose a { color: var(--link); }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }
.prose strong { color: var(--text); }

.detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.box { padding: 1.5rem; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.box h2, .box h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 0.8rem; }
.box p { color: var(--text-soft); }
.box .btn { width: 100%; margin-top: 1rem; }
.box dl { margin: 0; display: grid; gap: 0.7rem; }
.box dt { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--heading-accent); }
.box dd { margin: 0.1rem 0 0; color: var(--text); font-weight: 600; }
.detail__cover { margin: 0 0 2rem; border-radius: 1.3rem; overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.detail__cover img { width: 100%; }
.detail__cover.project__cover { aspect-ratio: 21 / 9; }
.detail__cover.project__cover svg { width: 5rem; height: 5rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.feature-list li { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.9rem 1rem; border-radius: 0.9rem; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 0.96rem; }
.feature-list svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; color: var(--heading-accent); margin-top: 0.15rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.8rem; }
.gallery__item { margin: 0; display: grid; gap: 0.45rem; }
.gallery__item a { display: block; border-radius: 0.9rem; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.gallery img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--surface); }
.gallery figcaption { font-size: 0.9rem; font-weight: 700; color: var(--text); text-align: center; }
.tech { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech span { padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 700; color: var(--text); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail__aside { position: static; } .feature-list { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 0.7rem; }
.faq details { border-radius: 0.9rem; background: var(--surface); border: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--heading-accent); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--text-soft); }

.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto; gap: 0.8rem; margin-bottom: 1.4rem; align-items: end; }
.filters .field input, .filters .field select { background: var(--surface-strong); }
.filters .btn { min-height: 3.05rem; }
.results-info { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 1.4rem; }
@media (max-width: 860px) { .filters { grid-template-columns: 1fr 1fr; } .filters .field:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem; margin-top: 2.5rem; }
.pagination a, .pagination span { min-width: 2.6rem; height: 2.6rem; display: inline-grid; place-items: center; padding: 0 0.8rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 700; }
.pagination a:hover { border-color: var(--border-strong); }
.pagination [aria-current] { background: var(--color-gold-500); border-color: var(--color-gold-500); color: var(--color-wine-950); }

.empty { text-align: center; padding: 3rem 1rem; border-radius: var(--radius-card); border: 1px dashed var(--border-strong); color: var(--text-soft); }
.empty svg { width: 2.6rem; height: 2.6rem; margin: 0 auto 1rem; color: var(--heading-accent); }
.empty h2, .empty h3 { color: var(--text); font-size: 1.3rem; margin-bottom: 0.4rem; }

.alert { padding: 0.9rem 1.1rem; border-radius: 0.8rem; margin-bottom: 1.2rem; font-weight: 600; }
.alert--err { background: rgba(212, 16, 26, 0.12); border: 1px solid rgba(212, 16, 26, 0.5); color: var(--text); }
.alert--ok { background: rgba(46, 160, 67, 0.14); border: 1px solid rgba(46, 160, 67, 0.5); color: var(--text); }
.context-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border-radius: 0.8rem; background: rgba(255,174,24,.12); border: 1px solid rgba(255,174,24,.4); color: var(--text); font-weight: 600; font-size: 0.92rem; margin-bottom: 1.2rem; }
.context-pill svg { width: 1.1rem; height: 1.1rem; color: var(--heading-accent); }

.thanks { text-align: center; max-width: 38rem; margin-inline: auto; }
.thanks__icon { width: 5rem; height: 5rem; margin: 0 auto 1.5rem; padding: 1.1rem; border-radius: 50%; background: rgba(46,160,67,.15); color: #34c38f; }
.thanks .section__lead { margin-inline: auto; }
.thanks .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2rem; }
.catalog-more .btn--ghost, .thanks .btn--ghost, .empty .btn--ghost { --btn-fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--border-strong); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.project__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project__cover:has(img)::before { z-index: 1; }
.project__cover:has(img) .badge { z-index: 2; }
.project__cover:has(img) .project__cover-name { display: none; }
.wa-float--left { right: auto; left: 1.1rem; }
