/* Highlight — Minimal light theme (tableless) */

:root {
  /* Dark premium theme */
  --bg: #070A12;
  --surface: #0B1220;
  --surface2: #0F1A2E;
  --text: #EAF0FF;
  --muted: #A9B4C6;
  --line: rgba(255, 255, 255, 0.10);

  --accent: #ffcc00;
  --accent-ink: #111111;
  --trust: #7AA2FF;

  --radius: 18px;
  --max: 1120px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.42);

  --font-primary: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Typography */
html,
body {
  font-family: var(--font-primary);
  font-weight: 400;
  text-rendering: optimizeLegibility;

}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.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 {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  z-index: 999;
}
.skip:focus {
  left: 12px;
}

/* Header */
/* Base da marca (o tamanho é definido no bloco de "logo sizing" mais abaixo) */
.brand { min-width: 0; }
.brand img { display: block; object-fit: contain; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* espaço suficiente para a logo 100x100 sem "apertar" o menu */
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav {
  position: relative;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}
.nav__icon {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(234,240,255,0.92);
  margin: 0 auto;
  position: relative;
}
.nav__icon::before,
.nav__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(234,240,255,0.92);
}
.nav__icon::before {
  top: -6px;
}
.nav__icon::after {
  top: 6px;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav__list a {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(234, 240, 255, 0.86);
  text-decoration: none;
  font-weight: 600;
}
.nav__list a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

/* Keep CTA button (Orçamento) consistent on hover inside the nav */
.nav__list a.btn:hover,
.nav__list .btn:hover,
.nav__list a.btn--sm:hover,
.nav__list .btn--sm:hover,
.nav__list a.btn--small:hover,
.nav__list .btn--small:hover {
  background: #ffd84d !important;
  color: var(--accent-ink) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  box-shadow: 0 18px 48px rgba(255, 204, 0, 0.28) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(255, 204, 0, 0.2);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--sm {
  padding: 10px 12px;
  border-radius: 12px;
}
.link {
  font-weight: 700;
  color: var(--trust);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

.kicker {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 14px;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.05rem;
}
.stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.stat__n {
  display: block;
  font-weight: 900;
}
.stat__t {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.mediaCard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mediaCard img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.mediaCard figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  background: rgba(0,0,0,0.10);
  border-top: 1px solid var(--line);
}
.mediaCard--soft {
  background: rgba(255,255,255,0.04);
}
.mediaCard--soft img {
  height: 320px;
}

/* Sections */
.section {
  padding: 56px 0;
}
.section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.section.section--surface{
  background: var(--surface2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.head {
  margin-bottom: 18px;
}
h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.01em;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* Lists */
.checks {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 28px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: rgba(31, 91, 255, 0.12);
  border: 1px solid rgba(31, 91, 255, 0.2);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card__body {
  padding: 14px;
}
.card__body h3 {
  margin: 0 0 6px;
}
.card__body p {
  margin: 0 0 10px;
  color: var(--muted);
}
.tag {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 204, 0, 0.22);
  border: 1px solid rgba(255, 204, 0, 0.35);
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
}

/* Differentials */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mini {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.mini h3 {
  margin: 0 0 8px;
}
.mini p {
  margin: 0;
  color: var(--muted);
}

.callout {
  margin-top: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 204, 0, 0.35);
  background: rgba(255, 204, 0, 0.18);
  padding: 14px 16px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Portfolio Carousel */
.pc{
  --pc-w: min(780px, 92vw);
  /* 20% menor que a versão anterior */
  --pc-card-w: clamp(220px, 44vw, 360px);
  --pc-gap: 14px;
  width: var(--pc-w);
  margin: 6px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.pc__viewport{
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
}

/* palco: alto o suficiente para não cortar fotos retrato */
.pc__viewport{
  height: calc((var(--pc-card-w) * 4 / 3) + 24px);
}

.pc__track{
  height: 100%;
  display: flex;
  gap: var(--pc-gap);
  align-items: center;
  will-change: transform;
  transition: transform 360ms ease;
  padding: 12px 0;
}

.pc__slide{
  flex: 0 0 var(--pc-card-w);
  height: 100%;
  display: grid;
  place-items: center;
  transform: scale(0.74);
  opacity: 0.38;
  filter: brightness(1.05);
  transition: transform 360ms ease, opacity 360ms ease, filter 360ms ease;
}

.pc__slide.is-prev,
.pc__slide.is-next{
  transform: scale(0.8);
  opacity: 0.55;
  filter: brightness(1.16);
}

.pc__slide.is-active{
  transform: scale(1);
  opacity: 1;
  filter: none;
}

.pc__card{
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.pc__card img{
  width: 100%;
  height: 100%;
  /* IMPORTANTE: sem corte (proporção original) */
  object-fit: contain;
  display: block;
}

.pc__btn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.pc__btn:hover{ filter: brightness(0.98); }
.pc__btn:active{ transform: translateY(1px); }

.pc__hint{ text-align: center; margin-top: 12px; }

@media (max-width: 560px){
  .pc{
    --pc-card-w: clamp(200px, 70vw, 300px);
    --pc-gap: 12px;
    grid-template-columns: 36px 1fr 36px;
  }
  .pc__btn{ width: 36px; height: 36px; font-size: 20px; }
  .pc__viewport{ height: calc((var(--pc-card-w) * 4 / 3) + 18px); }
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
summary {
  font-weight: 800;
  cursor: pointer;
  color: var(--text);
}
details p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}
.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 12px;
}
label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: rgba(234,240,255,0.88);
}
input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: var(--surface2);
  color: var(--text);
  outline: none;
}
input:focus,
textarea:focus {
  border-color: rgba(31, 91, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 91, 255, 0.12);
}
.hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.box {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  padding: 28px 0 40px;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 18px;
}
.footer__right {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer__right a {
  color: rgba(234,240,255,0.82);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.footer__right a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

/* Responsive */
@media (max-width: 920px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .grid3 {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__right {
    justify-content: flex-start;
  }
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav__list {
    position: absolute;
    right: 0;
    top: 56px;
    width: min(320px, calc(100vw - 36px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    background: rgba(7,10,18,0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__list.is-open {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .btn:hover {
    transform: none;
  }
}

/* === V3 adjustments (alternating section blocks, cleaner layout) === */
body {
  background: radial-gradient(900px 700px at 15% 5%, rgba(255, 204, 0, 0.12), transparent 60%),
    radial-gradient(900px 700px at 85% 15%, rgba(31, 91, 255, 0.08), transparent 55%), var(--bg);
}

.section { background: var(--bg); border-top: none; }
.section--alt {
  background: var(--surface2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Keep containers airy but not boxed */
.section > .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Slightly smaller side images */
.mediaCard img {
  height: 310px;
}
.mediaCard--soft img {
  height: 280px;
}

/* Diferenciais: text-only, no boxes */
.diffText {
  max-width: 80ch;
  display: grid;
  gap: 12px;
}
.diffText p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.diffText strong {
  color: var(--text);
}

/* Contact: full width form */
.contact {
  grid-template-columns: 1fr !important;
}

/* === V4 tweaks === */

.mediaCard img {
  height: 260px;
}
.mediaCard--soft img {
  height: 250px;
}

/* ===== Fix: imagem completa na seção Sobre (sem corte) ===== */
#sobre .mediaCard img{
  height: auto !important;
  object-fit: contain !important;
  display: block;
}

/* ===== Zoom / Lightbox (Produtos + Portfólio) ===== */
.zoomable{
  cursor: zoom-in;
}

.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.82);
  z-index: 9999;
}
.lightbox.is-open{
  display: flex;
}
.lightbox__img{
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
}
.lightbox__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
body.is-modal-open{
  overflow: hidden;
}

/* Header shadow when scrolling */
.header.is-scrolled {
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

/* Floating action buttons */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  z-index: 100;
}
.fab__btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(2, 6, 23, 0.14);
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
}
.fab__btn:hover {
  transform: translateY(-1px);
}
.fab__btn--wpp {
  background: #ffffff;
  border-color: rgba(31, 91, 255, 0.22);
  color: var(--trust);
}
@media (prefers-reduced-motion: reduce) {
  .fab__btn:hover {
    transform: none;
  }
}

/* === V5: truly fixed header across full page === */
.header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
body {
  padding-top: 72px; /* reserve space for fixed header */
}
section[id] {
  scroll-margin-top: 88px;
}
@media (max-width: 920px) {
  body {
    padding-top: 68px;
  }
} /* === V6 WhatsApp icon styling === */
.fab__btn--wpp {
  color: #25d366;
}
.fab__btn--wpp svg {
  width: 22px;
  height: 22px;
} /* Tablet */
/* Mobile */
/* Desktop: force 2 columns and keep media to the RIGHT */
/* Tablet & mobile: stack */
/* === V8 Mobile menu button (Menu + 3 lines) === */
.nav__toggle {
  gap: 10px;
  padding: 0 12px;
  width: auto;
  min-width: 108px;
}
.nav__label {
  font-weight: 800;
  color: var(--muted);
}
.nav__toggle:hover .nav__label {
  color: var(--text);
}

/* Ensure hamburger lines are visible */

/* === V9 Final polish: logo sizing + FAB + portfolio arrows + section title contrast === */

:root{
  /* unified logo sizing (header + footer) */
  /* PNG 1:1 (quadrado) — topo e rodapé no mesmo tamanho */
  --logo-h-desktop: 100px;
  --logo-h-tablet: 84px;
  --logo-h-mobile: 72px;
}

/* Header logo: keep legible and never shrink by max-width rules */
.header .brand img{
  height: var(--logo-h-desktop) !important;
  width: var(--logo-h-desktop) !important;
  max-width: none !important;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));
}

@media (max-width: 920px){
  .header .brand img{ height: var(--logo-h-tablet) !important; width: var(--logo-h-tablet) !important; }
}

@media (max-width: 480px){
  .header .brand img{ height: var(--logo-h-mobile) !important; width: var(--logo-h-mobile) !important; }
}

/* Footer logo: match header size */
.footer__left{
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 600px){
  .footer__left{
    flex-direction: column;
    align-items: flex-start;
  }
}
.footer__left img{
  height: var(--logo-h-desktop) !important;
  width: var(--logo-h-desktop) !important;
  max-width: none !important;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));
}
@media (max-width: 920px){
  .footer__left img{ height: var(--logo-h-tablet) !important; width: var(--logo-h-tablet) !important; }
}
@media (max-width: 480px){
  .footer__left img{ height: var(--logo-h-mobile) !important; width: var(--logo-h-mobile) !important; }
}

/* Floating action buttons: increase contrast on dark backgrounds */
.fab__btn{
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  color: rgba(234,240,255,0.95) !important;
  backdrop-filter: blur(10px);
}
.fab__btn:hover{
  background: rgba(255,255,255,0.12) !important;
}
.fab__btn--wpp{
  background: rgba(37, 211, 102, 0.14) !important;
  border-color: rgba(37, 211, 102, 0.35) !important;
  color: #25d366 !important;
}

/* Portfolio arrows: fit dark theme */
.pc__btn{
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  color: rgba(234,240,255,0.95) !important;
  box-shadow: 0 16px 44px rgba(0,0,0,0.45) !important;
}
.pc__btn:hover{
  background: rgba(255,255,255,0.12) !important;
}

/* Diferenciais title contrast */
#diferenciais .head h2,
#diferenciais h2{
  color: var(--text) !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.nav__icon {
  margin: 0;
}

@media (max-width: 1024px) {
  .nav__toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
} /* === V12 manifesto line under H1 === */
.manifesto {
  margin: 10px 0 14px;
  font-weight: 800;
  color: rgba(11, 13, 18, 0.92);
  letter-spacing: 0.01em;
  max-width: 62ch;
}
.manifesto strong {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  color: var(--accent);
}

@media (max-width: 600px) {
  .manifesto {
    font-weight: 800;
  }
}

/* === V16 SOBRE LAYOUT FIX === */
.grid-2 {
  align-items: center;
}
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* === V17 FIX: force 'Sobre' to be 2 columns on desktop === */
.grid-2 {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 28px !important;
  align-items: center !important;
}
.grid-2 > figure {
  margin: 0 !important;
}
.grid-2 > figure img {
  width: 100% !important;
  height: 340px !important;
  object-fit: cover !important;
}
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
  .grid-2 > figure img {
    height: 260px !important;
  }
}

/* === Produtos: grid 8 cards (responsive) === */

.cards--8 .card img {
  background: #f6f7f9;
}
@media (max-width: 1024px) {
  
}
@media (max-width: 600px) {
  
}

/* === Diferenciais (premium / B2B) === */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.diff-item{ padding: 28px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 14px; }
.diff-item h3 {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text);
}
.diff-item p {
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
}

/* === Diferenciais manifesto + icons === */
.mini-manifesto {
  max-width: 720px;
  margin: 24px 0 40px;
}
.mini-manifesto p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.diff-icon {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--accent);
}

/* === Produtos CTA === */
.products-cta {
  max-width: 880px;
  margin: 40px auto 0;
  text-align: center;
}
.products-cta p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 22px;
}

/* Responsive: stack image below text */
@media (max-width: 900px) {
}

/* HOME */
.home {
  padding: clamp(56px, 6vw, 84px) 0;
  background:
    radial-gradient(1200px 520px at 18% 10%, rgba(255,204,0,0.12), rgba(0,0,0,0) 60%),
    radial-gradient(1100px 540px at 86% 18%, rgba(31,91,255,0.16), rgba(0,0,0,0) 60%),
    linear-gradient(90deg, rgba(7,10,18,0.95), rgba(11,18,32,0.90));
  border-bottom: 1px solid var(--line);
}
.home__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
}
.home__title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.home__kicker {
  margin: 0 0 18px;
  font-weight: 600;
  color: rgba(234,240,255,0.84);
}
.home__kicker .hl {
  color: var(--accent, #f5b400);
}
.home__text p {
  margin: 0 0 14px;
}
.home__cta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mediaCard--tall img {
  width: min(380px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .home__grid {
    grid-template-columns: 1fr;
  }
  .mediaCard--tall {
    max-width: 420px;
    margin-inline: auto;
  }
}
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}
strong {
  font-weight: 600;
}
.nav a {
  font-weight: 500;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cards .card:nth-last-child(-n+3) {
  justify-self: center;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* === Produtos – otimizações finais === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card__body {
  flex: 1;
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


/* ===== Nossos Processos (scroll) ===== */
.processos-wrapper{
  margin-top: 48px;
}

.processos-title{
  font-size: 1.4rem;
  margin: 0 0 20px;
}


.processos-scroll{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.processos-scroll::-webkit-scrollbar{ height: 10px; }
.processos-scroll::-webkit-scrollbar-thumb{background: rgba(255,255,255,.24); border-radius: 999px;}
.processos-scroll::-webkit-scrollbar-track{ background: rgba(255,255,255,.06); border-radius: 999px; }

.processo-card{
  flex: 0 0 260px; /* ~45% menor e sem quebrar layout */
  scroll-snap-align: start;
}

.processo-card img{
  width: 100%;
  display: block;
  border-radius: 14px;
}

.processo-card h4{
  margin: 12px 0 6px;
  font-size: 1rem;
}

.processo-card p{
  margin: 0;
  font-size: .9rem;
  opacity: .85;
  line-height: 1.4;
}

@media (max-width: 600px){
  .processo-card{ flex-basis: 220px; }
}


/* Ajuste para alinhar "Nossos Processos" ao container da seção Sobre */
.processos-wrapper{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* No mobile, dá um respiro extra e evita colar na esquerda */

.btn--small{padding:10px 12px;border-radius:12px;}
.nav__list .btn, .nav__list .btn--small{color: var(--accent-ink) !important;}


/* Diferenciais – melhora de legibilidade */
#diferenciais .mini-manifesto p{ color: rgba(234,240,255,0.86); }
#diferenciais .diff-item{ background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
#diferenciais .diff-item p{ color: var(--muted); }
#diferenciais .diff-icon{ color: var(--accent); }


/* ===== Hard overrides for dark consistency ===== */
body{ background: var(--bg); color: var(--text); }
#sobre, #produtos, #diferenciais, #portfolio, #faq, #contato{ background-color: transparent; }
.section{ background: var(--bg) !important; border-top: none !important; }
.section.section--alt{ background: var(--surface2) !important; }
.section.section--soft{ background: radial-gradient(900px 500px at 70% 20%, rgba(122,162,255,0.10), transparent 55%), var(--bg) !important; }
.section.section--warm{ background: radial-gradient(900px 520px at 25% 15%, rgba(255,204,0,0.08), transparent 55%), radial-gradient(900px 520px at 85% 60%, rgba(122,162,255,0.08), transparent 55%), var(--bg) !important; }
.footer{ background: rgba(255,255,255,0.02) !important; }




/* Section CTAs */
.sectionCta{
  /* Keep CTAs aligned with the site's container width */
  margin: 22px auto 0;
  max-width: var(--max);
  padding: 0 18px;
}
.sectionCta__box{
  /* More "in-layout" look (no rounded card) */
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sectionCta__box h3{
  margin: 0 0 6px;
}
.sectionCta__box p{
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}
.sectionCta__actions{
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

/* CTA buttons: slightly smaller to match the site rhythm */
.sectionCta .btn{
  padding: 10px 14px;
  border-radius: 12px;
}
.btn--ghost{
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover{
  background: rgba(255,255,255,0.10);
  color: var(--text);
}
@media (max-width: 720px){
  .sectionCta__box{
    flex-direction: column;
    align-items: flex-start;
  }
  .sectionCta__actions{ flex-wrap: wrap; }
}

/* Wrap only on smaller screens to keep CTAs side-by-side on desktop */
@media (max-width: 680px){
  .sectionCta__actions{ flex-wrap: wrap; }
}



/* Visão & Missão: tag mais sóbria (evita amarelo forte) */
#visao-missao .tag{
  background: rgba(122, 162, 255, 0.16);
  border-color: rgba(122, 162, 255, 0.30);
  color: var(--text);
}


/* ===== Section Background Normalization ===== */

.section.section--alt,
.section.section--surface,
.section.section--soft,
.section.section--warm{
  background: transparent;
}

/* Alternating backgrounds */
.section:nth-of-type(odd){
  background: var(--surface);
}

.section:nth-of-type(even){
  background: var(--surface2);
}


/* ===== Alternância de fundo (seção por seção) =====
   Aplicada via JS em todas as .section para manter o padrão do site
   independentemente das classes (alt/soft/warm/etc). */
.section.bg-a{ background: var(--surface) !important; }
.section.bg-b{ background: var(--surface2) !important; }
